{"version":3,"sources":["vendor/ember-cli/app-prefix.js","fcs-dashboard/app.js","fcs-dashboard/authenticators/oauth2.js","fcs-dashboard/authorizers/oauth2.js","fcs-dashboard/breakpoints.js","fcs-dashboard/cldrs/en.js","fcs-dashboard/components/as-scrollable.js","fcs-dashboard/components/basic-dropdown.js","fcs-dashboard/components/basic-dropdown/content.js","fcs-dashboard/components/basic-dropdown/trigger.js","fcs-dashboard/components/bs-accordion.js","fcs-dashboard/components/bs-accordion/item.js","fcs-dashboard/components/bs-accordion/item/body.js","fcs-dashboard/components/bs-accordion/item/title.js","fcs-dashboard/components/bs-alert.js","fcs-dashboard/components/bs-button-group.js","fcs-dashboard/components/bs-button-group/button.js","fcs-dashboard/components/bs-button.js","fcs-dashboard/components/bs-carousel.js","fcs-dashboard/components/bs-carousel/slide.js","fcs-dashboard/components/bs-collapse.js","fcs-dashboard/components/bs-datetimepicker.js","fcs-dashboard/components/bs-dropdown.js","fcs-dashboard/components/bs-dropdown/button.js","fcs-dashboard/components/bs-dropdown/menu.js","fcs-dashboard/components/bs-dropdown/menu/divider.js","fcs-dashboard/components/bs-dropdown/menu/item.js","fcs-dashboard/components/bs-dropdown/menu/link-to.js","fcs-dashboard/components/bs-dropdown/toggle.js","fcs-dashboard/components/bs-form.js","fcs-dashboard/components/bs-form/element.js","fcs-dashboard/components/bs-form/element/control.js","fcs-dashboard/components/bs-form/element/control/checkbox.js","fcs-dashboard/components/bs-form/element/control/input.js","fcs-dashboard/components/bs-form/element/control/textarea.js","fcs-dashboard/components/bs-form/element/errors.js","fcs-dashboard/components/bs-form/element/feedback-icon.js","fcs-dashboard/components/bs-form/element/help-text.js","fcs-dashboard/components/bs-form/element/label.js","fcs-dashboard/components/bs-form/element/layout/horizontal.js","fcs-dashboard/components/bs-form/element/layout/horizontal/checkbox.js","fcs-dashboard/components/bs-form/element/layout/inline.js","fcs-dashboard/components/bs-form/element/layout/inline/checkbox.js","fcs-dashboard/components/bs-form/element/layout/vertical.js","fcs-dashboard/components/bs-form/element/layout/vertical/checkbox.js","fcs-dashboard/components/bs-form/group.js","fcs-dashboard/components/bs-modal-simple.js","fcs-dashboard/components/bs-modal.js","fcs-dashboard/components/bs-modal/body.js","fcs-dashboard/components/bs-modal/dialog.js","fcs-dashboard/components/bs-modal/footer.js","fcs-dashboard/components/bs-modal/header.js","fcs-dashboard/components/bs-modal/header/close.js","fcs-dashboard/components/bs-modal/header/title.js","fcs-dashboard/components/bs-nav.js","fcs-dashboard/components/bs-nav/item.js","fcs-dashboard/components/bs-nav/link-to.js","fcs-dashboard/components/bs-navbar.js","fcs-dashboard/components/bs-navbar/content.js","fcs-dashboard/components/bs-navbar/link-to.js","fcs-dashboard/components/bs-navbar/nav.js","fcs-dashboard/components/bs-navbar/toggle.js","fcs-dashboard/components/bs-popover.js","fcs-dashboard/components/bs-popover/element.js","fcs-dashboard/components/bs-progress.js","fcs-dashboard/components/bs-progress/bar.js","fcs-dashboard/components/bs-tab.js","fcs-dashboard/components/bs-tab/pane.js","fcs-dashboard/components/bs-tooltip.js","fcs-dashboard/components/bs-tooltip/element.js","fcs-dashboard/components/credit-card-form.js","fcs-dashboard/components/date-range-picker.js","fcs-dashboard/components/draggable-object-target.js","fcs-dashboard/components/draggable-object.js","fcs-dashboard/components/em-timezone-input.js","fcs-dashboard/components/ember-chart.js","fcs-dashboard/components/ember-collection.js","fcs-dashboard/components/ember-modal-dialog-positioned-container.js","fcs-dashboard/components/ember-native-scrollable.js","fcs-dashboard/components/ember-notify.js","fcs-dashboard/components/ember-notify/message.js","fcs-dashboard/components/ember-popper-targeting-parent.js","fcs-dashboard/components/ember-popper.js","fcs-dashboard/components/ember-scrollable.js","fcs-dashboard/components/ember-scrollbar.js","fcs-dashboard/components/ember-tether.js","fcs-dashboard/components/ember-wormhole.js","fcs-dashboard/components/fa-icon.js","fcs-dashboard/components/fa-list.js","fcs-dashboard/components/fa-stack.js","fcs-dashboard/components/from-elsewhere.js","fcs-dashboard/components/frost-button.js","fcs-dashboard/components/frost-checkbox.js","fcs-dashboard/components/frost-combobox.js","fcs-dashboard/components/frost-icon.js","fcs-dashboard/components/frost-link.js","fcs-dashboard/components/frost-loading.js","fcs-dashboard/components/frost-multi-select.js","fcs-dashboard/components/frost-password.js","fcs-dashboard/components/frost-radio-button-input.js","fcs-dashboard/components/frost-radio-button.js","fcs-dashboard/components/frost-radio-group.js","fcs-dashboard/components/frost-scroll.js","fcs-dashboard/components/frost-select-dropdown.js","fcs-dashboard/components/frost-select-li.js","fcs-dashboard/components/frost-select-outlet.js","fcs-dashboard/components/frost-select.js","fcs-dashboard/components/frost-tab.js","fcs-dashboard/components/frost-tabs.js","fcs-dashboard/components/frost-text.js","fcs-dashboard/components/frost-textarea.js","fcs-dashboard/components/frost-toggle-label.js","fcs-dashboard/components/frost-toggle.js","fcs-dashboard/components/input-credit-card-cvc.js","fcs-dashboard/components/input-credit-card-expiration.js","fcs-dashboard/components/input-credit-card-number.js","fcs-dashboard/components/input-credit-card-zipcode.js","fcs-dashboard/components/keyboard-select-picker.js","fcs-dashboard/components/labeled-radio-button.js","fcs-dashboard/components/light-table.js","fcs-dashboard/components/light-table/cells/base.js","fcs-dashboard/components/light-table/columns/base.js","fcs-dashboard/components/list-picker.js","fcs-dashboard/components/lt-body.js","fcs-dashboard/components/lt-column-resizer.js","fcs-dashboard/components/lt-foot.js","fcs-dashboard/components/lt-head.js","fcs-dashboard/components/lt-infinity.js","fcs-dashboard/components/lt-row.js","fcs-dashboard/components/lt-scrollable.js","fcs-dashboard/components/lt-spanned-row.js","fcs-dashboard/components/modal-dialog-overlay.js","fcs-dashboard/components/modal-dialog.js","fcs-dashboard/components/models-select.js","fcs-dashboard/components/models-table-server-paginated.js","fcs-dashboard/components/models-table.js","fcs-dashboard/components/multiselect-checkboxes.js","fcs-dashboard/components/object-bin.js","fcs-dashboard/components/one-way-checkbox.js","fcs-dashboard/components/one-way-color.js","fcs-dashboard/components/one-way-date.js","fcs-dashboard/components/one-way-datetime-local.js","fcs-dashboard/components/one-way-email.js","fcs-dashboard/components/one-way-file.js","fcs-dashboard/components/one-way-hidden.js","fcs-dashboard/components/one-way-input.js","fcs-dashboard/components/one-way-month.js","fcs-dashboard/components/one-way-number.js","fcs-dashboard/components/one-way-password.js","fcs-dashboard/components/one-way-radio.js","fcs-dashboard/components/one-way-range.js","fcs-dashboard/components/one-way-search.js","fcs-dashboard/components/one-way-select.js","fcs-dashboard/components/one-way-select/option.js","fcs-dashboard/components/one-way-tel.js","fcs-dashboard/components/one-way-text.js","fcs-dashboard/components/one-way-textarea.js","fcs-dashboard/components/one-way-time.js","fcs-dashboard/components/one-way-url.js","fcs-dashboard/components/one-way-week.js","fcs-dashboard/components/popover-on-component.js","fcs-dashboard/components/popover-on-element.js","fcs-dashboard/components/power-select-multiple.js","fcs-dashboard/components/power-select-multiple/trigger.js","fcs-dashboard/components/power-select.js","fcs-dashboard/components/power-select/before-options.js","fcs-dashboard/components/power-select/options.js","fcs-dashboard/components/power-select/placeholder.js","fcs-dashboard/components/power-select/search-message.js","fcs-dashboard/components/power-select/trigger.js","fcs-dashboard/components/radio-button-input.js","fcs-dashboard/components/radio-button.js","fcs-dashboard/components/resize-detector.js","fcs-dashboard/components/scroll-content-element.js","fcs-dashboard/components/select-picker.js","fcs-dashboard/components/sortable-objects.js","fcs-dashboard/components/spectrum-color-picker.js","fcs-dashboard/components/tether-dialog.js","fcs-dashboard/components/tether-popover-on-component.js","fcs-dashboard/components/tether-popover-on-element.js","fcs-dashboard/components/tether-tooltip-on-component.js","fcs-dashboard/components/tether-tooltip-on-element.js","fcs-dashboard/components/to-elsewhere.js","fcs-dashboard/components/tooltip-on-component.js","fcs-dashboard/components/tooltip-on-element.js","fcs-dashboard/components/welcome-page.js","fcs-dashboard/components/x-file-input.js","fcs-dashboard/components/x-toggle.js","fcs-dashboard/flows.js","fcs-dashboard/formats.js","fcs-dashboard/helpers/and.js","fcs-dashboard/helpers/app-version.js","fcs-dashboard/helpers/append.js","fcs-dashboard/helpers/array.js","fcs-dashboard/helpers/bs-contains.js","fcs-dashboard/helpers/bs-eq.js","fcs-dashboard/helpers/camelize.js","fcs-dashboard/helpers/cancel-all.js","fcs-dashboard/helpers/capitalize.js","fcs-dashboard/helpers/chunk.js","fcs-dashboard/helpers/classify.js","fcs-dashboard/helpers/compact.js","fcs-dashboard/helpers/compute.js","fcs-dashboard/helpers/contains.js","fcs-dashboard/helpers/dasherize.js","fcs-dashboard/helpers/dec.js","fcs-dashboard/helpers/drop.js","fcs-dashboard/helpers/ember-power-select-is-group.js","fcs-dashboard/helpers/ember-power-select-is-selected.js","fcs-dashboard/helpers/ember-power-select-true-string-if-present.js","fcs-dashboard/helpers/eq.js","fcs-dashboard/helpers/exists-in.js","fcs-dashboard/helpers/filter-by.js","fcs-dashboard/helpers/filter.js","fcs-dashboard/helpers/find-by.js","fcs-dashboard/helpers/fixed-grid-layout.js","fcs-dashboard/helpers/flatten.js","fcs-dashboard/helpers/format-date.js","fcs-dashboard/helpers/format-html-message.js","fcs-dashboard/helpers/format-message.js","fcs-dashboard/helpers/format-number.js","fcs-dashboard/helpers/format-relative.js","fcs-dashboard/helpers/format-time.js","fcs-dashboard/helpers/group-by.js","fcs-dashboard/helpers/gt.js","fcs-dashboard/helpers/gte.js","fcs-dashboard/helpers/has-next.js","fcs-dashboard/helpers/has-previous.js","fcs-dashboard/helpers/hook.js","fcs-dashboard/helpers/html-safe.js","fcs-dashboard/helpers/inc.js","fcs-dashboard/helpers/intersect.js","fcs-dashboard/helpers/intl-get.js","fcs-dashboard/helpers/invoke.js","fcs-dashboard/helpers/is-array.js","fcs-dashboard/helpers/is-equal.js","fcs-dashboard/helpers/is-pending-move.js","fcs-dashboard/helpers/item-list-number.js","fcs-dashboard/helpers/join.js","fcs-dashboard/helpers/l.js","fcs-dashboard/helpers/lt.js","fcs-dashboard/helpers/lte.js","fcs-dashboard/helpers/map-by.js","fcs-dashboard/helpers/map.js","fcs-dashboard/helpers/mixed-grid-layout.js","fcs-dashboard/helpers/moment-calendar.js","fcs-dashboard/helpers/moment-duration.js","fcs-dashboard/helpers/moment-format.js","fcs-dashboard/helpers/moment-from-now.js","fcs-dashboard/helpers/moment-to-now.js","fcs-dashboard/helpers/next.js","fcs-dashboard/helpers/not-eq.js","fcs-dashboard/helpers/not.js","fcs-dashboard/helpers/now.js","fcs-dashboard/helpers/object-at.js","fcs-dashboard/helpers/one-way-select/contains.js","fcs-dashboard/helpers/optional.js","fcs-dashboard/helpers/or.js","fcs-dashboard/helpers/percentage-columns-layout.js","fcs-dashboard/helpers/perform.js","fcs-dashboard/helpers/pipe-action.js","fcs-dashboard/helpers/pipe.js","fcs-dashboard/helpers/pluralize.js","fcs-dashboard/helpers/previous.js","fcs-dashboard/helpers/queue.js","fcs-dashboard/helpers/range.js","fcs-dashboard/helpers/reduce.js","fcs-dashboard/helpers/reject-by.js","fcs-dashboard/helpers/repeat.js","fcs-dashboard/helpers/reverse.js","fcs-dashboard/helpers/send.js","fcs-dashboard/helpers/shuffle.js","fcs-dashboard/helpers/singularize.js","fcs-dashboard/helpers/slice.js","fcs-dashboard/helpers/sort-by.js","fcs-dashboard/helpers/t-html.js","fcs-dashboard/helpers/t.js","fcs-dashboard/helpers/take.js","fcs-dashboard/helpers/task.js","fcs-dashboard/helpers/titleize.js","fcs-dashboard/helpers/toggle-action.js","fcs-dashboard/helpers/toggle.js","fcs-dashboard/helpers/truncate.js","fcs-dashboard/helpers/underscore.js","fcs-dashboard/helpers/union.js","fcs-dashboard/helpers/url-encode.js","fcs-dashboard/helpers/w.js","fcs-dashboard/helpers/without.js","fcs-dashboard/helpers/xor.js","fcs-dashboard/initializers/add-modals-container.js","fcs-dashboard/initializers/app-version.js","fcs-dashboard/initializers/component-prop-types.js","fcs-dashboard/initializers/container-debug-adapter.js","fcs-dashboard/initializers/coordinator-setup.js","fcs-dashboard/initializers/data-adapter.js","fcs-dashboard/initializers/ember-cli-mirage.js","fcs-dashboard/initializers/ember-concurrency.js","fcs-dashboard/initializers/ember-data.js","fcs-dashboard/initializers/ember-hook/initialize.js","fcs-dashboard/initializers/ember-intl-cp-validations.js","fcs-dashboard/initializers/ember-simple-auth.js","fcs-dashboard/initializers/error-monitor.js","fcs-dashboard/initializers/export-application-global.js","fcs-dashboard/initializers/injectStore.js","fcs-dashboard/initializers/load-bootstrap-config.js","fcs-dashboard/initializers/model-fragments.js","fcs-dashboard/initializers/model.js","fcs-dashboard/initializers/store.js","fcs-dashboard/initializers/transforms.js","fcs-dashboard/initializers/truth-helpers.js","fcs-dashboard/initializers/viewport-config.js","fcs-dashboard/instance-initializers/ember-data.js","fcs-dashboard/instance-initializers/ember-intl.js","fcs-dashboard/instance-initializers/ember-simple-auth.js","fcs-dashboard/instance-initializers/logout-inactivity.js","fcs-dashboard/instance-initializers/svg-use-polyfill.js","fcs-dashboard/mirage/config.js","fcs-dashboard/mirage/factories/category.js","fcs-dashboard/mirage/factories/company.js","fcs-dashboard/mirage/factories/creditCardType.js","fcs-dashboard/mirage/factories/dailyCloseOutClerk.js","fcs-dashboard/mirage/factories/dailyCloseOutClerksByLocation.js","fcs-dashboard/mirage/factories/dailyCloseOutFilter.js","fcs-dashboard/mirage/factories/dailyCloseOutLocation.js","fcs-dashboard/mirage/factories/dailyCloseOutProductTypes.js","fcs-dashboard/mirage/factories/dailyCloseOutReport.js","fcs-dashboard/mirage/factories/dailySalesSummary.js","fcs-dashboard/mirage/factories/dailySummaryProductSales.js","fcs-dashboard/mirage/factories/financialReport.js","fcs-dashboard/mirage/factories/financialReportFilter.js","fcs-dashboard/mirage/factories/gateway.js","fcs-dashboard/mirage/factories/item.js","fcs-dashboard/mirage/factories/location.js","fcs-dashboard/mirage/factories/menu.js","fcs-dashboard/mirage/factories/nonCashPaymentReport.js","fcs-dashboard/mirage/factories/orderStatus.js","fcs-dashboard/mirage/factories/orders.js","fcs-dashboard/mirage/factories/page.js","fcs-dashboard/mirage/factories/payment.js","fcs-dashboard/mirage/factories/paymentResultReportFilter.js","fcs-dashboard/mirage/factories/product.js","fcs-dashboard/mirage/factories/productCatalog.js","fcs-dashboard/mirage/factories/productType.js","fcs-dashboard/mirage/factories/reportOptions.js","fcs-dashboard/mirage/factories/salesReportByProductFilter.js","fcs-dashboard/mirage/factories/searchOrders.js","fcs-dashboard/mirage/factories/simpleReportByProduct.js","fcs-dashboard/mirage/factories/taxRateType.js","fcs-dashboard/mirage/factories/user.js","fcs-dashboard/mirage/fixtures/categories.js","fcs-dashboard/mirage/fixtures/companies.js","fcs-dashboard/mirage/fixtures/gatewayEnvironments.js","fcs-dashboard/mirage/fixtures/gateways.js","fcs-dashboard/mirage/fixtures/locationGroupTypes.js","fcs-dashboard/mirage/fixtures/locationGroups.js","fcs-dashboard/mirage/fixtures/locationTypes.js","fcs-dashboard/mirage/fixtures/locations.js","fcs-dashboard/mirage/fixtures/menus.js","fcs-dashboard/mirage/fixtures/oauth.js","fcs-dashboard/mirage/fixtures/orderSendingTypes.js","fcs-dashboard/mirage/fixtures/pages.js","fcs-dashboard/mirage/fixtures/processorTypes.js","fcs-dashboard/mirage/fixtures/processors.js","fcs-dashboard/mirage/fixtures/productTypes.js","fcs-dashboard/mirage/fixtures/products.js","fcs-dashboard/mirage/fixtures/receiptTypes.js","fcs-dashboard/mirage/fixtures/roles.js","fcs-dashboard/mirage/fixtures/taxRateTypes.js","fcs-dashboard/mirage/fixtures/tenderTypes.js","fcs-dashboard/mirage/fixtures/tipDisplayTypes.js","fcs-dashboard/mirage/fixtures/toppings.js","fcs-dashboard/mirage/fixtures/userProfiles.js","fcs-dashboard/mirage/fixtures/userTypes.js","fcs-dashboard/mirage/fixtures/users.js","fcs-dashboard/mirage/fixtures/validationMethodTypes.js","fcs-dashboard/mirage/scenarios/default.js","fcs-dashboard/mixins/base-component.js","fcs-dashboard/mixins/common-mixin.js","fcs-dashboard/mixins/company-mixin.js","fcs-dashboard/mixins/gateway-mixin.js","fcs-dashboard/mixins/location-group-mixin.js","fcs-dashboard/mixins/menu-mixin.js","fcs-dashboard/mixins/product-catalog-mixin.js","fcs-dashboard/mixins/promotions-table-component.js","fcs-dashboard/mixins/report-mixin.js","fcs-dashboard/mixins/table-component.js","fcs-dashboard/mixins/user-mixin.js","fcs-dashboard/models/coordinator.js","fcs-dashboard/models/obj-hash.js","fcs-dashboard/pods/account-session/service.js","fcs-dashboard/pods/application/adapter.js","fcs-dashboard/pods/application/custom-table-footer/template.js","fcs-dashboard/pods/application/model.js","fcs-dashboard/pods/application/route.js","fcs-dashboard/pods/application/serializer.js","fcs-dashboard/pods/application/table-header-row-filtering-new/template.js","fcs-dashboard/pods/application/table-header-row-filtering/template.js","fcs-dashboard/pods/application/table-pagination/template.js","fcs-dashboard/pods/application/table-row/template.js","fcs-dashboard/pods/application/template.js","fcs-dashboard/pods/attribute-set/delete-cell/template.js","fcs-dashboard/pods/attribute-set/edit-cell/template.js","fcs-dashboard/pods/attribute-set/model.js","fcs-dashboard/pods/attribute-set/route.js","fcs-dashboard/pods/attribute-set/serializer.js","fcs-dashboard/pods/attribute-set/template.js","fcs-dashboard/pods/attribute/model.js","fcs-dashboard/pods/cash-calculator-display-type/model.js","fcs-dashboard/pods/cash-coin-rounding-mode/model.js","fcs-dashboard/pods/cash-coin-rounding-type/model.js","fcs-dashboard/pods/cashless-information/model.js","fcs-dashboard/pods/category/model.js","fcs-dashboard/pods/category/serializer.js","fcs-dashboard/pods/clerk-report/amount-cell/template.js","fcs-dashboard/pods/clerk-report/clerk-report-item/model.js","fcs-dashboard/pods/clerk-report/location-clerk/model.js","fcs-dashboard/pods/clerk-report/model.js","fcs-dashboard/pods/clerk-report/route.js","fcs-dashboard/pods/clerk-report/serializer.js","fcs-dashboard/pods/clerk-report/template.js","fcs-dashboard/pods/combined-product-catalog/model.js","fcs-dashboard/pods/combined-product-catalog/route.js","fcs-dashboard/pods/combined-product-catalog/serializer.js","fcs-dashboard/pods/combo-selection-catalog/model.js","fcs-dashboard/pods/combo-selection-product-catalog/delete-action/template.js","fcs-dashboard/pods/combo-selection-product-catalog/model.js","fcs-dashboard/pods/combo-selection-product-catalog/suggested-price-cell/template.js","fcs-dashboard/pods/combo-selection/model.js","fcs-dashboard/pods/combo-selection/serializer.js","fcs-dashboard/pods/company-role/model.js","fcs-dashboard/pods/company/actions/change-password-action/template.js","fcs-dashboard/pods/company/actions/edit-action/template.js","fcs-dashboard/pods/company/actions/lock-action/template.js","fcs-dashboard/pods/company/edit/route.js","fcs-dashboard/pods/company/edit/template.js","fcs-dashboard/pods/company/loading/route.js","fcs-dashboard/pods/company/loading/template.js","fcs-dashboard/pods/company/model.js","fcs-dashboard/pods/company/new/route.js","fcs-dashboard/pods/company/new/template.js","fcs-dashboard/pods/company/route.js","fcs-dashboard/pods/company/serializer.js","fcs-dashboard/pods/company/template.js","fcs-dashboard/pods/components/attribute-set/details/component.js","fcs-dashboard/pods/components/attribute-set/details/template.js","fcs-dashboard/pods/components/attribute-set/list/component.js","fcs-dashboard/pods/components/attribute-set/list/template.js","fcs-dashboard/pods/components/autocomplete-input/component.js","fcs-dashboard/pods/components/autocomplete-input/template.js","fcs-dashboard/pods/components/breadcrumbs-path/component.js","fcs-dashboard/pods/components/breadcrumbs-path/template.js","fcs-dashboard/pods/components/change-password-modal/component.js","fcs-dashboard/pods/components/change-password-modal/template.js","fcs-dashboard/pods/components/clerk-report/report-result/clerks-by-location/component.js","fcs-dashboard/pods/components/clerk-report/report-result/clerks-by-location/template.js","fcs-dashboard/pods/components/clerk-report/report-result/clerks/component.js","fcs-dashboard/pods/components/clerk-report/report-result/clerks/template.js","fcs-dashboard/pods/components/clerk-report/report-result/component.js","fcs-dashboard/pods/components/clerk-report/report-result/locations/component.js","fcs-dashboard/pods/components/clerk-report/report-result/locations/template.js","fcs-dashboard/pods/components/clerk-report/report-result/product-types/component.js","fcs-dashboard/pods/components/clerk-report/report-result/product-types/template.js","fcs-dashboard/pods/components/clerk-report/report-result/template.js","fcs-dashboard/pods/components/clerk-report/search-criteria/component.js","fcs-dashboard/pods/components/clerk-report/search-criteria/template.js","fcs-dashboard/pods/components/company/company-details/component.js","fcs-dashboard/pods/components/company/company-details/template.js","fcs-dashboard/pods/components/company/company-list/component.js","fcs-dashboard/pods/components/company/company-list/template.js","fcs-dashboard/pods/components/contact-info/component.js","fcs-dashboard/pods/components/contact-info/template.js","fcs-dashboard/pods/components/custom-fee-log/actions/edit-action/template.js","fcs-dashboard/pods/components/custom-fee-log/actions/enable-action/template.js","fcs-dashboard/pods/components/custom-fee-log/model.js","fcs-dashboard/pods/components/daily-close-out/report-result/clerks-by-location/component.js","fcs-dashboard/pods/components/daily-close-out/report-result/clerks-by-location/template.js","fcs-dashboard/pods/components/daily-close-out/report-result/clerks/component.js","fcs-dashboard/pods/components/daily-close-out/report-result/clerks/template.js","fcs-dashboard/pods/components/daily-close-out/report-result/component.js","fcs-dashboard/pods/components/daily-close-out/report-result/locations/component.js","fcs-dashboard/pods/components/daily-close-out/report-result/locations/template.js","fcs-dashboard/pods/components/daily-close-out/report-result/product-types/component.js","fcs-dashboard/pods/components/daily-close-out/report-result/product-types/template.js","fcs-dashboard/pods/components/daily-close-out/report-result/template.js","fcs-dashboard/pods/components/daily-close-out/search-criteria/component.js","fcs-dashboard/pods/components/daily-close-out/search-criteria/template.js","fcs-dashboard/pods/components/delivery-destination/edit-modal/component.js","fcs-dashboard/pods/components/delivery-destination/edit-modal/template.js","fcs-dashboard/pods/components/delivery-destination/list/component.js","fcs-dashboard/pods/components/delivery-destination/list/template.js","fcs-dashboard/pods/components/embeddable-report/report-result/component.js","fcs-dashboard/pods/components/embeddable-report/report-result/template.js","fcs-dashboard/pods/components/embeddable-report/search-criteria/component.js","fcs-dashboard/pods/components/embeddable-report/search-criteria/template.js","fcs-dashboard/pods/components/event-analytics/actions/date-display/template.js","fcs-dashboard/pods/components/event-analytics/actions/edit-action/template.js","fcs-dashboard/pods/components/event-analytics/actions/lock-action/template.js","fcs-dashboard/pods/components/event-analytics/actions/toggle-active-action/template.js","fcs-dashboard/pods/components/event-analytics/detail/component.js","fcs-dashboard/pods/components/event-analytics/detail/template.js","fcs-dashboard/pods/components/event-analytics/list/component.js","fcs-dashboard/pods/components/event-analytics/list/template.js","fcs-dashboard/pods/components/event-analytics/timezone-modal/component.js","fcs-dashboard/pods/components/event-analytics/timezone-modal/template.js","fcs-dashboard/pods/components/fcs-login/component.js","fcs-dashboard/pods/components/fcs-login/template.js","fcs-dashboard/pods/components/fcs-modal-dialog/component.js","fcs-dashboard/pods/components/fcs-modal-dialog/template.js","fcs-dashboard/pods/components/fcs-multiselect-checkboxes/component.js","fcs-dashboard/pods/components/fcs-multiselect-checkboxes/template.js","fcs-dashboard/pods/components/fcs-navbar/component.js","fcs-dashboard/pods/components/fcs-navbar/template.js","fcs-dashboard/pods/components/fcs-navbar/top-item/component.js","fcs-dashboard/pods/components/fcs-navbar/top-item/template.js","fcs-dashboard/pods/components/fcs-password-reset/component.js","fcs-dashboard/pods/components/fcs-password-reset/template.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-admin-report/component.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-admin-report/template.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-report/component.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-report/template.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/menu-by-day/component.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/menu-by-day/template.js","fcs-dashboard/pods/components/financial-overview-report/financial-report-result/template.js","fcs-dashboard/pods/components/financial-overview-report/search-criteria/component.js","fcs-dashboard/pods/components/financial-overview-report/search-criteria/template.js","fcs-dashboard/pods/components/forgot-password/component.js","fcs-dashboard/pods/components/forgot-password/template.js","fcs-dashboard/pods/components/gateway-mng/credential/component.js","fcs-dashboard/pods/components/gateway-mng/credential/template.js","fcs-dashboard/pods/components/gateway-mng/details/component.js","fcs-dashboard/pods/components/gateway-mng/details/template.js","fcs-dashboard/pods/components/gateway-mng/gateway-submerchant/component.js","fcs-dashboard/pods/components/gateway-mng/gateway-submerchant/template.js","fcs-dashboard/pods/components/gateway-mng/list/component.js","fcs-dashboard/pods/components/gateway-mng/list/template.js","fcs-dashboard/pods/components/high-level-invoicing-report/report-result/component.js","fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-company-row/component.js","fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-company-row/template.js","fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-item/component.js","fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-item/template.js","fcs-dashboard/pods/components/high-level-invoicing-report/report-result/template.js","fcs-dashboard/pods/components/high-level-invoicing-report/search-criteria/component.js","fcs-dashboard/pods/components/high-level-invoicing-report/search-criteria/template.js","fcs-dashboard/pods/components/input-custom-fee-value/component.js","fcs-dashboard/pods/components/input-custom-fee-value/template.js","fcs-dashboard/pods/components/input-number/component.js","fcs-dashboard/pods/components/input-number/template.js","fcs-dashboard/pods/components/input-percentage/component.js","fcs-dashboard/pods/components/input-percentage/template.js","fcs-dashboard/pods/components/input-promotion-minimum-spent-value/component.js","fcs-dashboard/pods/components/input-promotion-minimum-spent-value/template.js","fcs-dashboard/pods/components/item-token-usage-report/report-result/component.js","fcs-dashboard/pods/components/item-token-usage-report/report-result/template.js","fcs-dashboard/pods/components/item-token-usage-report/search-criteria/component.js","fcs-dashboard/pods/components/item-token-usage-report/search-criteria/template.js","fcs-dashboard/pods/components/kds-station/close-modal/component.js","fcs-dashboard/pods/components/kds-station/close-modal/template.js","fcs-dashboard/pods/components/kds-station/list/component.js","fcs-dashboard/pods/components/kds-station/list/template.js","fcs-dashboard/pods/components/location-group/company-role/component.js","fcs-dashboard/pods/components/location-group/company-role/template.js","fcs-dashboard/pods/components/location-group/custom-fee-modal/component.js","fcs-dashboard/pods/components/location-group/custom-fee-modal/custom-fee-log-modal/component.js","fcs-dashboard/pods/components/location-group/custom-fee-modal/custom-fee-log-modal/template.js","fcs-dashboard/pods/components/location-group/custom-fee-modal/template.js","fcs-dashboard/pods/components/location-group/delete-custom-fee-modal/component.js","fcs-dashboard/pods/components/location-group/delete-custom-fee-modal/template.js","fcs-dashboard/pods/components/location-group/details/component.js","fcs-dashboard/pods/components/location-group/details/template.js","fcs-dashboard/pods/components/location-group/list/component.js","fcs-dashboard/pods/components/location-group/list/push-tag-sync-modal/component.js","fcs-dashboard/pods/components/location-group/list/push-tag-sync-modal/template.js","fcs-dashboard/pods/components/location-group/list/template.js","fcs-dashboard/pods/components/location-group/promotion-modal/component.js","fcs-dashboard/pods/components/location-group/promotion-modal/gift-product-selector/component.js","fcs-dashboard/pods/components/location-group/promotion-modal/gift-product-selector/template.js","fcs-dashboard/pods/components/location-group/promotion-modal/item-token-promotion-products/component.js","fcs-dashboard/pods/components/location-group/promotion-modal/item-token-promotion-products/template.js","fcs-dashboard/pods/components/location-group/promotion-modal/promotion-image-row/component.js","fcs-dashboard/pods/components/location-group/promotion-modal/promotion-image-row/template.js","fcs-dashboard/pods/components/location-group/promotion-modal/template.js","fcs-dashboard/pods/components/location-group/timezone-modal/component.js","fcs-dashboard/pods/components/location-group/timezone-modal/template.js","fcs-dashboard/pods/components/location-mng/details/component.js","fcs-dashboard/pods/components/location-mng/details/template.js","fcs-dashboard/pods/components/location-mng/embedded-list/component.js","fcs-dashboard/pods/components/location-mng/embedded-list/template.js","fcs-dashboard/pods/components/location-mng/list/component.js","fcs-dashboard/pods/components/location-mng/list/template.js","fcs-dashboard/pods/components/menu-audit-report/report-result/component.js","fcs-dashboard/pods/components/menu-audit-report/report-result/template.js","fcs-dashboard/pods/components/menu-audit-report/search-criteria/component.js","fcs-dashboard/pods/components/menu-audit-report/search-criteria/template.js","fcs-dashboard/pods/components/menu/cancel-modal/component.js","fcs-dashboard/pods/components/menu/cancel-modal/template.js","fcs-dashboard/pods/components/menu/menu-list/component.js","fcs-dashboard/pods/components/menu/menu-list/push-menu-modal/component.js","fcs-dashboard/pods/components/menu/menu-list/push-menu-modal/template.js","fcs-dashboard/pods/components/menu/menu-list/template.js","fcs-dashboard/pods/components/menu/menu-locations/component.js","fcs-dashboard/pods/components/menu/menu-locations/locations/component.js","fcs-dashboard/pods/components/menu/menu-locations/locations/template.js","fcs-dashboard/pods/components/menu/menu-locations/template.js","fcs-dashboard/pods/components/menu/menu-wizard/action-buttons/component.js","fcs-dashboard/pods/components/menu/menu-wizard/action-buttons/template.js","fcs-dashboard/pods/components/menu/menu-wizard/category-modal/component.js","fcs-dashboard/pods/components/menu/menu-wizard/category-modal/template.js","fcs-dashboard/pods/components/menu/menu-wizard/category-view/component.js","fcs-dashboard/pods/components/menu/menu-wizard/category-view/template.js","fcs-dashboard/pods/components/menu/menu-wizard/features/component.js","fcs-dashboard/pods/components/menu/menu-wizard/features/template.js","fcs-dashboard/pods/components/menu/menu-wizard/menu-information/component.js","fcs-dashboard/pods/components/menu/menu-wizard/menu-information/template.js","fcs-dashboard/pods/components/menu/menu-wizard/menu-structure/component.js","fcs-dashboard/pods/components/menu/menu-wizard/menu-structure/template.js","fcs-dashboard/pods/components/menu/menu-wizard/page-view/component.js","fcs-dashboard/pods/components/menu/menu-wizard/page-view/template.js","fcs-dashboard/pods/components/menu/menu-wizard/pages-table/component.js","fcs-dashboard/pods/components/menu/menu-wizard/pages-table/template.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cash-management/component.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cash-management/template.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cashless-management/component.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cashless-management/template.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/component.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/credit-card-management/component.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/credit-card-management/template.js","fcs-dashboard/pods/components/menu/menu-wizard/payment-information/template.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/component.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-modal/component.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-modal/template.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-row/component.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-row/template.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/combo-product-modifiers/component.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/combo-product-modifiers/template.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/component.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/modifiers/component.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/modifiers/template.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/template.js","fcs-dashboard/pods/components/menu/menu-wizard/products-table/template.js","fcs-dashboard/pods/components/menu/menu-wizard/receipt-options/component.js","fcs-dashboard/pods/components/menu/menu-wizard/receipt-options/template.js","fcs-dashboard/pods/components/menu/menu-wizard/tablet-view/component.js","fcs-dashboard/pods/components/menu/menu-wizard/tablet-view/template.js","fcs-dashboard/pods/components/menu/menu-wizard/taxes/component.js","fcs-dashboard/pods/components/menu/menu-wizard/taxes/product-type-editor/component.js","fcs-dashboard/pods/components/menu/menu-wizard/taxes/product-type-editor/template.js","fcs-dashboard/pods/components/menu/menu-wizard/taxes/template.js","fcs-dashboard/pods/components/menu/menu-wizard/topping-row/component.js","fcs-dashboard/pods/components/menu/menu-wizard/topping-row/template.js","fcs-dashboard/pods/components/menu/menu-wizard/wizard-base/component.js","fcs-dashboard/pods/components/menu/menu-wizard/wizard-base/template.js","fcs-dashboard/pods/components/menu/save-modal/component.js","fcs-dashboard/pods/components/menu/save-modal/template.js","fcs-dashboard/pods/components/models-table-server-paginated/component.js","fcs-dashboard/pods/components/models-table-server-paginated/template.js","fcs-dashboard/pods/components/online-ordering-link/edit-modal/component.js","fcs-dashboard/pods/components/online-ordering-link/edit-modal/template.js","fcs-dashboard/pods/components/online-ordering-link/list/component.js","fcs-dashboard/pods/components/online-ordering-link/list/template.js","fcs-dashboard/pods/components/online-ordering-link/publish-modal/component.js","fcs-dashboard/pods/components/online-ordering-link/publish-modal/template.js","fcs-dashboard/pods/components/online-ordering-link/retire-modal/component.js","fcs-dashboard/pods/components/online-ordering-link/retire-modal/template.js","fcs-dashboard/pods/components/payment-result/report-result/component.js","fcs-dashboard/pods/components/payment-result/report-result/report-items-by-company/component.js","fcs-dashboard/pods/components/payment-result/report-result/report-items-by-company/template.js","fcs-dashboard/pods/components/payment-result/report-result/report-items-by-day/component.js","fcs-dashboard/pods/components/payment-result/report-result/report-items-by-day/template.js","fcs-dashboard/pods/components/payment-result/report-result/template.js","fcs-dashboard/pods/components/payment-result/search-criteria/component.js","fcs-dashboard/pods/components/payment-result/search-criteria/template.js","fcs-dashboard/pods/components/pmix-with-combos/pmix-with-combos-result/component.js","fcs-dashboard/pods/components/pmix-with-combos/pmix-with-combos-result/template.js","fcs-dashboard/pods/components/pmix-with-combos/search-criteria/component.js","fcs-dashboard/pods/components/pmix-with-combos/search-criteria/template.js","fcs-dashboard/pods/components/pos-token/timer/component.js","fcs-dashboard/pods/components/pos-token/timer/template.js","fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/component.js","fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/details/component.js","fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/details/template.js","fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/template.js","fcs-dashboard/pods/components/product-catalog/details/component.js","fcs-dashboard/pods/components/product-catalog/details/template.js","fcs-dashboard/pods/components/product-catalog/list/component.js","fcs-dashboard/pods/components/product-catalog/list/template.js","fcs-dashboard/pods/components/product-catalog/meta-product-catalog/details/component.js","fcs-dashboard/pods/components/product-catalog/meta-product-catalog/details/template.js","fcs-dashboard/pods/components/product-catalog/meta-product-catalog/product-catalog-selection/component.js","fcs-dashboard/pods/components/product-catalog/meta-product-catalog/product-catalog-selection/template.js","fcs-dashboard/pods/components/product-catalog/quick-add/component.js","fcs-dashboard/pods/components/product-catalog/quick-add/template.js","fcs-dashboard/pods/components/product-mix-report/product-mix-result/component.js","fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-locations/component.js","fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-locations/template.js","fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-products/component.js","fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-products/template.js","fcs-dashboard/pods/components/product-mix-report/product-mix-result/template.js","fcs-dashboard/pods/components/product-mix-report/search-criteria/component.js","fcs-dashboard/pods/components/product-mix-report/search-criteria/template.js","fcs-dashboard/pods/components/product-type/details/component.js","fcs-dashboard/pods/components/product-type/details/template.js","fcs-dashboard/pods/components/product-type/list/component.js","fcs-dashboard/pods/components/product-type/list/template.js","fcs-dashboard/pods/components/promotions-audit-report/report-result/component.js","fcs-dashboard/pods/components/promotions-audit-report/report-result/template.js","fcs-dashboard/pods/components/promotions-audit-report/search-criteria/component.js","fcs-dashboard/pods/components/promotions-audit-report/search-criteria/template.js","fcs-dashboard/pods/components/report-export-option/component.js","fcs-dashboard/pods/components/report-export-option/template.js","fcs-dashboard/pods/components/report/sales-report-result/component.js","fcs-dashboard/pods/components/report/sales-report-result/template.js","fcs-dashboard/pods/components/report/search-criteria/component.js","fcs-dashboard/pods/components/report/search-criteria/template.js","fcs-dashboard/pods/components/sales-report/sales-report-result/component.js","fcs-dashboard/pods/components/sales-report/sales-report-result/template.js","fcs-dashboard/pods/components/sales-report/search-criteria/component.js","fcs-dashboard/pods/components/sales-report/search-criteria/template.js","fcs-dashboard/pods/components/saved-network/saved-network-details/component.js","fcs-dashboard/pods/components/saved-network/saved-network-details/template.js","fcs-dashboard/pods/components/saved-network/saved-network-list/component.js","fcs-dashboard/pods/components/saved-network/saved-network-list/template.js","fcs-dashboard/pods/components/search/amount-cell/component.js","fcs-dashboard/pods/components/search/amount-cell/template.js","fcs-dashboard/pods/components/search/detail-cell/component.js","fcs-dashboard/pods/components/search/detail-cell/template.js","fcs-dashboard/pods/components/search/order-details/component.js","fcs-dashboard/pods/components/search/order-details/payment-detail/component.js","fcs-dashboard/pods/components/search/order-details/payment-detail/template.js","fcs-dashboard/pods/components/search/order-details/template.js","fcs-dashboard/pods/components/search/search-criteria/component.js","fcs-dashboard/pods/components/search/search-criteria/template.js","fcs-dashboard/pods/components/search/search-result/component.js","fcs-dashboard/pods/components/search/search-result/template.js","fcs-dashboard/pods/components/select-button/component.js","fcs-dashboard/pods/components/select-button/template.js","fcs-dashboard/pods/components/selectable-table/component.js","fcs-dashboard/pods/components/selectable-table/row/component.js","fcs-dashboard/pods/components/selectable-table/row/template.js","fcs-dashboard/pods/components/selectable-table/template.js","fcs-dashboard/pods/components/simple-report-by-product/search-criteria/component.js","fcs-dashboard/pods/components/simple-report-by-product/search-criteria/template.js","fcs-dashboard/pods/components/simple-report-by-product/simple-report-result/component.js","fcs-dashboard/pods/components/simple-report-by-product/simple-report-result/template.js","fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/report-result/component.js","fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/report-result/template.js","fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/search-criteria/component.js","fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/search-criteria/template.js","fcs-dashboard/pods/components/table-header-row-filtering/component.js","fcs-dashboard/pods/components/table-header-row-filtering/template.js","fcs-dashboard/pods/components/tags-input/component.js","fcs-dashboard/pods/components/tags-input/template.js","fcs-dashboard/pods/components/tags-selector/component.js","fcs-dashboard/pods/components/tags-selector/template.js","fcs-dashboard/pods/components/tip-button/template.js","fcs-dashboard/pods/components/tip-percentage/template.js","fcs-dashboard/pods/components/trait/trait-list/component.js","fcs-dashboard/pods/components/trait/trait-list/template.js","fcs-dashboard/pods/components/user-mng/account-details/component.js","fcs-dashboard/pods/components/user-mng/account-details/template.js","fcs-dashboard/pods/components/user-mng/details/component.js","fcs-dashboard/pods/components/user-mng/details/template.js","fcs-dashboard/pods/components/user-mng/import-user-list/component.js","fcs-dashboard/pods/components/user-mng/import-user-list/template.js","fcs-dashboard/pods/components/user-mng/list/component.js","fcs-dashboard/pods/components/user-mng/list/template.js","fcs-dashboard/pods/contact/route.js","fcs-dashboard/pods/contact/template.js","fcs-dashboard/pods/credit-card-type/model.js","fcs-dashboard/pods/custom-fee-applies-to/model.js","fcs-dashboard/pods/custom-fee-log/model.js","fcs-dashboard/pods/custom-fee-type/model.js","fcs-dashboard/pods/custom-fee/actions/delete-action/template.js","fcs-dashboard/pods/custom-fee/actions/edit-action/template.js","fcs-dashboard/pods/custom-fee/actions/enable-action/template.js","fcs-dashboard/pods/custom-fee/actions/taxable-action/template.js","fcs-dashboard/pods/custom-fee/model.js","fcs-dashboard/pods/custom-payment-type/model.js","fcs-dashboard/pods/daily-close-out-filter/model.js","fcs-dashboard/pods/daily-close-out-report/amount-cell/template.js","fcs-dashboard/pods/daily-close-out-report/clerks-by-locations/model.js","fcs-dashboard/pods/daily-close-out-report/clerks/model.js","fcs-dashboard/pods/daily-close-out-report/locations/model.js","fcs-dashboard/pods/daily-close-out-report/model.js","fcs-dashboard/pods/daily-close-out-report/product-types/model.js","fcs-dashboard/pods/daily-close-out-report/route.js","fcs-dashboard/pods/daily-close-out-report/serializer.js","fcs-dashboard/pods/daily-close-out-report/template.js","fcs-dashboard/pods/delivery-destination/actions/link-cell/template.js","fcs-dashboard/pods/delivery-destination/actions/manage-action/template.js","fcs-dashboard/pods/delivery-destination/actions/mode-cell/template.js","fcs-dashboard/pods/delivery-destination/actions/row-action/template.js","fcs-dashboard/pods/delivery-destination/actions/status-cell/template.js","fcs-dashboard/pods/delivery-destination/actions/url-cell/template.js","fcs-dashboard/pods/delivery-destination/route.js","fcs-dashboard/pods/delivery-destination/template.js","fcs-dashboard/pods/email-recipient/model.js","fcs-dashboard/pods/embeddable-report/model.js","fcs-dashboard/pods/embeddable-report/route.js","fcs-dashboard/pods/embeddable-report/template.js","fcs-dashboard/pods/event-analytics-mapping/model.js","fcs-dashboard/pods/event-analytics/edit/route.js","fcs-dashboard/pods/event-analytics/edit/template.js","fcs-dashboard/pods/event-analytics/model.js","fcs-dashboard/pods/event-analytics/new/route.js","fcs-dashboard/pods/event-analytics/new/template.js","fcs-dashboard/pods/event-analytics/route.js","fcs-dashboard/pods/event-analytics/serializer.js","fcs-dashboard/pods/event-analytics/template.js","fcs-dashboard/pods/financial-overview-report/amount-cell/template.js","fcs-dashboard/pods/financial-overview-report/financial-report-daily-menu-details/model.js","fcs-dashboard/pods/financial-overview-report/financial-report-details/model.js","fcs-dashboard/pods/financial-overview-report/model.js","fcs-dashboard/pods/financial-overview-report/percentage-cell/template.js","fcs-dashboard/pods/financial-overview-report/route.js","fcs-dashboard/pods/financial-overview-report/serializer.js","fcs-dashboard/pods/financial-overview-report/template.js","fcs-dashboard/pods/financial-report-filter/model.js","fcs-dashboard/pods/gateway-environment/model.js","fcs-dashboard/pods/gateway-menu-location/model.js","fcs-dashboard/pods/gateway-submerchant-fragment/model.js","fcs-dashboard/pods/gateway-submerchant/model.js","fcs-dashboard/pods/gateway/actions/edit-action/template.js","fcs-dashboard/pods/gateway/edit/route.js","fcs-dashboard/pods/gateway/edit/template.js","fcs-dashboard/pods/gateway/loading/route.js","fcs-dashboard/pods/gateway/loading/template.js","fcs-dashboard/pods/gateway/model.js","fcs-dashboard/pods/gateway/new/route.js","fcs-dashboard/pods/gateway/new/template.js","fcs-dashboard/pods/gateway/route.js","fcs-dashboard/pods/gateway/serializer.js","fcs-dashboard/pods/gateway/template.js","fcs-dashboard/pods/high-level-invoicing-report/high-level-invoicing-company-row/model.js","fcs-dashboard/pods/high-level-invoicing-report/high-level-invoicing-item/model.js","fcs-dashboard/pods/high-level-invoicing-report/model.js","fcs-dashboard/pods/high-level-invoicing-report/route.js","fcs-dashboard/pods/high-level-invoicing-report/serializer.js","fcs-dashboard/pods/high-level-invoicing-report/template.js","fcs-dashboard/pods/index/route.js","fcs-dashboard/pods/index/template.js","fcs-dashboard/pods/item-token-usage-report/amount-cell/template.js","fcs-dashboard/pods/item-token-usage-report/item-token-usage-report-item/model.js","fcs-dashboard/pods/item-token-usage-report/model.js","fcs-dashboard/pods/item-token-usage-report/percentage-cell/template.js","fcs-dashboard/pods/item-token-usage-report/route.js","fcs-dashboard/pods/item-token-usage-report/serializer.js","fcs-dashboard/pods/item-token-usage-report/template.js","fcs-dashboard/pods/kds-station/actions/close-action/template.js","fcs-dashboard/pods/kds-station/actions/status-cell/template.js","fcs-dashboard/pods/kds-station/route.js","fcs-dashboard/pods/kds-station/template.js","fcs-dashboard/pods/loading/template.js","fcs-dashboard/pods/location-group-type/model.js","fcs-dashboard/pods/location-group-wristband-attachment/model.js","fcs-dashboard/pods/location-group/actions/edit-action/template.js","fcs-dashboard/pods/location-group/actions/push-action/template.js","fcs-dashboard/pods/location-group/actions/status-action/template.js","fcs-dashboard/pods/location-group/edit/route.js","fcs-dashboard/pods/location-group/edit/template.js","fcs-dashboard/pods/location-group/loading/route.js","fcs-dashboard/pods/location-group/loading/template.js","fcs-dashboard/pods/location-group/model.js","fcs-dashboard/pods/location-group/new/route.js","fcs-dashboard/pods/location-group/new/template.js","fcs-dashboard/pods/location-group/route.js","fcs-dashboard/pods/location-group/serializer.js","fcs-dashboard/pods/location-group/template.js","fcs-dashboard/pods/location-type/model.js","fcs-dashboard/pods/location/actions/edit-cell/template.js","fcs-dashboard/pods/location/model.js","fcs-dashboard/pods/location/route.js","fcs-dashboard/pods/location/template.js","fcs-dashboard/pods/login/model.js","fcs-dashboard/pods/login/route.js","fcs-dashboard/pods/login/template.js","fcs-dashboard/pods/menu-audit-report/menu-audit-report-item/model.js","fcs-dashboard/pods/menu-audit-report/model.js","fcs-dashboard/pods/menu-audit-report/route.js","fcs-dashboard/pods/menu-audit-report/serializer.js","fcs-dashboard/pods/menu-audit-report/template.js","fcs-dashboard/pods/menu-custom-fee/model.js","fcs-dashboard/pods/menu-location/model.js","fcs-dashboard/pods/menu-location/serializer.js","fcs-dashboard/pods/menu-name-filter/model.js","fcs-dashboard/pods/menu-product-type/model.js","fcs-dashboard/pods/menu-promotion/model.js","fcs-dashboard/pods/menu/actions/copy-action/template.js","fcs-dashboard/pods/menu/actions/edit-action/template.js","fcs-dashboard/pods/menu/actions/edit-locations-action/template.js","fcs-dashboard/pods/menu/actions/lock-action/template.js","fcs-dashboard/pods/menu/actions/menu-archive-action/template.js","fcs-dashboard/pods/menu/actions/payments-warning/template.js","fcs-dashboard/pods/menu/actions/product-type-tax-set-action/template.js","fcs-dashboard/pods/menu/actions/product-type-tax/template.js","fcs-dashboard/pods/menu/actions/push-action/template.js","fcs-dashboard/pods/menu/edit/route.js","fcs-dashboard/pods/menu/edit/template.js","fcs-dashboard/pods/menu/loading/route.js","fcs-dashboard/pods/menu/loading/template.js","fcs-dashboard/pods/menu/model.js","fcs-dashboard/pods/menu/new/route.js","fcs-dashboard/pods/menu/new/template.js","fcs-dashboard/pods/menu/route.js","fcs-dashboard/pods/menu/serializer.js","fcs-dashboard/pods/menu/template.js","fcs-dashboard/pods/menu/update-at-cell/template.js","fcs-dashboard/pods/meta-product-catalog/actions/row-select-all-checkbox/template.js","fcs-dashboard/pods/meta-product-catalog/actions/row-select-checkbox/template.js","fcs-dashboard/pods/meta-product-catalog/model.js","fcs-dashboard/pods/meta-product-catalog/name-cell/template.js","fcs-dashboard/pods/meta-product-catalog/priority-cell/template.js","fcs-dashboard/pods/meta-product-catalog/serializer.js","fcs-dashboard/pods/meta-product-catalog/suggested-price-cell/template.js","fcs-dashboard/pods/modifier-action/model.js","fcs-dashboard/pods/modifier-placement/model.js","fcs-dashboard/pods/modifier/add-action/template.js","fcs-dashboard/pods/modifier/delete-action/template.js","fcs-dashboard/pods/modifier/model.js","fcs-dashboard/pods/modifier/serializer.js","fcs-dashboard/pods/multi-product-pmix-report/route.js","fcs-dashboard/pods/multi-product-pmix-report/template.js","fcs-dashboard/pods/online-ordering-link/actions/code-cell/template.js","fcs-dashboard/pods/online-ordering-link/actions/edit-action/template.js","fcs-dashboard/pods/online-ordering-link/actions/event-cell/template.js","fcs-dashboard/pods/online-ordering-link/actions/publish-action/template.js","fcs-dashboard/pods/online-ordering-link/actions/status-cell/template.js","fcs-dashboard/pods/online-ordering-link/actions/taking-orders-cell/template.js","fcs-dashboard/pods/online-ordering-link/route.js","fcs-dashboard/pods/online-ordering-link/template.js","fcs-dashboard/pods/order-item-modifier/model.js","fcs-dashboard/pods/order-item/model.js","fcs-dashboard/pods/order-payment/model.js","fcs-dashboard/pods/order-sending-type/model.js","fcs-dashboard/pods/order-status/model.js","fcs-dashboard/pods/order/action-result/model.js","fcs-dashboard/pods/order/model.js","fcs-dashboard/pods/order/order-fee/model.js","fcs-dashboard/pods/page/model.js","fcs-dashboard/pods/page/serializer.js","fcs-dashboard/pods/password-reset/route.js","fcs-dashboard/pods/password-reset/template.js","fcs-dashboard/pods/payment-result-report-filter/model.js","fcs-dashboard/pods/payment-result-report/amount-cell/template.js","fcs-dashboard/pods/payment-result-report/model.js","fcs-dashboard/pods/payment-result-report/report-items-by-company/model.js","fcs-dashboard/pods/payment-result-report/report-items-by-day/model.js","fcs-dashboard/pods/payment-result-report/route.js","fcs-dashboard/pods/payment-result-report/serializer.js","fcs-dashboard/pods/payment-result-report/template.js","fcs-dashboard/pods/payment-result-report/totals/model.js","fcs-dashboard/pods/pmix-with-combos/route.js","fcs-dashboard/pods/pmix-with-combos/template.js","fcs-dashboard/pods/pos-token/model.js","fcs-dashboard/pods/pos-token/route.js","fcs-dashboard/pods/pos-token/template.js","fcs-dashboard/pods/printer-type/model.js","fcs-dashboard/pods/processor-credential/model.js","fcs-dashboard/pods/processor-type/model.js","fcs-dashboard/pods/processor/model.js","fcs-dashboard/pods/product-catalog/archive-action/template.js","fcs-dashboard/pods/product-catalog/custom/template.js","fcs-dashboard/pods/product-catalog/delete-action/template.js","fcs-dashboard/pods/product-catalog/edit-action/template.js","fcs-dashboard/pods/product-catalog/meta-product-catalog-flag/template.js","fcs-dashboard/pods/product-catalog/model.js","fcs-dashboard/pods/product-catalog/route.js","fcs-dashboard/pods/product-catalog/serializer.js","fcs-dashboard/pods/product-catalog/suggested-price-cell/template.js","fcs-dashboard/pods/product-catalog/template.js","fcs-dashboard/pods/product-class/model.js","fcs-dashboard/pods/product-group-attribute-set/model.js","fcs-dashboard/pods/product-group/model.js","fcs-dashboard/pods/product-group/serializer.js","fcs-dashboard/pods/product-mix-report/amount-cell/template.js","fcs-dashboard/pods/product-mix-report/model.js","fcs-dashboard/pods/product-mix-report/percentage-cell/template.js","fcs-dashboard/pods/product-mix-report/product-mix-item/model.js","fcs-dashboard/pods/product-mix-report/product-mix-location-item/model.js","fcs-dashboard/pods/product-mix-report/route.js","fcs-dashboard/pods/product-mix-report/serializer.js","fcs-dashboard/pods/product-mix-report/template.js","fcs-dashboard/pods/product-type/delete-cell/template.js","fcs-dashboard/pods/product-type/edit-cell/template.js","fcs-dashboard/pods/product-type/model.js","fcs-dashboard/pods/product-type/route.js","fcs-dashboard/pods/product-type/template.js","fcs-dashboard/pods/product/model.js","fcs-dashboard/pods/product/modifiers-action/template.js","fcs-dashboard/pods/product/serializer.js","fcs-dashboard/pods/promotion-amount-type/model.js","fcs-dashboard/pods/promotion-applies-to/model.js","fcs-dashboard/pods/promotion-image-placement/model.js","fcs-dashboard/pods/promotion-image/model.js","fcs-dashboard/pods/promotion-payment-type/model.js","fcs-dashboard/pods/promotion-redemption-rule/model.js","fcs-dashboard/pods/promotion-status/model.js","fcs-dashboard/pods/promotion-trigger-type/model.js","fcs-dashboard/pods/promotion-type/model.js","fcs-dashboard/pods/promotion/actions/activate-action/template.js","fcs-dashboard/pods/promotion/actions/edit-action/template.js","fcs-dashboard/pods/promotion/actions/enable-action/template.js","fcs-dashboard/pods/promotion/model.js","fcs-dashboard/pods/promotion/serializer.js","fcs-dashboard/pods/promotions-audit-report/model.js","fcs-dashboard/pods/promotions-audit-report/promotions-audit-report-item/model.js","fcs-dashboard/pods/promotions-audit-report/route.js","fcs-dashboard/pods/promotions-audit-report/serializer.js","fcs-dashboard/pods/promotions-audit-report/template.js","fcs-dashboard/pods/range-filter/model.js","fcs-dashboard/pods/receipt-type/model.js","fcs-dashboard/pods/receipt/model.js","fcs-dashboard/pods/report-filters/model.js","fcs-dashboard/pods/report-options/model.js","fcs-dashboard/pods/reports-company-role/model.js","fcs-dashboard/pods/reports-location-group/model.js","fcs-dashboard/pods/review-configuration/route.js","fcs-dashboard/pods/review-configuration/template.js","fcs-dashboard/pods/role-type/model.js","fcs-dashboard/pods/sales-report-by-product-filter/model.js","fcs-dashboard/pods/sales-report/amount-cell/template.js","fcs-dashboard/pods/sales-report/cash-deposit-report/model.js","fcs-dashboard/pods/sales-report/closed-loop-cashless-payment/model.js","fcs-dashboard/pods/sales-report/credit-card-payment/model.js","fcs-dashboard/pods/sales-report/model.js","fcs-dashboard/pods/sales-report/percentage-cell/template.js","fcs-dashboard/pods/sales-report/route.js","fcs-dashboard/pods/sales-report/sales-report-product-type-status/model.js","fcs-dashboard/pods/sales-report/serializer.js","fcs-dashboard/pods/sales-report/template.js","fcs-dashboard/pods/saved-network/delete-cell/template.js","fcs-dashboard/pods/saved-network/edit-cell/template.js","fcs-dashboard/pods/saved-network/model.js","fcs-dashboard/pods/saved-network/route.js","fcs-dashboard/pods/saved-network/template.js","fcs-dashboard/pods/search-options/model.js","fcs-dashboard/pods/search-order/amount-cell/template.js","fcs-dashboard/pods/search-order/detail-cell/template.js","fcs-dashboard/pods/search-order/model.js","fcs-dashboard/pods/search-order/route.js","fcs-dashboard/pods/search-order/template.js","fcs-dashboard/pods/simple-report-by-product/amount-cell/template.js","fcs-dashboard/pods/simple-report-by-product/model.js","fcs-dashboard/pods/simple-report-by-product/percentage-cell/template.js","fcs-dashboard/pods/simple-report-by-product/route.js","fcs-dashboard/pods/simple-report-by-product/serializer.js","fcs-dashboard/pods/simple-report-by-product/template.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/amount-cell/template.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/model.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/percentage-cell/template.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/route.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/serializer.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/sponsor-loaded-fund-usage-report-item/model.js","fcs-dashboard/pods/sponsor-loaded-fund-usage-report/template.js","fcs-dashboard/pods/sub-order-item/model.js","fcs-dashboard/pods/tableau-token/model.js","fcs-dashboard/pods/tax-rate-type/model.js","fcs-dashboard/pods/tax-type/model.js","fcs-dashboard/pods/tender-type/model.js","fcs-dashboard/pods/tender/cash/model.js","fcs-dashboard/pods/tender/cashless/model.js","fcs-dashboard/pods/tender/chip-credit-card/model.js","fcs-dashboard/pods/tender/manual-credit-card/model.js","fcs-dashboard/pods/tender/swipe-credit-card/model.js","fcs-dashboard/pods/tip-button/model.js","fcs-dashboard/pods/tip-percentage/model.js","fcs-dashboard/pods/trait/delete-cell/template.js","fcs-dashboard/pods/trait/model.js","fcs-dashboard/pods/trait/route.js","fcs-dashboard/pods/trait/template.js","fcs-dashboard/pods/user-profile/model.js","fcs-dashboard/pods/user-profile/route.js","fcs-dashboard/pods/user-profile/template.js","fcs-dashboard/pods/user-type/model.js","fcs-dashboard/pods/user/change-password-action/template.js","fcs-dashboard/pods/user/edit-account/route.js","fcs-dashboard/pods/user/edit-account/template.js","fcs-dashboard/pods/user/edit-action/template.js","fcs-dashboard/pods/user/edit/route.js","fcs-dashboard/pods/user/edit/template.js","fcs-dashboard/pods/user/loading/route.js","fcs-dashboard/pods/user/loading/template.js","fcs-dashboard/pods/user/model.js","fcs-dashboard/pods/user/new/route.js","fcs-dashboard/pods/user/new/template.js","fcs-dashboard/pods/user/reset-password-email-action/template.js","fcs-dashboard/pods/user/route.js","fcs-dashboard/pods/user/template.js","fcs-dashboard/pods/validation-method-type/model.js","fcs-dashboard/pods/version-session/service.js","fcs-dashboard/pods/version/model.js","fcs-dashboard/resolver.js","fcs-dashboard/router.js","fcs-dashboard/routes/application.js","fcs-dashboard/services/ajax.js","fcs-dashboard/services/cookies.js","fcs-dashboard/services/drag-coordinator.js","fcs-dashboard/services/ember-elsewhere.js","fcs-dashboard/services/intl.js","fcs-dashboard/services/location-group-save.js","fcs-dashboard/services/media.js","fcs-dashboard/services/modal-dialog.js","fcs-dashboard/services/moment.js","fcs-dashboard/services/notify.js","fcs-dashboard/services/resize-detector.js","fcs-dashboard/services/scrollbar-thickness.js","fcs-dashboard/services/session.js","fcs-dashboard/services/text-measurer.js","fcs-dashboard/session-stores/application.js","fcs-dashboard/templates/components/-native-select.js","fcs-dashboard/templates/components/bs-datetimepicker.js","fcs-dashboard/templates/components/credit-card-form.js","fcs-dashboard/templates/components/draggable-object-target.js","fcs-dashboard/templates/components/draggable-object.js","fcs-dashboard/templates/components/em-timezone-input.js","fcs-dashboard/templates/components/ember-popper-targeting-parent.js","fcs-dashboard/templates/components/ember-popper.js","fcs-dashboard/templates/components/labeled-radio-button.js","fcs-dashboard/templates/components/list-picker.js","fcs-dashboard/templates/components/modal-dialog.js","fcs-dashboard/templates/components/models-table/all-columns-hidden.js","fcs-dashboard/templates/components/models-table/columns-dropdown.js","fcs-dashboard/templates/components/models-table/component-footer.js","fcs-dashboard/templates/components/models-table/expand-all-rows-cell.js","fcs-dashboard/templates/components/models-table/expand-row-cell.js","fcs-dashboard/templates/components/models-table/global-filter.js","fcs-dashboard/templates/components/models-table/header-row-filtering.js","fcs-dashboard/templates/components/models-table/header-row-sorting.js","fcs-dashboard/templates/components/models-table/header-rows-grouped.js","fcs-dashboard/templates/components/models-table/header-sorting-icons.js","fcs-dashboard/templates/components/models-table/no-data.js","fcs-dashboard/templates/components/models-table/numeric-pagination.js","fcs-dashboard/templates/components/models-table/page-size.js","fcs-dashboard/templates/components/models-table/row.js","fcs-dashboard/templates/components/models-table/simple-pagination.js","fcs-dashboard/templates/components/models-table/table-footer.js","fcs-dashboard/templates/components/multiselect-checkboxes.js","fcs-dashboard/templates/components/object-bin.js","fcs-dashboard/templates/components/radio-button.js","fcs-dashboard/templates/components/select-picker.js","fcs-dashboard/templates/components/sortable-objects.js","fcs-dashboard/templates/components/tether-dialog.js","fcs-dashboard/transforms/array.js","fcs-dashboard/transforms/fragment-array.js","fcs-dashboard/transforms/fragment.js","fcs-dashboard/translations/en-us.js","fcs-dashboard/utils/chart-object.js","fcs-dashboard/utils/digit-keypress-gate.js","fcs-dashboard/utils/fmt.js","fcs-dashboard/utils/intl/missing-message.js","fcs-dashboard/utils/keycodes.js","fcs-dashboard/utils/location-prefixes.js","fcs-dashboard/utils/menu-positions.js","fcs-dashboard/utils/string-similarity.js","fcs-dashboard/utils/titleize.js","fcs-dashboard/utils/util.js","fcs-dashboard/validators/alias.js","fcs-dashboard/validators/belongs-to.js","fcs-dashboard/validators/collection.js","fcs-dashboard/validators/confirmation.js","fcs-dashboard/validators/date.js","fcs-dashboard/validators/dependent.js","fcs-dashboard/validators/ds-error.js","fcs-dashboard/validators/exclusion.js","fcs-dashboard/validators/format.js","fcs-dashboard/validators/has-many.js","fcs-dashboard/validators/inclusion.js","fcs-dashboard/validators/length.js","fcs-dashboard/validators/messages.js","fcs-dashboard/validators/number.js","fcs-dashboard/validators/presence.js","vendor/ember-cli/app-suffix.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"sourcesContent":["\"use strict\";\n\n/* jshint ignore:start */\n\n\n\n/* jshint ignore:end */\n","define('fcs-dashboard/app', ['exports', 'ember', 'fcs-dashboard/resolver', 'ember-load-initializers', 'fcs-dashboard/config/environment'], function (exports, _ember, _fcsDashboardResolver, _emberLoadInitializers, _fcsDashboardConfigEnvironment) {\n\n  var App = undefined;\n\n  _ember['default'].MODEL_FACTORY_INJECTIONS = true;\n\n  App = _ember['default'].Application.extend({\n    modulePrefix: _fcsDashboardConfigEnvironment['default'].modulePrefix,\n    podModulePrefix: _fcsDashboardConfigEnvironment['default'].podModulePrefix,\n    Resolver: _fcsDashboardResolver['default']\n  });\n\n  (0, _emberLoadInitializers['default'])(App, _fcsDashboardConfigEnvironment['default'].modulePrefix);\n\n  exports['default'] = App;\n});","define(\"fcs-dashboard/authenticators/oauth2\", [\"exports\", \"ember\", \"ember-simple-auth/authenticators/oauth2-password-grant\"], function (exports, _ember, _emberSimpleAuthAuthenticatorsOauth2PasswordGrant) {\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = _emberSimpleAuthAuthenticatorsOauth2PasswordGrant[\"default\"].extend({\n    serverTokenEndpoint: '/oauth/token',\n    _clientIdHeader: computed(function () {\n      var client_id = 'fcs_dashboard_server';\n      var client_secret = '04cfb9d39b494db2fa60bc7a76f06afa';\n\n      var base64ClientId = window.btoa(client_id + \":\" + client_secret);\n      return { Authorization: \"Basic \" + base64ClientId };\n    })\n  });\n});","define('fcs-dashboard/authorizers/oauth2', ['exports', 'ember-simple-auth/authorizers/oauth2-bearer'], function (exports, _emberSimpleAuthAuthorizersOauth2Bearer) {\n  exports['default'] = _emberSimpleAuthAuthorizersOauth2Bearer['default'].extend();\n});","define('fcs-dashboard/breakpoints', ['exports'], function (exports) {\n  exports['default'] = {\n    mobile: '(max-width: 768px)',\n    tablet: '(min-width: 769px) and (max-width: 992px)',\n    desktop: '(min-width: 993px) and (max-width: 1200px)',\n    jumbo: '(min-width: 1201px)'\n  };\n});","define(\"fcs-dashboard/cldrs/en\", [\"exports\"], function (exports) {\n  /*jslint eqeq: true*/\n  exports[\"default\"] = [{ \"locale\": \"en-US\", \"parentLocale\": \"en\" }, { \"locale\": \"en\", \"pluralRuleFunction\": function pluralRuleFunction(n, ord) {\n      var s = String(n).split(\".\"),\n          v0 = !s[1],\n          t0 = Number(s[0]) == n,\n          n10 = t0 && s[0].slice(-1),\n          n100 = t0 && s[0].slice(-2);if (ord) return n10 == 1 && n100 != 11 ? \"one\" : n10 == 2 && n100 != 12 ? \"two\" : n10 == 3 && n100 != 13 ? \"few\" : \"other\";return n == 1 && v0 ? \"one\" : \"other\";\n    }, \"fields\": { \"year\": { \"displayName\": \"year\", \"relative\": { \"0\": \"this year\", \"1\": \"next year\", \"-1\": \"last year\" }, \"relativeTime\": { \"future\": { \"one\": \"in {0} year\", \"other\": \"in {0} years\" }, \"past\": { \"one\": \"{0} year ago\", \"other\": \"{0} years ago\" } } }, \"month\": { \"displayName\": \"month\", \"relative\": { \"0\": \"this month\", \"1\": \"next month\", \"-1\": \"last month\" }, \"relativeTime\": { \"future\": { \"one\": \"in {0} month\", \"other\": \"in {0} months\" }, \"past\": { \"one\": \"{0} month ago\", \"other\": \"{0} months ago\" } } }, \"day\": { \"displayName\": \"day\", \"relative\": { \"0\": \"today\", \"1\": \"tomorrow\", \"-1\": \"yesterday\" }, \"relativeTime\": { \"future\": { \"one\": \"in {0} day\", \"other\": \"in {0} days\" }, \"past\": { \"one\": \"{0} day ago\", \"other\": \"{0} days ago\" } } }, \"hour\": { \"displayName\": \"hour\", \"relativeTime\": { \"future\": { \"one\": \"in {0} hour\", \"other\": \"in {0} hours\" }, \"past\": { \"one\": \"{0} hour ago\", \"other\": \"{0} hours ago\" } } }, \"minute\": { \"displayName\": \"minute\", \"relativeTime\": { \"future\": { \"one\": \"in {0} minute\", \"other\": \"in {0} minutes\" }, \"past\": { \"one\": \"{0} minute ago\", \"other\": \"{0} minutes ago\" } } }, \"second\": { \"displayName\": \"second\", \"relative\": { \"0\": \"now\" }, \"relativeTime\": { \"future\": { \"one\": \"in {0} second\", \"other\": \"in {0} seconds\" }, \"past\": { \"one\": \"{0} second ago\", \"other\": \"{0} seconds ago\" } } } } }];\n});","define('fcs-dashboard/components/as-scrollable', ['exports', 'ember-scrollable/components/ember-scrollable'], function (exports, _emberScrollableComponentsEmberScrollable) {\n  exports['default'] = _emberScrollableComponentsEmberScrollable['default'].extend({\n    classNames: 'as-scrollable'\n  });\n});","define('fcs-dashboard/components/basic-dropdown', ['exports', 'ember-basic-dropdown/components/basic-dropdown'], function (exports, _emberBasicDropdownComponentsBasicDropdown) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBasicDropdownComponentsBasicDropdown['default'];\n    }\n  });\n});","define('fcs-dashboard/components/basic-dropdown/content', ['exports', 'ember-basic-dropdown/components/basic-dropdown/content'], function (exports, _emberBasicDropdownComponentsBasicDropdownContent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBasicDropdownComponentsBasicDropdownContent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/basic-dropdown/trigger', ['exports', 'ember-basic-dropdown/components/basic-dropdown/trigger'], function (exports, _emberBasicDropdownComponentsBasicDropdownTrigger) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBasicDropdownComponentsBasicDropdownTrigger['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-accordion', ['exports', 'ember-bootstrap/components/bs-accordion'], function (exports, _emberBootstrapComponentsBsAccordion) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsAccordion['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-accordion/item', ['exports', 'ember-bootstrap/components/bs-accordion/item'], function (exports, _emberBootstrapComponentsBsAccordionItem) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsAccordionItem['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-accordion/item/body', ['exports', 'ember-bootstrap/components/bs-accordion/item/body'], function (exports, _emberBootstrapComponentsBsAccordionItemBody) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsAccordionItemBody['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-accordion/item/title', ['exports', 'ember-bootstrap/components/bs-accordion/item/title'], function (exports, _emberBootstrapComponentsBsAccordionItemTitle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsAccordionItemTitle['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-alert', ['exports', 'ember-bootstrap/components/bs-alert'], function (exports, _emberBootstrapComponentsBsAlert) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsAlert['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-button-group', ['exports', 'ember-bootstrap/components/bs-button-group'], function (exports, _emberBootstrapComponentsBsButtonGroup) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsButtonGroup['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-button-group/button', ['exports', 'ember-bootstrap/components/bs-button-group/button'], function (exports, _emberBootstrapComponentsBsButtonGroupButton) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsButtonGroupButton['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-button', ['exports', 'ember-bootstrap/components/bs-button'], function (exports, _emberBootstrapComponentsBsButton) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsButton['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-carousel', ['exports', 'ember-bootstrap/components/bs-carousel'], function (exports, _emberBootstrapComponentsBsCarousel) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsCarousel['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-carousel/slide', ['exports', 'ember-bootstrap/components/bs-carousel/slide'], function (exports, _emberBootstrapComponentsBsCarouselSlide) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsCarouselSlide['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-collapse', ['exports', 'ember-bootstrap/components/bs-collapse'], function (exports, _emberBootstrapComponentsBsCollapse) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsCollapse['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-datetimepicker', ['exports', 'ember-bootstrap-datetimepicker/components/bs-datetimepicker'], function (exports, _emberBootstrapDatetimepickerComponentsBsDatetimepicker) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapDatetimepickerComponentsBsDatetimepicker['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown', ['exports', 'ember-bootstrap/components/bs-dropdown'], function (exports, _emberBootstrapComponentsBsDropdown) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdown['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown/button', ['exports', 'ember-bootstrap/components/bs-dropdown/button'], function (exports, _emberBootstrapComponentsBsDropdownButton) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdownButton['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown/menu', ['exports', 'ember-bootstrap/components/bs-dropdown/menu'], function (exports, _emberBootstrapComponentsBsDropdownMenu) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdownMenu['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown/menu/divider', ['exports', 'ember-bootstrap/components/bs-dropdown/menu/divider'], function (exports, _emberBootstrapComponentsBsDropdownMenuDivider) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdownMenuDivider['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown/menu/item', ['exports', 'ember-bootstrap/components/bs-dropdown/menu/item'], function (exports, _emberBootstrapComponentsBsDropdownMenuItem) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdownMenuItem['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown/menu/link-to', ['exports', 'ember-bootstrap/components/bs-dropdown/menu/link-to'], function (exports, _emberBootstrapComponentsBsDropdownMenuLinkTo) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdownMenuLinkTo['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-dropdown/toggle', ['exports', 'ember-bootstrap/components/bs-dropdown/toggle'], function (exports, _emberBootstrapComponentsBsDropdownToggle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsDropdownToggle['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form', ['exports', 'ember-bootstrap/components/bs-form'], function (exports, _emberBootstrapComponentsBsForm) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsForm['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element', ['exports', 'ember-bootstrap/components/bs-form/element'], function (exports, _emberBootstrapComponentsBsFormElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/control', ['exports', 'ember-bootstrap/components/bs-form/element/control'], function (exports, _emberBootstrapComponentsBsFormElementControl) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementControl['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/control/checkbox', ['exports', 'ember-bootstrap/components/bs-form/element/control/checkbox'], function (exports, _emberBootstrapComponentsBsFormElementControlCheckbox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementControlCheckbox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/control/input', ['exports', 'ember-bootstrap/components/bs-form/element/control/input'], function (exports, _emberBootstrapComponentsBsFormElementControlInput) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementControlInput['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/control/textarea', ['exports', 'ember-bootstrap/components/bs-form/element/control/textarea'], function (exports, _emberBootstrapComponentsBsFormElementControlTextarea) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementControlTextarea['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/errors', ['exports', 'ember-bootstrap/components/bs-form/element/errors'], function (exports, _emberBootstrapComponentsBsFormElementErrors) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementErrors['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/feedback-icon', ['exports', 'ember-bootstrap/components/bs-form/element/feedback-icon'], function (exports, _emberBootstrapComponentsBsFormElementFeedbackIcon) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementFeedbackIcon['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/help-text', ['exports', 'ember-bootstrap/components/bs-form/element/help-text'], function (exports, _emberBootstrapComponentsBsFormElementHelpText) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementHelpText['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/label', ['exports', 'ember-bootstrap/components/bs-form/element/label'], function (exports, _emberBootstrapComponentsBsFormElementLabel) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLabel['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/layout/horizontal', ['exports', 'ember-bootstrap/components/bs-form/element/layout/horizontal'], function (exports, _emberBootstrapComponentsBsFormElementLayoutHorizontal) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLayoutHorizontal['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/layout/horizontal/checkbox', ['exports', 'ember-bootstrap/components/bs-form/element/layout/horizontal/checkbox'], function (exports, _emberBootstrapComponentsBsFormElementLayoutHorizontalCheckbox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLayoutHorizontalCheckbox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/layout/inline', ['exports', 'ember-bootstrap/components/bs-form/element/layout/inline'], function (exports, _emberBootstrapComponentsBsFormElementLayoutInline) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLayoutInline['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/layout/inline/checkbox', ['exports', 'ember-bootstrap/components/bs-form/element/layout/inline/checkbox'], function (exports, _emberBootstrapComponentsBsFormElementLayoutInlineCheckbox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLayoutInlineCheckbox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/layout/vertical', ['exports', 'ember-bootstrap/components/bs-form/element/layout/vertical'], function (exports, _emberBootstrapComponentsBsFormElementLayoutVertical) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLayoutVertical['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/element/layout/vertical/checkbox', ['exports', 'ember-bootstrap/components/bs-form/element/layout/vertical/checkbox'], function (exports, _emberBootstrapComponentsBsFormElementLayoutVerticalCheckbox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormElementLayoutVerticalCheckbox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-form/group', ['exports', 'ember-bootstrap/components/bs-form/group'], function (exports, _emberBootstrapComponentsBsFormGroup) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsFormGroup['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal-simple', ['exports', 'ember-bootstrap/components/bs-modal-simple'], function (exports, _emberBootstrapComponentsBsModalSimple) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalSimple['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal', ['exports', 'ember-bootstrap/components/bs-modal'], function (exports, _emberBootstrapComponentsBsModal) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModal['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal/body', ['exports', 'ember-bootstrap/components/bs-modal/body'], function (exports, _emberBootstrapComponentsBsModalBody) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalBody['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal/dialog', ['exports', 'ember-bootstrap/components/bs-modal/dialog'], function (exports, _emberBootstrapComponentsBsModalDialog) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalDialog['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal/footer', ['exports', 'ember-bootstrap/components/bs-modal/footer'], function (exports, _emberBootstrapComponentsBsModalFooter) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalFooter['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal/header', ['exports', 'ember-bootstrap/components/bs-modal/header'], function (exports, _emberBootstrapComponentsBsModalHeader) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalHeader['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal/header/close', ['exports', 'ember-bootstrap/components/bs-modal/header/close'], function (exports, _emberBootstrapComponentsBsModalHeaderClose) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalHeaderClose['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-modal/header/title', ['exports', 'ember-bootstrap/components/bs-modal/header/title'], function (exports, _emberBootstrapComponentsBsModalHeaderTitle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsModalHeaderTitle['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-nav', ['exports', 'ember-bootstrap/components/bs-nav'], function (exports, _emberBootstrapComponentsBsNav) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNav['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-nav/item', ['exports', 'ember-bootstrap/components/bs-nav/item'], function (exports, _emberBootstrapComponentsBsNavItem) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavItem['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-nav/link-to', ['exports', 'ember-bootstrap/components/bs-nav/link-to'], function (exports, _emberBootstrapComponentsBsNavLinkTo) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavLinkTo['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-navbar', ['exports', 'ember-bootstrap/components/bs-navbar'], function (exports, _emberBootstrapComponentsBsNavbar) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavbar['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-navbar/content', ['exports', 'ember-bootstrap/components/bs-navbar/content'], function (exports, _emberBootstrapComponentsBsNavbarContent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavbarContent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-navbar/link-to', ['exports', 'ember-bootstrap/components/bs-navbar/link-to'], function (exports, _emberBootstrapComponentsBsNavbarLinkTo) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavbarLinkTo['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-navbar/nav', ['exports', 'ember-bootstrap/components/bs-navbar/nav'], function (exports, _emberBootstrapComponentsBsNavbarNav) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavbarNav['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-navbar/toggle', ['exports', 'ember-bootstrap/components/bs-navbar/toggle'], function (exports, _emberBootstrapComponentsBsNavbarToggle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsNavbarToggle['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-popover', ['exports', 'ember-bootstrap/components/bs-popover'], function (exports, _emberBootstrapComponentsBsPopover) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsPopover['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-popover/element', ['exports', 'ember-bootstrap/components/bs-popover/element'], function (exports, _emberBootstrapComponentsBsPopoverElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsPopoverElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-progress', ['exports', 'ember-bootstrap/components/bs-progress'], function (exports, _emberBootstrapComponentsBsProgress) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsProgress['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-progress/bar', ['exports', 'ember-bootstrap/components/bs-progress/bar'], function (exports, _emberBootstrapComponentsBsProgressBar) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsProgressBar['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-tab', ['exports', 'ember-bootstrap/components/bs-tab'], function (exports, _emberBootstrapComponentsBsTab) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsTab['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-tab/pane', ['exports', 'ember-bootstrap/components/bs-tab/pane'], function (exports, _emberBootstrapComponentsBsTabPane) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsTabPane['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-tooltip', ['exports', 'ember-bootstrap/components/bs-tooltip'], function (exports, _emberBootstrapComponentsBsTooltip) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsTooltip['default'];\n    }\n  });\n});","define('fcs-dashboard/components/bs-tooltip/element', ['exports', 'ember-bootstrap/components/bs-tooltip/element'], function (exports, _emberBootstrapComponentsBsTooltipElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapComponentsBsTooltipElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/credit-card-form', ['exports', 'ember-credit-cards/components/credit-card-form'], function (exports, _emberCreditCardsComponentsCreditCardForm) {\n  exports['default'] = _emberCreditCardsComponentsCreditCardForm['default'];\n});","define('fcs-dashboard/components/date-range-picker', ['exports', 'ember-cli-daterangepicker/components/date-range-picker'], function (exports, _emberCliDaterangepickerComponentsDateRangePicker) {\n  exports['default'] = _emberCliDaterangepickerComponentsDateRangePicker['default'];\n});","define('fcs-dashboard/components/draggable-object-target', ['exports', 'ember-drag-drop/components/draggable-object-target'], function (exports, _emberDragDropComponentsDraggableObjectTarget) {\n  exports['default'] = _emberDragDropComponentsDraggableObjectTarget['default'];\n});","define('fcs-dashboard/components/draggable-object', ['exports', 'ember-drag-drop/components/draggable-object'], function (exports, _emberDragDropComponentsDraggableObject) {\n  exports['default'] = _emberDragDropComponentsDraggableObject['default'];\n});","define('fcs-dashboard/components/em-timezone-input', ['exports', 'ember-timezone-input/components/em-timezone-input'], function (exports, _emberTimezoneInputComponentsEmTimezoneInput) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTimezoneInputComponentsEmTimezoneInput['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-chart', ['exports', 'ember-cli-chartjs/components/ember-chart'], function (exports, _emberCliChartjsComponentsEmberChart) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCliChartjsComponentsEmberChart['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-collection', ['exports', 'ember-collection/components/ember-collection'], function (exports, _emberCollectionComponentsEmberCollection) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCollectionComponentsEmberCollection['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-modal-dialog-positioned-container', ['exports', 'ember-modal-dialog/components/positioned-container'], function (exports, _emberModalDialogComponentsPositionedContainer) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModalDialogComponentsPositionedContainer['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-native-scrollable', ['exports', 'ember-collection/components/ember-native-scrollable'], function (exports, _emberCollectionComponentsEmberNativeScrollable) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCollectionComponentsEmberNativeScrollable['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-notify', ['exports', 'ember-notify/components/ember-notify'], function (exports, _emberNotifyComponentsEmberNotify) {\n  exports['default'] = _emberNotifyComponentsEmberNotify['default'];\n});","define('fcs-dashboard/components/ember-notify/message', ['exports', 'ember-notify/components/ember-notify/message'], function (exports, _emberNotifyComponentsEmberNotifyMessage) {\n  exports['default'] = _emberNotifyComponentsEmberNotifyMessage['default'];\n});","define('fcs-dashboard/components/ember-popper-targeting-parent', ['exports', 'ember-popper/components/ember-popper-targeting-parent'], function (exports, _emberPopperComponentsEmberPopperTargetingParent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPopperComponentsEmberPopperTargetingParent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-popper', ['exports', 'ember-popper/components/ember-popper'], function (exports, _emberPopperComponentsEmberPopper) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPopperComponentsEmberPopper['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-scrollable', ['exports', 'ember-scrollable/components/ember-scrollable'], function (exports, _emberScrollableComponentsEmberScrollable) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberScrollableComponentsEmberScrollable['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-scrollbar', ['exports', 'ember-scrollable/components/ember-scrollbar'], function (exports, _emberScrollableComponentsEmberScrollbar) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberScrollableComponentsEmberScrollbar['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-tether', ['exports', 'ember-tether/components/ember-tether'], function (exports, _emberTetherComponentsEmberTether) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTetherComponentsEmberTether['default'];\n    }\n  });\n});","define('fcs-dashboard/components/ember-wormhole', ['exports', 'ember-wormhole/components/ember-wormhole'], function (exports, _emberWormholeComponentsEmberWormhole) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberWormholeComponentsEmberWormhole['default'];\n    }\n  });\n});","define('fcs-dashboard/components/fa-icon', ['exports', 'ember-font-awesome/components/fa-icon'], function (exports, _emberFontAwesomeComponentsFaIcon) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFontAwesomeComponentsFaIcon['default'];\n    }\n  });\n});","define('fcs-dashboard/components/fa-list', ['exports', 'ember-font-awesome/components/fa-list'], function (exports, _emberFontAwesomeComponentsFaList) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFontAwesomeComponentsFaList['default'];\n    }\n  });\n});","define('fcs-dashboard/components/fa-stack', ['exports', 'ember-font-awesome/components/fa-stack'], function (exports, _emberFontAwesomeComponentsFaStack) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFontAwesomeComponentsFaStack['default'];\n    }\n  });\n});","define('fcs-dashboard/components/from-elsewhere', ['exports', 'ember-elsewhere/components/from-elsewhere'], function (exports, _emberElsewhereComponentsFromElsewhere) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberElsewhereComponentsFromElsewhere['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-button', ['exports', 'ember-frost-core/components/frost-button'], function (exports, _emberFrostCoreComponentsFrostButton) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostButton['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-checkbox', ['exports', 'ember-frost-core/components/frost-checkbox'], function (exports, _emberFrostCoreComponentsFrostCheckbox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostCheckbox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-combobox', ['exports', 'ember-frost-core/components/frost-combobox'], function (exports, _emberFrostCoreComponentsFrostCombobox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostCombobox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-icon', ['exports', 'ember-frost-core/components/frost-icon'], function (exports, _emberFrostCoreComponentsFrostIcon) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostIcon['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-link', ['exports', 'ember-frost-core/components/frost-link'], function (exports, _emberFrostCoreComponentsFrostLink) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostLink['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-loading', ['exports', 'ember-frost-core/components/frost-loading'], function (exports, _emberFrostCoreComponentsFrostLoading) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostLoading['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-multi-select', ['exports', 'ember-frost-core/components/frost-multi-select'], function (exports, _emberFrostCoreComponentsFrostMultiSelect) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostMultiSelect['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-password', ['exports', 'ember-frost-core/components/frost-password'], function (exports, _emberFrostCoreComponentsFrostPassword) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostPassword['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-radio-button-input', ['exports', 'ember-frost-core/components/frost-radio-button-input'], function (exports, _emberFrostCoreComponentsFrostRadioButtonInput) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostRadioButtonInput['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-radio-button', ['exports', 'ember-frost-core/components/frost-radio-button'], function (exports, _emberFrostCoreComponentsFrostRadioButton) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostRadioButton['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-radio-group', ['exports', 'ember-frost-core/components/frost-radio-group'], function (exports, _emberFrostCoreComponentsFrostRadioGroup) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostRadioGroup['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-scroll', ['exports', 'ember-frost-core/components/frost-scroll'], function (exports, _emberFrostCoreComponentsFrostScroll) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostScroll['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-select-dropdown', ['exports', 'ember-frost-core/components/frost-select-dropdown'], function (exports, _emberFrostCoreComponentsFrostSelectDropdown) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostSelectDropdown['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-select-li', ['exports', 'ember-frost-core/components/frost-select-li'], function (exports, _emberFrostCoreComponentsFrostSelectLi) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostSelectLi['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-select-outlet', ['exports', 'ember-frost-core/components/frost-select-outlet'], function (exports, _emberFrostCoreComponentsFrostSelectOutlet) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostSelectOutlet['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-select', ['exports', 'ember-frost-core/components/frost-select'], function (exports, _emberFrostCoreComponentsFrostSelect) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostSelect['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-tab', ['exports', 'ember-frost-tabs/pods/components/frost-tab/component'], function (exports, _emberFrostTabsPodsComponentsFrostTabComponent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostTabsPodsComponentsFrostTabComponent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-tabs', ['exports', 'ember-frost-tabs/pods/components/frost-tabs/component'], function (exports, _emberFrostTabsPodsComponentsFrostTabsComponent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostTabsPodsComponentsFrostTabsComponent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-text', ['exports', 'ember-frost-core/components/frost-text'], function (exports, _emberFrostCoreComponentsFrostText) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostText['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-textarea', ['exports', 'ember-frost-core/components/frost-textarea'], function (exports, _emberFrostCoreComponentsFrostTextarea) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostTextarea['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-toggle-label', ['exports', 'ember-frost-core/components/frost-toggle-label'], function (exports, _emberFrostCoreComponentsFrostToggleLabel) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostToggleLabel['default'];\n    }\n  });\n});","define('fcs-dashboard/components/frost-toggle', ['exports', 'ember-frost-core/components/frost-toggle'], function (exports, _emberFrostCoreComponentsFrostToggle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreComponentsFrostToggle['default'];\n    }\n  });\n});","define('fcs-dashboard/components/input-credit-card-cvc', ['exports', 'ember-credit-cards/components/input-credit-card-cvc'], function (exports, _emberCreditCardsComponentsInputCreditCardCvc) {\n  exports['default'] = _emberCreditCardsComponentsInputCreditCardCvc['default'];\n});","define('fcs-dashboard/components/input-credit-card-expiration', ['exports', 'ember-credit-cards/components/input-credit-card-expiration'], function (exports, _emberCreditCardsComponentsInputCreditCardExpiration) {\n  exports['default'] = _emberCreditCardsComponentsInputCreditCardExpiration['default'];\n});","define('fcs-dashboard/components/input-credit-card-number', ['exports', 'ember-credit-cards/components/input-credit-card-number'], function (exports, _emberCreditCardsComponentsInputCreditCardNumber) {\n  exports['default'] = _emberCreditCardsComponentsInputCreditCardNumber['default'];\n});","define('fcs-dashboard/components/input-credit-card-zipcode', ['exports', 'ember-credit-cards/components/input-credit-card-zipcode'], function (exports, _emberCreditCardsComponentsInputCreditCardZipcode) {\n  exports['default'] = _emberCreditCardsComponentsInputCreditCardZipcode['default'];\n});","define('fcs-dashboard/components/keyboard-select-picker', ['exports', 'ember', 'fcs-dashboard/components/select-picker', 'ember-cli-select-picker/mixins/item-cursor'], function (exports, _ember, _fcsDashboardComponentsSelectPicker, _emberCliSelectPickerMixinsItemCursor) {\n\n  var KEY_ENTER = 13;\n  var KEY_ESC = 27;\n  var KEY_UP = 38;\n  var KEY_DOWN = 40;\n\n  exports['default'] = _fcsDashboardComponentsSelectPicker['default'].extend(_emberCliSelectPickerMixinsItemCursor['default'], {\n    layoutName: 'components/select-picker',\n    classNames: ['select-picker', 'keyboard-select-picker'],\n\n    didInsertElement: function didInsertElement() {\n      this.$().on('keydown.' + this.get('elementId'), _ember['default'].run.bind(this, 'handleKeyPress'));\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      this.$().off('keydown.' + this.get('elementId'));\n    },\n\n    focusActiveItem: function focusActiveItem() {\n      this.$('[data-itemid=' + this.get('activeItem.itemId') + ']').focus();\n    },\n\n    handleKeyPress: function handleKeyPress(e) {\n      var _this = this;\n\n      var actionName = (function () {\n        switch (e.which) {\n          case KEY_DOWN:\n            return 'activeNext';\n          case KEY_UP:\n            return 'activePrev';\n          case KEY_ESC:\n            return 'closeDropdown';\n          case KEY_ENTER:\n            return _this.get('showDropdown') ? 'selectActiveItem' : 'openDropdown';\n          default:\n            return null;\n        }\n      })();\n\n      if (actionName) {\n        e.preventDefault();\n        _ember['default'].run(function () {\n          _this.send(actionName);\n        });\n        this.focusActiveItem();\n        return false;\n      }\n\n      return true;\n    }\n  });\n});","define('fcs-dashboard/components/labeled-radio-button', ['exports', 'ember-radio-button/components/labeled-radio-button'], function (exports, _emberRadioButtonComponentsLabeledRadioButton) {\n  exports['default'] = _emberRadioButtonComponentsLabeledRadioButton['default'];\n});","define('fcs-dashboard/components/light-table', ['exports', 'ember-light-table/components/light-table'], function (exports, _emberLightTableComponentsLightTable) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLightTable['default'];\n    }\n  });\n});","define('fcs-dashboard/components/light-table/cells/base', ['exports', 'ember-light-table/components/cells/base'], function (exports, _emberLightTableComponentsCellsBase) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsCellsBase['default'];\n    }\n  });\n});","define('fcs-dashboard/components/light-table/columns/base', ['exports', 'ember-light-table/components/columns/base'], function (exports, _emberLightTableComponentsColumnsBase) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsColumnsBase['default'];\n    }\n  });\n});","define('fcs-dashboard/components/list-picker', ['exports', 'ember', 'ember-cli-select-picker/mixins/select-picker'], function (exports, _ember, _emberCliSelectPickerMixinsSelectPicker) {\n\n  var I18nProps = _ember['default'].I18n && _ember['default'].I18n.TranslateableProperties || {};\n\n  exports['default'] = _ember['default'].Component.extend(_emberCliSelectPickerMixinsSelectPicker['default'], I18nProps, {\n    classNames: ['select-picker', 'list-picker'],\n    selectAllLabel: 'Select All',\n    selectNoneLabel: 'Select None',\n    nativeMobile: false\n  });\n});","define('fcs-dashboard/components/lt-body', ['exports', 'ember-light-table/components/lt-body'], function (exports, _emberLightTableComponentsLtBody) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtBody['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-column-resizer', ['exports', 'ember-light-table/components/lt-column-resizer'], function (exports, _emberLightTableComponentsLtColumnResizer) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtColumnResizer['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-foot', ['exports', 'ember-light-table/components/lt-foot'], function (exports, _emberLightTableComponentsLtFoot) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtFoot['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-head', ['exports', 'ember-light-table/components/lt-head'], function (exports, _emberLightTableComponentsLtHead) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtHead['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-infinity', ['exports', 'ember-light-table/components/lt-infinity'], function (exports, _emberLightTableComponentsLtInfinity) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtInfinity['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-row', ['exports', 'ember-light-table/components/lt-row'], function (exports, _emberLightTableComponentsLtRow) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtRow['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-scrollable', ['exports', 'ember-light-table/components/lt-scrollable'], function (exports, _emberLightTableComponentsLtScrollable) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtScrollable['default'];\n    }\n  });\n});","define('fcs-dashboard/components/lt-spanned-row', ['exports', 'ember-light-table/components/lt-spanned-row'], function (exports, _emberLightTableComponentsLtSpannedRow) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberLightTableComponentsLtSpannedRow['default'];\n    }\n  });\n});","define('fcs-dashboard/components/modal-dialog-overlay', ['exports', 'ember-modal-dialog/components/modal-dialog-overlay'], function (exports, _emberModalDialogComponentsModalDialogOverlay) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModalDialogComponentsModalDialogOverlay['default'];\n    }\n  });\n});","define('fcs-dashboard/components/modal-dialog', ['exports', 'ember-modal-dialog/components/modal-dialog'], function (exports, _emberModalDialogComponentsModalDialog) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModalDialogComponentsModalDialog['default'];\n    }\n  });\n});","define('fcs-dashboard/components/models-select', ['exports', 'ember-models-table/components/models-select'], function (exports, _emberModelsTableComponentsModelsSelect) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableComponentsModelsSelect['default'];\n    }\n  });\n});","define('fcs-dashboard/components/models-table-server-paginated', ['exports', 'ember-models-table/components/models-table-server-paginated'], function (exports, _emberModelsTableComponentsModelsTableServerPaginated) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableComponentsModelsTableServerPaginated['default'];\n    }\n  });\n});","define('fcs-dashboard/components/models-table', ['exports', 'ember-models-table/components/models-table'], function (exports, _emberModelsTableComponentsModelsTable) {\n  exports['default'] = _emberModelsTableComponentsModelsTable['default'];\n});","define('fcs-dashboard/components/multiselect-checkboxes', ['exports', 'ember-multiselect-checkboxes/components/multiselect-checkboxes'], function (exports, _emberMultiselectCheckboxesComponentsMultiselectCheckboxes) {\n  exports['default'] = _emberMultiselectCheckboxesComponentsMultiselectCheckboxes['default'];\n});","define('fcs-dashboard/components/object-bin', ['exports', 'ember-drag-drop/components/object-bin'], function (exports, _emberDragDropComponentsObjectBin) {\n  exports['default'] = _emberDragDropComponentsObjectBin['default'];\n});","define('fcs-dashboard/components/one-way-checkbox', ['exports', 'ember-one-way-controls/components/one-way-checkbox'], function (exports, _emberOneWayControlsComponentsOneWayCheckbox) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayCheckbox['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-color', ['exports', 'ember-one-way-controls/components/one-way-color'], function (exports, _emberOneWayControlsComponentsOneWayColor) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayColor['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-date', ['exports', 'ember-one-way-controls/components/one-way-date'], function (exports, _emberOneWayControlsComponentsOneWayDate) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayDate['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-datetime-local', ['exports', 'ember-one-way-controls/components/one-way-datetime-local'], function (exports, _emberOneWayControlsComponentsOneWayDatetimeLocal) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayDatetimeLocal['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-email', ['exports', 'ember-one-way-controls/components/one-way-email'], function (exports, _emberOneWayControlsComponentsOneWayEmail) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayEmail['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-file', ['exports', 'ember-one-way-controls/components/one-way-file'], function (exports, _emberOneWayControlsComponentsOneWayFile) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayFile['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-hidden', ['exports', 'ember-one-way-controls/components/one-way-hidden'], function (exports, _emberOneWayControlsComponentsOneWayHidden) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayHidden['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-input', ['exports', 'ember-one-way-controls/components/one-way-input'], function (exports, _emberOneWayControlsComponentsOneWayInput) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayInput['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-month', ['exports', 'ember-one-way-controls/components/one-way-month'], function (exports, _emberOneWayControlsComponentsOneWayMonth) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayMonth['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-number', ['exports', 'ember-one-way-controls/components/one-way-number'], function (exports, _emberOneWayControlsComponentsOneWayNumber) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayNumber['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-password', ['exports', 'ember-one-way-controls/components/one-way-password'], function (exports, _emberOneWayControlsComponentsOneWayPassword) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayPassword['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-radio', ['exports', 'ember-one-way-controls/components/one-way-radio'], function (exports, _emberOneWayControlsComponentsOneWayRadio) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayRadio['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-range', ['exports', 'ember-one-way-controls/components/one-way-range'], function (exports, _emberOneWayControlsComponentsOneWayRange) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayRange['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-search', ['exports', 'ember-one-way-controls/components/one-way-search'], function (exports, _emberOneWayControlsComponentsOneWaySearch) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWaySearch['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-select', ['exports', 'ember-one-way-controls/components/one-way-select'], function (exports, _emberOneWayControlsComponentsOneWaySelect) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWaySelect['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-select/option', ['exports', 'ember-one-way-controls/components/one-way-select/option'], function (exports, _emberOneWayControlsComponentsOneWaySelectOption) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWaySelectOption['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-tel', ['exports', 'ember-one-way-controls/components/one-way-tel'], function (exports, _emberOneWayControlsComponentsOneWayTel) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayTel['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-text', ['exports', 'ember-one-way-controls/components/one-way-text'], function (exports, _emberOneWayControlsComponentsOneWayText) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayText['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-textarea', ['exports', 'ember-one-way-controls/components/one-way-textarea'], function (exports, _emberOneWayControlsComponentsOneWayTextarea) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayTextarea['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-time', ['exports', 'ember-one-way-controls/components/one-way-time'], function (exports, _emberOneWayControlsComponentsOneWayTime) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayTime['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-url', ['exports', 'ember-one-way-controls/components/one-way-url'], function (exports, _emberOneWayControlsComponentsOneWayUrl) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayUrl['default'];\n    }\n  });\n});","define('fcs-dashboard/components/one-way-week', ['exports', 'ember-one-way-controls/components/one-way-week'], function (exports, _emberOneWayControlsComponentsOneWayWeek) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsComponentsOneWayWeek['default'];\n    }\n  });\n});","define('fcs-dashboard/components/popover-on-component', ['exports', 'ember-tooltips/components/popover-on-component'], function (exports, _emberTooltipsComponentsPopoverOnComponent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsPopoverOnComponent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/popover-on-element', ['exports', 'ember-tooltips/components/popover-on-element'], function (exports, _emberTooltipsComponentsPopoverOnElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsPopoverOnElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select-multiple', ['exports', 'ember-power-select/components/power-select-multiple'], function (exports, _emberPowerSelectComponentsPowerSelectMultiple) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectMultiple['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select-multiple/trigger', ['exports', 'ember-power-select/components/power-select-multiple/trigger'], function (exports, _emberPowerSelectComponentsPowerSelectMultipleTrigger) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectMultipleTrigger['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select', ['exports', 'ember-power-select/components/power-select'], function (exports, _emberPowerSelectComponentsPowerSelect) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelect['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select/before-options', ['exports', 'ember-power-select/components/power-select/before-options'], function (exports, _emberPowerSelectComponentsPowerSelectBeforeOptions) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectBeforeOptions['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select/options', ['exports', 'ember-power-select/components/power-select/options'], function (exports, _emberPowerSelectComponentsPowerSelectOptions) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectOptions['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select/placeholder', ['exports', 'ember-power-select/components/power-select/placeholder'], function (exports, _emberPowerSelectComponentsPowerSelectPlaceholder) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectPlaceholder['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select/search-message', ['exports', 'ember-power-select/components/power-select/search-message'], function (exports, _emberPowerSelectComponentsPowerSelectSearchMessage) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectSearchMessage['default'];\n    }\n  });\n});","define('fcs-dashboard/components/power-select/trigger', ['exports', 'ember-power-select/components/power-select/trigger'], function (exports, _emberPowerSelectComponentsPowerSelectTrigger) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectComponentsPowerSelectTrigger['default'];\n    }\n  });\n});","define('fcs-dashboard/components/radio-button-input', ['exports', 'ember-radio-button/components/radio-button-input'], function (exports, _emberRadioButtonComponentsRadioButtonInput) {\n  exports['default'] = _emberRadioButtonComponentsRadioButtonInput['default'];\n});","define('fcs-dashboard/components/radio-button', ['exports', 'ember-radio-button/components/radio-button'], function (exports, _emberRadioButtonComponentsRadioButton) {\n  exports['default'] = _emberRadioButtonComponentsRadioButton['default'];\n});","define('fcs-dashboard/components/resize-detector', ['exports', 'ember-element-resize-detector/components/resize-detector'], function (exports, _emberElementResizeDetectorComponentsResizeDetector) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberElementResizeDetectorComponentsResizeDetector['default'];\n    }\n  });\n});","define('fcs-dashboard/components/scroll-content-element', ['exports', 'ember-scrollable/components/scroll-content-element'], function (exports, _emberScrollableComponentsScrollContentElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberScrollableComponentsScrollContentElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/select-picker', ['exports', 'ember', 'ember-cli-select-picker/mixins/select-picker'], function (exports, _ember, _emberCliSelectPickerMixinsSelectPicker) {\n\n  var I18nProps = _ember['default'].I18n && _ember['default'].I18n.TranslateableProperties || {};\n\n  exports['default'] = _ember['default'].Component.extend(_emberCliSelectPickerMixinsSelectPicker['default'], I18nProps, {\n\n    nothingSelectedMessage: 'Nothing Selected',\n    multipleSelectedMessage: '%@ items selected',\n    selectAllLabel: 'All',\n    selectNoneLabel: 'None',\n\n    nativeMobile: true,\n\n    classNames: ['select-picker', 'btn-group'],\n    buttonClass: 'btn-default',\n\n    badgeEnabled: _ember['default'].computed.and('showBadge', 'multiple'),\n\n    selectionBadge: _ember['default'].computed('selection.length', 'badgeEnabled', function () {\n      var enabled = this.get('badgeEnabled');\n      var selected = this.get('selection.length');\n      return enabled && selected && selected !== 0 ? selected : '';\n    }),\n\n    setupDom: _ember['default'].on('didInsertElement', function () {\n      var id = this.get('elementId');\n      _ember['default'].run.scheduleOnce('afterRender', this, this.updateDropUp);\n      $(document).on('click.' + id, _ember['default'].run.bind(this, this.hideDropdownMenu)).on('touchstart.' + id, _ember['default'].run.bind(this, this.hideDropdownMenu)).on('scroll.' + id, _ember['default'].run.bind(this, this.updateDropUp)).on('resize.' + id, _ember['default'].run.bind(this, this.updateDropUp));\n    }),\n\n    hideDropdownMenu: function hideDropdownMenu(evt) {\n      if (this.get('keepDropdownOpen')) {\n        this.set('keepDropdownOpen', false);\n        return;\n      }\n      if (this.element && !$.contains(this.element, evt.target)) {\n        this.send('closeDropdown');\n      }\n    },\n\n    updateDropUp: function updateDropUp() {\n      var windowHeight = $(window).height();\n      var scrollTop = $(window).scrollTop();\n      var buttonOffset = this.$().offset().top;\n      var buttonHeight = this.$().height();\n      var menuHeight = this.$('.dropdown-menu').height();\n      var viewportOffset = buttonOffset - scrollTop;\n      var menuBottom = viewportOffset + buttonHeight + menuHeight;\n      this.set('isDropUp', menuBottom > windowHeight);\n    },\n\n    teardownDom: _ember['default'].on('willDestroyElement', function () {\n      $(document).off('.' + this.get('elementId'));\n    }),\n\n    actions: {\n      showHide: function showHide() {\n        this.toggleProperty('showDropdown');\n      },\n\n      openDropdown: function openDropdown() {\n        this.set('showDropdown', true);\n      },\n\n      closeDropdown: function closeDropdown() {\n        this.set('showDropdown', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/components/sortable-objects', ['exports', 'ember-drag-drop/components/sortable-objects'], function (exports, _emberDragDropComponentsSortableObjects) {\n  exports['default'] = _emberDragDropComponentsSortableObjects['default'];\n});","define('fcs-dashboard/components/spectrum-color-picker', ['exports', 'ember-spectrum-color-picker/components/spectrum-color-picker'], function (exports, _emberSpectrumColorPickerComponentsSpectrumColorPicker) {\n  exports['default'] = _emberSpectrumColorPickerComponentsSpectrumColorPicker['default'];\n});","define('fcs-dashboard/components/tether-dialog', ['exports', 'ember-modal-dialog/components/tether-dialog'], function (exports, _emberModalDialogComponentsTetherDialog) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModalDialogComponentsTetherDialog['default'];\n    }\n  });\n});","define('fcs-dashboard/components/tether-popover-on-component', ['exports', 'ember-tooltips/components/tether-popover-on-component'], function (exports, _emberTooltipsComponentsTetherPopoverOnComponent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsTetherPopoverOnComponent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/tether-popover-on-element', ['exports', 'ember-tooltips/components/tether-popover-on-element'], function (exports, _emberTooltipsComponentsTetherPopoverOnElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsTetherPopoverOnElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/tether-tooltip-on-component', ['exports', 'ember-tooltips/components/tether-tooltip-on-component'], function (exports, _emberTooltipsComponentsTetherTooltipOnComponent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsTetherTooltipOnComponent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/tether-tooltip-on-element', ['exports', 'ember-tooltips/components/tether-tooltip-on-element'], function (exports, _emberTooltipsComponentsTetherTooltipOnElement) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsTetherTooltipOnElement['default'];\n    }\n  });\n});","define('fcs-dashboard/components/to-elsewhere', ['exports', 'ember-elsewhere/components/to-elsewhere'], function (exports, _emberElsewhereComponentsToElsewhere) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberElsewhereComponentsToElsewhere['default'];\n    }\n  });\n});","define('fcs-dashboard/components/tooltip-on-component', ['exports', 'ember-tooltips/components/tooltip-on-component'], function (exports, _emberTooltipsComponentsTooltipOnComponent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltipsComponentsTooltipOnComponent['default'];\n    }\n  });\n});","define('fcs-dashboard/components/tooltip-on-element', ['exports', 'fcs-dashboard/config/environment', 'ember-tooltips/components/tooltip-on-element'], function (exports, _fcsDashboardConfigEnvironment, _emberTooltipsComponentsTooltipOnElement) {\n\n  var _didUpdateTimeoutLength = _fcsDashboardConfigEnvironment['default'].environment === 'test' ? 0 : 1000;\n\n  exports['default'] = _emberTooltipsComponentsTooltipOnElement['default'].extend({ _didUpdateTimeoutLength: _didUpdateTimeoutLength });\n});","define('fcs-dashboard/components/welcome-page', ['exports', 'ember-welcome-page/components/welcome-page'], function (exports, _emberWelcomePageComponentsWelcomePage) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberWelcomePageComponentsWelcomePage['default'];\n    }\n  });\n});","define('fcs-dashboard/components/x-file-input', ['exports', 'emberx-file-input/components/x-file-input'], function (exports, _emberxFileInputComponentsXFileInput) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberxFileInputComponentsXFileInput['default'];\n    }\n  });\n});","define('fcs-dashboard/components/x-toggle', ['exports', 'ember-toggle/components/x-toggle/component', 'fcs-dashboard/config/environment'], function (exports, _emberToggleComponentsXToggleComponent, _fcsDashboardConfigEnvironment) {\n\n  var config = _fcsDashboardConfigEnvironment['default']['ember-toggle'] || {};\n\n  exports['default'] = _emberToggleComponentsXToggleComponent['default'].extend({\n    theme: config.defaultTheme || 'default',\n    defaultOffLabel: config.defaultOffLabel || 'Off::off',\n    defaultOnLabel: config.defaultOnLabel || 'On::on',\n    showLabels: config.defaultShowLabels || false,\n    size: config.defaultSize || 'medium'\n  });\n});","define(\"fcs-dashboard/flows\", [\"exports\"], function (exports) {\n  exports.around = around;\n  exports.dropdown = dropdown;\n  exports.flip = flip;\n  exports.popup = popup;\n\n  function around() {\n    return this.orientAbove.andSnapTo(this.center, this.leftEdge, this.rightEdge).then(this.orientRight.andSlideBetween(this.bottomEdge, this.topEdge)).then(this.orientBelow.andSnapTo(this.center, this.rightEdge, this.leftEdge)).then(this.orientLeft.andSlideBetween(this.topEdge, this.bottomEdge)).then(this.orientAbove.andSnapTo(this.center));\n  }\n\n  function dropdown() {\n    return this.orientBelow.andSnapTo(this.center, this.rightEdge, this.leftEdge).then(this.orientLeft.andSnapTo(this.topEdge, this.bottomEdge)).then(this.orientRight.andSnapTo(this.topEdge)).then(this.orientBelow.andSnapTo(this.center));\n  }\n\n  function flip() {\n    return this.orientAbove.andSnapTo(this.center, this.leftEdge, this.rightEdge).where(function (boundingRect, _, targetRect) {\n      var centerY = targetRect.height / 2 + targetRect.y,\n          halfway = boundingRect.height / 2;\n      return centerY > halfway;\n    }).then(this.orientBelow.andSnapTo(this.center, this.rightEdge, this.leftEdge).where(function (boundingRect, _, targetRect) {\n      var centerY = targetRect.height / 2 + targetRect.y,\n          halfway = boundingRect.height / 2;\n      return centerY < halfway;\n    })).then(this.orientAbove.andSnapTo(this.center));\n  }\n\n  function popup() {\n    return this.orientAbove.andSnapTo(this.center, this.rightEdge, this.leftEdge, this.center);\n  }\n});","define('fcs-dashboard/formats', ['exports'], function (exports) {\n  var hhmmss = {\n    hour: 'numeric',\n    minute: 'numeric',\n    second: 'numeric'\n  };\n\n  exports['default'] = {\n    time: {\n      hhmmss: hhmmss\n    },\n    date: {\n      hhmmss: hhmmss\n    },\n    number: {\n      EUR: { style: 'currency', currency: 'EUR', minimumFractionDigits: 2, maximumFractionDigits: 2 },\n      USD: { style: 'currency', currency: 'USD', minimumFractionDigits: 2, maximumFractionDigits: 2 }\n    }\n  };\n});","define('fcs-dashboard/helpers/and', ['exports', 'ember', 'ember-truth-helpers/helpers/and'], function (exports, _ember, _emberTruthHelpersHelpersAnd) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersAnd.andHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersAnd.andHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/app-version', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-cli-app-version/utils/regexp'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberCliAppVersionUtilsRegexp) {\n  exports.appVersion = appVersion;\n  var version = _fcsDashboardConfigEnvironment['default'].APP.version;\n\n  function appVersion(_) {\n    var hash = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    if (hash.hideSha) {\n      return version.match(_emberCliAppVersionUtilsRegexp.versionRegExp)[0];\n    }\n\n    if (hash.hideVersion) {\n      return version.match(_emberCliAppVersionUtilsRegexp.shaRegExp)[0];\n    }\n\n    return version;\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(appVersion);\n});","define('fcs-dashboard/helpers/append', ['exports', 'ember-composable-helpers/helpers/append'], function (exports, _emberComposableHelpersHelpersAppend) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersAppend['default'];\n    }\n  });\n  Object.defineProperty(exports, 'append', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersAppend.append;\n    }\n  });\n});","define('fcs-dashboard/helpers/array', ['exports', 'ember-composable-helpers/helpers/array'], function (exports, _emberComposableHelpersHelpersArray) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersArray['default'];\n    }\n  });\n  Object.defineProperty(exports, 'array', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersArray.array;\n    }\n  });\n});","define('fcs-dashboard/helpers/bs-contains', ['exports', 'ember-bootstrap/helpers/bs-contains'], function (exports, _emberBootstrapHelpersBsContains) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapHelpersBsContains['default'];\n    }\n  });\n  Object.defineProperty(exports, 'bsContains', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapHelpersBsContains.bsContains;\n    }\n  });\n});","define('fcs-dashboard/helpers/bs-eq', ['exports', 'ember-bootstrap/helpers/bs-eq'], function (exports, _emberBootstrapHelpersBsEq) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapHelpersBsEq['default'];\n    }\n  });\n  Object.defineProperty(exports, 'eq', {\n    enumerable: true,\n    get: function get() {\n      return _emberBootstrapHelpersBsEq.eq;\n    }\n  });\n});","define('fcs-dashboard/helpers/camelize', ['exports', 'ember-composable-helpers/helpers/camelize'], function (exports, _emberComposableHelpersHelpersCamelize) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCamelize['default'];\n    }\n  });\n  Object.defineProperty(exports, 'camelize', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCamelize.camelize;\n    }\n  });\n});","define('fcs-dashboard/helpers/cancel-all', ['exports', 'ember', 'ember-concurrency/-helpers'], function (exports, _ember, _emberConcurrencyHelpers) {\n  exports.cancelHelper = cancelHelper;\n\n  function cancelHelper(args) {\n    var cancelable = args[0];\n    if (!cancelable || typeof cancelable.cancelAll !== 'function') {\n      _ember['default'].assert('The first argument passed to the `cancel-all` helper should be a Task or TaskGroup (without quotes); you passed ' + cancelable, false);\n    }\n\n    return (0, _emberConcurrencyHelpers.taskHelperClosure)('cancelAll', args);\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(cancelHelper);\n});","define('fcs-dashboard/helpers/capitalize', ['exports', 'ember-composable-helpers/helpers/capitalize'], function (exports, _emberComposableHelpersHelpersCapitalize) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCapitalize['default'];\n    }\n  });\n  Object.defineProperty(exports, 'capitalize', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCapitalize.capitalize;\n    }\n  });\n});","define('fcs-dashboard/helpers/chunk', ['exports', 'ember-composable-helpers/helpers/chunk'], function (exports, _emberComposableHelpersHelpersChunk) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersChunk['default'];\n    }\n  });\n  Object.defineProperty(exports, 'chunk', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersChunk.chunk;\n    }\n  });\n});","define('fcs-dashboard/helpers/classify', ['exports', 'ember-composable-helpers/helpers/classify'], function (exports, _emberComposableHelpersHelpersClassify) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersClassify['default'];\n    }\n  });\n  Object.defineProperty(exports, 'classify', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersClassify.classify;\n    }\n  });\n});","define('fcs-dashboard/helpers/compact', ['exports', 'ember-composable-helpers/helpers/compact'], function (exports, _emberComposableHelpersHelpersCompact) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCompact['default'];\n    }\n  });\n  Object.defineProperty(exports, 'compact', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCompact.compact;\n    }\n  });\n});","define('fcs-dashboard/helpers/compute', ['exports', 'ember-composable-helpers/helpers/compute'], function (exports, _emberComposableHelpersHelpersCompute) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCompute['default'];\n    }\n  });\n  Object.defineProperty(exports, 'compute', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersCompute.compute;\n    }\n  });\n});","define('fcs-dashboard/helpers/contains', ['exports', 'ember-composable-helpers/helpers/contains'], function (exports, _emberComposableHelpersHelpersContains) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersContains['default'];\n    }\n  });\n  Object.defineProperty(exports, 'contains', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersContains.contains;\n    }\n  });\n});","define('fcs-dashboard/helpers/dasherize', ['exports', 'ember-composable-helpers/helpers/dasherize'], function (exports, _emberComposableHelpersHelpersDasherize) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersDasherize['default'];\n    }\n  });\n  Object.defineProperty(exports, 'dasherize', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersDasherize.dasherize;\n    }\n  });\n});","define('fcs-dashboard/helpers/dec', ['exports', 'ember-composable-helpers/helpers/dec'], function (exports, _emberComposableHelpersHelpersDec) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersDec['default'];\n    }\n  });\n  Object.defineProperty(exports, 'dec', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersDec.dec;\n    }\n  });\n});","define('fcs-dashboard/helpers/drop', ['exports', 'ember-composable-helpers/helpers/drop'], function (exports, _emberComposableHelpersHelpersDrop) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersDrop['default'];\n    }\n  });\n  Object.defineProperty(exports, 'drop', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersDrop.drop;\n    }\n  });\n});","define('fcs-dashboard/helpers/ember-power-select-is-group', ['exports', 'ember-power-select/helpers/ember-power-select-is-group'], function (exports, _emberPowerSelectHelpersEmberPowerSelectIsGroup) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectHelpersEmberPowerSelectIsGroup['default'];\n    }\n  });\n  Object.defineProperty(exports, 'emberPowerSelectIsGroup', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectHelpersEmberPowerSelectIsGroup.emberPowerSelectIsGroup;\n    }\n  });\n});","define('fcs-dashboard/helpers/ember-power-select-is-selected', ['exports', 'ember-power-select/helpers/ember-power-select-is-selected'], function (exports, _emberPowerSelectHelpersEmberPowerSelectIsSelected) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectHelpersEmberPowerSelectIsSelected['default'];\n    }\n  });\n  Object.defineProperty(exports, 'emberPowerSelectIsSelected', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectHelpersEmberPowerSelectIsSelected.emberPowerSelectIsSelected;\n    }\n  });\n});","define('fcs-dashboard/helpers/ember-power-select-true-string-if-present', ['exports', 'ember-power-select/helpers/ember-power-select-true-string-if-present'], function (exports, _emberPowerSelectHelpersEmberPowerSelectTrueStringIfPresent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectHelpersEmberPowerSelectTrueStringIfPresent['default'];\n    }\n  });\n  Object.defineProperty(exports, 'emberPowerSelectTrueStringIfPresent', {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerSelectHelpersEmberPowerSelectTrueStringIfPresent.emberPowerSelectTrueStringIfPresent;\n    }\n  });\n});","define('fcs-dashboard/helpers/eq', ['exports', 'ember', 'ember-truth-helpers/helpers/equal'], function (exports, _ember, _emberTruthHelpersHelpersEqual) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersEqual.equalHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersEqual.equalHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/exists-in', ['exports', 'ember-models-table/helpers/exists-in'], function (exports, _emberModelsTableHelpersExistsIn) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableHelpersExistsIn['default'];\n    }\n  });\n  Object.defineProperty(exports, 'existsIn', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableHelpersExistsIn.existsIn;\n    }\n  });\n});","define('fcs-dashboard/helpers/filter-by', ['exports', 'ember-composable-helpers/helpers/filter-by'], function (exports, _emberComposableHelpersHelpersFilterBy) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFilterBy['default'];\n    }\n  });\n  Object.defineProperty(exports, 'filterBy', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFilterBy.filterBy;\n    }\n  });\n});","define('fcs-dashboard/helpers/filter', ['exports', 'ember-composable-helpers/helpers/filter'], function (exports, _emberComposableHelpersHelpersFilter) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFilter['default'];\n    }\n  });\n  Object.defineProperty(exports, 'filter', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFilter.filter;\n    }\n  });\n});","define('fcs-dashboard/helpers/find-by', ['exports', 'ember-composable-helpers/helpers/find-by'], function (exports, _emberComposableHelpersHelpersFindBy) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFindBy['default'];\n    }\n  });\n  Object.defineProperty(exports, 'findBy', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFindBy.findBy;\n    }\n  });\n});","define('fcs-dashboard/helpers/fixed-grid-layout', ['exports', 'ember', 'ember-collection/layouts/grid'], function (exports, _ember, _emberCollectionLayoutsGrid) {\n  exports['default'] = _ember['default'].Helper.helper(function (params, hash) {\n    return new _emberCollectionLayoutsGrid['default'](params[0], params[1]);\n  });\n});","define('fcs-dashboard/helpers/flatten', ['exports', 'ember-composable-helpers/helpers/flatten'], function (exports, _emberComposableHelpersHelpersFlatten) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFlatten['default'];\n    }\n  });\n  Object.defineProperty(exports, 'flatten', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersFlatten.flatten;\n    }\n  });\n});","define('fcs-dashboard/helpers/format-date', ['exports', 'ember-intl/helpers/format-date'], function (exports, _emberIntlHelpersFormatDate) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatDate['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/format-html-message', ['exports', 'ember-intl/helpers/format-html-message'], function (exports, _emberIntlHelpersFormatHtmlMessage) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatHtmlMessage['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/format-message', ['exports', 'ember-intl/helpers/format-message'], function (exports, _emberIntlHelpersFormatMessage) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatMessage['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/format-number', ['exports', 'ember-intl/helpers/format-number'], function (exports, _emberIntlHelpersFormatNumber) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatNumber['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/format-relative', ['exports', 'ember-intl/helpers/format-relative'], function (exports, _emberIntlHelpersFormatRelative) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatRelative['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/format-time', ['exports', 'ember-intl/helpers/format-time'], function (exports, _emberIntlHelpersFormatTime) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatTime['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/group-by', ['exports', 'ember-composable-helpers/helpers/group-by'], function (exports, _emberComposableHelpersHelpersGroupBy) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersGroupBy['default'];\n    }\n  });\n  Object.defineProperty(exports, 'groupBy', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersGroupBy.groupBy;\n    }\n  });\n});","define('fcs-dashboard/helpers/gt', ['exports', 'ember', 'ember-truth-helpers/helpers/gt'], function (exports, _ember, _emberTruthHelpersHelpersGt) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersGt.gtHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersGt.gtHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/gte', ['exports', 'ember', 'ember-truth-helpers/helpers/gte'], function (exports, _ember, _emberTruthHelpersHelpersGte) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersGte.gteHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersGte.gteHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/has-next', ['exports', 'ember-composable-helpers/helpers/has-next'], function (exports, _emberComposableHelpersHelpersHasNext) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersHasNext['default'];\n    }\n  });\n  Object.defineProperty(exports, 'hasNext', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersHasNext.hasNext;\n    }\n  });\n});","define('fcs-dashboard/helpers/has-previous', ['exports', 'ember-composable-helpers/helpers/has-previous'], function (exports, _emberComposableHelpersHelpersHasPrevious) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersHasPrevious['default'];\n    }\n  });\n  Object.defineProperty(exports, 'hasPrevious', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersHasPrevious.hasPrevious;\n    }\n  });\n});","define('fcs-dashboard/helpers/hook', ['exports', 'ember-hook/helpers/hook'], function (exports, _emberHookHelpersHook) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberHookHelpersHook['default'];\n    }\n  });\n  Object.defineProperty(exports, 'hook', {\n    enumerable: true,\n    get: function get() {\n      return _emberHookHelpersHook.hook;\n    }\n  });\n});","define('fcs-dashboard/helpers/html-safe', ['exports', 'ember-composable-helpers/helpers/html-safe'], function (exports, _emberComposableHelpersHelpersHtmlSafe) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersHtmlSafe['default'];\n    }\n  });\n  Object.defineProperty(exports, 'htmlSafe', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersHtmlSafe.htmlSafe;\n    }\n  });\n});","define('fcs-dashboard/helpers/inc', ['exports', 'ember-composable-helpers/helpers/inc'], function (exports, _emberComposableHelpersHelpersInc) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersInc['default'];\n    }\n  });\n  Object.defineProperty(exports, 'inc', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersInc.inc;\n    }\n  });\n});","define('fcs-dashboard/helpers/intersect', ['exports', 'ember-composable-helpers/helpers/intersect'], function (exports, _emberComposableHelpersHelpersIntersect) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersIntersect['default'];\n    }\n  });\n  Object.defineProperty(exports, 'intersect', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersIntersect.intersect;\n    }\n  });\n});","define('fcs-dashboard/helpers/intl-get', ['exports', 'ember-intl/helpers/intl-get'], function (exports, _emberIntlHelpersIntlGet) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersIntlGet['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/invoke', ['exports', 'ember-composable-helpers/helpers/invoke'], function (exports, _emberComposableHelpersHelpersInvoke) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersInvoke['default'];\n    }\n  });\n  Object.defineProperty(exports, 'invoke', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersInvoke.invoke;\n    }\n  });\n});","define('fcs-dashboard/helpers/is-array', ['exports', 'ember', 'ember-truth-helpers/helpers/is-array'], function (exports, _ember, _emberTruthHelpersHelpersIsArray) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersIsArray.isArrayHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersIsArray.isArrayHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/is-equal', ['exports', 'ember-models-table/helpers/is-equal'], function (exports, _emberModelsTableHelpersIsEqual) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableHelpersIsEqual['default'];\n    }\n  });\n  Object.defineProperty(exports, 'isEqual', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableHelpersIsEqual.isEqual;\n    }\n  });\n});","define('fcs-dashboard/helpers/is-pending-move', ['exports', 'ember'], function (exports, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports.isPendingMove = isPendingMove;\n\n  function isPendingMove(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var locationId = _ref2[0];\n    var pendingIds = _ref2[1];\n\n    if (!locationId || !pendingIds) {\n      return false;\n    }\n    return pendingIds.includes(locationId);\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(isPendingMove);\n});","define('fcs-dashboard/helpers/item-list-number', ['exports', 'ember'], function (exports, _ember) {\n  exports.itemListNumber = itemListNumber;\n  var Helper = _ember['default'].Helper;\n\n  function itemListNumber(params) {\n    return params[0] + 1;\n  }\n\n  exports['default'] = Helper.helper(itemListNumber);\n});","define('fcs-dashboard/helpers/join', ['exports', 'ember-composable-helpers/helpers/join'], function (exports, _emberComposableHelpersHelpersJoin) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersJoin['default'];\n    }\n  });\n  Object.defineProperty(exports, 'join', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersJoin.join;\n    }\n  });\n});","define('fcs-dashboard/helpers/l', ['exports', 'ember-intl/helpers/l'], function (exports, _emberIntlHelpersL) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersL['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/lt', ['exports', 'ember', 'ember-truth-helpers/helpers/lt'], function (exports, _ember, _emberTruthHelpersHelpersLt) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersLt.ltHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersLt.ltHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/lte', ['exports', 'ember', 'ember-truth-helpers/helpers/lte'], function (exports, _ember, _emberTruthHelpersHelpersLte) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersLte.lteHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersLte.lteHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/map-by', ['exports', 'ember-composable-helpers/helpers/map-by'], function (exports, _emberComposableHelpersHelpersMapBy) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersMapBy['default'];\n    }\n  });\n  Object.defineProperty(exports, 'mapBy', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersMapBy.mapBy;\n    }\n  });\n});","define('fcs-dashboard/helpers/map', ['exports', 'ember-composable-helpers/helpers/map'], function (exports, _emberComposableHelpersHelpersMap) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersMap['default'];\n    }\n  });\n  Object.defineProperty(exports, 'map', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersMap.map;\n    }\n  });\n});","define('fcs-dashboard/helpers/mixed-grid-layout', ['exports', 'ember', 'ember-collection/layouts/mixed-grid'], function (exports, _ember, _emberCollectionLayoutsMixedGrid) {\n  exports['default'] = _ember['default'].Helper.helper(function (params, hash) {\n    return new _emberCollectionLayoutsMixedGrid['default'](params[0]);\n  });\n});","define('fcs-dashboard/helpers/moment-calendar', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-moment/helpers/moment-calendar'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberMomentHelpersMomentCalendar) {\n  exports['default'] = _emberMomentHelpersMomentCalendar['default'].extend({\n    globalAllowEmpty: !!_ember['default'].get(_fcsDashboardConfigEnvironment['default'], 'moment.allowEmpty')\n  });\n});","define('fcs-dashboard/helpers/moment-duration', ['exports', 'ember-moment/helpers/moment-duration'], function (exports, _emberMomentHelpersMomentDuration) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberMomentHelpersMomentDuration['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/moment-format', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-moment/helpers/moment-format'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberMomentHelpersMomentFormat) {\n  exports['default'] = _emberMomentHelpersMomentFormat['default'].extend({\n    globalAllowEmpty: !!_ember['default'].get(_fcsDashboardConfigEnvironment['default'], 'moment.allowEmpty')\n  });\n});","define('fcs-dashboard/helpers/moment-from-now', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-moment/helpers/moment-from-now'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberMomentHelpersMomentFromNow) {\n  exports['default'] = _emberMomentHelpersMomentFromNow['default'].extend({\n    globalAllowEmpty: !!_ember['default'].get(_fcsDashboardConfigEnvironment['default'], 'moment.allowEmpty')\n  });\n});","define('fcs-dashboard/helpers/moment-to-now', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-moment/helpers/moment-to-now'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberMomentHelpersMomentToNow) {\n  exports['default'] = _emberMomentHelpersMomentToNow['default'].extend({\n    globalAllowEmpty: !!_ember['default'].get(_fcsDashboardConfigEnvironment['default'], 'moment.allowEmpty')\n  });\n});","define('fcs-dashboard/helpers/next', ['exports', 'ember-composable-helpers/helpers/next'], function (exports, _emberComposableHelpersHelpersNext) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersNext['default'];\n    }\n  });\n  Object.defineProperty(exports, 'next', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersNext.next;\n    }\n  });\n});","define('fcs-dashboard/helpers/not-eq', ['exports', 'ember', 'ember-truth-helpers/helpers/not-equal'], function (exports, _ember, _emberTruthHelpersHelpersNotEqual) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersNotEqual.notEqualHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersNotEqual.notEqualHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/not', ['exports', 'ember', 'ember-truth-helpers/helpers/not'], function (exports, _ember, _emberTruthHelpersHelpersNot) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersNot.notHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersNot.notHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/now', ['exports', 'ember-moment/helpers/now'], function (exports, _emberMomentHelpersNow) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberMomentHelpersNow['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/object-at', ['exports', 'ember-composable-helpers/helpers/object-at'], function (exports, _emberComposableHelpersHelpersObjectAt) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersObjectAt['default'];\n    }\n  });\n  Object.defineProperty(exports, 'objectAt', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersObjectAt.objectAt;\n    }\n  });\n});","define('fcs-dashboard/helpers/one-way-select/contains', ['exports', 'ember-one-way-controls/helpers/one-way-select/contains'], function (exports, _emberOneWayControlsHelpersOneWaySelectContains) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsHelpersOneWaySelectContains['default'];\n    }\n  });\n  Object.defineProperty(exports, 'contains', {\n    enumerable: true,\n    get: function get() {\n      return _emberOneWayControlsHelpersOneWaySelectContains.contains;\n    }\n  });\n});","define('fcs-dashboard/helpers/optional', ['exports', 'ember-composable-helpers/helpers/optional'], function (exports, _emberComposableHelpersHelpersOptional) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersOptional['default'];\n    }\n  });\n  Object.defineProperty(exports, 'optional', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersOptional.optional;\n    }\n  });\n});","define('fcs-dashboard/helpers/or', ['exports', 'ember', 'ember-truth-helpers/helpers/or'], function (exports, _ember, _emberTruthHelpersHelpersOr) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersOr.orHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersOr.orHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/helpers/percentage-columns-layout', ['exports', 'ember', 'ember-collection/layouts/percentage-columns'], function (exports, _ember, _emberCollectionLayoutsPercentageColumns) {\n  exports['default'] = _ember['default'].Helper.helper(function (params, hash) {\n    return new _emberCollectionLayoutsPercentageColumns['default'](params[0], params[1], params[2]);\n  });\n});","define('fcs-dashboard/helpers/perform', ['exports', 'ember', 'ember-concurrency/-task-property', 'ember-concurrency/-helpers'], function (exports, _ember, _emberConcurrencyTaskProperty, _emberConcurrencyHelpers) {\n  exports.performHelper = performHelper;\n\n  function performHelper(args, hash) {\n    var task = args[0];\n    if (!(task instanceof _emberConcurrencyTaskProperty.Task)) {\n      _ember['default'].assert('The first argument passed to the `perform` helper should be a Task object (without quotes); you passed ' + task, false);\n    }\n\n    return (0, _emberConcurrencyHelpers.taskHelperClosure)('perform', args, hash);\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(performHelper);\n});","define('fcs-dashboard/helpers/pipe-action', ['exports', 'ember-composable-helpers/helpers/pipe-action'], function (exports, _emberComposableHelpersHelpersPipeAction) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersPipeAction['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/pipe', ['exports', 'ember-composable-helpers/helpers/pipe'], function (exports, _emberComposableHelpersHelpersPipe) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersPipe['default'];\n    }\n  });\n  Object.defineProperty(exports, 'pipe', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersPipe.pipe;\n    }\n  });\n});","define('fcs-dashboard/helpers/pluralize', ['exports', 'ember-inflector/lib/helpers/pluralize'], function (exports, _emberInflectorLibHelpersPluralize) {\n  exports['default'] = _emberInflectorLibHelpersPluralize['default'];\n});","define('fcs-dashboard/helpers/previous', ['exports', 'ember-composable-helpers/helpers/previous'], function (exports, _emberComposableHelpersHelpersPrevious) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersPrevious['default'];\n    }\n  });\n  Object.defineProperty(exports, 'previous', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersPrevious.previous;\n    }\n  });\n});","define('fcs-dashboard/helpers/queue', ['exports', 'ember-composable-helpers/helpers/queue'], function (exports, _emberComposableHelpersHelpersQueue) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersQueue['default'];\n    }\n  });\n  Object.defineProperty(exports, 'queue', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersQueue.queue;\n    }\n  });\n});","define('fcs-dashboard/helpers/range', ['exports', 'ember-composable-helpers/helpers/range'], function (exports, _emberComposableHelpersHelpersRange) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersRange['default'];\n    }\n  });\n  Object.defineProperty(exports, 'range', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersRange.range;\n    }\n  });\n});","define('fcs-dashboard/helpers/reduce', ['exports', 'ember-composable-helpers/helpers/reduce'], function (exports, _emberComposableHelpersHelpersReduce) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersReduce['default'];\n    }\n  });\n  Object.defineProperty(exports, 'reduce', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersReduce.reduce;\n    }\n  });\n});","define('fcs-dashboard/helpers/reject-by', ['exports', 'ember-composable-helpers/helpers/reject-by'], function (exports, _emberComposableHelpersHelpersRejectBy) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersRejectBy['default'];\n    }\n  });\n  Object.defineProperty(exports, 'rejectBy', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersRejectBy.rejectBy;\n    }\n  });\n});","define('fcs-dashboard/helpers/repeat', ['exports', 'ember-composable-helpers/helpers/repeat'], function (exports, _emberComposableHelpersHelpersRepeat) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersRepeat['default'];\n    }\n  });\n  Object.defineProperty(exports, 'repeat', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersRepeat.repeat;\n    }\n  });\n});","define('fcs-dashboard/helpers/reverse', ['exports', 'ember-composable-helpers/helpers/reverse'], function (exports, _emberComposableHelpersHelpersReverse) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersReverse['default'];\n    }\n  });\n  Object.defineProperty(exports, 'reverse', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersReverse.reverse;\n    }\n  });\n});","define('fcs-dashboard/helpers/send', ['exports', 'ember-component-inbound-actions/helpers/send'], function (exports, _emberComponentInboundActionsHelpersSend) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComponentInboundActionsHelpersSend['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/shuffle', ['exports', 'ember-composable-helpers/helpers/shuffle'], function (exports, _emberComposableHelpersHelpersShuffle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersShuffle['default'];\n    }\n  });\n  Object.defineProperty(exports, 'shuffle', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersShuffle.shuffle;\n    }\n  });\n});","define('fcs-dashboard/helpers/singularize', ['exports', 'ember-inflector/lib/helpers/singularize'], function (exports, _emberInflectorLibHelpersSingularize) {\n  exports['default'] = _emberInflectorLibHelpersSingularize['default'];\n});","define('fcs-dashboard/helpers/slice', ['exports', 'ember-composable-helpers/helpers/slice'], function (exports, _emberComposableHelpersHelpersSlice) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersSlice['default'];\n    }\n  });\n  Object.defineProperty(exports, 'slice', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersSlice.slice;\n    }\n  });\n});","define('fcs-dashboard/helpers/sort-by', ['exports', 'ember-composable-helpers/helpers/sort-by'], function (exports, _emberComposableHelpersHelpersSortBy) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersSortBy['default'];\n    }\n  });\n  Object.defineProperty(exports, 'sortBy', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersSortBy.sortBy;\n    }\n  });\n});","define('fcs-dashboard/helpers/t-html', ['exports', 'ember-intl/helpers/format-html-message'], function (exports, _emberIntlHelpersFormatHtmlMessage) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersFormatHtmlMessage['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/t', ['exports', 'ember-intl/helpers/t'], function (exports, _emberIntlHelpersT) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlHelpersT['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/take', ['exports', 'ember-composable-helpers/helpers/take'], function (exports, _emberComposableHelpersHelpersTake) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersTake['default'];\n    }\n  });\n  Object.defineProperty(exports, 'take', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersTake.take;\n    }\n  });\n});","define('fcs-dashboard/helpers/task', ['exports', 'ember'], function (exports, _ember) {\n  function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }\n\n  function _toArray(arr) { return Array.isArray(arr) ? arr : Array.from(arr); }\n\n  function taskHelper(_ref) {\n    var _ref2 = _toArray(_ref);\n\n    var task = _ref2[0];\n\n    var args = _ref2.slice(1);\n\n    return task._curry.apply(task, _toConsumableArray(args));\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(taskHelper);\n});","define('fcs-dashboard/helpers/titleize', ['exports', 'ember-composable-helpers/helpers/titleize'], function (exports, _emberComposableHelpersHelpersTitleize) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersTitleize['default'];\n    }\n  });\n  Object.defineProperty(exports, 'titleize', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersTitleize.titleize;\n    }\n  });\n});","define('fcs-dashboard/helpers/toggle-action', ['exports', 'ember-composable-helpers/helpers/toggle-action'], function (exports, _emberComposableHelpersHelpersToggleAction) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersToggleAction['default'];\n    }\n  });\n});","define('fcs-dashboard/helpers/toggle', ['exports', 'ember-composable-helpers/helpers/toggle'], function (exports, _emberComposableHelpersHelpersToggle) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersToggle['default'];\n    }\n  });\n  Object.defineProperty(exports, 'toggle', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersToggle.toggle;\n    }\n  });\n});","define('fcs-dashboard/helpers/truncate', ['exports', 'ember-composable-helpers/helpers/truncate'], function (exports, _emberComposableHelpersHelpersTruncate) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersTruncate['default'];\n    }\n  });\n  Object.defineProperty(exports, 'truncate', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersTruncate.truncate;\n    }\n  });\n});","define('fcs-dashboard/helpers/underscore', ['exports', 'ember-composable-helpers/helpers/underscore'], function (exports, _emberComposableHelpersHelpersUnderscore) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersUnderscore['default'];\n    }\n  });\n  Object.defineProperty(exports, 'underscore', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersUnderscore.underscore;\n    }\n  });\n});","define('fcs-dashboard/helpers/union', ['exports', 'ember-composable-helpers/helpers/union'], function (exports, _emberComposableHelpersHelpersUnion) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersUnion['default'];\n    }\n  });\n  Object.defineProperty(exports, 'union', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersUnion.union;\n    }\n  });\n});","define('fcs-dashboard/helpers/url-encode', ['exports', 'ember'], function (exports, _ember) {\n  exports.urlEncode = urlEncode;\n\n  function urlEncode(params) {\n    if (Array.isArray(params)) {\n\n      var paramString = '';\n      var i = undefined;\n      for (i = 0; i < params.length; i++) {\n        paramString += encodeURI(params[i]);\n        if (params.length > 1 && i < params.length - 1) {\n          paramString += ',';\n        }\n      }\n\n      return paramString;\n    }\n\n    return encodeURI(params[0]);\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(urlEncode);\n});","define('fcs-dashboard/helpers/w', ['exports', 'ember-composable-helpers/helpers/w'], function (exports, _emberComposableHelpersHelpersW) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersW['default'];\n    }\n  });\n  Object.defineProperty(exports, 'w', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersW.w;\n    }\n  });\n});","define('fcs-dashboard/helpers/without', ['exports', 'ember-composable-helpers/helpers/without'], function (exports, _emberComposableHelpersHelpersWithout) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersWithout['default'];\n    }\n  });\n  Object.defineProperty(exports, 'without', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersHelpersWithout.without;\n    }\n  });\n});","define('fcs-dashboard/helpers/xor', ['exports', 'ember', 'ember-truth-helpers/helpers/xor'], function (exports, _ember, _emberTruthHelpersHelpersXor) {\n\n  var forExport = null;\n\n  if (_ember['default'].Helper) {\n    forExport = _ember['default'].Helper.helper(_emberTruthHelpersHelpersXor.xorHelper);\n  } else if (_ember['default'].HTMLBars.makeBoundHelper) {\n    forExport = _ember['default'].HTMLBars.makeBoundHelper(_emberTruthHelpersHelpersXor.xorHelper);\n  }\n\n  exports['default'] = forExport;\n});","define('fcs-dashboard/initializers/add-modals-container', ['exports', 'ember-modal-dialog/initializers/add-modals-container'], function (exports, _emberModalDialogInitializersAddModalsContainer) {\n  exports['default'] = {\n    name: 'add-modals-container',\n    initialize: _emberModalDialogInitializersAddModalsContainer['default']\n  };\n});","define('fcs-dashboard/initializers/app-version', ['exports', 'ember-cli-app-version/initializer-factory', 'fcs-dashboard/config/environment'], function (exports, _emberCliAppVersionInitializerFactory, _fcsDashboardConfigEnvironment) {\n  var _config$APP = _fcsDashboardConfigEnvironment['default'].APP;\n  var name = _config$APP.name;\n  var version = _config$APP.version;\n  exports['default'] = {\n    name: 'App Version',\n    initialize: (0, _emberCliAppVersionInitializerFactory['default'])(name, version)\n  };\n});","define('fcs-dashboard/initializers/component-prop-types', ['exports', 'ember-prop-types/initializers/component-prop-types'], function (exports, _emberPropTypesInitializersComponentPropTypes) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPropTypesInitializersComponentPropTypes['default'];\n    }\n  });\n  Object.defineProperty(exports, 'initialize', {\n    enumerable: true,\n    get: function get() {\n      return _emberPropTypesInitializersComponentPropTypes.initialize;\n    }\n  });\n});","define('fcs-dashboard/initializers/container-debug-adapter', ['exports', 'ember-resolver/container-debug-adapter'], function (exports, _emberResolverContainerDebugAdapter) {\n  exports['default'] = {\n    name: 'container-debug-adapter',\n\n    initialize: function initialize() {\n      var app = arguments[1] || arguments[0];\n\n      app.register('container-debug-adapter:main', _emberResolverContainerDebugAdapter['default']);\n      app.inject('container-debug-adapter:main', 'namespace', 'application:main');\n    }\n  };\n});","define(\"fcs-dashboard/initializers/coordinator-setup\", [\"exports\", \"fcs-dashboard/models/coordinator\"], function (exports, _fcsDashboardModelsCoordinator) {\n  exports[\"default\"] = {\n    name: \"setup coordinator\",\n\n    initialize: function initialize() {\n      var app = arguments[1] || arguments[0];\n      app.register(\"drag:coordinator\", _fcsDashboardModelsCoordinator[\"default\"]);\n      app.inject(\"component\", \"coordinator\", \"drag:coordinator\");\n    }\n  };\n});","define('fcs-dashboard/initializers/data-adapter', ['exports', 'ember'], function (exports, _ember) {\n\n  /*\n    This initializer is here to keep backwards compatibility with code depending\n    on the `data-adapter` initializer (before Ember Data was an addon).\n  \n    Should be removed for Ember Data 3.x\n  */\n\n  exports['default'] = {\n    name: 'data-adapter',\n    before: 'store',\n    initialize: function initialize() {}\n  };\n});","define('fcs-dashboard/initializers/ember-cli-mirage', ['exports', 'ember-cli-mirage/utils/read-modules', 'fcs-dashboard/config/environment', 'fcs-dashboard/mirage/config', 'ember-cli-mirage/server'], function (exports, _emberCliMirageUtilsReadModules, _fcsDashboardConfigEnvironment, _fcsDashboardMirageConfig, _emberCliMirageServer) {\n  exports['default'] = {\n    name: 'ember-cli-mirage',\n    initialize: function initialize(application) {\n      if (arguments.length > 1) {\n        // Ember < 2.1\n        var container = arguments[0],\n            application = arguments[1];\n      }\n      var environment = _fcsDashboardConfigEnvironment['default'].environment;\n\n      if (_shouldUseMirage(environment, _fcsDashboardConfigEnvironment['default']['ember-cli-mirage'])) {\n        var modules = (0, _emberCliMirageUtilsReadModules['default'])(_fcsDashboardConfigEnvironment['default'].modulePrefix);\n        var options = _.assign(modules, { environment: environment, baseConfig: _fcsDashboardMirageConfig['default'], testConfig: _fcsDashboardMirageConfig.testConfig });\n\n        new _emberCliMirageServer['default'](options);\n      }\n    }\n  };\n\n  function _shouldUseMirage(env, addonConfig) {\n    var userDeclaredEnabled = typeof addonConfig.enabled !== 'undefined';\n    var defaultEnabled = _defaultEnabled(env, addonConfig);\n\n    return userDeclaredEnabled ? addonConfig.enabled : defaultEnabled;\n  }\n\n  /*\n    Returns a boolean specifying the default behavior for whether\n    to initialize Mirage.\n  */\n  function _defaultEnabled(env, addonConfig) {\n    var usingInDev = env === 'development' && !addonConfig.usingProxy;\n    var usingInTest = env === 'test';\n\n    return usingInDev || usingInTest;\n  }\n});","define('fcs-dashboard/initializers/ember-concurrency', ['exports', 'ember-concurrency'], function (exports, _emberConcurrency) {\n  exports['default'] = {\n    name: 'ember-concurrency',\n    initialize: function initialize() {}\n  };\n});\n// This initializer exists only to make sure that the following\n// imports happen before the app boots.","define('fcs-dashboard/initializers/ember-data', ['exports', 'ember-data/setup-container', 'ember-data/-private/core'], function (exports, _emberDataSetupContainer, _emberDataPrivateCore) {\n\n  /*\n  \n    This code initializes Ember-Data onto an Ember application.\n  \n    If an Ember.js developer defines a subclass of DS.Store on their application,\n    as `App.StoreService` (or via a module system that resolves to `service:store`)\n    this code will automatically instantiate it and make it available on the\n    router.\n  \n    Additionally, after an application's controllers have been injected, they will\n    each have the store made available to them.\n  \n    For example, imagine an Ember.js application with the following classes:\n  \n    App.StoreService = DS.Store.extend({\n      adapter: 'custom'\n    });\n  \n    App.PostsController = Ember.Controller.extend({\n      // ...\n    });\n  \n    When the application is initialized, `App.ApplicationStore` will automatically be\n    instantiated, and the instance of `App.PostsController` will have its `store`\n    property set to that instance.\n  \n    Note that this code will only be run if the `ember-application` package is\n    loaded. If Ember Data is being used in an environment other than a\n    typical application (e.g., node.js where only `ember-runtime` is available),\n    this code will be ignored.\n  */\n\n  exports['default'] = {\n    name: 'ember-data',\n    initialize: _emberDataSetupContainer['default']\n  };\n});","define('fcs-dashboard/initializers/ember-hook/initialize', ['exports', 'ember-hook/initializers/ember-hook/initialize'], function (exports, _emberHookInitializersEmberHookInitialize) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberHookInitializersEmberHookInitialize['default'];\n    }\n  });\n  Object.defineProperty(exports, 'initialize', {\n    enumerable: true,\n    get: function get() {\n      return _emberHookInitializersEmberHookInitialize.initialize;\n    }\n  });\n});","define('fcs-dashboard/initializers/ember-intl-cp-validations', ['exports', 'ember-intl-cp-validations/initialize'], function (exports, _emberIntlCpValidationsInitialize) {\n  exports['default'] = {\n    name: 'ember-intl-cp-validations',\n    initialize: _emberIntlCpValidationsInitialize['default']\n  };\n});","define('fcs-dashboard/initializers/ember-simple-auth', ['exports', 'fcs-dashboard/config/environment', 'ember-simple-auth/configuration', 'ember-simple-auth/initializers/setup-session', 'ember-simple-auth/initializers/setup-session-service'], function (exports, _fcsDashboardConfigEnvironment, _emberSimpleAuthConfiguration, _emberSimpleAuthInitializersSetupSession, _emberSimpleAuthInitializersSetupSessionService) {\n  exports['default'] = {\n    name: 'ember-simple-auth',\n\n    initialize: function initialize(registry) {\n      var config = _fcsDashboardConfigEnvironment['default']['ember-simple-auth'] || {};\n      config.baseURL = _fcsDashboardConfigEnvironment['default'].rootURL || _fcsDashboardConfigEnvironment['default'].baseURL;\n      _emberSimpleAuthConfiguration['default'].load(config);\n\n      (0, _emberSimpleAuthInitializersSetupSession['default'])(registry);\n      (0, _emberSimpleAuthInitializersSetupSessionService['default'])(registry);\n    }\n  };\n});","define('fcs-dashboard/initializers/error-monitor', ['exports', 'ember'], function (exports, _ember) {\n  exports.initialize = initialize;\n\n  function initialize() {\n    _ember['default'].onerror = function (err) {\n      if (err && (err.isAdapterError || err.name == 'TransitionAborted')) {\n        return;\n      }\n      err && _ember['default'].Logger.error(err);\n    };\n    _ember['default'].RSVP.on('error', function (err) {\n      if (err && (err.isAdapterError || err.name == 'TransitionAborted')) {\n        return;\n      }\n      err && _ember['default'].Logger.error(err);\n    });\n  }\n\n  exports['default'] = {\n    name: 'error-monitor',\n    initialize: initialize\n  };\n});","define('fcs-dashboard/initializers/export-application-global', ['exports', 'ember', 'fcs-dashboard/config/environment'], function (exports, _ember, _fcsDashboardConfigEnvironment) {\n  exports.initialize = initialize;\n\n  function initialize() {\n    var application = arguments[1] || arguments[0];\n    if (_fcsDashboardConfigEnvironment['default'].exportApplicationGlobal !== false) {\n      var theGlobal;\n      if (typeof window !== 'undefined') {\n        theGlobal = window;\n      } else if (typeof global !== 'undefined') {\n        theGlobal = global;\n      } else if (typeof self !== 'undefined') {\n        theGlobal = self;\n      } else {\n        // no reasonable global, just bail\n        return;\n      }\n\n      var value = _fcsDashboardConfigEnvironment['default'].exportApplicationGlobal;\n      var globalName;\n\n      if (typeof value === 'string') {\n        globalName = value;\n      } else {\n        globalName = _ember['default'].String.classify(_fcsDashboardConfigEnvironment['default'].modulePrefix);\n      }\n\n      if (!theGlobal[globalName]) {\n        theGlobal[globalName] = application;\n\n        application.reopen({\n          willDestroy: function willDestroy() {\n            this._super.apply(this, arguments);\n            delete theGlobal[globalName];\n          }\n        });\n      }\n    }\n  }\n\n  exports['default'] = {\n    name: 'export-application-global',\n\n    initialize: initialize\n  };\n});","define('fcs-dashboard/initializers/injectStore', ['exports', 'ember'], function (exports, _ember) {\n\n  /*\n    This initializer is here to keep backwards compatibility with code depending\n    on the `injectStore` initializer (before Ember Data was an addon).\n  \n    Should be removed for Ember Data 3.x\n  */\n\n  exports['default'] = {\n    name: 'injectStore',\n    before: 'store',\n    initialize: function initialize() {}\n  };\n});","define('fcs-dashboard/initializers/load-bootstrap-config', ['exports', 'fcs-dashboard/config/environment', 'ember-bootstrap/config'], function (exports, _fcsDashboardConfigEnvironment, _emberBootstrapConfig) {\n  exports.initialize = initialize;\n\n  function initialize() /* container, application */{\n    _emberBootstrapConfig['default'].load(_fcsDashboardConfigEnvironment['default']['ember-bootstrap'] || {});\n  }\n\n  exports['default'] = {\n    name: 'load-bootstrap-config',\n    initialize: initialize\n  };\n});","define('fcs-dashboard/initializers/model-fragments', ['exports', 'model-fragments', 'model-fragments/transforms/fragment', 'model-fragments/transforms/fragment-array', 'model-fragments/transforms/array'], function (exports, _modelFragments, _modelFragmentsTransformsFragment, _modelFragmentsTransformsFragmentArray, _modelFragmentsTransformsArray) {\n  exports['default'] = {\n    name: \"fragmentTransform\",\n    before: \"ember-data\",\n\n    initialize: function initialize(application) {\n      application.register('transform:fragment', _modelFragmentsTransformsFragment['default']);\n      application.register('transform:fragment-array', _modelFragmentsTransformsFragmentArray['default']);\n      application.register('transform:array', _modelFragmentsTransformsArray['default']);\n    }\n  };\n});\n// Import the full module to ensure monkey-patchs are applied before any store\n// instances are created. Sad face for side-effects :(","define('fcs-dashboard/initializers/model', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports.initialize = initialize;\n\n  function initialize() {\n    _emberData['default'].Model.reopen({\n      rollbackAttributes: function rollbackAttributes() {\n        this._super();\n        this.rollbackRelationships();\n      },\n\n      rollbackRelationships: function rollbackRelationships() {\n        var model = this;\n        model.eachRelationship(function (name, meta) {\n          if (meta.kind === 'belongsTo') {\n            var oldId = model.get(name + 'Id');\n            if (oldId) {\n              var child = model.get(name);\n              if (!(child && child.get('id') === oldId)) {\n                var originalRecord = model.store.peekRecord(name, Number(oldId));\n                model.set(name, originalRecord);\n              }\n            }\n          }\n        });\n      },\n\n      // keep a cache of all belongsTo ids before there are any user-initiated changes\n      // so we can roll back manually in `rollbackAttributes`\n      cacheRelationships: function cacheRelationships() {\n        var model = this;\n        model.eachRelationship(function (name, meta) {\n          if (meta.kind === 'belongsTo') {\n            model.get(name).then(function () {\n              if (model.get(name + '.id')) {\n                model.set(name + 'Id', model.get(name + '.id'));\n              }\n            });\n          }\n        });\n      },\n\n      ready: function ready() {\n        this.cacheRelationships();\n      }\n    });\n  }\n\n  exports['default'] = {\n    name: 'model',\n    initialize: initialize\n  };\n});","define('fcs-dashboard/initializers/store', ['exports', 'ember'], function (exports, _ember) {\n\n  /*\n    This initializer is here to keep backwards compatibility with code depending\n    on the `store` initializer (before Ember Data was an addon).\n  \n    Should be removed for Ember Data 3.x\n  */\n\n  exports['default'] = {\n    name: 'store',\n    after: 'ember-data',\n    initialize: function initialize() {}\n  };\n});","define('fcs-dashboard/initializers/transforms', ['exports', 'ember'], function (exports, _ember) {\n\n  /*\n    This initializer is here to keep backwards compatibility with code depending\n    on the `transforms` initializer (before Ember Data was an addon).\n  \n    Should be removed for Ember Data 3.x\n  */\n\n  exports['default'] = {\n    name: 'transforms',\n    before: 'store',\n    initialize: function initialize() {}\n  };\n});","define('fcs-dashboard/initializers/truth-helpers', ['exports', 'ember', 'ember-truth-helpers/utils/register-helper', 'ember-truth-helpers/helpers/and', 'ember-truth-helpers/helpers/or', 'ember-truth-helpers/helpers/equal', 'ember-truth-helpers/helpers/not', 'ember-truth-helpers/helpers/is-array', 'ember-truth-helpers/helpers/not-equal', 'ember-truth-helpers/helpers/gt', 'ember-truth-helpers/helpers/gte', 'ember-truth-helpers/helpers/lt', 'ember-truth-helpers/helpers/lte'], function (exports, _ember, _emberTruthHelpersUtilsRegisterHelper, _emberTruthHelpersHelpersAnd, _emberTruthHelpersHelpersOr, _emberTruthHelpersHelpersEqual, _emberTruthHelpersHelpersNot, _emberTruthHelpersHelpersIsArray, _emberTruthHelpersHelpersNotEqual, _emberTruthHelpersHelpersGt, _emberTruthHelpersHelpersGte, _emberTruthHelpersHelpersLt, _emberTruthHelpersHelpersLte) {\n  exports.initialize = initialize;\n\n  function initialize() /* container, application */{\n\n    // Do not register helpers from Ember 1.13 onwards, starting from 1.13 they\n    // will be auto-discovered.\n    if (_ember['default'].Helper) {\n      return;\n    }\n\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('and', _emberTruthHelpersHelpersAnd.andHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('or', _emberTruthHelpersHelpersOr.orHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('eq', _emberTruthHelpersHelpersEqual.equalHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('not', _emberTruthHelpersHelpersNot.notHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('is-array', _emberTruthHelpersHelpersIsArray.isArrayHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('not-eq', _emberTruthHelpersHelpersNotEqual.notEqualHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('gt', _emberTruthHelpersHelpersGt.gtHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('gte', _emberTruthHelpersHelpersGte.gteHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('lt', _emberTruthHelpersHelpersLt.ltHelper);\n    (0, _emberTruthHelpersUtilsRegisterHelper.registerHelper)('lte', _emberTruthHelpersHelpersLte.lteHelper);\n  }\n\n  exports['default'] = {\n    name: 'truth-helpers',\n    initialize: initialize\n  };\n});","define('fcs-dashboard/initializers/viewport-config', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-in-viewport/utils/can-use-dom'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberInViewportUtilsCanUseDom) {\n  exports.initialize = initialize;\n\n  var defaultConfig = {\n    viewportEnabled: true,\n    viewportSpy: false,\n    viewportScrollSensitivity: 1,\n    viewportRefreshRate: 100,\n    viewportListeners: [{ context: window, event: 'scroll.scrollable' }, { context: window, event: 'resize.resizable' }],\n    viewportTolerance: {\n      top: 0,\n      left: 0,\n      bottom: 0,\n      right: 0\n    }\n  };\n\n  if (_emberInViewportUtilsCanUseDom['default']) {\n    defaultConfig.viewportListeners.push({\n      context: document,\n      event: 'touchmove.scrollable'\n    });\n  }\n\n  var assign = _ember['default'].assign || _ember['default'].merge;\n\n  function initialize() {\n    var application = arguments[1] || arguments[0];\n    var _config$viewportConfig = _fcsDashboardConfigEnvironment['default'].viewportConfig;\n    var viewportConfig = _config$viewportConfig === undefined ? {} : _config$viewportConfig;\n\n    var mergedConfig = assign({}, defaultConfig, viewportConfig);\n\n    application.register('config:in-viewport', mergedConfig, { instantiate: false });\n  }\n\n  exports['default'] = {\n    name: 'viewport-config',\n    initialize: initialize\n  };\n});","define(\"fcs-dashboard/instance-initializers/ember-data\", [\"exports\", \"ember-data/-private/instance-initializers/initialize-store-service\"], function (exports, _emberDataPrivateInstanceInitializersInitializeStoreService) {\n  exports[\"default\"] = {\n    name: \"ember-data\",\n    initialize: _emberDataPrivateInstanceInitializersInitializeStoreService[\"default\"]\n  };\n});","define('fcs-dashboard/instance-initializers/ember-intl', ['exports', 'ember'], function (exports, _ember) {\n  exports.instanceInitializer = instanceInitializer;\n\n  function instanceInitializer(instance) {\n    _ember['default'].deprecate('[ember-intl] instance initializer is deprecated, no longer necessary to call in testing.', false, {\n      id: 'ember-intl-instance-initalizer'\n    });\n  }\n\n  exports['default'] = {\n    name: 'ember-intl',\n    initialize: function initialize() {}\n  };\n});\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('fcs-dashboard/instance-initializers/ember-simple-auth', ['exports', 'ember-simple-auth/instance-initializers/setup-session-restoration'], function (exports, _emberSimpleAuthInstanceInitializersSetupSessionRestoration) {\n  exports['default'] = {\n    name: 'ember-simple-auth',\n\n    initialize: function initialize(instance) {\n      (0, _emberSimpleAuthInstanceInitializersSetupSessionRestoration['default'])(instance);\n    }\n  };\n});","define('fcs-dashboard/instance-initializers/logout-inactivity', ['exports', 'ember'], function (exports, _ember) {\n  exports.initialize = initialize;\n\n  function initialize(appInstance) {\n    var session = appInstance.lookup('service:session');\n    var logoutAfter = 60 * 60 * 1000;\n    var logout = function logout() {\n      _ember['default'].run.debounce(session, 'invalidate', logoutAfter);\n    };\n    window.onmousemove = logout;\n    window.onkeypress = logout;\n  }\n\n  exports['default'] = {\n    name: 'logout-inactivity',\n    after: 'ember-simple-auth',\n    initialize: initialize\n  };\n});","define('fcs-dashboard/instance-initializers/svg-use-polyfill', ['exports', 'npm:svg4everybody', 'ember-frost-core/instance-initializers/svg-use-polyfill'], function (exports, _npmSvg4everybody, _emberFrostCoreInstanceInitializersSvgUsePolyfill) {\n  // eslint-disable-line no-unused-vars\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreInstanceInitializersSvgUsePolyfill['default'];\n    }\n  });\n  Object.defineProperty(exports, 'initialize', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreInstanceInitializersSvgUsePolyfill.initialize;\n    }\n  });\n});","define('fcs-dashboard/mirage/config', ['exports'], function (exports) {\n  exports['default'] = function () {\n    this.post('/oauth/token', function (db) {\n      return db.oauth[0];\n    });\n\n    this.post('/revoke', function (db) {\n      return db.oauth;\n    });\n\n    this.namespace = 'api/v1'; // make this `api`, for example, if your API is namespaced\n    this.timing = 400; // delay for each request, automatically set to 0 during testing\n\n    this.get('/companies', function (db) {\n      var companies = db.companies;\n      return {\n        companies: companies\n      };\n    });\n    this.get('/companies/:id', function (db, request) {\n      var company = db.companies.find(request.params.id);\n      return {\n        company: company\n      };\n    });\n\n    this.get('/userProfiles', function (db) {\n      var profiles = db.userProfiles;\n      return {\n        userProfiles: profiles,\n        meta: { total: profiles.length }\n      };\n    });\n    this.get('/userProfiles/:id', function (db, request) {\n      var userProfile = db.userProfiles.find(request.params.id);\n      return {\n        userProfile: userProfile\n      };\n    });\n\n    this.get('/userTypes', function (db) {\n      var types = db.userTypes;\n      return {\n        userTypes: types\n      };\n    });\n    this.get('/userTypes/:id', function (db, request) {\n      var userType = db.userTypes.find(request.params.id);\n      return {\n        userType: userType\n      };\n    });\n\n    this.get('/locations', function (db, request) {\n      var locations = db.locations;\n      if (request.queryParams.company) {\n        locations = locations.where({ company: request.queryParams.company });\n      }\n      return { locations: locations, meta: { total: locations.length } };\n    });\n\n    this.get('/locations/:id', function (db, request) {\n      var location = db.locations.find(request.params.id);\n      return {\n        location: location\n      };\n    });\n\n    this.put('/locations/:id', function (db, request) {\n      var id = request.params.id;\n      var attrs = JSON.parse(request.requestBody);\n      var record = db.locations.update(id, attrs);\n\n      return {\n        locations: record\n      };\n    });\n    this.post('/locations', function (db, request) {\n      var attrs = JSON.parse(request.requestBody);\n      var record = db.locations.insert(attrs);\n\n      return {\n        location: record\n      };\n    });\n\n    this.get('/locationTypes', function (db) {\n      var locationTypes = db.locationTypes;\n      return { locationTypes: locationTypes, meta: { total: locationTypes.length } };\n    });\n\n    this.get('/locationTypes/:id', function (db, request) {\n      var locationType = db.locationTypes.find(request.params.id);\n      return {\n        locationType: locationType\n      };\n    });\n\n    this.get('/users', function (db, request) {\n      var users = db.users;\n      if (request.queryParams.username) {\n        var user = users.where({ username: request.queryParams.username });\n        return {\n          user: user[0]\n        };\n      } else {\n        return {\n          users: users, meta: { total: users.length }\n        };\n      }\n    });\n\n    this.get('/users/:id', function (db, request) {\n      var user = db.users.find(request.params.id);\n      return {\n        user: user\n      };\n    });\n\n    this.put('/users/:id', function (db, request) {\n      var user = db.users.find(request.params.id);\n      return {\n        user: user\n      };\n    });\n\n    this.post('/users', function (db, request) {\n      var attrs = JSON.parse(request.requestBody).user;\n      var record = db.users.insert(attrs);\n      return {\n        user: record\n      };\n    });\n\n    this.get('/menus', function (db) {\n      var menus = db.menus;\n      return {\n        menus: menus, meta: { total: menus.length }\n      };\n    });\n    this.get('/menus/:id', function (db, request) {\n      var menu = db.menus.find(request.params.id);\n      return {\n        menu: menu\n      };\n    });\n\n    this.put('/menus/:id', function (db, request) {\n      var menu = db.menus.find(request.params.id);\n      return {\n        menu: menu\n      };\n    });\n\n    this.post('/menus', function (db, request) {\n      var attrs = JSON.parse(request.requestBody).menu;\n      var record = db.menus.insert(attrs);\n      return {\n        menu: record\n      };\n    });\n\n    this.get('/categories', function (db) {\n      var categories = db.categories;\n      return {\n        categories: categories, meta: { total: categories.length }\n      };\n    });\n    this.get('/categories/:id', function (db, request) {\n      var category = db.categories.find(request.params.id);\n      return {\n        category: category\n      };\n    });\n\n    this.get('/pages', function (db) {\n      var pages = db.pages;\n      return {\n        pages: pages, meta: { total: pages.length }\n      };\n    });\n    this.get('/pages/:id', function (db, request) {\n      var page = db.pages.find(request.params.id);\n      return {\n        page: page\n      };\n    });\n\n    this.get('/productCatalogs', function (db, request) {\n      var productCatalogs = db.productCatalogs;\n      var queryParams = request.queryParams;\n      var limit = parseInt(queryParams.limit || 10, 10);\n      var page = parseInt(queryParams.page || 1, 10);\n      var start = limit * (page - 1);\n      var end = start + limit;\n\n      var slice = productCatalogs.slice(start, end);\n      return {\n        productCatalogs: slice, meta: { total: productCatalogs.length, pages: productCatalogs.length / limit }\n      };\n    });\n    this.get('/productCatalogs/:id', function (db, request) {\n      var productCatalog = db.productCatalogs.find(request.params.id);\n      return {\n        productCatalog: productCatalog\n      };\n    });\n\n    this.post('/productCatalogs', function (db, request) {\n      var attrs = JSON.parse(request.requestBody).productCatalog;\n      var record = db.productCatalogs.insert(attrs);\n      return {\n        productCatalog: record\n      };\n    });\n\n    this.get('/products', function (db) {\n      var products = db.products;\n      return {\n        products: products, meta: { total: products.length }\n      };\n    });\n    this.get('/products/:id', function (db, request) {\n      var product = db.products.find(request.params.id);\n      return {\n        product: product\n      };\n    });\n\n    this.get('/toppings', function (db) {\n      var toppings = db.toppings;\n      return {\n        toppings: toppings, meta: { total: toppings.length }\n      };\n    });\n    this.get('/toppings/:id', function (db, request) {\n      var topping = db.toppings.find(request.params.id);\n      return {\n        topping: topping\n      };\n    });\n\n    this.post('/toppings', function (db, request) {\n      var attrs = JSON.parse(request.requestBody).topping;\n      var record = db.toppings.insert(attrs);\n      return {\n        topping: record\n      };\n    });\n\n    this.get('/productTypes', function (db) {\n      var productTypes = db.productTypes;\n      return {\n        productTypes: productTypes, meta: { total: productTypes.length }\n      };\n    });\n    this.get('/productTypes/:id', function (db, request) {\n      var productType = db.productTypes.find(request.params.id);\n      return {\n        productType: productType\n      };\n    });\n    this.post('/productTypes', function (db, request) {\n      var attrs = JSON.parse(request.requestBody).productType;\n      var record = db.productTypes.insert(attrs);\n      return {\n        productType: record\n      };\n    });\n    this.put('/productTypes/:id', function (db, request) {\n      var id = request.params.id;\n      var attrs = JSON.parse(request.requestBody);\n      var productType = db.productTypes.update(id, attrs);\n      return {\n        productType: productType\n      };\n    });\n\n    this.get('/tenderTypes', function (db) {\n      var tenderTypes = db.tenderTypes;\n      return {\n        tenderTypes: tenderTypes, meta: { total: tenderTypes.length }\n      };\n    });\n    this.get('/tenderTypes/:id', function (db, request) {\n      var tenderType = db.tenderTypes.find(request.params.id);\n      return {\n        tenderType: tenderType\n      };\n    });\n\n    this.get('/receiptTypes', function (db) {\n      var receiptTypes = db.receiptTypes;\n      return {\n        receiptTypes: receiptTypes, meta: { total: receiptTypes.length }\n      };\n    });\n\n    this.get('/receiptTypes/:id', function (db, request) {\n      var receiptType = db.receiptTypes.find(request.params.id);\n      return {\n        receiptType: receiptType\n      };\n    });\n\n    this.get('/orderSendingTypes', function (db) {\n      var orderSendingTypes = db.orderSendingTypes;\n      return {\n        orderSendingTypes: orderSendingTypes, meta: { total: orderSendingTypes.length }\n      };\n    });\n    this.get('/orderSendingTypes/:id', function (db, request) {\n      var orderSendingType = db.orderSendingTypes.find(request.params.id);\n      return {\n        orderSendingType: orderSendingType\n      };\n    });\n\n    this.get('/validationMethodTypes', function (db) {\n      var validationMethodTypes = db.validationMethodTypes;\n      return {\n        validationMethodTypes: validationMethodTypes, meta: { total: validationMethodTypes.length }\n      };\n    });\n    this.get('/validationMethodTypes/:id', function (db, request) {\n      var validationMethodType = db.validationMethodTypes.find(request.params.id);\n      return {\n        validationMethodType: validationMethodType\n      };\n    });\n\n    this.get('/tipDisplayTypes', function (db) {\n      var tipDisplayTypes = db.tipDisplayTypes;\n      return {\n        tipDisplayTypes: tipDisplayTypes, meta: { total: tipDisplayTypes.length }\n      };\n    });\n    this.get('/tipDisplayTypes/:id', function (db, request) {\n      var tipDisplayType = db.tipDisplayTypes.find(request.params.id);\n      return {\n        tipDisplayType: tipDisplayType\n      };\n    });\n\n    this.get('/taxRateTypes', function (db) {\n      var types = db.taxRateTypes;\n      return {\n        taxRateTypes: types\n      };\n    });\n    this.get('/taxRateTypes/:id', function (db, request) {\n      var taxRateType = db.taxRateTypes.find(request.params.id);\n      return {\n        taxRateType: taxRateType\n      };\n    });\n\n    this.get('/gateways', function (db) {\n      var gateways = db.gateways;\n      return {\n        gateways: gateways\n      };\n    });\n    this.get('/gateways/:id', function (db, request) {\n      var gateway = db.gateways.find(request.params.id);\n      return {\n        gateway: gateway\n      };\n    });\n\n    this.get('/gatewayEnvironments', function (db) {\n      var gatewayEnvironments = db.gatewayEnvironments;\n      return {\n        gatewayEnvironments: gatewayEnvironments\n      };\n    });\n    this.get('/gatewayEnvironments/:id', function (db, request) {\n      var gatewayEnvironment = db.gatewayEnvironments.find(request.params.id);\n      return {\n        gatewayEnvironment: gatewayEnvironment\n      };\n    });\n\n    this.get('/processors', function (db) {\n      var processors = db.processors;\n      return {\n        processors: processors\n      };\n    });\n    this.get('/processors/:id', function (db, request) {\n      var processor = db.processors.find(request.params.id);\n      return {\n        processor: processor\n      };\n    });\n\n    this.get('/processorTypes', function (db) {\n      var processorTypes = db.processorTypes;\n      return {\n        processorTypes: processorTypes\n      };\n    });\n    this.get('/processorTypes/:id', function (db, request) {\n      var processorType = db.processorTypes.find(request.params.id);\n      return {\n        processorType: processorType\n      };\n    });\n\n    this.get('/roleTypes', function (db) {\n      var roles = db.roles;\n      return {\n        roleTypes: roles\n      };\n    });\n    this.get('/roleTypes/:id', function (db, request) {\n      var role = db.roles.find(request.params.id);\n      return {\n        roleType: role\n      };\n    });\n\n    this.get('/locationGroupTypes', function (db) {\n      var locationGroupTypes = db.locationGroupTypes;\n      return {\n        locationGroupTypes: locationGroupTypes\n      };\n    });\n    this.get('/locationGroupTypes/:id', function (db, request) {\n      var locationGroupType = db.locationGroupTypes.find(request.params.id);\n      return {\n        locationGroupType: locationGroupType\n      };\n    });\n\n    this.get('/locationGroups', function (db) {\n      var locationGroups = db.locationGroups;\n      return {\n        locationGroups: locationGroups\n      };\n    });\n    this.get('/locationGroups/:id', function (db, request) {\n      var locationGroup = db.locationGroups.find(request.params.id);\n      return {\n        locationGroup: locationGroup\n      };\n    });\n\n    this.get('/searchOrders', function (db, request) {\n      var qp = request.queryParams;\n      var page = parseInt(qp.page);\n      var limit = parseInt(qp.limit);\n      var start = page * limit;\n      var end = start + limit;\n      var searchOrders = db.searchOrders;\n      var slice = searchOrders.slice(start, end);\n      return {\n        searchOrders: slice,\n        meta: { pages: searchOrders.length / limit, total: searchOrders.length }\n      };\n    });\n\n    this.get('/orders/:id', function (db, request) {\n      var order = db.orders.find(request.params.id);\n      return {\n        order: order\n      };\n    });\n\n    this.get('/orderItems/:id', function (db, request) {\n      var item = db.items.find(request.params.id);\n      return {\n        orderItem: item\n      };\n    });\n\n    this.get('/orderPayments/:id', function (db, request) {\n      var payment = db.payments.find(request.params.id);\n      return {\n        orderPayment: payment\n      };\n    });\n\n    this.get('/creditCardTypes', function (db) {\n      var creditCardTypes = db.creditCardTypes;\n      return {\n        creditCardTypes: creditCardTypes,\n        meta: { total: creditCardTypes.length }\n      };\n    });\n\n    this.get('/orderStatuses', function (db) {\n      var statuses = db.orderStatuses;\n      return {\n        orderStatuses: statuses,\n        meta: { total: statuses.length }\n      };\n    });\n\n    this.get('/salesReportByProductFilters', function (db) {\n      var salesReportByProductFilters = db.salesReportByProductFilters;\n      return {\n        salesReportByProductFilters: salesReportByProductFilters,\n        meta: { total: salesReportByProductFilters.length }\n      };\n    });\n\n    this.get('/financialOverviewReports', function (db) {\n      var financialOverviewReports = db.financialOverviewReports;\n      return {\n        financialOverviewReports: financialOverviewReports,\n        meta: { totalOrders: financialOverviewReports.length, grossSales: 12.22, totalNetSales: 100, avgOrderAmt: 12.8, totalDigitalTips: 12.8, avgTips: 0.66, creditPercentageOfGross: 0.33, rfidPercentageOfGross: 0.012 }\n      };\n    });\n\n    this.get('/financialReportFilters', function (db) {\n      var financialReportFilters = db.financialReportFilters;\n      return {\n        financialReportFilters: financialReportFilters,\n        meta: { total: financialReportFilters.length }\n      };\n    });\n\n    this.get('/simpleReportByProducts', function (db) {\n      var simpleReportByProducts = db.simpleReportByProducts;\n      return {\n        simpleReportByProducts: simpleReportByProducts\n      };\n    });\n\n    this.get('/dailySalesSummaries', function (db) {\n      var salesReport = db.dailySalesSummaries;\n      return {\n        salesReport: salesReport\n      };\n    });\n\n    this.get('/clerkReports', function (db, request) {\n      var qp = request.queryParams;\n      //todo change this to an enum\n      var filter = qp.summarizeBy.toLocaleLowerCase();\n      // let from = qp.fromDate;\n      // let to = qp.toDate;\n      // let locationGroup = qp.locationGroup;\n      var clerkReport = db.clerkReports;\n      if (filter === '1') {\n        clerkReport[0].locations = [];\n        clerkReport[0].clerksByLocations = [];\n      } else if (filter === '2') {\n        clerkReport[0].clerks = [];\n        clerkReport[0].clerksByLocations = [];\n      } else if (filter === '3') {\n        clerkReport[0].clerks = [];\n        clerkReport[0].locations = [];\n      }\n      return {\n        clerkReport: clerkReport\n      };\n    });\n\n    this.get('/dailyCloseOutFilters', function (db) {\n      var dailyCloseOutFilters = db.dailyCloseOutFilters;\n      return {\n        dailyCloseOutFilters: dailyCloseOutFilters,\n        meta: { total: dailyCloseOutFilters.length }\n      };\n    });\n  };\n});","define(\"fcs-dashboard/mirage/factories/category\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    pages: [1, 2, 3]\n  });\n});\n/**\n * Created by aenrosello on 12/15/16.\n */","define(\"fcs-dashboard/mirage/factories/company\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    password: null,\n    userProfiles: [1, 2],\n    locations: [],\n    menus: [1]\n  });\n});","define('fcs-dashboard/mirage/factories/creditCardType', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by alberto on 10/08/16.\n */","define(\"fcs-dashboard/mirage/factories/dailyCloseOutClerk\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.name.firstName,\n    grossCashSales: _emberCliMirage.faker.commerce.price,\n    grossCreditSales: _emberCliMirage.faker.commerce.price,\n    digitalTips: _emberCliMirage.faker.commerce.price,\n    coupon: _emberCliMirage.faker.commerce.price,\n    spills: _emberCliMirage.faker.commerce.price,\n    comp: _emberCliMirage.faker.commerce.price,\n    voids: _emberCliMirage.faker.commerce.price,\n    discounts: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by anavarro on 3/21/17.\n */","define(\"fcs-dashboard/mirage/factories/dailyCloseOutClerksByLocation\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.company.companyName,\n    clerks: []\n  });\n});\n/**\n * Created by anavarro on 3/21/17.\n */","define(\"fcs-dashboard/mirage/factories/dailyCloseOutFilter\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by anavarro on 3/28/17.\n */","define(\"fcs-dashboard/mirage/factories/dailyCloseOutLocation\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.company.companyName,\n    grossCashSales: _emberCliMirage.faker.commerce.price,\n    grossCreditSales: _emberCliMirage.faker.commerce.price,\n    digitalTips: _emberCliMirage.faker.commerce.price,\n    coupon: _emberCliMirage.faker.commerce.price,\n    spills: _emberCliMirage.faker.commerce.price,\n    comp: _emberCliMirage.faker.commerce.price,\n    voids: _emberCliMirage.faker.commerce.price,\n    discounts: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by anavarro on 3/21/17.\n */","define(\"fcs-dashboard/mirage/factories/dailyCloseOutProductTypes\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.commerce.product,\n    netSales: _emberCliMirage.faker.commerce.price,\n    tax: _emberCliMirage.faker.commerce.price,\n    netSalesPlusTax: _emberCliMirage.faker.commerce.price,\n    voids: _emberCliMirage.faker.commerce.price,\n    comps: _emberCliMirage.faker.commerce.price,\n    spills: _emberCliMirage.faker.commerce.price,\n    declined: _emberCliMirage.faker.commerce.price,\n    refund: _emberCliMirage.faker.commerce.price,\n    discount: _emberCliMirage.faker.commerce.price,\n    coupon: _emberCliMirage.faker.commerce.price,\n    grossSales: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by anavarro on 3/21/17.\n */","define(\"fcs-dashboard/mirage/factories/dailyCloseOutReport\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    clerks: [],\n    locations: [],\n    clerksByLocations: [],\n    productTypes: [],\n    totalGrossSales: _emberCliMirage.faker.commerce.price,\n    totalDigitalTips: _emberCliMirage.faker.commerce.price\n  });\n\n  /*{\n   clerks: [\n   {\n   name: faker.name.firstName,\n   cashNetSalesTax: faker.commerce.price,\n   creditNetSalesTax: faker.commerce.price,\n   creditTips: faker.commerce.price,\n   cashMinusCreditTips: faker.commerce.price,\n   coupon: faker.commerce.price,\n   spills: faker.commerce.price,\n   comp: faker.commerce.price,\n   voids: faker.commerce.price,\n   discounts: faker.commerce.price\n   }\n   ],\n   locations: [\n   {\n   name: faker.company.companyName,\n   cashNetSalesTax: faker.commerce.price,\n   creditNetSalesTax: faker.commerce.price,\n   creditTips: faker.commerce.price,\n   cashMinusCreditTips: faker.commerce.price,\n   coupon: faker.commerce.price,\n   spills: faker.commerce.price,\n   comp: faker.commerce.price,\n   voids: faker.commerce.price,\n   discounts: faker.commerce.price\n   }\n   ],\n   clerksByLocations: [\n   {\n   name: faker.company.companyName,\n   clerks: [{\n   name: faker.name.firstName,\n   cashNetSalesTax: faker.commerce.price,\n   creditNetSalesTax: faker.commerce.price,\n   creditTips: faker.commerce.price,\n   cashMinusCreditTips: faker.commerce.price,\n   coupon: faker.commerce.price,\n   spills: faker.commerce.price,\n   comp: faker.commerce.price,\n   voids: faker.commerce.price,\n   discounts: faker.commerce.price\n   }]\n   }\n   ],\n   productTypes: [\n   {\n   name: faker.commerce.product,\n   netSales: faker.commerce.price,\n   tax: faker.commerce.price,\n   netSalesPlusTax: faker.commerce.price,\n   voids: faker.commerce.price,\n   comps: faker.commerce.price,\n   spills: faker.commerce.price,\n   declined: faker.commerce.price,\n   refund: faker.commerce.price,\n   discount: faker.commerce.price,\n   coupon: faker.commerce.price,\n   grossSales: faker.commerce.price\n   }\n   ],\n   totalNetSalesTax: faker.commerce.price,\n   totalTips: faker.commerce.price,\n   totalCashTips: faker.commerce.price\n   }*/\n});\n/**\n * Created by anavarro on 3/21/17.\n */","define('fcs-dashboard/mirage/factories/dailySalesSummary', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    sales: _emberCliMirage.faker.commerce.price,\n    taxes: _emberCliMirage.faker.commerce.price,\n    voids: _emberCliMirage.faker.commerce.price,\n    comps: _emberCliMirage.faker.commerce.price,\n    declines: _emberCliMirage.faker.commerce.price,\n    spills: _emberCliMirage.faker.commerce.price,\n    refunds: _emberCliMirage.faker.commerce.price,\n    coupons: _emberCliMirage.faker.commerce.price,\n    discounts: _emberCliMirage.faker.commerce.price,\n    totalDeductions: _emberCliMirage.faker.commerce.price,\n    netSales: _emberCliMirage.faker.commerce.price,\n    totalSales: _emberCliMirage.faker.commerce.price,\n    nonCashSalesPayments: _emberCliMirage.faker.commerce.price,\n    nonCashTips: _emberCliMirage.faker.commerce.price,\n    netCashDeposit: _emberCliMirage.faker.commerce.price,\n    cashPayments: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by ernesto on 5/03/17.\n */","define('fcs-dashboard/mirage/factories/dailySummaryProductSales', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    paymentType: _emberCliMirage.faker.hacker.noun,\n    salesPlusTaxes: _emberCliMirage.faker.commerce.price,\n    tips: _emberCliMirage.faker.commerce.price,\n    total: _emberCliMirage.faker.commerce.price,\n    productTypeName: _emberCliMirage.faker.hacker.noun,\n    netSales: _emberCliMirage.faker.commerce.price,\n    taxes: _emberCliMirage.faker.commerce.price,\n    declines: _emberCliMirage.faker.commerce.price,\n    discounts: _emberCliMirage.faker.commerce.price,\n    voids: _emberCliMirage.faker.commerce.price,\n    comps: _emberCliMirage.faker.commerce.price,\n    spills: _emberCliMirage.faker.commerce.price,\n    grossSales: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by ernesto on 17/01/17.\n */","define('fcs-dashboard/mirage/factories/financialReport', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    date: _emberCliMirage.faker.date.past,\n    cashRevenue: _emberCliMirage.faker.commerce.price,\n    creditCardRevenue: _emberCliMirage.faker.commerce.price,\n    rfidRevenue: _emberCliMirage.faker.commerce.price,\n    grossRevenue: _emberCliMirage.faker.commerce.price,\n    tax: _emberCliMirage.faker.commerce.price,\n    voidTotal: _emberCliMirage.faker.commerce.price,\n    couponDiscountTotal: _emberCliMirage.faker.commerce.price,\n    refundTotal: _emberCliMirage.faker.commerce.price,\n    creditCardTips: _emberCliMirage.faker.commerce.price,\n    rfidTips: _emberCliMirage.faker.commerce.price,\n    cashTransactionCount: _emberCliMirage.faker.random.number(10),\n    creditTransactionCount: _emberCliMirage.faker.random.number(10),\n    rfidTransactionCount: _emberCliMirage.faker.random.number(10),\n    tabletsCount: _emberCliMirage.faker.random.number(10)\n  });\n});\n/**\n * Created by ernesto on 19/10/17.\n */","define(\"fcs-dashboard/mirage/factories/financialReportFilter\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by anavarro on 3/28/17.\n */","define('fcs-dashboard/mirage/factories/gateway', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun,\n    enabled: true,\n    processor: 1,\n    gatewayEnvironment: 1,\n    processorType: 1,\n    credentials: [{\n      id: 0,\n      name: _emberCliMirage.faker.hacker.noun,\n      displayName: _emberCliMirage.faker.hacker.noun,\n      type: 0,\n      value: ''\n    }],\n    menuLocations: [{\n      menuId: 1,\n      menuName: _emberCliMirage.faker.hacker.noun,\n      locationId: 1,\n      locationName: _emberCliMirage.faker.hacker.noun\n    }]\n  });\n});\n/**\n * Created by alberto on 08/06/16.\n */","define('fcs-dashboard/mirage/factories/item', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    status: 'Regular',\n    discountPercentage: _emberCliMirage.faker.random.number(100),\n    price: _emberCliMirage.faker.commerce.price,\n    quantity: _emberCliMirage.faker.random.number,\n    productName: _emberCliMirage.faker.hacker.noun,\n    finalPrice: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by alberto on 09/08/16.\n */","define(\"fcs-dashboard/mirage/factories/location\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    company: null,\n    locationType: 1\n  });\n});","define('fcs-dashboard/mirage/factories/menu', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun,\n    tipEnabled: false,\n    tipDisplayType: 0,\n    tabEnabled: true,\n    serviceFeeEnabled: false,\n    serviceFeeTaxRate: _emberCliMirage.faker.random.number(100),\n    employeeDiscountPercentage: _emberCliMirage.faker.random.number(100),\n    taxInclusive: true,\n    customProductEnabled: true,\n    menuTaxRate: _emberCliMirage.faker.random.number(100),\n    adminCode: _emberCliMirage.faker.hacker.noun,\n    cashlessAdminCode: _emberCliMirage.faker.random.number,\n    voidAdminCode: _emberCliMirage.faker.random.number,\n    company: 1,\n    version: 1,\n    currency: _emberCliMirage.faker.finance.currencyCode(),\n    receipt: {\n      enabled: true,\n      address1: _emberCliMirage.faker.address.streetAddress(\"###\"),\n      address2: _emberCliMirage.faker.address.secondaryAddress(),\n      footer: _emberCliMirage.faker.lorem.sentence(),\n      header: _emberCliMirage.faker.lorem.sentence(),\n      logo: null,\n      defaultReceiptType: 0,\n      printableTenders: [0, 1, 2],\n      merchantCopies: 1,\n      customerCopies: 1,\n      barPrinterCopies: 1,\n      kitchenPrinterCopies: 1,\n      kitchenPrinterAvailable: true\n    },\n    menuLocations: [{\n      location: 1,\n      cash: {\n        enabled: true,\n        fastCashEnabled: true\n      },\n      manualCredit: {\n        enabled: true,\n        signatureEnabled: true\n      },\n      swipeCredit: {\n        enabled: true,\n        signatureEnabled: true\n      },\n      chipCredit: {\n        enabled: true,\n        validationMethod: 1\n      },\n      cashless: {\n        enabled: true,\n        signatureEnabled: true\n      }\n    }, {\n      location: 2,\n      cash: {\n        enabled: false,\n        fastCashEnabled: true\n      },\n      manualCredit: {\n        enabled: true,\n        signatureEnabled: true\n      },\n      swipeCredit: {\n        enabled: true,\n        signatureEnabled: true\n      },\n      chipCredit: {\n        enabled: false,\n        validationMethod: 1\n      },\n      cashless: {\n        enabled: true,\n        signatureEnabled: false\n      }\n    }, {\n      location: 3,\n      cash: {\n        enabled: true,\n        fastCashEnabled: true\n      },\n      manualCredit: {\n        enabled: true,\n        signatureEnabled: true\n      },\n      swipeCredit: {\n        enabled: true,\n        signatureEnabled: true\n      },\n      chipCredit: {\n        enabled: true,\n        validationMethod: 0\n      },\n      cashless: {\n        enabled: true,\n        signatureEnabled: true\n      }\n    }],\n    openCashDrawerTenders: [0, 1, 2],\n    transactionSendingType: 1,\n    categories: [1, 2, 3],\n    updatedAt: '2016-05-05T20:15:30.434+0000',\n    menuProductTypes: [{ productType: 1, taxRate: _emberCliMirage.faker.random.number(100) }, { productType: 2, taxRate: _emberCliMirage.faker.random.number(100) }, { productType: 3, taxRate: _emberCliMirage.faker.random.number(100) }]\n  });\n});\n/**\n * Created by alberto on 01/02/16.\n */","define('fcs-dashboard/mirage/factories/nonCashPaymentReport', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    paymentType: _emberCliMirage.faker.hacker.noun,\n    salesPlusTaxes: _emberCliMirage.faker.commerce.price,\n    tips: _emberCliMirage.faker.commerce.price,\n    total: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by ernesto on 17/01/17.\n */","define('fcs-dashboard/mirage/factories/orderStatus', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by alberto on 10/08/16.\n */","define('fcs-dashboard/mirage/factories/orders', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    grandTotal: _emberCliMirage.faker.commerce.price,\n    serviceFeeRate: _emberCliMirage.faker.random.number(100),\n    serviceFee: _emberCliMirage.faker.commerce.price,\n    subtotal: _emberCliMirage.faker.commerce.price,\n    taxesTotal: _emberCliMirage.faker.commerce.price,\n    tip: _emberCliMirage.faker.commerce.price,\n    user: _emberCliMirage.faker.random.number,\n    customer: _emberCliMirage.faker.name.lastName,\n    sendType: 'Auto',\n    locationGroup: _emberCliMirage.faker.company.companyName,\n    company: _emberCliMirage.faker.company.companyName,\n    location: _emberCliMirage.faker.company.companyName,\n    menu: _emberCliMirage.faker.company.companyName,\n    occurrenceDate: _emberCliMirage.faker.date.past,\n    items: [],\n    payment: null\n  });\n});\n/**\n * Created by alberto on 09/08/16.\n */","define(\"fcs-dashboard/mirage/factories/page\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    products: [1, 2, 3]\n  });\n});\n/**\n * Created by aenrosello on 12/15/16.\n */","define('fcs-dashboard/mirage/factories/payment', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    tenderType: 'Manual Credit Card',\n    paymentType: 'Charge',\n    amount: _emberCliMirage.faker.commerce.price,\n    authCode: _emberCliMirage.faker.random.number,\n    paymentDate: _emberCliMirage.faker.date.past,\n    uid: _emberCliMirage.faker.random.number,\n    creditCardType: 'Visa',\n    lastFour: _emberCliMirage.faker.finance.mask(4, false, false),\n    entryMethod: 'Manual',\n    status: 'Approved'\n  });\n});\n/**\n * Created by alberto on 09/08/16.\n */","define(\"fcs-dashboard/mirage/factories/paymentResultReportFilter\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});","define('fcs-dashboard/mirage/factories/product', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun,\n    version: 1,\n    productCatalog: 1,\n    toppings: [],\n    price: _emberCliMirage.faker.commerce.price,\n    taxRate: _emberCliMirage.faker.random.number(100),\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  });\n});\n/**\n * Created by alberto on 03/02/16.\n */","define('fcs-dashboard/mirage/factories/productCatalog', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.commerce.productName,\n    suggestedPrice: _emberCliMirage.faker.commerce.price,\n    version: 1,\n    description: _emberCliMirage.faker.commerce.productAdjective,\n    custom: false,\n    currency: 'USD',\n    company: _emberCliMirage.faker.random.arrayElement([1, 2, 3])\n  });\n});\n/**\n * Created by aenrosello on 12/1/16.\n */","define('fcs-dashboard/mirage/factories/productType', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by alberto on 09/08/16.\n */","define('fcs-dashboard/mirage/factories/reportOptions', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    selectedMenu: _emberCliMirage.faker.hacker.noun,\n    summarizeBy: _emberCliMirage.faker.hacker.noun,\n    selectedLocationGroup: _emberCliMirage.faker.hacker.noun,\n    isTimestampOccurrence: false,\n    isCsvOutput: false,\n    isEmailDelivery: false,\n    fromDate: _emberCliMirage.faker.date.past,\n    toDate: _emberCliMirage.faker.date.past\n  });\n});\n/**\n * Created by ernesto on 17/01/17.\n */","define('fcs-dashboard/mirage/factories/salesReportByProductFilter', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by ernesto on 01/02/17.\n */","define('fcs-dashboard/mirage/factories/searchOrders', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    tabletGeneratedId: _emberCliMirage.faker.random.uuid,\n    amount: _emberCliMirage.faker.commerce.price,\n    status: 'Approved',\n    authCode: _emberCliMirage.faker.random.number,\n    date: _emberCliMirage.faker.date.past\n  });\n});\n/**\n * Created by alberto on 08/08/16.\n */","define('fcs-dashboard/mirage/factories/simpleReportByProduct', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    product: _emberCliMirage.faker.hacker.noun,\n    productType: _emberCliMirage.faker.hacker.noun,\n    sales: _emberCliMirage.faker.commerce.price,\n    percentageTotal: _emberCliMirage.faker.commerce.price,\n    itemsSold: _emberCliMirage.faker.commerce.number,\n    avgPrice: _emberCliMirage.faker.commerce.price\n  });\n});\n/**\n * Created by ernesto on 17/01/17.\n */","define(\"fcs-dashboard/mirage/factories/taxRateType\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = _emberCliMirage[\"default\"].Factory.extend({\n    name: _emberCliMirage.faker.hacker.noun\n  });\n});\n/**\n * Created by aenrosello on 2/9/17.\n */","define('fcs-dashboard/mirage/factories/user', ['exports', 'ember-cli-mirage'], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports['default'] = _emberCliMirage['default'].Factory.extend({\n    name: _emberCliMirage.faker.name.firstName(),\n    lastName: _emberCliMirage.faker.name.lastName(),\n    email: _emberCliMirage.faker.internet.email(),\n    username: _emberCliMirage.faker.internet.userName(),\n    password: _emberCliMirage.faker.internet.password(8),\n    state: \"active\",\n    updatedAt: _emberCliMirage.faker.date.recent(),\n    userType: 7,\n    company: 1,\n    userProfile: 1\n  });\n});\n/**\n * Created by alberto on 16/09/16.\n */","define(\"fcs-dashboard/mirage/fixtures/categories\", [\"exports\", \"ember-cli-mirage\"], function (exports, _emberCliMirage) {\n  _emberCliMirage.faker.locale = 'en_US';\n\n  exports[\"default\"] = [{\n    id: 1,\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    pages: [1, 2, 3]\n  }, {\n    id: 2,\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    pages: [4, 5, 6]\n  }, {\n    id: 3,\n    name: _emberCliMirage.faker.lorem.sentence(1, 4),\n    pages: [7]\n  }];\n});\n/**\n * Created by alberto on 03/02/16.\n */","define(\"fcs-dashboard/mirage/fixtures/companies\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 11/12/15.\n   */\n  exports[\"default\"] = [{\n    id: 1,\n    name: \"new company\",\n    password: null,\n    userProfiles: [1, 2],\n    locations: [1, 2, 3],\n    menus: [1]\n  }, {\n    id: 2,\n    name: \"new company 2\",\n    password: null,\n    userProfiles: [3],\n    locations: [4, 5, 6]\n  }, {\n    id: 3,\n    name: \"company_test\",\n    password: null,\n    userProfiles: [3, 2, 1],\n    locations: [7, 8, 9]\n  }];\n});","define('fcs-dashboard/mirage/fixtures/gatewayEnvironments', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 08/06/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'Live environment'\n  }, {\n    id: 1,\n    name: 'Sandbox environment'\n  }];\n});","define('fcs-dashboard/mirage/fixtures/gateways', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 08/06/16.\n   */\n  exports['default'] = [{\n    id: 1,\n    name: 'gateway 1',\n    enabled: true,\n    processor: 1,\n    gatewayEnvironment: 1,\n    processorType: 1,\n    credentials: [{\n      id: 0,\n      name: 'credential 1',\n      displayName: 'credential 1',\n      type: 0,\n      value: ''\n    }],\n    menuLocations: [{\n      menuId: 1,\n      menuName: 'test',\n      locationId: 1,\n      locationName: 'location'\n    }]\n  }, {\n    id: 2,\n    name: 'gateway 2',\n    enabled: true,\n    processorType: 1,\n    processor: 2,\n    gatewayEnvironment: 1,\n    credentials: [{\n      id: 0,\n      name: 'credential 1',\n      displayName: 'credential 1',\n      type: 0,\n      value: ''\n    }],\n    menuLocations: [{\n      menuId: 1,\n      menuName: 'test',\n      locationId: 1,\n      locationName: 'location'\n    }]\n  }, {\n    id: 3,\n    name: 'gateway 3',\n    enabled: true,\n    processorType: 0,\n    processor: 1,\n    gatewayEnvironment: 1,\n    credentials: [{\n      id: 0,\n      name: 'credential 1',\n      displayName: 'credential 1',\n      type: 0,\n      value: ''\n    }],\n    menuLocations: [{\n      menuId: 1,\n      menuName: 'test',\n      locationId: 1,\n      locationName: 'location'\n    }]\n  }, {\n    id: 4,\n    name: 'cashless gateway 4',\n    enabled: true,\n    processorType: 1,\n    processor: 7,\n    gatewayEnvironment: 1,\n    credentials: [{\n      credentialId: 16,\n      name: 'Gateway',\n      displayName: 'gateways.details.credentials.fcs.gateway',\n      type: 0,\n      value: ''\n    }]\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/locationGroupTypes\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 16/06/16.\n   */\n  exports[\"default\"] = [{ id: 1, name: \"type 1\" }, { id: 2, name: \"type 2\" }, { id: 3, name: \"type 3\" }, { id: 4, name: \"type 4\" }, { id: 5, name: \"type 5\" }, { id: 6, name: \"type 6\" }, { id: 7, name: \"type 7\" }, { id: 8, name: \"type 8\" }];\n});","define(\"fcs-dashboard/mirage/fixtures/locationGroups\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 16/06/16.\n   */\n  exports[\"default\"] = [{\n    \"id\": 1,\n    \"name\": \"Location Group 1\",\n    \"address\": \"Austin, Texas\",\n    \"locationGroupType\": 1,\n    \"logo\": '',\n    \"isCashless\": false,\n    \"isActive\": true,\n    \"cashlessGateway\": 4,\n    \"startDate\": \"2016-06-08T00:00:00.000+0000\",\n    \"endDate\": \"2016-06-08T00:00:00.000+0000\",\n    \"timezone\": \"America/Costa_Rica\",\n    \"companiesRoles\": [{ \"roleId\": 1, \"companyId\": 1, \"locations\": [1] }]\n  }, {\n    \"id\": 2,\n    \"name\": \"Location Group 2\",\n    \"address\": \"Austin, Texas\",\n    \"locationGroupType\": 2,\n    \"logo\": '',\n    \"isCashless\": true,\n    \"isActive\": true,\n    \"cashlessGateway\": 4,\n    \"startDate\": \"2016-06-08T00:00:00.000+0000\",\n    \"endDate\": \"2016-06-08T00:00:00.000+0000\",\n    \"timezone\": \"America/Costa_Rica\",\n    \"companiesRoles\": [{ \"roleId\": 1, \"companyId\": 1, \"locations\": [2] }]\n  }, {\n    \"id\": 3,\n    \"name\": \"Location Group 3\",\n    \"address\": \"Austin, Texas\",\n    \"locationGroupType\": 3,\n    \"logo\": '',\n    \"isCashless\": true,\n    \"isActive\": false,\n    \"cashlessGateway\": 4,\n    \"startDate\": \"2016-06-08T00:00:00.000+0000\",\n    \"endDate\": \"2016-06-08T00:00:00.000+0000\",\n    \"timezone\": \"America/Costa_Rica\",\n    \"companiesRoles\": [{ \"roleId\": 1, \"companyId\": 1, \"locations\": [3] }]\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/locationTypes\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 05/05/16.\n   */\n  exports[\"default\"] = [{ id: 1, name: \"Bar\" }, { id: 2, name: \"Vip bar\" }, { id: 3, name: \"Specialty booth\" }, { id: 4, name: \"Booth\" }, { id: 5, name: \"Tent\" }, { id: 6, name: \"Food booth\" }, { id: 7, name: \"Food truck\" }, { id: 8, name: \"Merchandise booth\" }];\n});","define(\"fcs-dashboard/mirage/fixtures/locations\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 11/12/15.\n   */\n  exports[\"default\"] = [{ id: 1, name: \"location 1\", company: 1, locationType: 1 }, { id: 2, name: \"location 2\", company: 1, locationType: 2 }, { id: 3, name: \"location 3\", company: 1, locationType: 3 }, { id: 4, name: \"location 4\", company: 2, locationType: 4 }, { id: 5, name: \"location 5\", company: 2, locationType: 5 }, { id: 6, name: \"location 6\", company: 2, locationType: 6 }, { id: 7, name: \"location 7\", company: 3, locationType: 7 }, { id: 8, name: \"location 8\", company: 3, locationType: 8 }, { id: 9, name: \"location 9\", company: 3, locationType: 1 }];\n});","define(\"fcs-dashboard/mirage/fixtures/menus\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 01/02/16.\n   */\n  exports[\"default\"] = [{\n    \"id\": 1,\n    \"name\": \"Slices Truck\",\n    \"tipEnabled\": false,\n    \"tipDisplayType\": 0,\n    \"tabEnabled\": true,\n    \"serviceFeeEnabled\": false,\n    \"serviceFeeTaxRate\": 0,\n    \"employeeDiscountPercentage\": 25.00,\n    \"taxInclusive\": true,\n    \"customProductEnabled\": true,\n    \"menuTaxRate\": 10.00,\n    \"adminCode\": \"12345\",\n    \"multiplePagesEnabled\": true,\n    \"cashlessAdminCode\": \"12345\",\n    \"voidAdminCode\": \"12345\",\n    \"company\": 1,\n    \"version\": 1,\n    \"currency\": \"USD\",\n    \"receipt\": {\n      \"enabled\": true,\n      \"address1\": \"2015 E Riverside Dr\",\n      \"address2\": \"Austin, TX 78741\",\n      \"footer\": \"All prices include taxRate\",\n      \"header\": \"Thank You Please Come Again\",\n      \"logo\": \"emos.png\",\n      \"defaultReceiptType\": 0,\n      \"printableTenders\": [0, 1, 2],\n      \"merchantCopies\": 1,\n      \"customerCopies\": 1,\n      \"barPrinterCopies\": 1,\n      \"kitchenPrinterCopies\": 1,\n      \"kitchenPrinterAvailable\": true\n    },\n    \"menuLocations\": [{\n      \"location\": 1,\n      \"cash\": {\n        \"enabled\": true,\n        \"fastCashEnabled\": true\n      },\n      \"manualCredit\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      },\n      \"swipeCredit\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      },\n      \"chipCredit\": {\n        \"enabled\": true,\n        \"validationMethod\": 1\n      },\n      \"cashless\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      }\n    }, {\n      \"location\": 2,\n      \"cash\": {\n        \"enabled\": false,\n        \"fastCashEnabled\": true\n      },\n      \"manualCredit\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      },\n      \"swipeCredit\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      },\n      \"chipCredit\": {\n        \"enabled\": false,\n        \"validationMethod\": 1\n      },\n      \"cashless\": {\n        \"enabled\": true,\n        \"signatureEnabled\": false\n      }\n    }, {\n      \"location\": 3,\n      \"cash\": {\n        \"enabled\": true,\n        \"fastCashEnabled\": true\n      },\n      \"manualCredit\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      },\n      \"swipeCredit\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      },\n      \"chipCredit\": {\n        \"enabled\": true,\n        \"validationMethod\": 0\n      },\n      \"cashless\": {\n        \"enabled\": true,\n        \"signatureEnabled\": true\n      }\n    }],\n    \"openCashDrawerTenders\": [0, 1, 2],\n    \"transactionSendingType\": 1,\n    \"categories\": [1, 2, 3],\n    \"updatedAt\": '2016-05-05T20:15:30.434+0000',\n    \"menuProductTypes\": [{ 'productType': 1, 'taxRate': 2 }, { 'productType': 2, 'taxRate': 2 }, {\n      'productType': 3,\n      'taxRate': 2\n    }]\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/oauth\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 01/02/16.\n   */\n  exports[\"default\"] = {\n    \"access_token\": \"cb44e128-fe08-445f-9a3c-a0919fe3cc94\",\n    \"token_type\": \"bearer\",\n    \"refresh_token\": \"fc4fb7bf-cd90-462f-b372-aac11131c656\",\n    \"expires_in\": 19567,\n    \"username\": \"test\",\n    \"scope\": \"read write\"\n  };\n});","define('fcs-dashboard/mirage/fixtures/orderSendingTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports['default'] = [{\n    id: 1,\n    name: 'AUTO'\n  }, {\n    id: 2,\n    name: 'BATCH'\n  }, {\n    id: 0,\n    name: 'REAL'\n  }];\n});","define('fcs-dashboard/mirage/fixtures/pages', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports['default'] = [{\n    id: 1,\n    name: 'Page 1',\n    products: [1, 2, 3]\n  }, {\n    id: 2,\n    name: 'Page 2',\n    products: [4, 5]\n  }, {\n    id: 3,\n    name: 'Page 3',\n    products: [6, 7]\n  }, {\n    id: 4,\n    name: 'Page 4',\n    products: [8, 9]\n  }, {\n    id: 5,\n    name: 'Page 5',\n    products: [10]\n  }, {\n    id: 6,\n    name: 'Page 6',\n    products: [1]\n  }, {\n    id: 7,\n    name: 'Page 7',\n    products: [2, 11]\n  }, {\n    id: 8,\n    name: 'Page 8',\n    products: [12, 13]\n  }];\n});","define('fcs-dashboard/mirage/fixtures/processorTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 08/06/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'Cc processor'\n  }, {\n    id: 1,\n    name: 'Rfid processor'\n  }];\n});","define('fcs-dashboard/mirage/fixtures/processors', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 08/06/16.\n   */\n  exports['default'] = [{\n    id: 1,\n    name: 'Auth.net',\n    processorType: 0,\n    credentials: [{\n      credentialId: 1,\n      name: 'loginID',\n      displayName: 'gateways.details.credentials.authNet.loginID',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 2,\n      name: 'TransactionKey',\n      displayName: 'gateways.details.credentials.authNet.transactionKey',\n      type: 1,\n      value: ''\n    }]\n  }, {\n    id: 2,\n    name: 'MasterCard',\n    processorType: 0,\n    credentials: [{\n      credentialId: 3,\n      name: 'Public Key',\n      displayName: 'gateways.details.credentials.mastercard.publicKey',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 4,\n      name: 'Private Key',\n      displayName: 'gateways.details.credentials.mastercard.privateKey',\n      type: 1,\n      value: ''\n    }]\n  }, {\n    id: 3,\n    name: 'PPS',\n    processorType: 0,\n    credentials: [{\n      credentialId: 5,\n      name: 'User',\n      displayName: 'gateways.details.credentials.pps.user',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 6,\n      name: 'Password',\n      displayName: 'gateways.details.credentials.pps.password',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 7,\n      name: 'Merchant ID',\n      displayName: 'gateways.details.credentials.pps.merchantId',\n      type: 1,\n      value: ''\n    }]\n  }, {\n    id: 4,\n    name: 'BrainTree',\n    processorType: 0,\n    credentials: [{\n      credentialId: 8,\n      name: 'Merchant ID',\n      displayName: 'gateways.details.credentials.brainTree.merchantId',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 9,\n      name: 'Sub-Merchant ID',\n      displayName: 'gateways.details.credentials.brainTree.subMerchantId',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 10,\n      name: 'Public Key',\n      displayName: 'gateways.details.credentials.brainTree.publicKey',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 11,\n      name: 'Private Key',\n      displayName: 'gateways.details.credentials.brainTree.privateKey',\n      type: 1,\n      value: ''\n    }]\n  }, {\n    id: 5,\n    name: 'FGT',\n    processorType: 1,\n    credentials: [{\n      credentialId: 12,\n      name: 'API Key',\n      displayName: 'gateways.details.credentials.fgt.apiKey',\n      type: 1,\n      value: ''\n    }]\n  }, {\n    id: 6,\n    name: 'EventBright',\n    processorType: 1,\n    credentials: [{\n      credentialId: 13,\n      name: 'Event Key',\n      displayName: 'gateways.details.credentials.eventBright.eventKey',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 14,\n      name: 'Token',\n      displayName: 'gateways.details.credentials.eventBright.token',\n      type: 1,\n      value: ''\n    }, {\n      credentialId: 15,\n      name: 'Gateway',\n      displayName: 'gateways.details.credentials.eventBright.gateway',\n      type: 0,\n      value: ''\n    }]\n  }, {\n    id: 7,\n    name: 'FCS',\n    processorType: 1,\n    credentials: [{\n      credentialId: 16,\n      name: 'Gateway',\n      displayName: 'gateways.details.credentials.fcs.gateway',\n      type: 0,\n      value: ''\n    }]\n  }];\n});","define('fcs-dashboard/mirage/fixtures/productTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports['default'] = [{\n    id: 1,\n    name: 'product type 1'\n  }, {\n    id: 2,\n    name: 'product type 2'\n  }, {\n    id: 3,\n    name: 'product type 3'\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/products\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports[\"default\"] = [{\n    id: 1,\n    version: 1,\n    productCatalog: 1,\n    position: 1,\n    toppings: [],\n    price: 75,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 2,\n    version: 1,\n    productCatalog: 2,\n    position: 2,\n    toppings: [],\n    price: 33,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n\n  }, {\n    id: 3,\n    version: 1,\n    position: 3,\n    productCatalog: 3,\n    toppings: [],\n    price: 15,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 4,\n    version: 1,\n    productCatalog: 1,\n    position: 1,\n    toppings: [],\n    price: 30,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 5,\n    version: 1,\n    productCatalog: 2,\n    toppings: [],\n    position: 2,\n    price: 10,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 6,\n    version: 1,\n    productCatalog: 3,\n    position: 1,\n    toppings: [],\n    price: 22,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 7,\n    version: 1,\n    productCatalog: 1,\n    toppings: [],\n    price: 12,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 8,\n    version: 1,\n    productCatalog: 2,\n    toppings: [],\n    price: 4,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 9,\n    version: 1,\n    productCatalog: 3,\n    toppings: [],\n    price: 21,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 10,\n    version: 1,\n    productCatalog: 1,\n    toppings: [],\n    price: 13,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 11,\n    version: 1,\n    productCatalog: 2,\n    toppings: [],\n    price: 11,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 12,\n    version: 1,\n    productCatalog: 3,\n    toppings: [],\n    price: 12,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }, {\n    id: 13,\n    version: 1,\n    productCatalog: 2,\n    toppings: [],\n    price: 6,\n    taxRate: 5,\n    allowModifications: false,\n    productType: 1,\n    taxRateType: 0\n  }];\n});","define('fcs-dashboard/mirage/fixtures/receiptTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'No Receipt'\n  }, {\n    id: 1,\n    name: 'Email'\n  }, {\n    id: 2,\n    name: 'Print'\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/roles\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 16/06/16.\n   */\n  exports[\"default\"] = [{ id: 1, name: \"role 1\" }, { id: 2, name: \"role 2\" }, { id: 3, name: \"role 3\" }, { id: 4, name: \"role 4\" }, { id: 5, name: \"role 5\" }, { id: 6, name: \"role 6\" }, { id: 7, name: \"role 7\" }, { id: 8, name: \"role 8\" }];\n});","define('fcs-dashboard/mirage/fixtures/taxRateTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 24/05/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'Menu tax rate'\n  }, {\n    id: 1,\n    name: 'Product type tax rate'\n  }, {\n    id: 2,\n    name: 'Product tax rate'\n  }];\n});","define('fcs-dashboard/mirage/fixtures/tenderTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'Cash'\n  }, {\n    id: 1,\n    name: 'Fast cash'\n  }, {\n    id: 2,\n    name: 'Manual Credit Card'\n  }, {\n    id: 3,\n    name: 'Swiped Credit Card'\n  }, {\n    id: 4,\n    name: 'Chipped Credit Card'\n  }, {\n    id: 5,\n    name: 'Cashless'\n  }];\n});","define('fcs-dashboard/mirage/fixtures/tipDisplayTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 01/04/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'Buttons'\n  }, {\n    id: 1,\n    name: 'Entry field'\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/toppings\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 11/04/16.\n   */\n  exports[\"default\"] = [{\n    id: 1,\n    version: 1,\n    name: \"bacon strip\",\n    price: 2\n  }, {\n    id: 2,\n    version: 1,\n    name: \"mushrooms\",\n    price: 2\n  }, {\n    id: 3,\n    version: 1,\n    name: \"grilled onions\",\n    price: 2\n  }, {\n    id: 4,\n    version: 1,\n    name: \"BBQ sauce\",\n    price: 2\n  }];\n});","define(\"fcs-dashboard/mirage/fixtures/userProfiles\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 11/12/15.\n   */\n  exports[\"default\"] = [{ \"id\": 1, \"name\": \"Bar Manager\", \"type\": 1, \"used\": true }, { \"id\": 2, \"name\": \"clerk\", \"type\": 1, \"used\": true }, { \"id\": 3, \"name\": \"Bar Tech\", \"type\": 1, \"used\": true }];\n});","define(\"fcs-dashboard/mirage/fixtures/userTypes\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 11/12/15.\n   */\n  exports[\"default\"] = [{ \"id\": 7, \"type\": \"br_user\", \"authority\": \"br_user\" }, { \"id\": 8, \"type\": \"company_user\", \"authority\": \"company_user\" }];\n});","define(\"fcs-dashboard/mirage/fixtures/users\", [\"exports\"], function (exports) {\n  /**\n   * Created by alberto on 11/12/15.\n   */\n  exports[\"default\"] = [{\n    \"id\": 1,\n    \"name\": \"test manager\",\n    \"lastName\": \"test\",\n    \"email\": \"test2@test\",\n    \"username\": \"test2\",\n    \"password\": \"1234\",\n    \"state\": \"active\",\n    \"updatedAt\": '4/7/2016',\n    \"userType\": 8,\n    \"company\": 1,\n    \"userProfile\": 1\n  }, {\n    \"id\": 2,\n    \"name\": \"Test clerk\",\n    \"lastName\": \"test\",\n    \"email\": \"test@test\",\n    \"username\": \"test3\",\n    \"password\": '1234',\n    \"state\": \"active\",\n    \"updatedAt\": '4/7/2016',\n    \"userType\": 8,\n    \"company\": 1,\n    \"userProfile\": 2\n  }, {\n    \"id\": 3,\n    \"name\": \"Test BR\",\n    \"lastName\": \"Test\",\n    \"email\": \"test@test\",\n    \"username\": \"test\",\n    \"password\": '1234',\n    \"state\": \"active\",\n    \"updatedAt\": '4/7/2016',\n    \"userType\": 7,\n    \"company\": null,\n    \"userProfile\": null\n  }];\n});","define('fcs-dashboard/mirage/fixtures/validationMethodTypes', ['exports'], function (exports) {\n  /**\n   * Created by alberto on 03/02/16.\n   */\n  exports['default'] = [{\n    id: 0,\n    name: 'PIN'\n  }, {\n    id: 1,\n    name: 'Signature'\n  }];\n});","define('fcs-dashboard/mirage/scenarios/default', ['exports'], function (exports) {\n  exports['default'] = function (server) {\n    server.loadFixtures();\n    // Seed your development database using your factories. This\n    // data will not be loaded in your tests.\n\n    // server.createList('contact', 10);\n    server.createList('taxRateType', 4);\n    server.createList('searchOrders', 1000);\n    server.createList('creditCardType', 6);\n    server.createList('orderStatus', 10);\n    for (var i = 0; i < 100; i++) {\n      var items = server.createList('item', 10);\n      var itemIds = items.map(function (obj) {\n        return obj.id;\n      });\n      var payment = server.create('payment');\n      server.create('orders', { items: itemIds, payment: payment.id });\n    }\n\n    var nonCashPaymentReport = server.createList('nonCashPaymentReport', 10);\n    var dailySummaryProductSales = server.createList('dailySummaryProductSales', 10);\n\n    server.createList('financialReportFilter', 3);\n    server.createList('financialOverviewReport', 100);\n\n    server.createList('salesReportByProductFilter', 5);\n    server.createList('simpleReportByProduct', 100);\n\n    //Report Daily Close Out\n    server.createList('dailyCloseOutFilter', 3);\n    var reportClerkByLocation = server.createList('dailyCloseOutClerksByLocation', 10, { clerks: server.createList('dailyCloseOutClerk', 10) });\n    var reportLocations = server.createList('dailyCloseOutLocation', 10);\n    var reportProductTypes = server.createList('dailyCloseOutProductTypes', 10);\n    var clerks = server.createList('dailyCloseOutClerk', 10);\n    server.create('clerkReport', { clerks: clerks, productTypes: reportProductTypes, locations: reportLocations, clerksByLocations: reportClerkByLocation });\n\n    server.create('salesReport', {\n      nonCashPaymentReport: nonCashPaymentReport,\n      dailySummaryProductSales: dailySummaryProductSales\n    });\n\n    server.createList('productCatalog', 100);\n  };\n});","define('fcs-dashboard/mixins/base-component', ['exports', 'ember', 'fcs-dashboard/mixins/common-mixin'], function (exports, _ember, _fcsDashboardMixinsCommonMixin) {\n  var Mixin = _ember['default'].Mixin;\n  var inject = _ember['default'].inject;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create(_fcsDashboardMixinsCommonMixin['default'], {\n    validReportingRoutes: ['salesReport', 'clerkReport', 'financialOverviewReport', 'productMixReport', 'multiProductPmixReport', 'dailyCloseOutReport', 'simpleReportByProduct', 'sponsorLoadedFundUsageReport', 'itemTokenUsageReport', 'paymentResultReport', 'searchOrder.index', 'contact', 'user.edit-account', 'searchOrder'],\n    store: inject.service(),\n    accountSession: inject.service('account-session'),\n    isReportingUser: false,\n    isBRUser: computed('accountSession.account.userType', function () {\n      if (this.get('accountSession.account.userProfileId') !== null && this.get('accountSession.account.userProfileId') === \"3\") {\n        this.set('isReportingUser', true);\n      }\n      return Number(this.get('accountSession.account.userType.id')) === this.get('BR_USERTYPE');\n    }),\n    /**\n     * The signed-in account is a company user.\n     *\n     * Not to be confused with the isCompanyUser on user-mng/details, which reads the user being\n     * edited. This one is about who is holding the browser.\n     */\n    isCompanyAccount: computed('accountSession.account.userType', function () {\n      return Number(this.get('accountSession.account.userType.id')) === this.get('COMPANY_USERTYPE');\n    }),\n    /**\n     * Who may close a vendor window remotely (BRP-4105).\n     *\n     * Deliberately its own predicate rather than a widening of showCompanyManagementMenuOption,\n     * which is aliased to isBRUser and gates Companies, Locations, Gateways, POS Token and Saved\n     * Networks as one block. Widening that to admit company admins would hand them all five.\n     */\n    showKdsStationControl: computed.or('isBRUser', 'isCompanyAccount'),\n    loggedAccount: computed.alias('accountSession.account'),\n    lockedCompany: computed.alias('loggedAccount.lockedCompany'),\n    versionSession: inject.service(),\n    dbVersion: computed('versionSession.version', function () {\n      return this.get('versionSession.version');\n    }),\n    _isValidTransition: function _isValidTransition(routeName) {\n      var valid = false;\n      if (this.get('accountSession.account.userProfileId') === \"3\") {\n        this.get('validReportingRoutes').forEach(function (validRouteName) {\n          if (routeName === validRouteName) {\n            valid = true;\n          }\n        });\n      } else {\n        valid = true;\n      }\n      return valid;\n    }\n  });\n});","define('fcs-dashboard/mixins/common-mixin', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Mixin.create({\n    BR_USERTYPE: 7,\n    COMPANY_USERTYPE: 8,\n    CASHLESS_USERTYPE: 9,\n    MENU_TAX_RATE: '0',\n    PRODUCT_TYPE_TAX_RATE: '1',\n    PRODUCT_TAX_RATE: '2',\n    notify: _ember['default'].inject.service(),\n    intl: _ember['default'].inject.service(),\n    errorMessages: [],\n    actions: {\n      cleanMessages: function cleanMessages() {\n        this.get('errorMessages').forEach(function (item) {\n          item.set('visible', false);\n        });\n      },\n      displayErrorMessages: function displayErrorMessages(messages) {\n        var _this = this;\n\n        messages.forEach(function (error) {\n          var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n        });\n      }\n    }\n  });\n});","define('fcs-dashboard/mixins/company-mixin', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create({\n    statuses: computed(function () {\n      return [this.get('intl').t('company.statuses.active'), this.get('intl').t('company.statuses.inactive')];\n    })\n  });\n});","define('fcs-dashboard/mixins/gateway-mixin', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create({\n    statuses: computed(function () {\n      return [this.get('intl').t('gateways.list.status.enabled'), this.get('intl').t('gateways.list.status.disabled')];\n    })\n  });\n});","define('fcs-dashboard/mixins/location-group-mixin', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create({\n    cashlessAvailable: computed(function () {\n      return [this.get('intl').t('locationGroups.list.cashless.yes'), this.get('intl').t('locationGroups.list.cashless.no')];\n    })\n  });\n});","define('fcs-dashboard/mixins/menu-mixin', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create({\n    usableStatuses: computed(function () {\n      return [this.get('intl').t('menu.list.table.usable.usable'), this.get('intl').t('menu.list.table.usable.unusable')];\n    }),\n    menuStatuses: computed(function () {\n      return [this.get('intl').t('menu.list.table.status.active'), this.get('intl').t('menu.list.table.status.inactive')];\n    })\n  });\n});","define('fcs-dashboard/mixins/product-catalog-mixin', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create({\n    catalogStatuses: computed(function () {\n      return [this.get('intl').t('menu.list.table.status.active'), this.get('intl').t('menu.list.table.status.inactive')];\n    })\n  });\n});","define(\"fcs-dashboard/mixins/promotions-table-component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = _ember[\"default\"].Mixin.create({\n    classes: _ember[\"default\"].Object.create({\n      \"table\": \"table table-striped\"\n    }),\n    generatedProductClasses: _ember[\"default\"].Object.create({\n      \"table\": \"table table-condensed\"\n    }),\n    icons: _ember[\"default\"].Object.create({\n      \"sort-asc\": \"fa fa-caret-down\",\n      \"sort-desc\": \"fa fa-caret-up\",\n      \"column-visible\": \"fa fa-check-square-o\",\n      \"column-hidden\": \"fa fa-square-o\",\n      \"nav-first\": \"fa fa-chevron-left\",\n      \"nav-prev\": \"fa fa-angle-left\",\n      \"nav-next\": \"fa fa-angle-right\",\n      \"nav-last\": \"fa fa-chevron-right\",\n      \"caret\": \"fa fa-caret-down\"\n    }),\n    filterQueryParameters: {\n      sort: 'sort',\n      sortDirection: 'sortDirection',\n      page: 'page',\n      pageSize: 'limit'\n    },\n    productClasses: ['CUSTOM', 'REGULAR', 'COMBO', 'TEMPLATE'],\n    _containsAllFiltered: function _containsAllFiltered(filteredContent, selectedModels) {\n      var contains = true;\n      filteredContent.forEach(function (model) {\n        var containsModel = selectedModels.findBy('id', model);\n        if (containsModel !== null && containsModel === undefined) {\n          contains = false;\n        }\n      });\n      return contains;\n    },\n    _updateSelectedProductsByMetaProducts: function _updateSelectedProductsByMetaProducts() {\n      var _this = this;\n\n      // Create array for all the meta product catalogs - product catalogs\n      var removeMetaProductCatalogs = [];\n      var additionalProductCatalogs = [];\n      this.get('selectedModels').forEach(function (item) {\n        if (item.get('productCatalogTemplate') !== undefined && item.get('productCatalogTemplate')) {\n          _this.get('data').forEach(function (productCatalog) {\n            if (productCatalog.get('metaProductCatalogId') !== undefined && productCatalog.get('metaProductCatalogId').toString() === item.get('id')) {\n              additionalProductCatalogs.addObject(productCatalog);\n            }\n          });\n          removeMetaProductCatalogs.addObject(item);\n        }\n      });\n\n      //Remove Meta Product Catalogs\n      this.get('selectedModels').removeObjects(removeMetaProductCatalogs);\n      // Add the additional products\n      this.get('selectedModels').addObjects(additionalProductCatalogs);\n    },\n    actions: {\n      displayDataChanged: function displayDataChanged(selection) {\n        // Initialize Selected Models if Null or Undefined\n        if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n          this.set('selectedModels', A());\n        }\n\n        // If the list have been filtered\n        if (selection.get('filteredContent.length') > 0 && selection.get('filteredContent.length') !== this.get('data.length')) {\n          // If the whole list was selected\n          if (selection.get('selectedItems.length') === this.get('data.length')) {\n\n            // Create temp list to store currently selected items\n            var tempSelectedItems = this.get('selectedModels');\n\n            // Clear the component selected items\n            selection.get('selectedItems').clear();\n\n            // If selected models contains all filtered data, remove the objects from selected\n            if (this._containsAllFiltered(selection.get('filteredContent'), this.get('selectedModels'))) {\n              tempSelectedItems.removeObjects(selection.get('filteredContent'));\n            } else {\n              tempSelectedItems.addObjects(selection.get('filteredContent'));\n            }\n\n            // Set the new value of the selected models\n            this.set('selectedModels', tempSelectedItems);\n            // Set the new value of the component's selected items\n            selection.get('selectedItems').addObjects(tempSelectedItems);\n          } else {\n            // Normal selection\n            this.set('selectedModels', selection.get('selectedItems'));\n          }\n        } else {\n          // If selected items length is Zero\n          if (selection.get('selectedItems.length') === 0) {\n            // Clear component selected items\n            selection.get('selectedItems').clear();\n            // Clear selected items\n            this.get('selectedModels').clear();\n          } else {\n            // Normal selection\n            this.set('selectedModels', selection.get('selectedItems'));\n          }\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/mixins/report-mixin\", [\"exports\", \"ember\", \"moment\"], function (exports, _ember, _moment) {\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  var isEqual = _ember[\"default\"].isEqual;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = _ember[\"default\"].Mixin.create({\n    firstLoading: true,\n    startTime: \"05:00 AM\",\n    endTime: \"05:00 AM\",\n    selectedHourInterval: ['12:00 AM', '01:00 AM', '02:00 AM', '03:00 AM', '04:00 AM', '05:00 AM', '06:00 AM', '07:00 AM', '08:00 AM', '09:00 AM', '10:00 AM', '11:00 AM', '12:00 PM', '01:00 PM', '02:00 PM', '03:00 PM', '04:00 PM', '05:00 PM', '06:00 PM', '07:00 PM', '08:00 PM', '09:00 PM', '10:00 PM', '11:00 PM'],\n    hourInterval: ['12:00 AM', '01:00 AM', '02:00 AM', '03:00 AM', '04:00 AM', '05:00 AM', '06:00 AM', '07:00 AM', '08:00 AM', '09:00 AM', '10:00 AM', '11:00 AM', '12:00 PM', '01:00 PM', '02:00 PM', '03:00 PM', '04:00 PM', '05:00 PM', '06:00 PM', '07:00 PM', '08:00 PM', '09:00 PM', '10:00 PM', '11:00 PM'],\n    fiveMinInterval: ['12:00 AM', '12:05 AM', '12:10 AM', '12:15 AM', '12:20 AM', '12:25 AM', '12:30 AM', '12:35 AM', '12:40 AM', '12:45 AM', '12:50 AM', '12:55 AM', '1:00 AM', '1:05 AM', '1:10 AM', '1:15 AM', '1:20 AM', '1:25 AM', '1:30 AM', '1:35 AM', '1:40 AM', '1:45 AM', '1:50 AM', '1:55 AM', '2:00 AM', '2:05 AM', '2:10 AM', '2:15 AM', '2:20 AM', '2:25 AM', '2:30 AM', '2:35 AM', '2:40 AM', '2:45 AM', '2:50 AM', '2:55 AM', '3:00 AM', '3:05 AM', '3:10 AM', '3:15 AM', '3:20 AM', '3:25 AM', '3:30 AM', '3:35 AM', '3:40 AM', '3:45 AM', '3:50 AM', '3:55 AM', '4:00 AM', '4:05 AM', '4:10 AM', '4:15 AM', '4:20 AM', '4:25 AM', '4:30 AM', '4:35 AM', '4:40 AM', '4:45 AM', '4:50 AM', '4:55 AM', '5:00 AM', '5:05 AM', '5:10 AM', '5:15 AM', '5:20 AM', '5:25 AM', '5:30 AM', '5:35 AM', '5:40 AM', '5:45 AM', '5:50 AM', '5:55 AM', '6:00 AM', '6:05 AM', '6:10 AM', '6:15 AM', '6:20 AM', '6:25 AM', '6:30 AM', '6:35 AM', '6:40 AM', '6:45 AM', '6:50 AM', '6:55 AM', '7:00 AM', '7:05 AM', '7:10 AM', '7:15 AM', '7:20 AM', '7:25 AM', '7:30 AM', '7:35 AM', '7:40 AM', '7:45 AM', '7:50 AM', '7:55 AM', '8:00 AM', '8:05 AM', '8:10 AM', '8:15 AM', '8:20 AM', '8:25 AM', '8:30 AM', '8:35 AM', '8:40 AM', '8:45 AM', '8:50 AM', '8:55 AM', '9:00 AM', '9:05 AM', '9:10 AM', '9:15 AM', '9:20 AM', '9:25 AM', '9:30 AM', '9:35 AM', '9:40 AM', '9:45 AM', '9:50 AM', '9:55 AM', '10:00 AM', '10:05 AM', '10:10 AM', '10:15 AM', '10:20 AM', '10:25 AM', '10:30 AM', '10:35 AM', '10:40 AM', '10:45 AM', '10:50 AM', '10:55 AM', '11:00 AM', '11:05 AM', '11:10 AM', '11:15 AM', '11:20 AM', '11:25 AM', '11:30 AM', '11:35 AM', '11:40 AM', '11:45 AM', '11:50 AM', '11:55 AM', '12:00 PM', '12:05 PM', '12:10 PM', '12:15 PM', '12:20 PM', '12:25 PM', '12:30 PM', '12:35 PM', '12:40 PM', '12:45 PM', '12:50 PM', '12:55 PM', '1:00 PM', '1:05 PM', '1:10 PM', '1:15 PM', '1:20 PM', '1:25 PM', '1:30 PM', '1:35 PM', '1:40 PM', '1:45 PM', '1:50 PM', '1:55 PM', '2:00 PM', '2:05 PM', '2:10 PM', '2:15 PM', '2:20 PM', '2:25 PM', '2:30 PM', '2:35 PM', '2:40 PM', '2:45 PM', '2:50 PM', '2:55 PM', '3:00 PM', '3:05 PM', '3:10 PM', '3:15 PM', '3:20 PM', '3:25 PM', '3:30 PM', '3:35 PM', '3:40 PM', '3:45 PM', '3:50 PM', '3:55 PM', '4:00 PM', '4:05 PM', '4:10 PM', '4:15 PM', '4:20 PM', '4:25 PM', '4:30 PM', '4:35 PM', '4:40 PM', '4:45 PM', '4:50 PM', '4:55 PM', '5:00 PM', '5:05 PM', '5:10 PM', '5:15 PM', '5:20 PM', '5:25 PM', '5:30 PM', '5:35 PM', '5:40 PM', '5:45 PM', '5:50 PM', '5:55 PM', '6:00 PM', '6:05 PM', '6:10 PM', '6:15 PM', '6:20 PM', '6:25 PM', '6:30 PM', '6:35 PM', '6:40 PM', '6:45 PM', '6:50 PM', '6:55 PM', '7:00 PM', '7:05 PM', '7:10 PM', '7:15 PM', '7:20 PM', '7:25 PM', '7:30 PM', '7:35 PM', '7:40 PM', '7:45 PM', '7:50 PM', '7:55 PM', '8:00 PM', '8:05 PM', '8:10 PM', '8:15 PM', '8:20 PM', '8:25 PM', '8:30 PM', '8:35 PM', '8:40 PM', '8:45 PM', '8:50 PM', '8:55 PM', '9:00 PM', '9:05 PM', '9:10 PM', '9:15 PM', '9:20 PM', '9:25 PM', '9:30 PM', '9:35 PM', '9:40 PM', '9:45 PM', '9:50 PM', '9:55 PM', '10:00 PM', '10:05 PM', '10:10 PM', '10:15 PM', '10:20 PM', '10:25 PM', '10:30 PM', '10:35 PM', '10:40 PM', '10:45 PM', '10:50 PM', '10:55 PM', '11:00 PM', '11:05 PM', '11:10 PM', '11:15 PM', '11:20 PM', '11:25 PM', '11:30 PM', '11:35 PM', '11:40 PM', '11:45 PM', '11:50 PM', '11:55 PM'],\n    tenMinInterval: ['12:00 AM', '12:10 AM', '12:20 AM', '12:30 AM', '12:40 AM', '12:50 AM', '1:00 AM', '1:10 AM', '1:20 AM', '1:30 AM', '1:40 AM', '1:50 AM', '2:00 AM', '2:10 AM', '2:20 AM', '2:30 AM', '2:40 AM', '2:50 AM', '3:00 AM', '3:10 AM', '3:20 AM', '3:30 AM', '3:40 AM', '3:50 AM', '4:00 AM', '4:10 AM', '4:20 AM', '4:30 AM', '4:40 AM', '4:50 AM', '5:00 AM', '5:10 AM', '5:20 AM', '5:30 AM', '5:40 AM', '5:50 AM', '6:00 AM', '6:10 AM', '6:20 AM', '6:30 AM', '6:40 AM', '6:50 AM', '7:00 AM', '7:10 AM', '7:20 AM', '7:30 AM', '7:40 AM', '7:50 AM', '8:00 AM', '8:10 AM', '8:20 AM', '8:30 AM', '8:40 AM', '8:50 AM', '9:00 AM', '9:10 AM', '9:20 AM', '9:30 AM', '9:40 AM', '9:50 AM', '10:00 AM', '10:10 AM', '10:20 AM', '10:30 AM', '10:40 AM', '10:50 AM', '11:00 AM', '11:10 AM', '11:20 AM', '11:30 AM', '11:40 AM', '11:50 AM', '12:00 PM', '12:10 PM', '12:20 PM', '12:30 PM', '12:40 PM', '12:50 PM', '1:00 PM', '1:10 PM', '1:20 PM', '1:30 PM', '1:40 PM', '1:50 PM', '2:00 PM', '2:10 PM', '2:20 PM', '2:30 PM', '2:40 PM', '2:50 PM', '3:00 PM', '3:10 PM', '3:20 PM', '3:30 PM', '3:40 PM', '3:50 PM', '4:00 PM', '4:10 PM', '4:20 PM', '4:30 PM', '4:40 PM', '4:50 PM', '5:00 PM', '5:10 PM', '5:20 PM', '5:30 PM', '5:40 PM', '5:50 PM', '6:00 PM', '6:10 PM', '6:20 PM', '6:30 PM', '6:40 PM', '6:50 PM', '7:00 PM', '7:10 PM', '7:20 PM', '7:30 PM', '7:40 PM', '7:50 PM', '8:00 PM', '8:10 PM', '8:20 PM', '8:30 PM', '8:40 PM', '8:50 PM', '9:00 PM', '9:10 PM', '9:20 PM', '9:30 PM', '9:40 PM', '9:50 PM', '10:00 PM', '10:10 PM', '10:20 PM', '10:30 PM', '10:40 PM', '10:50 PM', '11:00 PM', '11:10 PM', '11:20 PM', '11:30 PM', '11:40 PM', '11:50 PM'],\n\n    fifteenMinuteInterval: ['12:00 AM', '12:15 AM', '12:30 AM', '12:45 AM', '1:00 AM', '1:15 AM', '1:30 AM', '1:45 AM', '2:00 AM', '2:15 AM', '2:30 AM', '2:45 AM', '3:00 AM', '3:15 AM', '3:30 AM', '3:45 AM', '4:00 AM', '4:15 AM', '4:30 AM', '4:45 AM', '5:00 AM', '5:15 AM', '5:30 AM', '5:45 AM', '6:00 AM', '6:15 AM', '6:30 AM', '6:45 AM', '7:00 AM', '7:15 AM', '7:30 AM', '7:45 AM', '8:00 AM', '8:15 AM', '8:30 AM', '8:45 AM', '9:00 AM', '9:15 AM', '9:30 AM', '9:45 AM', '10:00 AM', '10:15 AM', '10:30 AM', '10:45 AM', '11:00 AM', '11:15 AM', '11:30 AM', '11:45 AM', '12:00 PM', '12:15 PM', '12:30 PM', '12:45 PM', '1:00 PM', '1:15 PM', '1:30 PM', '1:45 PM', '2:00 PM', '2:15 PM', '2:30 PM', '2:45 PM', '3:00 PM', '3:15 PM', '3:30 PM', '3:45 PM', '4:00 PM', '4:15 PM', '4:30 PM', '4:45 PM', '5:00 PM', '5:15 PM', '5:30 PM', '5:45 PM', '6:00 PM', '6:15 PM', '6:30 PM', '6:45 PM', '7:00 PM', '7:15 PM', '7:30 PM', '7:45 PM', '8:00 PM', '8:15 PM', '8:30 PM', '8:45 PM', '9:00 PM', '9:15 PM', '9:30 PM', '9:45 PM', '10:00 PM', '10:15 PM', '10:30 PM', '10:45 PM', '11:00 PM', '11:15 PM', '11:30 PM', '11:45 PM'],\n    halfHourInterval: ['12:00 AM', '12:30 AM', '1:00 AM', '1:30 AM', '2:00 AM', '2:30 AM', '3:00 AM', '3:30 AM', '4:00 AM', '4:30 AM', '5:00 AM', '5:30 AM', '6:00 AM', '6:30 AM', '7:00 AM', '7:30 AM', '8:00 AM', '8:30 AM', '9:00 AM', '9:30 AM', '10:00 AM', '10:30 AM', '11:00 AM', '11:30 AM', '12:00 PM', '12:30 PM', '1:00 PM', '1:30 PM', '2:00 PM', '2:30 PM', '3:00 PM', '3:30 PM', '4:00 PM', '4:30 PM', '5:00 PM', '5:30 PM', '6:00 PM', '6:30 PM', '7:00 PM', '7:30 PM', '8:00 PM', '8:30 PM', '9:00 PM', '9:30 PM', '10:00 PM', '10:30 PM', '11:00 PM', '11:30 PM'],\n    refreshIntervals: true,\n    intervals: [5, 10, 15, 30, 60],\n    selectedInterval: 60,\n    predefinedRanges: {\n      'Today': [(0, _moment[\"default\"])(), (0, _moment[\"default\"])().add(1, 'days')],\n      'Yesterday': [(0, _moment[\"default\"])().subtract(1, 'days'), (0, _moment[\"default\"])()],\n      'Last 7 Days': [(0, _moment[\"default\"])().subtract(6, 'days'), (0, _moment[\"default\"])().add(1, 'days')],\n      'Last 30 Days': [(0, _moment[\"default\"])().subtract(29, 'days'), (0, _moment[\"default\"])().add(1, 'days')],\n      'This Month': [(0, _moment[\"default\"])().startOf('month'), (0, _moment[\"default\"])().endOf('month').add(1, 'days')],\n      'Last Month': [(0, _moment[\"default\"])().subtract(1, 'month').startOf('month'), (0, _moment[\"default\"])().subtract(1, 'month').endOf('month').add(1, 'days')]\n    },\n    dayOfTheWeek: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n    dayOfMonth: ['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'],\n    frequencyOptions: ['Hourly', 'Daily', 'Weekly', 'Monthly'],\n    //*******************search options\n    sortedLocationGroups: computed.sort('_locationGroups', 'sortDefinition'),\n    selectedLocationGroup: computed.alias('reportOptions.selectedLocationGroup'),\n    selectedVendor: computed.alias('reportOptions.selectedVendor'),\n    producerOwner: [],\n    selectedVendorManagement: computed.alias('reportOptions.selectedVendorManagement'),\n    fromDate: computed.alias('reportOptions.fromDate'),\n    toDate: computed.alias('reportOptions.toDate'),\n    sortedLocationGroupIds: computed.sort('_locationGroups', 'id'),\n    showExportModal: false,\n    hasVendors: true,\n    hasVendorManagements: true,\n    _locationGroups: computed(function () {\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          Logger.debug('BR-user (locked to a company): Getting all location groups from locked company.');\n          var company = this.get('lockedCompany.id');\n          return this.get('store').query('locationGroup', { companyId: company, pageSize: -1 });\n        } else {\n          Logger.debug('BR-user: Getting all location groups.');\n          var cachedRecords = this.get('store').peekAll('locationGroup');\n          if (!isEmpty(cachedRecords)) {\n            this.get('store').query('locationGroup', { pageSize: -1 });\n            return cachedRecords;\n          }\n          return this.get('store').query('locationGroup', { pageSize: -1 });\n        }\n      } else {\n        Logger.debug('Company user: Getting location groups from company.');\n        var company = this.get('loggedAccount.company.id');\n        return this.get('store').query('locationGroup', { companyId: company, pageSize: -1 });\n      }\n    }),\n    _menus: computed(function () {\n\n      var locationGroupId = null;\n      if (this._getSingleSelectedLocationGroup(null) !== null && this._getSingleSelectedLocationGroup(null) !== undefined) {\n        locationGroupId = this._getSingleSelectedLocationGroup(null).id;\n      }\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          Logger.debug('BR-user (locked to a company): Getting all menus from locked company.');\n          var companyId = this.get('lockedCompany.id');\n          return this.get('store').query('menuNameFilter', { companyId: companyId, locationGroupId: locationGroupId });\n        } else {\n          Logger.debug('BR-user: Getting all menus.');\n          return this.get('store').query('menuNameFilter', {});\n        }\n      } else {\n        Logger.debug('Company user: Getting menus from company.');\n        var companyId = this.get('loggedAccount.company.id');\n\n        return this.get('store').query('menuNameFilter', { companyId: companyId, locationGroupId: locationGroupId });\n      }\n    }),\n    _filteredMenus: computed('sortedMenus', 'selectedLocations', 'selectedVendor', '_filteredLocations', 'selectedLocationGroup', function () {\n      var _this = this;\n\n      if (this.get('selectedLocations.length') > 0) {\n        var _ret = (function () {\n          var filteredMenus = [];\n          _this.get('_sortedMenus').forEach(function (menu) {\n            var belongsToLocation = [];\n            menu.get('locations').forEach(function (location) {\n              if (_this.get('selectedLocations').filterBy('id', location).length > 0) {\n                belongsToLocation.addObject(_this.get('selectedLocations').filterBy('id', location));\n              }\n            });\n            if (belongsToLocation.length > 0) {\n              filteredMenus.addObject(menu);\n            }\n          });\n          return {\n            v: filteredMenus.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret === \"object\") return _ret.v;\n      } else if (this.get('selectedVendor') !== null || this.get('selectedVendorManagement') !== null) {\n        var _ret2 = (function () {\n          var filteredMenus = [];\n          if (_this.get('_filteredLocations.length') > 0) {\n            _this.get('_sortedMenus').forEach(function (menu) {\n              var belongsToLocation = [];\n              menu.get('locations').forEach(function (location) {\n                if (_this.get('_filteredLocations').filterBy('id', location).length > 0) {\n                  belongsToLocation.addObject(_this.get('_filteredLocations').filterBy('id', location));\n                }\n              });\n              if (belongsToLocation.length > 0) {\n                filteredMenus.addObject(menu);\n              }\n            });\n          }\n          return {\n            v: filteredMenus.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret2 === \"object\") return _ret2.v;\n      } else {\n        var _ret3 = (function () {\n          var filteredMenus = [];\n          if (_this.get('_filteredLocations.length') > 0) {\n            _this.get('_sortedMenus').forEach(function (menu) {\n              var belongsToLocation = [];\n              menu.get('locations').forEach(function (location) {\n                if (_this.get('_filteredLocations').filterBy('id', location).length > 0) {\n                  belongsToLocation.addObject(_this.get('_filteredLocations').filterBy('id', location));\n                }\n              });\n              if (belongsToLocation.length > 0) {\n                filteredMenus.addObject(menu);\n              }\n            });\n            return {\n              v: filteredMenus.sortBy('name')\n            };\n          } else {\n            return {\n              v: _this.get('_sortedMenus')\n            };\n          }\n        })();\n\n        if (typeof _ret3 === \"object\") return _ret3.v;\n      }\n    }),\n    _filteredLocations: computed('selectedVendor', 'selectedVendorManagement', '_locations', '_vendorCompanies', function () {\n      var _this2 = this;\n\n      if (this.get('selectedVendor') !== null && this.get('_locations').length > 0) {\n        var _ret4 = (function () {\n          var filteredLocations = [];\n          _this2.get('_locations').forEach(function (location) {\n            if (isEqual(location.companyId.toString(), _this2.get('selectedVendor.companyId'))) {\n              filteredLocations.addObject(location);\n            }\n          });\n          return {\n            v: filteredLocations.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret4 === \"object\") return _ret4.v;\n      } else if (this.get('selectedVendorManagement') !== null) {\n        var _ret5 = (function () {\n          var filteredLocations = [];\n          _this2.get('_locations').forEach(function (location) {\n            if (_this2.get('_filteredVendorCompanies.length') > 0) {\n              var belongsToVendor = _this2.get('_filteredVendorCompanies').filterBy('companyId', location.companyId.toString());\n              if (belongsToVendor.length > 0) {\n                filteredLocations.addObject(location);\n              }\n            }\n            if (_this2.get('selectedVendorManagement.locations.length') > 0) {\n              _this2.get('selectedVendorManagement.locations').forEach(function (locationId) {\n                if (isEqual(locationId, location.id)) {\n                  filteredLocations.addObject(location);\n                }\n              });\n            }\n          });\n          return {\n            v: filteredLocations.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret5 === \"object\") return _ret5.v;\n      } else {\n        if (this.get('_locations') !== null) {\n          return this.get('_locations').sortBy('name');\n        }\n        return this.get('_locations');\n      }\n    }),\n    _filteredVendorCompanies: computed('selectedVendorManagement', '_vendorCompanies', function () {\n      if (this.get('selectedVendorManagement') !== null) {\n        return this.get('_vendorCompanies').filterBy('reportsTo', this.get('selectedVendorManagement.companyId')).sortBy('companyName');\n      } else {\n        return this.get('_vendorCompanies').sortBy('companyName');\n      }\n    }),\n    _locationGroupCompanyRole: computed('selectedLocationGroup', function () {\n      var _this3 = this;\n\n      if (this._getSelectedLocationGroupCompanyRoles() !== undefined && this._getSelectedLocationGroupCompanyRoles() !== null) {\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            var companyRole = null;\n            this._getSelectedLocationGroupCompanyRoles().forEach(function (role) {\n              if (isEqual(role.get('companyId'), _this3.get('lockedCompany.id'))) {\n                companyRole = role.get('roleId');\n              }\n            });\n            return companyRole;\n          } else {\n            return '13';\n          }\n        } else {\n          var companyRole = null;\n          this._getSelectedLocationGroupCompanyRoles().forEach(function (role) {\n            if (isEqual(role.get('companyId'), _this3.get('loggedAccount.company.id'))) {\n              companyRole = role.get('roleId');\n            }\n          });\n          return companyRole;\n        }\n      }\n    }),\n    _sortedMenus: [],\n    _vendorCompanies: [],\n    _vendorManagementCompanies: [],\n    _locations: [],\n    selectedMenus: [],\n    selectedLocations: [],\n    sortDefinition: ['name'],\n    _initializeReportExportParameters: function _initializeReportExportParameters() {\n      this.set('reportOptions.reportOutput', this.get('intl').t('report.searchCriteria.reportOutput.options.csv'));\n      this.set('reportOptions.isEmailDelivery', false);\n      this.set('reportOptions.emails', this.get('loggedAccount.data.email'));\n      this.set('reportOptions.isExport', false);\n    },\n    _setDefaultFilters: function _setDefaultFilters(isValid, errorMessage) {\n      this.set('reportOptions.companyRole', this.get('_locationGroupCompanyRole'));\n\n      this.get('reportOptions.locations').clear();\n      if (this.get('selectedLocations.length') > 0) {\n        this.get('reportOptions.locations').addObjects(this.get('selectedLocations'));\n      }\n\n      this.get('reportOptions.menus').clear();\n      if (this.get('selectedMenus.length') > 0) {\n        this.get('reportOptions.menus').addObjects(this.get('selectedMenus'));\n      }\n\n      this.get('reportOptions.vendors').clear();\n      // Adding the list of companies for selection\n      // Check SelectedVendor, if there is a vendor selected add the selected vendor to the list & ignore the VMCs list\n      if (this.get('selectedVendor') !== null && this.get('selectedVendor') !== undefined) {\n        try {\n          this.get('reportOptions.vendors').addObjects(this.get('selectedVendor').mapBy('companyId'));\n        } catch (e) {\n          this.get('reportOptions.vendors').addObject(this.get('selectedVendor.companyId'));\n        }\n      } else {\n        // Check SelectedVendorManagement, if there is a vendorManagement selected add the selected vendorManagement to the list & ignore Producer\n        if (this.get('selectedVendorManagement') !== null && this.get('selectedVendorManagement') !== undefined) {\n          this.get('reportOptions.vendors').addObject(this.get('selectedVendorManagement.companyId'));\n        } else {\n          // if there is no vendorManagement selected add entire list of vendorManagementCompanies\n          this.get('reportOptions.vendors').addObjects(this.get('_vendorManagementCompanies').mapBy('companyId'));\n          // Check who is the producer\n          if (this.get('isBRUser')) {\n            if (this.get('lockedCompany') !== undefined) {\n              // if the lockedCompany Role is Producer add it to the list\n              if (isEqual(this.get('lockedCompany.id'), this.get('producerOwner.companyId'))) {\n                this.get('reportOptions.vendors').addObject(this.get('producerOwner.companyId'));\n              }\n            } else {\n              // if BRUser is not locked to a company, add the producer to the list\n              this.get('reportOptions.vendors').addObject(this.get('producerOwner.companyId'));\n            }\n          } else {\n            // if the user is a company user, and the company is Producer add it to the list\n            if (isEqual(this.get('loggedAccount.company.id'), this.get('producerOwner.companyId'))) {\n              this.get('reportOptions.vendors').addObject(this.get('producerOwner.companyId'));\n            }\n          }\n        }\n        // if there is no vendor selected add entire list of vendorCompanies\n        this.get('reportOptions.vendors').addObjects(this.get('_filteredVendorCompanies').mapBy('companyId'));\n      }\n\n      if (this.get('fromDate') === null || this.get('fromDate') === undefined) {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.emptyFromDate'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      } else {\n        var date = (0, _moment[\"default\"])(this.get('fromDate'));\n        this.set('fromDate', date);\n      }\n\n      if (this.get('toDate') === null || this.get('toDate') === undefined) {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.emptyToDate'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      } else {\n        var date = (0, _moment[\"default\"])(this.get('toDate'));\n        this.set('toDate', date);\n      }\n\n      if (this.get('fromDate').isAfter(this.get('toDate'))) {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.invalidDateRange'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      }\n\n      if (this.get('_locationGroups.length') > 0 && this.get('isBRUser') && this.get('lockedCompany') !== undefined) {\n        this.set('reportOptions.companyLocationGroups', this.get('_locationGroups'));\n      }\n\n      if (this.get('selectedVendorManagement') !== undefined) {\n        this.set('reportOptions.vendorManagements', this.get('selectedVendorManagement'));\n      } else {\n        this.set('reportOptions.vendorManagements', null);\n      }\n    },\n    _initializeLocationGroups: function _initializeLocationGroups() {\n      var _this4 = this;\n\n      Logger.debug('Loading LocationGroups for Simple Sales rpt');\n      if (this.get('_locationGroups').then !== undefined) {\n        this.get('_locationGroups').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded LocationGroups for Simple Sales rpt');\n            _this4.set('_locationGroups', content);\n          });\n        });\n      }\n    },\n    _initializeMenus: function _initializeMenus() {\n      var _this5 = this;\n\n      this.get('reportOptions.menus').clear();\n      if (this.get('_menus').then !== undefined) {\n        this.get('_menus').then(function (content) {\n          run(function () {\n            _this5.set('_sortedMenus', content);\n          });\n        });\n      }\n    },\n    _updateSelectedCompanyRoleOptions: function _updateSelectedCompanyRoleOptions() {\n      if (this.get('_locationGroupCompanyRole') < 5) {\n        var selectedVendor = null;\n        if (this.get('isBRUser')) {\n          selectedVendor = this.get('_vendorCompanies').findBy('companyId', this.get('lockedCompany.id'));\n        } else {\n          selectedVendor = this.get('_vendorCompanies').findBy('companyId', this.get('loggedAccount.company.id'));\n        }\n        this.set('selectedVendor', selectedVendor);\n        this.set('vendorManagementDisabled', true);\n        this.set('vendorDisabled', true);\n      } else if (this.get('_locationGroupCompanyRole') > 4 && this.get('_locationGroupCompanyRole') < 9) {\n        var selectedVendorManagement = null;\n        if (this.get('isBRUser')) {\n          selectedVendorManagement = this.get('_vendorManagementCompanies').findBy('companyId', this.get('lockedCompany.id'));\n        } else {\n          selectedVendorManagement = this.get('_vendorManagementCompanies').findBy('companyId', this.get('loggedAccount.company.id'));\n        }\n        this.set('selectedVendorManagement', selectedVendorManagement);\n        this.set('vendorManagementDisabled', true);\n      } else {\n        this.set('vendorDisabled', false);\n        this.set('vendorManagementDisabled', false);\n      }\n    },\n    _getSingleSelectedLocationGroup: function _getSingleSelectedLocationGroup(locationGroup) {\n      if (locationGroup !== null) {\n        if (locationGroup.id !== undefined && locationGroup.id !== null) {\n          return locationGroup;\n        } else if (locationGroup.length !== undefined && locationGroup.length === 1) {\n          return locationGroup.objectAt(0);\n        } else {\n          return null;\n        }\n      } else {\n        if (this.get('selectedLocationGroup.id') !== undefined && this.get('selectedLocationGroup.id') !== null) {\n          return this.get('selectedLocationGroup');\n        } else if (this.get('selectedLocationGroup.length') !== undefined && this.get('selectedLocationGroup.length') === 1) {\n          return this.get('selectedLocationGroup[0]');\n        } else {\n          return null;\n        }\n      }\n    },\n    _getSelectedLocationGroupCompanyRoles: function _getSelectedLocationGroupCompanyRoles() {\n      if (this.get('selectedLocationGroup.id') !== undefined && this.get('selectedLocationGroup.id') !== null) {\n        return this.get('selectedLocationGroup.companiesRoles');\n      } else if (this.get('selectedLocationGroup.length') !== undefined && this.get('selectedLocationGroup.length') === 1) {\n        var selectedLocationGroup = this.get('selectedLocationGroup').objectAt(0);\n        return selectedLocationGroup.get('companiesRoles');\n      } else {\n        return null;\n      }\n    },\n    actions: {\n      locationGroupSelection: function locationGroupSelection(locationGroup) {\n        var _this6 = this;\n\n        this.set('selectedLocationGroup', locationGroup);\n        this.get('selectedLocations').clear();\n        this.get('selectedMenus').clear();\n        this.set('selectedVendor', null);\n        this.set('selectedVendorManagement', null);\n        if (locationGroup !== null && locationGroup !== undefined) {\n          var company = this.get('lockedCompany.id');\n          this.get('store').query('menuNameFilter', {\n            companyId: company,\n            companyRole: this.get('_locationGroupCompanyRole'),\n            locationGroupId: locationGroup.id\n          }).then(function (content) {\n            run(function () {\n              _this6.set('_sortedMenus', content);\n            });\n          });\n          this.get('store').queryRecord('reportsLocationGroup', { locationGroupId: locationGroup.id }).then(function (content) {\n            run(function () {\n              if (content.get('vendorCompanies.length') > 0) {\n                _this6.set('hasVendors', true);\n                _this6.set('_vendorCompanies', content.get('vendorCompanies').sortBy('companyName'));\n              } else {\n                _this6.get('_vendorCompanies').clear();\n                _this6.set('hasVendors', false);\n              }\n\n              if (content.get('vendorManagementCompanies.length') > 0) {\n                _this6.set('hasVendorManagements', true);\n                _this6.set('_vendorManagementCompanies', content.get('vendorManagementCompanies').sortBy('companyName'));\n              } else {\n                _this6.get('_vendorManagementCompanies').clear();\n                _this6.set('hasVendorManagements', false);\n              }\n\n              _this6.set('_locations', content.get('locations'));\n              _this6.set('producerOwner', content.get('producer'));\n              _this6._updateSelectedCompanyRoleOptions();\n            });\n          });\n        } else {\n          this.get('_vendorCompanies').clear();\n          this.get('_filteredMenus').clear();\n          this.get('_filteredLocations').clear();\n          this.get('_filteredVendorCompanies').clear();\n          this.get('_vendorManagementCompanies').clear();\n          this.get('_locations').clear();\n          this.set('producerOwner', null);\n        }\n      },\n      multipleLocationGroupSelection: function multipleLocationGroupSelection(locationGroup) {\n        var _this7 = this;\n\n        var selectedLocationGroups = [];\n        locationGroup.forEach(function (item) {\n          selectedLocationGroups.addObject(item);\n        });\n        if (selectedLocationGroups.length > 0) {\n          locationGroup = selectedLocationGroups;\n        }\n        this.set('selectedLocationGroup', locationGroup);\n        this.get('selectedLocations').clear();\n        this.get('selectedMenus').clear();\n        this.set('selectedVendor', null);\n        this.set('selectedVendorManagement', null);\n\n        if (locationGroup !== null && locationGroup.length === 1) {\n          var company = this.get('lockedCompany.id');\n          var _locationGroup = this._getSingleSelectedLocationGroup(locationGroup);\n          this.get('store').query('menuNameFilter', {\n            companyId: company,\n            companyRole: this.get('_locationGroupCompanyRole'),\n            locationGroupId: _locationGroup.id\n          }).then(function (content) {\n            run(function () {\n              _this7.set('_sortedMenus', content);\n            });\n          });\n          this.get('store').queryRecord('reportsLocationGroup', { locationGroupId: _locationGroup.id }).then(function (content) {\n            run(function () {\n              if (content.get('vendorCompanies.length') > 0) {\n                _this7.set('hasVendors', true);\n                _this7.set('_vendorCompanies', content.get('vendorCompanies').sortBy('companyName'));\n              } else {\n                _this7.get('_vendorCompanies').clear();\n                _this7.set('hasVendors', false);\n              }\n\n              if (content.get('vendorManagementCompanies.length') > 0) {\n                _this7.set('hasVendorManagements', true);\n                _this7.set('_vendorManagementCompanies', content.get('vendorManagementCompanies').sortBy('companyName'));\n              } else {\n                _this7.get('_vendorManagementCompanies').clear();\n                _this7.set('hasVendorManagements', false);\n              }\n\n              _this7.set('_locations', content.get('locations'));\n              _this7.set('producerOwner', content.get('producer'));\n              _this7._updateSelectedCompanyRoleOptions();\n            });\n          });\n        } else {\n          this.get('_vendorCompanies').clear();\n          this.get('_filteredMenus').clear();\n          this.get('_filteredLocations').clear();\n          this.get('_filteredVendorCompanies').clear();\n          this.get('_vendorManagementCompanies').clear();\n          this.get('_locations').clear();\n          this.set('producerOwner', null);\n        }\n      },\n      vendorSelection: function vendorSelection(vendor) {\n        this.set('selectedVendor', vendor);\n      },\n      vendorManagementSelection: function vendorManagementSelection(vmc) {\n        this.set('selectedVendorManagement', vmc);\n      },\n      locationSelection: function locationSelection(location) {\n        this.set('selectedLocation', location);\n      },\n      onChangeStartTime: function onChangeStartTime(value) {\n        this.set('startTime', value);\n      },\n      onChangeEndTime: function onChangeEndTime(value) {\n        this.set('endTime', value);\n      },\n      setTimeInterval: function setTimeInterval(interval) {\n        this.set('selectedInterval', interval);\n        this.set('refreshIntervals', false);\n        switch (interval) {\n          case 5:\n            this.set('selectedHourInterval', this.get('fiveMinInterval'));\n            break;\n          case 10:\n            this.set('selectedHourInterval', this.get('tenMinInterval'));\n            break;\n          case 15:\n            this.set('selectedHourInterval', this.get('fifteenMinuteInterval'));\n            break;\n          case 30:\n            this.set('selectedHourInterval', this.get('halfHourInterval'));\n            break;\n          case 60:\n            this.set('selectedHourInterval', this.get('hourInterval'));\n            break;\n          default:\n            this.set('selectedHourInterval', this.get('hourInterval'));\n            break;\n        }\n        run.schedule(\"afterRender\", this, function () {\n          this.set('refreshIntervals', true);\n        });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/mixins/table-component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = _ember[\"default\"].Mixin.create({\n    classes: _ember[\"default\"].Object.create({\n      \"table\": \"table table-striped\"\n    }),\n    generatedProductClasses: _ember[\"default\"].Object.create({\n      \"table\": \"table table-condensed\"\n    }),\n    icons: _ember[\"default\"].Object.create({\n      \"sort-asc\": \"fa fa-caret-down\",\n      \"sort-desc\": \"fa fa-caret-up\",\n      \"column-visible\": \"fa fa-check-square-o\",\n      \"column-hidden\": \"fa fa-square-o\",\n      \"nav-first\": \"fa fa-chevron-left\",\n      \"nav-prev\": \"fa fa-angle-left\",\n      \"nav-next\": \"fa fa-angle-right\",\n      \"nav-last\": \"fa fa-chevron-right\",\n      \"caret\": \"fa fa-caret-down\"\n    }),\n    filterQueryParameters: {\n      sort: 'sort',\n      sortDirection: 'sortDirection',\n      page: 'page',\n      pageSize: 'limit'\n    },\n    productClasses: ['CUSTOM', 'REGULAR', 'COMBO', 'TEMPLATE'],\n    _containsAllFiltered: function _containsAllFiltered(filteredContent, selectedModels) {\n      var contains = true;\n      filteredContent.forEach(function (model) {\n        var containsModel = selectedModels.findBy('id', model.get('id'));\n        if (containsModel !== null && containsModel === undefined) {\n          contains = false;\n        }\n      });\n      return contains;\n    },\n    _updateSelectedProductsByMetaProducts: function _updateSelectedProductsByMetaProducts() {\n      var _this = this;\n\n      // Create array for all the meta product catalogs - product catalogs\n      var removeMetaProductCatalogs = [];\n      var additionalProductCatalogs = [];\n      this.get('selectedModels').forEach(function (item) {\n        if (item.get('productCatalogTemplate') !== undefined && item.get('productCatalogTemplate')) {\n          _this.get('data').forEach(function (productCatalog) {\n            if (productCatalog.get('metaProductCatalogId') !== undefined && productCatalog.get('metaProductCatalogId').toString() === item.get('id')) {\n              additionalProductCatalogs.addObject(productCatalog);\n            }\n          });\n          removeMetaProductCatalogs.addObject(item);\n        }\n      });\n\n      //Remove Meta Product Catalogs\n      this.get('selectedModels').removeObjects(removeMetaProductCatalogs);\n      // Add the additional products\n      this.get('selectedModels').addObjects(additionalProductCatalogs);\n    },\n    actions: {\n      displayDataChanged: function displayDataChanged(selection) {\n        // Initialize Selected Models if Null or Undefined\n        if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n          this.set('selectedModels', A());\n        }\n\n        // If the list have been filtered\n        if (selection.get('filteredContent.length') > 0 && selection.get('filteredContent.length') !== this.get('data.length')) {\n          // If the whole list was selected\n          if (selection.get('selectedItems.length') === this.get('data.length')) {\n\n            // Create temp list to store currently selected items\n            var tempSelectedItems = this.get('selectedModels');\n\n            // Clear the component selected items\n            selection.get('selectedItems').clear();\n\n            // If selected models contains all filtered data, remove the objects from selected\n            if (this._containsAllFiltered(selection.get('filteredContent'), this.get('selectedModels'))) {\n              tempSelectedItems.removeObjects(selection.get('filteredContent'));\n            } else {\n              tempSelectedItems.addObjects(selection.get('filteredContent'));\n            }\n\n            // Set the new value of the selected models\n            this.set('selectedModels', tempSelectedItems);\n            // Set the new value of the component's selected items\n            selection.get('selectedItems').addObjects(tempSelectedItems);\n          } else {\n            // Normal selection\n            this.set('selectedModels', selection.get('selectedItems'));\n          }\n        } else {\n          // If selected items length is Zero\n          if (selection.get('selectedItems.length') === 0) {\n            // Clear component selected items\n            selection.get('selectedItems').clear();\n            // Clear selected items\n            this.get('selectedModels').clear();\n          } else {\n            // Normal selection\n            this.set('selectedModels', selection.get('selectedItems'));\n          }\n        }\n      }\n    }\n  });\n});","define('fcs-dashboard/mixins/user-mixin', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  var computed = _ember['default'].computed;\n  exports['default'] = Mixin.create({\n    statuses: computed(function () {\n      return [this.get('intl').t('user.statuses.active'), this.get('intl').t('user.statuses.inactive')];\n    }),\n    userProfiles: computed(function () {\n      return [this.get('intl').t('user.profiles.serverClerk'), this.get('intl').t('user.profiles.manager'), this.get('intl').t('user.profiles.reporting')];\n    }),\n    bradminUserProfiles: computed(function () {\n      return [this.get('intl').t('user.profiles.serverClerk'), this.get('intl').t('user.profiles.manager'), this.get('intl').t('user.profiles.reporting'), this.get('intl').t('user.profiles.bradmin'), this.get('intl').t('user.profiles.cashlessAdmin')];\n    })\n  });\n});","define('fcs-dashboard/models/coordinator', ['exports', 'ember', 'fcs-dashboard/models/obj-hash'], function (exports, _ember, _fcsDashboardModelsObjHash) {\n  exports['default'] = _ember['default'].Object.extend(_ember['default'].Evented, {\n    objectMap: _ember['default'].computed(function () {\n      return _fcsDashboardModelsObjHash['default'].create();\n    }),\n\n    getObject: function getObject(id, ops) {\n      ops = ops || {};\n      var payload = this.get('objectMap').getObj(id);\n\n      if (payload.ops.source) {\n        payload.ops.source.sendAction('action', payload.obj);\n      }\n\n      if (payload.ops.target) {\n        payload.ops.target.sendAction('action', payload.obj);\n      }\n\n      this.trigger(\"objectMoved\", { obj: payload.obj, source: payload.ops.source, target: ops.target });\n\n      return payload.obj;\n    },\n\n    setObject: function setObject(obj, ops) {\n      ops = ops || {};\n      return this.get('objectMap').add({ obj: obj, ops: ops });\n    }\n  });\n});","define('fcs-dashboard/models/obj-hash', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Object.extend({\n    content: {},\n    contentLength: 0,\n    length: _ember['default'].computed.alias('contentLength'),\n\n    add: function add(obj) {\n      var id = this.generateId();\n      this.get('content')[id] = obj;\n      this.incrementProperty(\"contentLength\");\n      return id;\n    },\n\n    getObj: function getObj(key) {\n      var res = this.get('content')[key];\n      if (!res) {\n        throw \"no obj for key \" + key;\n      }\n      return res;\n    },\n\n    generateId: function generateId() {\n      var num = Math.random() * 1000000000000.0;\n      num = parseInt(num);\n      num = \"\" + num;\n      return num;\n    },\n\n    keys: function keys() {\n      var res = [];\n      for (var key in this.get('content')) {\n        res.push(key);\n      }\n      return _ember['default'].A(res);\n    }\n\n  });\n});","define(\"fcs-dashboard/pods/account-session/service\", [\"exports\", \"ember\", \"ember-data\", \"ember-data-preload\"], function (exports, _ember, _emberData, _emberDataPreload) {\n  var Service = _ember[\"default\"].Service;\n  var service = _ember[\"default\"].inject.service;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var Logger = _ember[\"default\"].Logger;\n  var PromiseObject = _emberData[\"default\"].PromiseObject;\n  exports[\"default\"] = Service.extend({\n    session: service(),\n    store: service(),\n    account: computed('session.data.authenticated.username', function () {\n      var accountId = this.get('session.data.authenticated.username');\n      Logger.debug(\"Authenticating user with: \" + accountId);\n      if (!isEmpty(accountId)) {\n        return PromiseObject.create({\n          promise: (0, _emberDataPreload[\"default\"])(this.get('store').queryRecord('user', { username: accountId }), [{ company: 'locations' }, 'userType'])\n        });\n      }\n    }),\n    searchOptions: computed(function () {\n      return this.get('store').createRecord('searchOptions');\n    }),\n    reportOptions: computed(function () {\n      return this.get('store').createRecord('reportOptions');\n    })\n  });\n});","define('fcs-dashboard/pods/application/adapter', ['exports', 'ember-data/adapters/rest', 'ember-simple-auth/mixins/data-adapter-mixin'], function (exports, _emberDataAdaptersRest, _emberSimpleAuthMixinsDataAdapterMixin) {\n  exports['default'] = _emberDataAdaptersRest['default'].extend(_emberSimpleAuthMixinsDataAdapterMixin['default'], {\n    namespace: 'api/v1',\n    authorizer: 'authorizer:oauth2'\n  });\n});","define(\"fcs-dashboard/pods/application/custom-table-footer/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+7V6Ia89\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"total\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoFirst\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-first\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoPrev\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-prev\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"currentPage\\\"]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoNext\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-next\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoForwardEnabled\\\"]],\\\" enabled\\\",\\\"disabled\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoLast\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-last\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/application/custom-table-footer/template.hbs\" } });\n});","define('fcs-dashboard/pods/application/model', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].Model.extend({});\n});","define(\"fcs-dashboard/pods/application/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/application-route-mixin\", \"fcs-dashboard/config/environment\"], function (exports, _ember, _emberSimpleAuthMixinsApplicationRouteMixin, _fcsDashboardConfigEnvironment) {\n  var Route = _ember[\"default\"].Route;\n  var isEqual = _ember[\"default\"].isEqual;\n  var service = _ember[\"default\"].inject.service;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsApplicationRouteMixin[\"default\"], {\n    intl: service(),\n    beforeModel: function beforeModel() {\n      this.get('intl').setLocale('en-us');\n    },\n    afterModel: function afterModel(model, transition) {\n      if (isEqual(transition.intent.url, '/login')) {\n        this.transitionTo('application');\n      }\n    },\n    setupController: function setupController(controller, model) {\n      // Call _super for default behavior\n      this._super(controller, model);\n      // Implement your custom setup after\n      this.controllerFor('application').set('session', this.get('session'));\n      this.controllerFor('application').set('buildTimestamp', _fcsDashboardConfigEnvironment[\"default\"].APP.buildTimestamp);\n    },\n    actions: {\n      invalidateSession: function invalidateSession() {\n        this.get('store').unloadAll();\n        this.get('session').invalidate();\n      },\n      willTransition: function willTransition(transition) {\n        if (isEqual(transition.targetName, 'login') && this.get('session.isAuthenticated')) {\n          Logger.debug('Aborting login transition since user is authenticated');\n          transition.abort();\n        } else {\n          window.stop();\n          return true;\n        }\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/application/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = this.serialize(record, options);\n\n      //remove the root element\n      _ember['default'].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/application/table-header-row-filtering-new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"OL+L3HO/\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,7],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"j-table-filter-button\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right:15px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"filter\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"search\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"columnsLastIndex\\\"]],[\\\"get\\\",[\\\"index\\\"]]],null]],null,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"           \\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showFilterButton\\\"]]],null,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"value\\\",\\\"class\\\",\\\"enter\\\",\\\"focus-out\\\",\\\"placeholder\\\"],[\\\"text\\\",[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]],\\\"form-control\\\",\\\"filter\\\",\\\"filter\\\",[\\\"get\\\",[\\\"column\\\",\\\"filterPlaceholder\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"table-header-row-filtering\\\"],null,[[\\\"filterString\\\",\\\"filterOptions\\\",\\\"filter\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"filterOptions\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"filter\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,4,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"theadCell\\\"]],\\\" \\\",[\\\"helper\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useFilter\\\"]],[\\\"get\\\",[\\\"classes\\\",\\\"theadCellNoFiltering\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useFilter\\\"]]],null,5,2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]]],null,6]],\\\"locals\\\":[\\\"column\\\",\\\"index\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/application/table-header-row-filtering-new/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/application/table-header-row-filtering/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZV/d09uA\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,5],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"           \\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"value\\\",\\\"class\\\",\\\"enter\\\",\\\"placeholder\\\"],[\\\"text\\\",[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]],\\\"form-control\\\",\\\"\\\",[\\\"get\\\",[\\\"column\\\",\\\"filterPlaceholder\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"table-header-row-filtering\\\"],null,[[\\\"filterString\\\",\\\"filterOptions\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"filterOptions\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,2,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"theadCell\\\"]],\\\" \\\",[\\\"helper\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useFilter\\\"]],[\\\"get\\\",[\\\"classes\\\",\\\"theadCellNoFiltering\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useFilter\\\"]]],null,3,0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]]],null,4]],\\\"locals\\\":[\\\"column\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/application/table-header-row-filtering/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/application/table-pagination/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"wBF+N+ZD\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoFirst\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-first\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n\\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoPrev\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-prev\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n\\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"currentPageNumber\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n\\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoNext\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-next\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\\n\\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoLast\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-last\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/application/table-pagination/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/application/table-row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"v51Mg4KT\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"exists-in\\\"],[[\\\"get\\\",[\\\"_selectedItems\\\"]],[\\\"get\\\",[\\\"record\\\"]]],null],\\\"row-selected\\\"],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,10],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"component\\\"]]],[[\\\"data\\\",\\\"record\\\",\\\"column\\\",\\\"table\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\"]],[\\\"get\\\",[null]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"component\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"column\\\",\\\"template\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"template\\\"]]],null,3,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"id\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null,6,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"routeName\\\"]],[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],null,7]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"column\\\",\\\"className\\\"]],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"routeName\\\"]]],null,8,4],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]]],null,9]],\\\"locals\\\":[\\\"column\\\"]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/application/table-row/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/application/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"U1QeiR36\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"session\\\",\\\"isAuthenticated\\\"]]],null,3,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"buildTimestamp\\\"]]],null,0],[\\\"append\\\",[\\\"helper\\\",[\\\"ember-notify\\\"],null,[[\\\"messageStyle\\\",\\\"closeAfter\\\"],[\\\"bootstrap\\\",4000]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"position:fixed;bottom:4px;right:8px;font-size:10px;opacity:0.35;pointer-events:none;z-index:9999;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    built \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"buildTimestamp\\\"]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"outlet\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"outlet\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"body\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"skin-blue\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"fcs-navbar\\\"],null,[[\\\"invalidateSession\\\"],[\\\"invalidateSession\\\"]],2],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/application/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/attribute-set/delete-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"P6QV943S\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/attribute-set/delete-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/attribute-set/edit-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"dW4uWj7c\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"edit\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/attribute-set/edit-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/attribute-set/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'attributeSet.details.name.label' }),\n    attributes: [(0, _emberCpValidations.validator)('length', { min: 1, message: 'Must add at least 1 attribute' })]\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    content: (0, _emberDataAttr[\"default\"])('string'),\n    attributes: (0, _emberDataRelationships.hasMany)('attribute'),\n    deletedAttributes: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    priority: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 1 }),\n    attributesNames: computed('attributes.[]', function () {\n      var attributeNames = '';\n      this.get('attributes').forEach(function (attribute) {\n        if (isEmpty(attributeNames)) {\n          attributeNames = attribute.get('name');\n        } else {\n          attributeNames = attributeNames + ', ' + attribute.get('name');\n        }\n      });\n      return attributeNames;\n    })\n  });\n});","define(\"fcs-dashboard/pods/attribute-set/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.unloadAll('attributeSet');\n      }\n    },\n    model: function model() {\n      Logger.debug('getting data!');\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      return this.store.query('attributeSet', { companyId: company });\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (this.get('isReportingUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save(item) {\n        var _this = this;\n\n        item.save().then(function () {\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('attributeSet.details.errors.successSave', { name: item.get('name') }));\n          _this.refresh();\n        })[\"catch\"](function (error) {\n          var message = 'attributeSet.details.errors.savingError';\n          if (error !== undefined) {\n            message = \"attributeSet.details.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n          item.rollbackAttributes();\n        });\n      },\n      refresh: function refresh() {\n        _ember[\"default\"].Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/attribute-set/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      attributes: { serialize: 'records', deserialize: 'records' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/attribute-set/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6OfsQGnc\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"attribute-set/list\\\"],null,[[\\\"attributeSets\\\",\\\"save\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"refresh\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/attribute-set/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/attribute/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'company.detail.name.label' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    attributeSetId: (0, _emberDataAttr[\"default\"])('number'),\n    position: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/cash-calculator-display-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/cash-coin-rounding-mode/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/cash-coin-rounding-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/cashless-information/model\", [\"exports\", \"ember-data/attr\", \"ember-cp-validations\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _emberCpValidations, _modelFragmentsFragment) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    v4EventId: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'locationGroups.details.cashless.v4EventId.label' }), (0, _emberCpValidations.validator)('number', { gt: '0', descriptionKey: 'locationGroups.details.cashless.v4EventId.label' })]\n  });\n\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend(Validations, {\n    v4EventId: (0, _emberDataAttr[\"default\"])('number'),\n    gateway: (0, _emberDataAttr[\"default\"])('number'),\n    reverseUIDEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    enableQRCode: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    promoEmailsEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    eventUrl: (0, _emberDataAttr[\"default\"])('string'),\n    logo: (0, _emberDataAttr[\"default\"])('string'),\n    backgroundImage: (0, _emberDataAttr[\"default\"])('string'),\n    humanReadableCodeLength: (0, _emberDataAttr[\"default\"])('number'),\n    introHeader: (0, _emberDataAttr[\"default\"])('string'),\n    introBody: (0, _emberDataAttr[\"default\"])('string'),\n    introFooter: (0, _emberDataAttr[\"default\"])('string'),\n    startButtonTitle: (0, _emberDataAttr[\"default\"])('string'),\n    registrationSiteEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    creditCardRequired: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    thankYouText: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/category/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: [(0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'menu.builder.steps.stepSix.modals.category.name.label',\n      messageKey: 'menu.builder.steps.stepSix.productTable.errors.nameEmpty'\n    }), (0, _emberCpValidations.validator)('length', {\n      min: 1,\n      max: 25,\n      descriptionKey: 'menu.builder.steps.stepSix.modals.category.name.label',\n      messageKey: 'menu.builder.steps.stepSix.productTable.errors.nameLength'\n    })]\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    description: (0, _emberDataAttr[\"default\"])('string'),\n    pages: (0, _emberDataRelationships.hasMany)('page'),\n    deletedPages: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    menus: (0, _emberDataRelationships.hasMany)('menu'),\n    multiplePagesEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    changed: (0, _emberDataAttr[\"default\"])('boolean'),\n    isModified: observer('name', 'description', function () {\n      this.set('changed', this.get('hasDirtyAttributes'));\n    }),\n    categoryId: computed('name', 'id', function () {\n      return \"category\" + this.get('name') + \".\" + this.get('id') + \".\" + Date.now();\n    }),\n    hasPages: computed('pages.[]', function () {\n      return this.get('pages.length') > 1;\n    })\n  });\n});","define('fcs-dashboard/pods/category/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend(_emberData['default'].EmbeddedRecordsMixin, {\n    attrs: {\n      pages: { embedded: 'always' }\n    }\n  });\n});","define(\"fcs-dashboard/pods/clerk-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Wnl7V5ru\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/clerk-report/amount-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/clerk-report/clerk-report-item/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    username: (0, _emberDataAttr[\"default\"])('string'),\n    cashDrawer: (0, _emberDataAttr[\"default\"])('number'),\n    cashSales: (0, _emberDataAttr[\"default\"])('number'),\n    creditSales: (0, _emberDataAttr[\"default\"])('number'),\n    rfidSales: (0, _emberDataAttr[\"default\"])('number'),\n    totalSales: (0, _emberDataAttr[\"default\"])('number'),\n    coupon: (0, _emberDataAttr[\"default\"])('number'),\n    spills: (0, _emberDataAttr[\"default\"])('number'),\n    comp: (0, _emberDataAttr[\"default\"])('number'),\n    cashDiscounts: (0, _emberDataAttr[\"default\"])('number'),\n    digitalDiscounts: (0, _emberDataAttr[\"default\"])('number'),\n    multiProductDiscount: (0, _emberDataAttr[\"default\"])('number'),\n    giftWithPurchaseDiscount: (0, _emberDataAttr[\"default\"])('number'),\n    totalDiscounts: (0, _emberDataAttr[\"default\"])('number'),\n    serviceFees: (0, _emberDataAttr[\"default\"])('number'),\n    taxes: (0, _emberDataAttr[\"default\"])('number'),\n    netSales: (0, _emberDataAttr[\"default\"])('number'),\n    creditCardTips: (0, _emberDataAttr[\"default\"])('number'),\n    rfidTips: (0, _emberDataAttr[\"default\"])('number'),\n    totalDigitalTips: (0, _emberDataAttr[\"default\"])('number'),\n    voids: (0, _emberDataAttr[\"default\"])('number'),\n    refunds: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/clerk-report/location-clerk/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\", \"model-fragments/attributes\"], function (exports, _emberDataAttr, _modelFragmentsFragment, _modelFragmentsAttributes) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    clerks: (0, _modelFragmentsAttributes.fragmentArray)('clerkReport/clerkReportItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/clerk-report/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    clerks: (0, _modelFragmentsAttributes.fragmentArray)('clerkReport/clerkReportItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    locations: (0, _modelFragmentsAttributes.fragmentArray)('clerkReport/clerkReportItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    clerksByLocations: (0, _modelFragmentsAttributes.fragmentArray)('clerkReport/locationClerk', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    productTypes: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/productTypes', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    totalSales: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    totalResults: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    totalDigitalTips: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    outputFileName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/clerk-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get summarizedBy\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        query['companyRole'] = queryOptions.get('companyRole');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('clerkReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report.get('totalSales') === 0 && report.get('totalResults') === 0) {\n              _this.controller.set('noResults', true);\n              _this.controller.set('isShowExportButton', false);\n            } else {\n              _this.controller.set('noResults', false);\n              _this.controller.set('isShowExportButton', true);\n            }\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/clerk-report/serializer\", [\"exports\", \"ember-data\", \"ember\"], function (exports, _emberData, _ember) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.clerkReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/clerk-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"7fqv0yLA\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/clerk-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/combined-product-catalog/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n  var inject = _ember[\"default\"].inject;\n  var isEmpty = _ember[\"default\"].isEmpty;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'combinedProductCatalog.modal.name.label'\n    }),\n    suggestedPrice: [(0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'combinedProductCatalog.modal.suggestedPrice.label'\n    }), (0, _emberCpValidations.validator)('number', {\n      positive: true,\n      allowString: true,\n      descriptionKey: 'combinedProductCatalog.modal.suggestedPrice.label'\n    })],\n    companyId: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      dependentKey: ['disableValidateCompany'],\n      descriptionKey: 'combinedProductCatalog.modal.company.label',\n      disabled: computed(function () {\n        return this.get('model.disableValidateCompany');\n      }).volatile()\n    }),\n    productType: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'combinedProductCatalog.modal.productType.label'\n    }),\n    productClass: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'combinedProductCatalog.modal.productClass.label'\n    })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    version: (0, _emberDataAttr[\"default\"])('number'),\n    productClass: (0, _emberDataRelationships.belongsTo)('productClass'),\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    suggestedPrice: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    description: (0, _emberDataAttr[\"default\"])('string'),\n    custom: (0, _emberDataAttr[\"default\"])('boolean'),\n    currency: (0, _emberDataAttr[\"default\"])('string', { defaultValue: 'USD' }),\n    products: (0, _emberDataRelationships.hasMany)('product'),\n    changed: (0, _emberDataAttr[\"default\"])('boolean'),\n    image: (0, _emberDataAttr[\"default\"])('string'),\n    imageURL: (0, _emberDataAttr[\"default\"])('string'),\n    sku: (0, _emberDataAttr[\"default\"])('string'),\n    deleteImage: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    productCatalogTemplate: (0, _emberDataAttr[\"default\"])('boolean'),\n    isModified: computed('name', 'suggestedPrice', 'description', function () {\n      this.set('changed', this.get('hasDirtyAttributes'));\n    }),\n    disableValidateCompany: true,\n    productType: (0, _emberDataRelationships.belongsTo)('productType'),\n    attributes: (0, _emberDataRelationships.hasMany)('attribute'),\n    comboSelectionCatalogs: (0, _emberDataRelationships.hasMany)('comboSelectionCatalog'),\n    metaProductCatalogId: (0, _emberDataAttr[\"default\"])('number'),\n    archived: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    attributesNames: computed('attributes.[]', function () {\n      var attributeNames = '';\n      this.get('attributes').forEach(function (attribute) {\n        if (isEmpty(attributeNames)) {\n          attributeNames = attribute.get('name');\n        } else {\n          attributeNames = attributeNames + ', ' + attribute.get('name');\n        }\n      });\n      return attributeNames;\n    }),\n    intl: inject.service(),\n    translatedStatus: computed('archived', function () {\n      if (this.get('archived')) {\n        return this.get('intl').t('menu.list.table.status.inactive');\n      } else {\n        return this.get('intl').t('menu.list.table.status.active');\n      }\n    }),\n    displayClassName: (0, _emberDataAttr[\"default\"])('string'),\n    deletedComboSelectionCatalogs: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/combined-product-catalog/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    isReload: false,\n    company: null,\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.unloadAll('combinedProductCatalogs');\n      }\n    },\n    model: function model() {\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      this.set('company', company);\n      return this.store.query('combinedProductCatalog', { companyId: company, loadAttributes: false });\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n\n      if (this.get('isReportingUser')) {\n        this.transitionTo('');\n      } else {\n        var company = this.get('company');\n        if (!company) {\n          if (!this.get('isBRUser') && !this.get('isReload')) {\n            this.set('isReload', true);\n            this.refresh();\n          }\n        }\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/combined-product-catalog/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      attributes: { serialize: 'records', deserialize: 'records' },\n      comboSelectionCatalogs: { serialize: 'records', deserialize: 'records' },\n      productType: { embedded: 'always' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/combo-selection-catalog/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    productCatalogId: (0, _emberDataAttr[\"default\"])('number'),\n    position: (0, _emberDataAttr[\"default\"])('number'),\n    displayText: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    comboSelectionProductCatalogList: (0, _modelFragmentsAttributes.fragmentArray)('comboSelectionProductCatalog'),\n    deletedComboSelectionProductCatalogList: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/combo-selection-product-catalog/delete-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EYULp7pg\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/combo-selection-product-catalog/delete-action/template.hbs\" } });\n});","define('fcs-dashboard/pods/combo-selection-product-catalog/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    comboSelectionProductCatalogId: (0, _emberDataAttr['default'])('number'),\n    productCatalogId: (0, _emberDataAttr['default'])('number'),\n    productCatalogName: (0, _emberDataAttr['default'])('string'),\n    deleted: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    priceChange: (0, _emberDataAttr['default'])('number')\n  });\n});","define(\"fcs-dashboard/pods/combo-selection-product-catalog/suggested-price-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"cE+i3USv\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"0\\\",\\\"true\\\",\\\"form-control text-center\\\",[\\\"get\\\",[\\\"record\\\",\\\"priceChange\\\"]]]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/combo-selection-product-catalog/suggested-price-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/combo-selection/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\"], function (exports, _emberDataModel, _emberDataAttr, _emberDataRelationships) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    comboSelectionCatalogId: (0, _emberDataAttr[\"default\"])('number'),\n    position: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    displayText: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean'),\n    products: (0, _emberDataRelationships.hasMany)('product', { inverse: null })\n  });\n});","define('fcs-dashboard/pods/combo-selection/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend(_emberData['default'].EmbeddedRecordsMixin, {\n    attrs: {\n      products: { serialize: 'records', deserialize: 'records' }\n    }\n  });\n});","define(\"fcs-dashboard/pods/company-role/model\", [\"exports\", \"ember\", \"ember-data/attr\", \"model-fragments/fragment\", \"ember-cp-validations\"], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    roleId: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'locationGroups.details.companies.role.label' }),\n    companyId: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'locationGroups.details.companies.company.label' })\n  });\n\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend(Validations, {\n    roleId: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('string'),\n    reportsTo: (0, _emberDataAttr[\"default\"])('string'),\n    locations: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    locationObjects: computed(function () {\n      return [];\n    })\n  });\n});","define(\"fcs-dashboard/pods/company/actions/change-password-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"pplaE10O\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right:15px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"showChangePasswordModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.list.buttons.changePassword\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/actions/change-password-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/company/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"CdCdnMbW\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[\\\"company.edit\\\",[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],[[\\\"class\\\"],[\\\"icon\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.list.buttons.edit\\\"],null],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/company/actions/lock-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"HOUwDxdt\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"locked\\\"]],[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],null]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-unlock icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"lockCompany\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-lock icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"lockCompany\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/actions/lock-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/company/edit/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    companyId: null,\n    model: function model(params) {\n      this.set('companyId', params.company_id);\n      return this.store.findRecord('company', params.company_id, { reload: true });\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('company/edit', { into: 'application' });\n    },\n    actions: {\n      refreshAction: function refreshAction() {\n        this.store.findRecord('company', this.get('companyId'), { reload: true });\n      },\n      willTransition: function willTransition() {\n        this.controller.get('model').rollbackAttributes();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/company/edit/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8O+QyhGa\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"company/company-details\\\"],null,[[\\\"model\\\",\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/edit/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/company/loading/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('company/loading', { into: 'application' });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/company/loading/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"SW8loRnK\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/loading/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/company/model\", [\"exports\", \"ember\", \"fcs-dashboard/config/environment\", \"cryptojs\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _fcsDashboardConfigEnvironment, _cryptojs, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n  var _cryptojs$enc = _cryptojs[\"default\"].enc;\n  var Base64 = _cryptojs$enc.Base64;\n  var Utf8 = _cryptojs$enc.Utf8;\n  var _cryptojs$AES = _cryptojs[\"default\"].AES;\n  var decrypt = _cryptojs$AES.decrypt;\n  var encrypt = _cryptojs$AES.encrypt;\n  var CBC = _cryptojs[\"default\"].mode.CBC;\n  var Pkcs7 = _cryptojs[\"default\"].pad.Pkcs7;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'company.detail.name.label' }),\n    tabletLogin: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'company.detail.tabletLogin.label' }),\n    password: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'company.detail.password.label' }),\n    userProfiles: [(0, _emberCpValidations.validator)('length', { min: 1, message: 'At least one company profile must be selected' })]\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    tabletLogin: (0, _emberDataAttr[\"default\"])('string'),\n    status: (0, _emberDataAttr[\"default\"])('string'),\n    password: (0, _emberDataAttr[\"default\"])('string'),\n    tags: (0, _emberDataAttr[\"default\"])('array', {\n      defaultValue: function defaultValue() {\n        return [];\n      },\n      transform: function transform(value) {\n        console.log('Value:', value);\n        if (Array.isArray(value)) {\n          // Convert object array to string array if backend returns object array\n          return value.map(function (tag) {\n            if (typeof tag === 'string') {\n              return tag;\n            } else if (tag && typeof tag === 'object' && tag.name) {\n              return tag.name;\n            } else {\n              return String(tag);\n            }\n          });\n        }\n        return value || [];\n      }\n    }),\n    userProfiles: (0, _emberDataRelationships.hasMany)('userProfile', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    locations: (0, _emberDataRelationships.hasMany)('location'),\n    menus: (0, _emberDataRelationships.hasMany)('menu'),\n    disabled: false,\n    intl: _ember[\"default\"].inject.service(),\n    translatedStatus: computed('status', function () {\n      return this.get('intl').t(\"company.statuses.\" + this.get('status'));\n    }),\n    encryptedPassword: computed('decryptedPassword', function () {\n      return this._encryptCompanyPassword(this.get('decryptedPassword'));\n    }),\n\n    // Convert tags to backend expected format\n    tagsForSave: computed('tags', function () {\n      var tags = this.get('tags') || [];\n      return tags.map(function (tag) {\n        return { name: tag.name };\n      });\n    }),\n    decryptedPassword: computed(function () {\n      var decryptedPassword = '';\n      if (!this.get('isNew')) {\n        decryptedPassword = this._decryptCompanyPassword(this.get('password'));\n      }\n      return decryptedPassword;\n    }),\n    _decryptCompanyPassword: function _decryptCompanyPassword(encryptedPassword) {\n      var encodedBase64 = Base64.parse(encryptedPassword);\n      var key = Base64.parse(_fcsDashboardConfigEnvironment[\"default\"].APP.secretKey);\n      var iv = Base64.parse(_fcsDashboardConfigEnvironment[\"default\"].APP.iv);\n      return Utf8.stringify(decrypt({ ciphertext: encodedBase64 }, key, { mode: CBC, padding: Pkcs7, iv: iv }));\n    },\n    _encryptCompanyPassword: function _encryptCompanyPassword(plainPassword) {\n      var key = Base64.parse(_fcsDashboardConfigEnvironment[\"default\"].APP.secretKey);\n      var iv = Base64.parse(_fcsDashboardConfigEnvironment[\"default\"].APP.iv);\n      var encrypted = encrypt(plainPassword, key, { mode: CBC, padding: Pkcs7, iv: iv });\n      return encrypted.ciphertext.toString(Base64);\n    }\n\n  });\n});","define('fcs-dashboard/pods/company/new/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember['default'].Route;\n  exports['default'] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], {\n    model: function model() {\n      var company = this.store.createRecord('company', { status: 'active' });\n      company.get('userProfiles').pushObjects(this.store.peekAll('userProfile').filterBy('defaultProfile', true));\n      return company;\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('companies', this.store.peekAll('company'));\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('company/new', { into: 'application' });\n    },\n    actions: {\n      refreshAction: function refreshAction() {\n        var model = this.controller.get('model');\n        this.store.findRecord('company', model.get('id'), { reload: true });\n      },\n      willTransition: function willTransition() {\n        this.controller.get('model').rollbackAttributes();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/company/new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"i5RVW9G6\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"company/company-details\\\"],null,[[\\\"model\\\",\\\"companies\\\",\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"companies\\\"]],\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/new/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/company/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.findAll('userProfile');\n      }\n    },\n    model: function model() {\n      return this.store.query('company', {});\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save(model, passwordConfirmation) {\n        var _this = this;\n\n        this.send('cleanMessages');\n        if (model.get('validations.isValid')) {\n          if (model.get('isNew') && !isEqual(model.get('decryptedPassword'), passwordConfirmation)) {\n            var errorMessage = this.get('notify').alert(this.get('intl').t('company.detail.errors.passwordNotMatch'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          } else {\n            (function () {\n              model.set('password', model.get('encryptedPassword'));\n              var message = '';\n              if (passwordConfirmation === undefined && !model.get('isNew')) {\n                message = 'company.detail.errors.successPasswordChange';\n              } else {\n                message = 'company.detail.errors.successSave';\n              }\n\n              model.save().then(function (savedModel) {\n                // Reload model to get the actual tags from backend\n                _this.store.findRecord('company', savedModel.get('id'), { reload: true }).then(function (reloadedModel) {\n                  // Update the current model with the reloaded data\n                  model.set('tags', reloadedModel.get('tags'));\n                });\n\n                _this.get('notify').success(_this.get('intl').t(message));\n                _this.send('cleanMessages');\n              })[\"catch\"](function (error) {\n                var message = 'company.detail.errors.savingError';\n                if (error !== undefined) {\n                  message = \"company.detail.errors.\" + error.errors.get(0).detail;\n                }\n                var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: model.get('name') }), { closeAfter: 5000 });\n                _this.get('errorMessages').addObject(errorMessage);\n              });\n            })();\n          }\n        } else {\n          model.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      cancel: function cancel(model) {\n        this.send('cleanMessages');\n        model.rollbackAttributes();\n        this.transitionTo('company');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/company/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      userProfiles: { embedded: 'always' },\n      locations: { embedded: 'always' },\n      tags: { embedded: 'always' }\n    },\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      if (payload.hasOwnProperty('extendedMenu')) {\n        payload.menu = payload.extendedMenu;\n        delete payload.extendedMenu;\n      }\n\n      return this._super.apply(this, arguments);\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/company/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"U6DPk2L0\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"company/company-list\\\"],null,[[\\\"data\\\",\\\"save\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/company/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/attribute-set/details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var sort = _ember[\"default\"].computed.sort;\n  var A = _ember[\"default\"].A;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    newAttributes: [],\n    valid: true,\n    attributeSet: undefined,\n    positions: [],\n    _sortCriteria: ['name'],\n    _sortedCompanies: sort('_companies', '_sortCriteria'),\n    _companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    _showCompanies: computed(function () {\n      return this.get('attributeSet.isNew') && this.get('isBRUser') && this.get('lockedCompany') === undefined;\n    }),\n    generatePositions: function generatePositions() {\n      var _this = this;\n\n      this.get('positions').clear();\n      // Add positions to options\n      var position = 1;\n      this.get('newAttributes').forEach(function (attribute) {\n        _this.get('positions').addObject(position);\n        position++;\n      });\n    },\n    /**\n     * Ember's hook method\n     */\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.get('newAttributes').addObjects(this.get('attributeSet.attributes'));\n      this.generatePositions();\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('newAttributes').clear();\n    },\n    actions: {\n      saveAction: function saveAction() {\n        if (this.get('newAttributes').filter(function (attribute) {\n          return _ember[\"default\"].isEmpty(attribute.get('name')) || _ember[\"default\"].isBlank(attribute.get('name'));\n        }).mapBy('name').get('length') > 0) {\n          this.get('notify').alert(this.get('intl').t('attributeSet.list.errors.blankAttributeError'), { closeAfter: 5000 });\n        } else if (this.get('newAttributes').get('length') > 1) {\n          var duplicates = [];\n          for (var i = 0; i < this.get('newAttributes').get('length'); i++) {\n            for (var j = i + 1; j < this.get('newAttributes').get('length'); j++) {\n              if (this.get('newAttributes').get(i).get('name') === this.get('newAttributes').get(j).get('name')) {\n                duplicates.push(this.get('newAttributes').get(i));\n                break;\n              }\n            }\n          }\n          if (duplicates.length > 0) {\n            this.get('notify').alert(this.get('intl').t('attributeSet.list.errors.duplicatedAttributeNameError'), { closeAfter: 5000 });\n          } else {\n            this.set('attributeSet.attributes', this.get('newAttributes'));\n            this.sendAction('saveAction', this.get('attributeSet'));\n          }\n        } else {\n          this.set('attributeSet.attributes', this.get('newAttributes'));\n          this.sendAction('saveAction', this.get('attributeSet'));\n        }\n      },\n      cancelAction: function cancelAction() {\n        this.get('attributeSet.attributes').forEach(function (attribute) {\n          attribute.rollbackAttributes();\n        });\n        this.sendAction('cancelAction', this.get('attributeSet'));\n      },\n      addAttribute: function addAttribute() {\n        var newAttribute = this.get('store').createRecord('attribute');\n        newAttribute.set('position', this.get('newAttributes.length') + 1);\n        this.get('newAttributes').addObject(newAttribute);\n        this.generatePositions();\n      },\n      removeAttribute: function removeAttribute(attribute) {\n        if (attribute.get('id') !== null && attribute.get('id') !== undefined) {\n          if (this.get('attributeSet.deletedAttributes') === null || this.get('attributeSet.deletedAttributes') === undefined) {\n            this.set('attributeSet.deletedAttributes', A());\n          }\n          this.get('attributeSet.deletedAttributes').addObject(attribute.get('id'));\n        }\n        this.get('newAttributes').removeObject(attribute);\n        this.generatePositions();\n      },\n      selectCompany: function selectCompany(company) {\n        this.get('attributeSet').set('companyId', company.get('id'));\n        this.get('attributeSet').set('companyName', company.get('name'));\n        this.set('selectedCompany', company);\n      },\n      changePositionAction: function changePositionAction(attribute, position) {\n        Logger.info('changePosition');\n        if (position !== null) {\n          var targetAttributeAtPosition = null;\n          if (this.get('newAttributes').findBy('position', position) !== null && this.get('newAttributes').findBy('position', position) !== undefined) {\n            targetAttributeAtPosition = this.get('newAttributes').findBy('position', position);\n          }\n          if (targetAttributeAtPosition !== undefined && targetAttributeAtPosition !== null) {\n            targetAttributeAtPosition.set('position', attribute.get('position'));\n            attribute.set('position', position);\n          } else {\n            attribute.set('position', position);\n          }\n        } else {\n          attribute.set('position', 0);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/attribute-set/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/dCf+0kw\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"attributeSetName\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"required\\\",\\\"value\\\"],[\\\"text\\\",\\\"attributeSetName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.name.placeholder\\\"],null],\\\"form-control\\\",\\\"true\\\",[\\\"get\\\",[\\\"attributeSet\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showCompanies\\\"]]],null,3],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning modals-button col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 30px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addAttribute\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.buttons.addAttribute\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"newAttributes\\\"]]],null,1],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"position\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"position\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 7px; margin-right: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Attribute \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"item-list-number\\\"],[[\\\"get\\\",[\\\"index\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"true\\\",\\\"25\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"attribute\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash fa-2x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeAttribute\\\",[\\\"get\\\",[\\\"attribute\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"positions\\\"]],[\\\"get\\\",[\\\"attribute\\\",\\\"position\\\"]],false,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePositionAction\\\",[\\\"get\\\",[\\\"attribute\\\"]]],null]]],0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"attribute\\\",\\\"index\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-10 col-md-10 col-lg-10\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"locationType\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"selectedCompany\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.company.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.company.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCompany\\\"],null]]],2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/attribute-set/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/attribute-set/list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    columns: computed(function () {\n      var hideCompanyColumn = !this.get('isBRUser');\n      return [{\n        title: '',\n        template: \"attribute-set/edit-cell\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('attributeSet.list.name')\n      }, {\n        propertyName: 'content',\n        filteredBy: 'content',\n        title: this.get('intl').t('attributeSet.list.attributes')\n      }, {\n        propertyName: 'companyName',\n        filteredBy: 'companyName',\n        title: this.get('intl').t('attributeSet.list.company'),\n        isHidden: hideCompanyColumn,\n        className: 'companyNameRow'\n      }, {\n        title: '',\n        template: \"attribute-set/delete-cell\",\n        className: 'editRow'\n      }];\n    }),\n    showEditModal: false,\n    currentAttributeSet: undefined,\n    _filteredData: [],\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    actions: {\n      addAttributeSet: function addAttributeSet() {\n        var companyId = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            companyId = this.get('lockedCompany.id');\n          }\n        } else {\n          companyId = this.get('loggedAccount.company.id');\n        }\n        this.set('currentAttributeSet', this.get('store').createRecord('attributeSet', { companyId: companyId }));\n        this.set('showEditModal', true);\n      },\n      editAttributeSet: function editAttributeSet(item) {\n        this.set('currentAttributeSet', item);\n        this.set('showEditModal', true);\n      },\n      closeModal: function closeModal(item) {\n        this.send('cleanMessages');\n        this.set('showEditModal', false);\n        item.rollbackAttributes();\n      },\n      accept: function accept(item) {\n        var _this = this;\n\n        if (item.get('validations.isValid')) {\n          this.set('showEditModal', false);\n          this.sendAction('save', item);\n        } else {\n          this.send('cleanMessages');\n          item.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      deleteAttributeSet: function deleteAttributeSet(item) {\n        // TODO Add validation to deleting AttributeSet\n        item.set('deleted', true);\n        this.sendAction('save', item);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/attribute-set/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"jbn3Di5k\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addAttributeSet\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.list.buttons.new\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"edit\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"attributeSets\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",\\\"editAttributeSet\\\",\\\"deleteAttributeSet\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showEditModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"attribute-set/details\\\"],null,[[\\\"attributeSet\\\",\\\"saveAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"currentAttributeSet\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"attributeSet.details.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/attribute-set/list/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/autocomplete-input/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var isBlank = _ember['default'].isBlank;\n  exports['default'] = Component.extend({\n    items: [],\n    name: '',\n    hasResults: true,\n    actions: {\n      inputKeyUp: function inputKeyUp(keyword) {\n        this.set('hasResults', false);\n        var filteredData = this.get('items');\n        var regex = new RegExp(keyword, \"gi\");\n        if (isBlank(keyword) || keyword.length < 2) {\n          this.set('hasResults', false);\n          this.set('filteredItems', filteredData.sortBy('name'));\n        } else {\n          var filteredItems = filteredData.filter(function (item) {\n            return item.get('name').match(regex);\n          });\n          this.set('filteredItems', filteredItems);\n          this.set('hasResults', true);\n        }\n        this.sendAction('sendTraitName', this.get('name'));\n      },\n      selectItem: function selectItem(selectedItem) {\n        this.set('name', selectedItem.get('name'));\n        this.set('hasResults', false);\n        this.sendAction('selectItem', selectedItem);\n      },\n      addNewItem: function addNewItem() {\n        this.set('hasResults', false);\n        this.sendAction('addNewItem', this.get('name'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/autocomplete-input/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"rmABn9DX\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"key-up\\\",\\\"enter\\\"],[\\\"text\\\",\\\"true\\\",[\\\"get\\\",[\\\"name\\\"]],[\\\"get\\\",[\\\"placeholder\\\"]],\\\"form-control\\\",\\\"inputKeyUp\\\",\\\"addNewItem\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasResults\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"list-group-item\\\"],[\\\"dynamic-attr\\\",\\\"onclick\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectItem\\\",[\\\"get\\\",[\\\"item\\\"]]],null],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"selectOptions\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"list-group list-group-hover\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"position: absolute; z-index: 999;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"filteredItems\\\"]]],null,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/autocomplete-input/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/breadcrumbs-path/component', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend({\n    actions: {\n      handleCrumb: function handleCrumb(crumb) {\n        this.sendAction('crumbAction', crumb);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/breadcrumbs-path/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"L2FxOeYD\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menuName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"ol\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"breadcrumb\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"crumbs\\\"]]],null,3],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"crumb\\\",\\\"label\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"handleCrumb\\\",[\\\"get\\\",[\\\"crumb\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"crumb\\\",\\\"label\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"crumb\\\",\\\"isActive\\\"]],\\\"active\\\"],null],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"get\\\",[\\\"crumb\\\",\\\"isActive\\\"]],[\\\"get\\\",[\\\"crumb\\\",\\\"isEnabled\\\"]]],null]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"crumb\\\",\\\"display\\\"]]],null,2]],\\\"locals\\\":[\\\"crumb\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/breadcrumbs-path/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/change-password-modal/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    password_confirmation: '',\n    password: '',\n    password_error: null,\n    displayErrorClass: 'hideError',\n    displayProperty: computed('displayErrorClass', function () {\n      return htmlSafe(this.get('displayErrorClass'));\n    }),\n    actions: {\n      saveAction: function saveAction() {\n        var _getProperties = this.getProperties('password', 'password_confirmation');\n\n        var password = _getProperties.password;\n        var password_confirmation = _getProperties.password_confirmation;\n\n        if (!isEmpty(password) && !isEmpty(password_confirmation) && isEqual(password, password_confirmation)) {\n          this.sendAction('changePassword', this.get('model'), password);\n        } else {\n          this.set('displayErrorClass', 'displayError');\n          this.set('password_error', \"'Password' does not match 'Password Confirmation'.\");\n        }\n      },\n      closeModal: function closeModal() {\n        this.get('model').rollbackAttributes();\n        this.sendAction('closeModal');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/change-password-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"PsWlFjFm\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group col-md-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.password.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"required\\\",\\\"value\\\"],[\\\"password\\\",\\\"password\\\",\\\"password\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.password.placeholder\\\"],null],\\\"form-control\\\",\\\"true\\\",[\\\"get\\\",[\\\"password\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group col-md-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password_confirm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.passwordConfirmation.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"required\\\",\\\"value\\\"],[\\\"password\\\",\\\"password_confirm\\\",\\\"password_confirm\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.passwordConfirmation.placeholder\\\"],null],\\\"form-control\\\",\\\"true\\\",[\\\"get\\\",[\\\"password_confirmation\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"passwordAlert\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"alert alert-danger \\\",[\\\"unknown\\\",[\\\"displayProperty\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"password_error\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group col-md-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"type\\\",\\\"submit\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.buttons.change\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/change-password-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/clerk-report/report-result/clerks-by-location/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = Component.extend({\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/clerks-by-location/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"iK7Xg3SX\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/report-result/clerks\\\"],null,[[\\\"data\\\",\\\"dataName\\\"],[[\\\"get\\\",[\\\"datum\\\",\\\"clerks\\\"]],[\\\"get\\\",[\\\"datum\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"datum\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"data\\\"]]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/clerk-report/report-result/clerks-by-location/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/clerks/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.clerkReport.clerks.name'),\n        className: 'non-cash-category-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.username'),\n        className: 'non-cash-category-cell',\n        propertyName: 'username',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.cashDrawer'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashDrawer',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.totalDigitalTips'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalDigitalTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.cashGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.creditGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'creditSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.rfidGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'rfidSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.netSalesWithTax'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.coupon'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'coupon',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.spills'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.comp'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'comp',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.cashDiscounts'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashDiscounts',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.digitalDiscounts'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'digitalDiscounts',\n        disableSorting: true\n      }, {\n        title: 'Multi-Product Discount',\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'multiProductDiscount',\n        disableSorting: true\n      }, {\n        title: 'Gift with Purchase Discount',\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'giftWithPurchaseDiscount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.discounts'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalDiscounts',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'serviceFees',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'taxes',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'netSales',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'creditCardTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'rfidTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'refunds',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.voids'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/clerks/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"GgnY8IPh\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.clerkReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.clerkReport.clerksByLocation.location\\\"],[[\\\"location\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/clerk-report/report-result/clerks/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({});\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/locations/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.clerkReport.locations.name'),\n        className: 'non-cash-category-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.cashDrawer'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashDrawer',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.cashGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.creditGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'creditSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.rfidGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'rfidSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.netSalesWithTax'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.coupon'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'coupon',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.spills'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.comp'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'comp',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.cashDiscounts'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashDiscounts',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.digitalDiscounts'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'digitalDiscounts',\n        disableSorting: true\n      }, {\n        title: 'Multi-Product Discount',\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'multiProductDiscount',\n        disableSorting: true\n      }, {\n        title: 'Gift with Purchase Discount',\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'giftWithPurchaseDiscount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.discounts'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalDiscounts',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'serviceFees',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'taxes',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'netSales',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'creditCardTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'rfidTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.totalDigitalTips'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalDigitalTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'refunds',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.clerks.voids'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/locations/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"xKxjr29R\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.locations\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/clerk-report/report-result/locations/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/product-types/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.clerkReport.productTypes.name'),\n        className: 'non-cash-category-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.netSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'netSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.tax'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'tax',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.voids'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.comps'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'comps',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.spills'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.compsDueToDecline'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'declined',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.refund'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'refund',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.discount'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'discount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.clerkReport.productTypes.coupon'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'coupon',\n        disableSorting: true\n      }, {\n        // BRP-3977 Phase 1f follow-up: i18n key 'productTypes.grossSales' is\n        // labeled \"Gross Sales Without Voids\". Reading grossSales surfaced gross\n        // *with* voids under the without-voids header (e.g. Beer $7.40 instead\n        // of $6.40 = net+tax+comps+spills). Switch to grossSalesWithoutVoids\n        // which the dashboard server populates per Phase 1f.\n        title: this.get('intl').t('report.result.clerkReport.productTypes.grossSales'),\n        className: 'non-cash-total-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'grossSalesWithoutVoids',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/product-types/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"QEGAm4I4\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.clerkReport.salesByProductType.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/clerk-report/report-result/product-types/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/clerk-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8NYSFXUr\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.reportSummaryText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.netSalesWithTax\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"totalSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.totalDigitalTips\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"totalDigitalTips\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"clerks table\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/report-result/clerks\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"clerks\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"locations table\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/report-result/locations\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"locations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"clerks by location\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/report-result/clerks-by-location\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"clerksByLocations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"product types\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"clerk-report/report-result/product-types\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"productTypes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/clerk-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/clerk-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('dailyCloseOutFilter');\n    }),\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.get('selectedMenus').clear();\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Daily Close Out');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/clerk-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"qN+ZH9rd\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:12px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],20],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],18],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],17],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,16],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,12],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],13],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/clerk-report/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/company/company-details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/company-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsCompanyMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsCompanyMixin[\"default\"], {\n    passwordConfirmation: '',\n    invalidTabletLogin: false,\n    userProfileSorting: ['name'],\n    userProfilesSorted: computed.sort('userProfiles', 'userProfileSorting'),\n    userProfiles: computed(function () {\n      return this.get('store').query('userProfile', { company: this.get('model.id') });\n    }),\n    invalidTabletLoginObserver: observer('model.tabletLogin', function () {\n      if (this.get('companies').filterBy('tabletLogin', this.get('model.tabletLogin')).length > 1) {\n        this.get('notify').alert(this.get('intl').t('company.detail.errors.invalidTabletLogin'), { closeAfter: 5000 });\n        this.set('invalidTabletLogin', true);\n      } else {\n        this.set('invalidTabletLogin', false);\n      }\n    }),\n    companyProfiles: computed.alias('model.userProfiles'),\n    showLocationList: computed('model.isNew', function () {\n      return !this.get('model.isNew');\n    }),\n    showTags: computed('model.isNew', function () {\n      return !this.get('model.isNew');\n    }),\n    actions: {\n      cancelAction: function cancelAction(model) {\n        this.sendAction('cancel', model);\n      },\n      refreshAction: function refreshAction() {\n        this.sendAction('refreshAction');\n      },\n      saveAction: function saveAction(model, passwordConfirmation) {\n        if (model.get('isNew')) {\n          model.set('password', passwordConfirmation);\n        }\n        this.sendAction('save', model, passwordConfirmation);\n      },\n      statusSelected: function statusSelected(selection) {\n        this.set('model.status', selection.toLowerCase());\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/company/company-details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"XBXzunWn\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-4 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"name\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"name\\\",\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.name.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" TODO Remove the following code if the user company profiles default is always managers and clerks\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" <div class=\\\\\\\"col-sm-6 col-md-6 col-lg-4 stretch-fields\\\\\\\">\\\\n          <div class=\\\\\\\"col-sm-12 col-md-12 col-lg-12\\\\\\\">\\\\n            <label class=\\\\\\\"control-label\\\\\\\" for=\\\\\\\"name\\\\\\\">\\\\n              {{t 'company.detail.companyProfile.label'}}\\\\n            </label>\\\\n          </div>\\\\n          <div class=\\\\\\\"controls checkbox userProfiles\\\\\\\">\\\\n            {{fcs-multiselect-checkboxes options=userProfilesSorted labelProperty='longName' selection=companyProfiles disabledProperty='profileDisabled'}}\\\\n          </div>\\\\n        </div> \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-4 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"tabletLogin\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.tabletLogin.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"tabletLogin\\\",\\\"tabletLogin\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.tabletLogin.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"tabletLogin\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.status.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"statuses\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"translatedStatus\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"statusSelected\\\"],null]]],3],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"isNew\\\"]]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showLocationList\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showTags\\\"]]],null,0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"invalidTabletLogin\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\",[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"passwordConfirmation\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-4 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.tags.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"tags-input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"tags\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.tags.placeholder\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-4 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-mng/embedded-list\\\"],null,[[\\\"company\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"refreshAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.password.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"password\\\",\\\"password\\\",\\\"password\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.password.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"decryptedPassword\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password_confirm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.passwordConfirmation.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"password\\\",\\\"password_confirm\\\",\\\"password_confirm\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.passwordConfirmation.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"passwordConfirmation\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"status\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"status\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/company/company-details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/company/company-list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/company-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsCompanyMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsCompanyMixin[\"default\"], {\n    data: [],\n    _columns: computed(function () {\n      var availableStatuses = this.get('statuses');\n      return [{\n        title: '',\n        template: \"company/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"company/actions/lock-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'id',\n        filteredBy: 'id',\n        title: this.get('intl').t('company.list.table.id'),\n        className: 'idEditRow'\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('company.list.table.name')\n      }, {\n        propertyName: 'translatedStatus',\n        filteredBy: 'translatedStatus',\n        title: this.get('intl').t('company.list.table.status'),\n        filterWithSelect: true,\n        predefinedFilterOptions: availableStatuses,\n        className: 'stateRow',\n        filterFunction: function filterFunction(cell, neededStr, obj) {\n          return isEqual(obj.get('status'), neededStr);\n        }\n      }, {\n        title: '',\n        template: \"company/actions/change-password-action\",\n        className: 'editRow'\n      }];\n    }),\n    _company: null,\n    showPasswordModal: false,\n    _filteredCompanies: [],\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('_filteredCompanies', this.get('data'));\n    },\n    actions: {\n      showChangePasswordModal: function showChangePasswordModal(company) {\n        this.set('_company', company);\n        this.set('_company.password', null);\n        this.set('showPasswordModal', true);\n      },\n      lockCompany: function lockCompany(company) {\n        if (isEqual(this.get('loggedAccount.lockedCompany.id'), company.get('id'))) {\n          this.set('loggedAccount.lockedCompany', undefined);\n        } else {\n          this.set('loggedAccount.lockedCompany', company);\n        }\n      },\n      changePassword: function changePassword(model, password) {\n        this.set('showPasswordModal', false);\n        model.set('decryptedPassword', password);\n        model.set('password', password);\n        this.sendAction('save', model);\n      },\n      closeModal: function closeModal() {\n        this.set('showPasswordModal', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/company/company-list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/IDGuSxY\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"company.new\\\"],[[\\\"class\\\"],[\\\"btn btn-success\\\"]],2],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"locked\\\",\\\"customClasses\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"showChangePasswordModal\\\",\\\"lockCompany\\\"],[[\\\"get\\\",[\\\"_filteredCompanies\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"loggedAccount\\\",\\\"lockedCompany\\\",\\\"id\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering-new\\\",\\\"showChangePasswordModal\\\",\\\"lockCompany\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPasswordModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"change-password-modal\\\"],null,[[\\\"model\\\",\\\"passwordField\\\",\\\"closeModal\\\",\\\"changePassword\\\"],[[\\\"get\\\",[\\\"_company\\\"]],\\\"decryptedPassword\\\",\\\"closeModal\\\",\\\"changePassword\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.list.buttons.new\\\"],null],false]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/company/company-list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/contact-info/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({});\n});","define(\"fcs-dashboard/pods/components/contact-info/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"35m91Ucg\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"testDiv\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"cognito\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"script\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"cognitoScript\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Cognito.load(\\\\\\\"forms\\\\\\\", { id: \\\\\\\"6\\\\\\\" });\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/contact-info/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/custom-fee-log/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"uDQPmpr8\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"editCustomFeeModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/custom-fee-log/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/custom-fee-log/actions/enable-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"2Oy9rp1q\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"enabled\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.enableCustomFee\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"enableCustomFee\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.disableCustomFee\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"disableCustomFee\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/custom-fee-log/actions/enable-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/custom-fee-log/model\", [\"exports\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataRelationships, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    status: (0, _emberDataRelationships.belongsTo)('promotionStatus'),\n    value: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0.0 }),\n    type: (0, _emberDataRelationships.belongsTo)('customFeeType'),\n    appliesTo: (0, _emberDataRelationships.belongsTo)('customFeeAppliesTo'),\n    taxable: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    enabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false })\n  });\n});","define('fcs-dashboard/pods/components/daily-close-out/report-result/clerks-by-location/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = Component.extend({\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/clerks-by-location/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"mwzs3r/w\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result/clerks\\\"],null,[[\\\"data\\\",\\\"dataName\\\"],[[\\\"get\\\",[\\\"datum\\\",\\\"clerks\\\"]],[\\\"get\\\",[\\\"datum\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"datum\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"data\\\"]]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/daily-close-out/report-result/clerks-by-location/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/clerks/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.name'),\n        className: 'non-cash-category-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.cashDrawer'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'cashDrawer',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.totalDigitalTips'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'totalDigitalTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.cashGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossCashSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.creditGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossCreditSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.rfidGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossRfidSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.grossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.coupon'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'coupon',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.spills'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.comp'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'comp',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.discounts'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'discounts',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'serviceFees',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'taxes',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'netSales',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'creditCardTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'rfidTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'refunds',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.voids'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/clerks/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"X38lBkpl\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.dailyCloseOutReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.dailyCloseOutReport.clerksByLocation.location\\\"],[[\\\"location\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/daily-close-out/report-result/clerks/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({});\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/locations/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.dailyCloseOutReport.locations.name'),\n        className: 'non-cash-category-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.cashDrawer'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'cashDrawer',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.totalDigitalTips'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'totalDigitalTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.cashGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossCashSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.creditGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossCreditSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.rfidGrossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossRfidSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.grossSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.coupon'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'coupon',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.spills'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.comp'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'comp',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.discounts'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'discounts',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'serviceFees',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'taxes',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'netSales',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'creditCardTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'rfidTips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'refunds',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.clerks.voids'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/locations/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"F862QDEJ\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.locations\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/daily-close-out/report-result/locations/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/product-types/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.name'),\n        className: 'non-cash-category-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.netSales'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'netSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.tax'),\n        className: 'non-cash-quantity-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'tax',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.voids'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.comps'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'comps',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.spills'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.compsDueToDecline'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'declined',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.refund'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'refund',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.discount'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'discount',\n        disableSorting: true\n      },\n      // {\n      //   title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.roundUpDonation'),\n      //   className: 'non-cash-total-cell',\n      //   template: 'dailyCloseOutReport/amountCell',\n      //   propertyName: 'roundUpDonation',\n      //   disableSorting: true\n      // },\n      {\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.coupon'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'coupon',\n        disableSorting: true\n      }, {\n        // BRP-3977 Phase 1f follow-up: the i18n key 'productTypes.grossSales'\n        // translates to \"Gross Sales Without Voids\" (label). The column must\n        // read the dedicated grossSalesWithoutVoids field — reading grossSales\n        // here surfaced gross *with* voids under the without-voids header,\n        // producing values like Beer = $7.40 (= net+tax+comps+spills+voids)\n        // when the correct value is $6.40 (= net+tax+comps+spills).\n        title: this.get('intl').t('report.result.dailyCloseOutReport.productTypes.grossSales'),\n        className: 'non-cash-total-cell',\n        template: 'dailyCloseOutReport/amountCell',\n        propertyName: 'grossSalesWithoutVoids',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/product-types/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Cltv1uQ3\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.dailyCloseOutReport.salesByProductType.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/daily-close-out/report-result/product-types/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"7GPxdXy4\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.dailyCloseOutReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.grossSales\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"totalGrossSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialReport.totals.totalDigitalTips\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"totalDigitalTips\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"clerks table\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result/clerks\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"clerks\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"locations table\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result/locations\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"locations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"clerks by location\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result/clerks-by-location\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"clerksByLocations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"product types\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result/product-types\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"productTypes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/daily-close-out/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('dailyCloseOutFilter');\n    }),\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.get('selectedMenus').clear();\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Daily Close Out');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/daily-close-out/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"HJLpQ+XW\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:12px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],20],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],18],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],17],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,16],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,12],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],13],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/daily-close-out/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/delivery-destination/edit-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var on = _ember['default'].on;\n\n  /**\n   * Adding a destination, or renaming one (BRP-4224).\n   *\n   * <p>One modal for both, because they differ in exactly one field. Adding takes a code and a name;\n   * renaming takes a name and leaves the code alone, so on that path the code is shown and cannot be\n   * edited.\n   *\n   * <p><b>The code is never editable once it exists.</b> It is the second half of a printed QR. The\n   * way to change one is to retire the destination and add another, which is also what has to happen\n   * to the sign on the post, and a field that let the two drift apart would be the whole fault.\n   */\n  exports['default'] = Component.extend({\n    row: null,\n    code: '',\n    name: '',\n\n    _seed: on('init', function () {\n      this.set('code', this.get('row.code') || '');\n      this.set('name', this.get('row.name') || '');\n    }),\n\n    /** Renaming when a row was passed in, adding when one was not. */\n    renaming: computed('row', function () {\n      return Boolean(this.get('row'));\n    }),\n\n    /** Mirrors DestinationCode.TYPEABLE on the server; the server is what actually enforces it. */\n    codeValid: computed('code', function () {\n      return (/^[A-Z0-9]{1,8}$/.test(this._normalised())\n      );\n    }),\n\n    nameValid: computed('name', function () {\n      return (this.get('name') || '').trim().length > 0;\n    }),\n\n    canSave: computed('codeValid', 'nameValid', 'renaming', function () {\n      return this.get('nameValid') && (this.get('renaming') || this.get('codeValid'));\n    }),\n\n    /** What the code will actually become, shown live so a stripped character is never a surprise. */\n    normalisedCode: computed('code', function () {\n      return this._normalised();\n    }),\n\n    _normalised: function _normalised() {\n      return (this.get('code') || '').toUpperCase().replace(/[^A-Z0-9]/g, '');\n    },\n\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      confirm: function confirm() {\n        this.sendAction('confirm', this._normalised(), (this.get('name') || '').trim());\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/delivery-destination/edit-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+H+3O+06\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"renaming\\\"]]],null,4,3],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"maxlength\\\"],[[\\\"get\\\",[\\\"name\\\"]],\\\"form-control\\\",64]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.nameHelp\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-footer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.cancel\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"helper\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"canSave\\\"]],\\\"disabled\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirm\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.codeWillBe\\\"],[[\\\"code\\\"],[[\\\"get\\\",[\\\"normalisedCode\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.codeInvalid\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"codeValid\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"codeValid\\\"]]],null,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.code\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"maxlength\\\"],[[\\\"get\\\",[\\\"code\\\"]],\\\"form-control\\\",8]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.codeHelp\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"code\\\"]]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.code\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"code\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"row\\\",\\\"code\\\"]],false],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.codeFixed\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/delivery-destination/edit-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/delivery-destination/list/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/table-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var EmberObject = _ember['default'].Object;\n  var A = _ember['default'].A;\n  var service = _ember['default'].inject.service;\n  var Logger = _ember['default'].Logger;\n\n  /**\n   * Delivery destinations for one event (BRP-4224).\n   *\n   * <p>Two tables, and the order matters. The top one is the locations at the event, because the\n   * first decision is whether a location delivers at all; the bottom one is the destinations at\n   * whichever location is selected. Choosing a location before knowing which of them deliver is the\n   * question nobody can answer.\n   */\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsTableComponent['default'], {\n    session: service(),\n    notify: service(),\n    intl: service(),\n    tagName: '',\n\n    /** Events, passed down from the route. */\n    events: null,\n\n    _selectedEvent: null,\n    _selectedLocation: null,\n    _locations: A(),\n    _destinations: A(),\n    _loading: false,\n    _showEditModal: false,\n    _showModeModal: false,\n    _showDeleteModal: false,\n    _pendingRow: null,\n\n    /**\n     * The locations at the event.\n     *\n     * <p>`linkCode` is shown rather than hidden when absent. A destination at a location with no\n     * published link resolves to nothing, so an operator who sets up cabanas first has built\n     * something no guest can reach, and the only place that is visible is here.\n     */\n    _locationColumns: computed(function () {\n      return [{\n        propertyName: 'locationName',\n        filteredBy: 'locationName',\n        filterPlaceholder: this.get('intl').t('deliveryDestination.list.filterPlaceholder'),\n        title: this.get('intl').t('deliveryDestination.list.location'),\n        className: 'ddLocationRow'\n      }, {\n        title: this.get('intl').t('deliveryDestination.list.linkCode'),\n        template: 'delivery-destination/actions/link-cell',\n        className: 'ddLinkRow'\n      }, {\n        title: this.get('intl').t('deliveryDestination.list.mode'),\n        template: 'delivery-destination/actions/mode-cell',\n        className: 'ddModeRow'\n      }, {\n        title: this.get('intl').t('deliveryDestination.list.count'),\n        propertyName: 'destinationCount',\n        className: 'ddCountRow'\n      }, {\n        title: '',\n        template: 'delivery-destination/actions/manage-action',\n        className: 'ddActionRow'\n      }];\n    }),\n\n    /** The destinations at the selected location, retired ones included. */\n    _destinationColumns: computed(function () {\n      return [{\n        propertyName: 'code',\n        title: this.get('intl').t('deliveryDestination.destinations.code'),\n        className: 'ddCodeRow'\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('deliveryDestination.destinations.name'),\n        className: 'ddNameRow'\n      }, {\n        title: this.get('intl').t('deliveryDestination.destinations.url'),\n        template: 'delivery-destination/actions/url-cell',\n        className: 'ddUrlRow'\n      }, {\n        title: this.get('intl').t('deliveryDestination.destinations.status'),\n        template: 'delivery-destination/actions/status-cell',\n        className: 'ddStatusRow'\n      }, {\n        propertyName: 'orderCount',\n        title: this.get('intl').t('deliveryDestination.destinations.orders'),\n        className: 'ddOrdersRow'\n      }, {\n        title: '',\n        template: 'delivery-destination/actions/row-action',\n        className: 'ddActionRow'\n      }];\n    }),\n\n    _authHeader: function _authHeader() {\n      var authToken = this.get('session.data.authenticated.access_token');\n      return function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n      };\n    },\n\n    /** Locations at the selected event. */\n    _loadLocations: function _loadLocations() {\n      var _this = this;\n\n      var event = this.get('_selectedEvent');\n      if (!event) {\n        this.set('_locations', A());return;\n      }\n      this.set('_loading', true);\n      _ember['default'].$.ajax({\n        url: '/api/v1/locationSubDestinations/locations?locationGroupId=' + _ember['default'].get(event, 'id'),\n        type: 'GET',\n        beforeSend: this._authHeader()\n      }).then(function (rows) {\n        if (_this.get('isDestroyed') || _this.get('isDestroying')) {\n          return;\n        }\n        _this.set('_locations', A((rows || []).map(function (row) {\n          return EmberObject.create(row);\n        })));\n        _this.set('_loading', false);\n      }, function () {\n        if (_this.get('isDestroyed') || _this.get('isDestroying')) {\n          return;\n        }\n        Logger.error('BR-destinations: could not load locations');\n        _this.set('_locations', A());\n        _this.set('_loading', false);\n      });\n    },\n\n    /** Destinations at the selected location. */\n    _loadDestinations: function _loadDestinations() {\n      var _this2 = this;\n\n      var location = this.get('_selectedLocation');\n      if (!location) {\n        this.set('_destinations', A());return;\n      }\n      _ember['default'].$.ajax({\n        url: '/api/v1/locationSubDestinations?locationId=' + location.get('locationId') + '&locationGroupId=' + _ember['default'].get(this.get('_selectedEvent') || {}, 'id'),\n        type: 'GET',\n        beforeSend: this._authHeader()\n      }).then(function (rows) {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        // `url` comes from the server already composed. It is not built here on purpose: the server\n        // knows which environment it is and the browser does not, and a wrong base ends up printed on\n        // a sign. The links screen does the same.\n        _this2.set('_destinations', A((rows || []).map(function (row) {\n          return EmberObject.create(row);\n        })));\n      }, function () {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        Logger.error('BR-destinations: could not load destinations');\n        _this2.set('_destinations', A());\n      });\n    },\n\n    /**\n     * POST, then reload both tables.\n     *\n     * <p>The server's own words are shown when it answers with words. This controller replies with\n     * plain strings -- \"The code C01 is already in use at this location\" is the whole answer -- and a\n     * generic failure would send an operator guessing at a code that can never work.\n     */\n    _write: function _write(url, body, successKey, values) {\n      var _this3 = this;\n\n      return _ember['default'].$.ajax({\n        url: url,\n        type: 'POST',\n        contentType: 'application/json',\n        data: JSON.stringify(body || {}),\n        beforeSend: this._authHeader()\n      }).then(function () {\n        if (_this3.get('isDestroyed') || _this3.get('isDestroying')) {\n          return;\n        }\n        _this3.get('notify').success(_this3.get('intl').t(successKey, values || {}));\n        _this3._loadLocations();\n        _this3._loadDestinations();\n      }, function (xhr) {\n        if (_this3.get('isDestroyed') || _this3.get('isDestroying')) {\n          return;\n        }\n        var said = xhr && typeof xhr.responseText === 'string' ? xhr.responseText.trim() : '';\n        var message = said && said.charAt(0) !== '{' ? said : _this3.get('intl').t('deliveryDestination.errors.generic');\n        _this3.get('notify').alert(message, { closeAfter: 8000 });\n      });\n    },\n\n    actions: {\n      changeSelectedEvent: function changeSelectedEvent(event) {\n        this.set('_selectedEvent', event);\n        this.set('_selectedLocation', null);\n        this.set('_destinations', A());\n        this._loadLocations();\n      },\n\n      manageLocation: function manageLocation(row) {\n        this.set('_selectedLocation', row);\n        this._loadDestinations();\n      },\n\n      /**\n       * Turning delivery ON asks first; turning it off does not.\n       *\n       * <p>Switching to delivery retires every bare sign already printed for the location at once,\n       * because the resolver refuses a bare code there. Switching back is free and reverses it, so\n       * only one direction is worth a confirmation.\n       */\n      toggleMode: function toggleMode(row) {\n        if (row.get('delivers')) {\n          this._write('/api/v1/locationSubDestinations/mode', { locationId: row.get('locationId'), delivers: false }, 'deliveryDestination.success.pickup', { name: row.get('locationName') });\n          return;\n        }\n        this.set('_pendingRow', row);\n        this.set('_showModeModal', true);\n      },\n\n      confirmMode: function confirmMode() {\n        var row = this.get('_pendingRow');\n        this.set('_showModeModal', false);\n        if (!row) {\n          return;\n        }\n        this._write('/api/v1/locationSubDestinations/mode', { locationId: row.get('locationId'), delivers: true }, 'deliveryDestination.success.delivery', { name: row.get('locationName') });\n      },\n\n      cancelMode: function cancelMode() {\n        this.set('_showModeModal', false);\n        this.set('_pendingRow', null);\n      },\n\n      addDestination: function addDestination() {\n        this.set('_pendingRow', null);\n        this.set('_showEditModal', true);\n      },\n\n      renameDestination: function renameDestination(row) {\n        this.set('_pendingRow', row);\n        this.set('_showEditModal', true);\n      },\n\n      saveDestination: function saveDestination(code, name) {\n        var pending = this.get('_pendingRow');\n        this.set('_showEditModal', false);\n        if (pending) {\n          // A rename never touches the code. The code is on a printed sign; the name is not.\n          this._write('/api/v1/locationSubDestinations/' + pending.get('id') + '/rename', { name: name }, 'deliveryDestination.success.renamed', { name: name });\n          return;\n        }\n        this._write('/api/v1/locationSubDestinations', { locationId: this.get('_selectedLocation.locationId'), code: code, name: name }, 'deliveryDestination.success.added', { code: code });\n      },\n\n      cancelEdit: function cancelEdit() {\n        this.set('_showEditModal', false);\n        this.set('_pendingRow', null);\n      },\n\n      /**\n       * Deleting asks, because it is the one thing here that cannot be undone.\n       *\n       * <p>Retiring keeps the row and the code; deleting frees the code for reuse at that location.\n       * The button only appears while no order names the destination, because a foreign key makes the\n       * delete impossible after that and offering it would be offering a failure.\n       */\n      confirmDelete: function confirmDelete(row) {\n        this.set('_pendingRow', row);\n        this.set('_showDeleteModal', true);\n      },\n\n      cancelDelete: function cancelDelete() {\n        this.set('_showDeleteModal', false);\n        this.set('_pendingRow', null);\n      },\n\n      deleteDestination: function deleteDestination() {\n        var _this4 = this;\n\n        var row = this.get('_pendingRow');\n        this.set('_showDeleteModal', false);\n        if (!row) {\n          return;\n        }\n        var authToken = this.get('session.data.authenticated.access_token');\n        _ember['default'].$.ajax({\n          url: '/api/v1/locationSubDestinations/' + row.get('id'),\n          type: 'DELETE',\n          beforeSend: function beforeSend(xhr) {\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n          }\n        }).then(function () {\n          if (_this4.get('isDestroyed') || _this4.get('isDestroying')) {\n            return;\n          }\n          _this4.get('notify').success(_this4.get('intl').t('deliveryDestination.success.deleted', { code: row.get('code') }));\n          _this4._loadLocations();\n          _this4._loadDestinations();\n        }, function (xhr) {\n          if (_this4.get('isDestroyed') || _this4.get('isDestroying')) {\n            return;\n          }\n          var said = xhr && typeof xhr.responseText === 'string' ? xhr.responseText.trim() : '';\n          _this4.get('notify').alert(said && said.charAt(0) !== '{' ? said : _this4.get('intl').t('deliveryDestination.errors.generic'), { closeAfter: 8000 });\n        });\n      },\n\n      /** Retire and restore are both reversible and neither asks. The code survives either way. */\n      toggleActive: function toggleActive(row) {\n        var action = row.get('active') ? 'retire' : 'restore';\n        this._write('/api/v1/locationSubDestinations/' + row.get('id') + '/' + action, {}, 'deliveryDestination.success.' + action, { code: row.get('code') });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/delivery-destination/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"IzqJ95oj\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.heading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.help\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: 35px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.event.label\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"allowClear\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"events\\\"]],[\\\"get\\\",[\\\"_selectedEvent\\\"]],false,true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.event.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedEvent\\\"],null]]],17],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_selectedEvent\\\"]]],null,16,11],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_selectedLocation\\\"]]],null,10],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showEditModal\\\"]]],null,5],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showDeleteModal\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showModeModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.modeModal.body\\\"],[[\\\"name\\\"],[[\\\"get\\\",[\\\"_pendingRow\\\",\\\"locationName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.modeModal.warning\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-footer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelMode\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.cancel\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirmMode\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.modeModal.confirm\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.modeModal.title\\\"],null],\\\"cancelMode\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.deleteModal.body\\\"],[[\\\"code\\\",\\\"name\\\"],[[\\\"get\\\",[\\\"_pendingRow\\\",\\\"code\\\"]],[\\\"get\\\",[\\\"_pendingRow\\\",\\\"name\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.deleteModal.warning\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-footer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelDelete\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.cancel\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteDestination\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.deleteModal.confirm\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.deleteModal.title\\\"],null],\\\"cancelDelete\\\"]],2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"delivery-destination/edit-modal\\\"],null,[[\\\"row\\\",\\\"cancel\\\",\\\"confirm\\\"],[[\\\"get\\\",[\\\"_pendingRow\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelEdit\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveDestination\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.editModal.title\\\"],null],\\\"cancelEdit\\\"]],4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.none\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"renameDestination\\\",\\\"toggleActive\\\"],[[\\\"get\\\",[\\\"_destinations\\\"]],[\\\"get\\\",[\\\"_destinationColumns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],25,\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\",\\\"renameDestination\\\",\\\"toggleActive\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.noLink\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.notDelivering\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"hr\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.heading\\\"],[[\\\"name\\\"],[[\\\"get\\\",[\\\"_selectedLocation\\\",\\\"locationName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"_selectedLocation\\\",\\\"delivers\\\"]]],null,9],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"_selectedLocation\\\",\\\"linkCode\\\"]]],null,8],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addDestination\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-plus\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_destinations\\\",\\\"length\\\"]]],null,7,6],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.chooseEvent\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.noLocations\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"_loading\\\"]]],null,12]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"toggleMode\\\",\\\"manageLocation\\\"],[[\\\"get\\\",[\\\"_locations\\\"]],[\\\"get\\\",[\\\"_locationColumns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],25,\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\",\\\"toggleMode\\\",\\\"manageLocation\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_loading\\\"]]],null,15],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_locations\\\",\\\"length\\\"]]],null,14,13]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"event\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"event\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/delivery-destination/list/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/embeddable-report/report-result/component', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend({\n    refreshResults: false\n  });\n});","define(\"fcs-dashboard/pods/components/embeddable-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"gOwZU0fK\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshResults\\\"]]],null,4]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(LOCATION_GROUP)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"locationGroups\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(MENU)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"menus\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(LOCATION)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"locations\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(COMPANY)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"vendor\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"script\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"text/javascript\\\"],[\\\"static-attr\\\",\\\"src\\\",\\\"https://reporting.bestringpos.com/javascripts/api/viz_v1.js\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tableauPlaceholder\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 1650px; height: 986px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"object\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tableauViz\\\"],[\\\"static-attr\\\",\\\"width\\\",\\\"1650\\\"],[\\\"static-attr\\\",\\\"height\\\",\\\"986\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display:none;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"host_url\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"hostUrl\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"embed_code_version\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"data\\\",\\\"embedCodeVersion\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"site_root\\\"],[\\\"static-attr\\\",\\\"value\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"name\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"reportName\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"tabs\\\"],[\\\"static-attr\\\",\\\"value\\\",\\\"no\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"toolbar\\\"],[\\\"static-attr\\\",\\\"value\\\",\\\"no\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"ticket\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"token\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterCompanies\\\"]]],null,3],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterLocations\\\"]]],null,2],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterMenus\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterLocationGroups\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"Start%20DateTime=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"startDate\\\"]]],null],\\\"\\\\n           &End%20DateTime=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"endDate\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/embeddable-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/embeddable-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _fcsDashboardMixinsCommonMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    _scheduledReport: undefined,\n    sortedFinancialReportFilters: computed.sort('_financialReportFilters', 'sortDefinition'),\n    sortedClerkReportFilters: computed.sort('_clerkReportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    isBrAdmin: computed.alias('isBRUser'),\n    token: '',\n    _summarizeByTypes: computed(function () {\n      return [{ id: 0, name: 'Event/Venue' }, { id: 1, name: 'Menu' }, { id: 2, name: 'Company' }, { id: 3, name: 'Location' }];\n    }),\n    _summarizeByTimes: computed(function () {\n      return [{ id: 0, name: 'None' }, { id: 1, name: 'Day' }, { id: 2, name: 'Hour' }, { id: 3, name: 'Hour Blocked' }];\n    }),\n    summarizeByType: computed.alias('reportOptions.summarizeByType'),\n    summarizeByTime: computed.alias('reportOptions.summarizeByTime'),\n    _financialReportFilters: computed(function () {\n      return this.get('store').findAll('financialReportFilter');\n    }),\n    _clerkReportFilters: computed(function () {\n      return this.get('store').findAll('dailyCloseOutFilter');\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n\n      this.set('summarizeByType', { id: 1, name: 'Menu' });\n      this.set('summarizeByTime', { id: 0, name: 'None' });\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.set('summarizeBy', null);\n    },\n    actions: {\n      summarizeByTypeChanged: function summarizeByTypeChanged(type) {\n        this.set('summarizeByType', type);\n      },\n      summarizeByTimeChanged: function summarizeByTimeChanged(time) {\n        this.set('summarizeByTime', time);\n      },\n      searchReport: function searchReport() {\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        this.set('showScheduleModal', false);\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this.set('reportOptions.reportId', this.get('report.id'));\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (isValid) {\n          if (!this.get('isBRUser')) {\n            if (this.get('selectedLocationGroup.length') === undefined || this.get('selectedLocationGroup.length') === 0) {\n              if (this.get('selectedLocationGroup.length') === undefined) {\n                this.set('selectedLocationGroup', A());\n              }\n              this.get('reportOptions.selectedLocationGroup').addObjects(this.get('sortedLocationGroups'));\n            }\n\n            if (this.get('selectedVendor.length') === undefined) {\n              this.set('selectedVendor', A());\n            }\n            this.get('reportOptions.vendors').addObject(this.get('loggedAccount.company.id'));\n          }\n          if (this.get('selectedLocations.length') === 0) {\n            this.get('reportOptions.locations').addObjects(this.get('_locations'));\n          }\n          if (this.get('selectedMenus.length') === 0) {\n            this.get('reportOptions.menus').addObjects(this.get('_filteredMenus'));\n          }\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/embeddable-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"09NNNjcf\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"datesEnabled\\\"]]],null,32],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"eventEnabled\\\"]]],null,28],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"vmcEnabled\\\"]]],null,25],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"vendorEnabled\\\"]]],null,20],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"locationEnabled\\\"]]],null,15],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"datesEnabled\\\"]]],null,12],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"dayHourMenuEnabled\\\"]]],null,9],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportFilters\\\",\\\"clerkLocationEnabled\\\"]]],null,6],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBrAdmin\\\"]]],null,2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: none;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showScheduleModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.scheduledReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],5],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedClerkReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],4],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedFinancialReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],7],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],11],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],10],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],13],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],17],[\\\"text\\\",\\\"                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],16],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,18]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,19]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],22],[\\\"text\\\",\\\"                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],21],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,23]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,24]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],27],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"multipleLocationGroupSelection\\\"],null]]],26],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],30],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],29],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showScheduleModal\\\"]]],null]],null,31]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/embeddable-report/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/event-analytics/actions/date-display/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Zqy2p/Ar\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"moment-format\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"startDate1\\\"]],\\\"YYYY-MM-DD\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/actions/date-display/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/event-analytics/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"zKKBMgDy\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"edit\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/event-analytics/actions/lock-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"mlUX0akn\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-lock icon\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openLockEventAnalyticsModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/actions/lock-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/event-analytics/actions/toggle-active-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Mpoq76+R\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"active\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"toggleActive\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.buttons.setActive\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"toggleActive\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.buttons.setInactive\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/actions/toggle-active-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/event-analytics/detail/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\", \"fcs-dashboard/utils/string-similarity\", \"fcs-dashboard/utils/location-prefixes\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment, _fcsDashboardUtilsStringSimilarity, _fcsDashboardUtilsLocationPrefixes) {\n  function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }\n\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var inject = _ember[\"default\"].inject;\n\n  var CLEAN_TOKEN_REGEX = /[^a-z0-9]/gi;\n  var LOCATION_PREFIXES_LOOKUP = _fcsDashboardUtilsLocationPrefixes[\"default\"].reduce(function (lookup, prefix) {\n    var cleaned = (prefix || '').replace(CLEAN_TOKEN_REGEX, '').toLowerCase();\n    if (cleaned) {\n      lookup[cleaned] = true;\n    }\n    return lookup;\n  }, Object.create(null));\n\n  function cleanToken(token) {\n    if (!token) {\n      return '';\n    }\n    return token.replace(CLEAN_TOKEN_REGEX, '').toLowerCase();\n  }\n\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    router: inject.service(),\n    session: inject.service(),\n    showModal: false,\n    saving: false,\n    locationGroupsLoaded: false,\n    originalLocationGroupId1: null,\n    originalLocationGroupId2: null,\n    isInitialLoad: true,\n    isEditMode: false, // Flag to prevent auto-matching in edit mode\n    currentEventLocations: [],\n    lastYearEventLocations: [],\n    locationsLoaded: false,\n    pendingMoveLocationIds: _ember[\"default\"].A([]), // Track locations that are pending move with highlight effect\n\n    // Fixed category options\n    categoryOptions: ['bar', 'food', 'merch', 'specialty'],\n\n    _timeZones: computed(function () {\n      var timeZones = _moment[\"default\"].tz.names();\n      var filteredTimezones = [];\n      var reg = new RegExp('(?:.*[/].*)');\n      timeZones.forEach(function (timezone) {\n        if (reg.test(timezone)) {\n          filteredTimezones.push(timezone);\n        }\n      });\n      return filteredTimezones.sort();\n    }),\n\n    loadReady: computed('locationGroupsLoaded', function () {\n      return this.get('locationGroupsLoaded');\n    }),\n\n    selectedLocationGroup1: computed('model.locationGroupId1', '_locationGroups.[]', 'locationGroupsLoaded', function () {\n      var locationGroupId = this.get('model.locationGroupId1');\n      var locationGroupName = this.get('model.locationGroupName1');\n      var locationGroups = this.get('_locationGroups');\n\n      if (this.get('locationGroupsLoaded') && locationGroupId && locationGroups) {\n        // Use real locationGroup data when loaded\n        // Try different ways to find the record\n        var foundGroup = locationGroups.findBy('id', parseInt(locationGroupId, 10));\n        if (!foundGroup) {\n          foundGroup = locationGroups.findBy('id', locationGroupId.toString());\n        }\n        if (!foundGroup) {\n          foundGroup = locationGroups.findBy('id', locationGroupId);\n        }\n        // If still not found, try to find by name\n        if (!foundGroup && locationGroupName) {\n          foundGroup = locationGroups.findBy('name', locationGroupName);\n        }\n\n        // If found, return the real record, otherwise fallback to name display\n        if (foundGroup) {\n          return foundGroup;\n        } else if (locationGroupName) {\n          return { id: locationGroupId, name: locationGroupName };\n        }\n      }\n\n      // Always return fallback if we have locationGroupName\n      if (locationGroupName) {\n        return { id: locationGroupId, name: locationGroupName };\n      }\n      return null;\n    }),\n\n    selectedLocationGroup2: computed('model.locationGroupId2', '_locationGroups.[]', 'locationGroupsLoaded', function () {\n      var locationGroupId = this.get('model.locationGroupId2');\n      var locationGroupName = this.get('model.locationGroupName2');\n      var locationGroups = this.get('_locationGroups');\n\n      if (this.get('locationGroupsLoaded') && locationGroupId && locationGroups) {\n        // Use real locationGroup data when loaded\n        // Try different ways to find the record\n        var foundGroup = locationGroups.findBy('id', parseInt(locationGroupId, 10));\n        if (!foundGroup) {\n          foundGroup = locationGroups.findBy('id', locationGroupId.toString());\n        }\n        if (!foundGroup) {\n          foundGroup = locationGroups.findBy('id', locationGroupId);\n        }\n        // If still not found, try to find by name\n        if (!foundGroup && locationGroupName) {\n          foundGroup = locationGroups.findBy('name', locationGroupName);\n        }\n\n        // If found, return the real record, otherwise fallback to name display\n        if (foundGroup) {\n          return foundGroup;\n        } else if (locationGroupName) {\n          return { id: locationGroupId, name: locationGroupName };\n        }\n      }\n\n      // Always return fallback if we have locationGroupName\n      if (locationGroupName) {\n        return { id: locationGroupId, name: locationGroupName };\n      }\n      return null;\n    }),\n\n    // Helper function to normalize category\n    normalizeCategory: function normalizeCategory(typeName) {\n      if (!typeName) {\n        return 'specialty';\n      }\n      var lowerTypeName = typeName.toLowerCase();\n      if (lowerTypeName === 'bar' || lowerTypeName === 'food' || lowerTypeName === 'merch') {\n        return lowerTypeName;\n      }\n      return 'specialty';\n    },\n\n    // Find common prefix from all location names\n    findCommonPrefix: function findCommonPrefix(names) {\n      if (!names || names.length === 0) {\n        return '';\n      }\n      var validNames = names.filter(function (name) {\n        return typeof name === 'string' && name.length > 0;\n      });\n      if (validNames.length < 2) {\n        return '';\n      }\n\n      var lowerTokens = validNames.map(function (name) {\n        return name.trim().toLowerCase().split(/\\s+/);\n      });\n      var originalTokens = validNames.map(function (name) {\n        return name.trim().split(/\\s+/);\n      });\n      var minTokenLength = lowerTokens.reduce(function (min, tokens) {\n        return Math.min(min, tokens.length);\n      }, Number.MAX_SAFE_INTEGER);\n\n      var tokens = [];\n      for (var index = 0; index < minTokenLength; index++) {\n        var baseToken = lowerTokens[0][index];\n        var cleanBase = cleanToken(baseToken);\n        if (!cleanBase) {\n          break;\n        }\n\n        var allMatch = true;\n        for (var i = 1; i < lowerTokens.length; i++) {\n          var compareToken = lowerTokens[i][index];\n          var cleanCompare = cleanToken(compareToken);\n          if (!cleanCompare) {\n            allMatch = false;\n            break;\n          }\n\n          if (cleanBase === cleanCompare) {\n            continue;\n          }\n\n          var shorter = cleanBase.length <= cleanCompare.length ? cleanBase : cleanCompare;\n          var longer = cleanBase.length > cleanCompare.length ? cleanBase : cleanCompare;\n\n          if (!(longer.startsWith(shorter) && longer.length - shorter.length <= 1)) {\n            allMatch = false;\n            break;\n          }\n        }\n\n        if (!allMatch) {\n          break;\n        }\n\n        tokens.push(originalTokens[0][index]);\n      }\n\n      if (tokens.length === 0) {\n        return '';\n      }\n\n      return tokens.join(' ') + ' ';\n    },\n\n    // Find common suffix from all location names\n    findCommonSuffix: function findCommonSuffix(names) {\n      if (!names || names.length === 0) {\n        return '';\n      }\n      var validNames = names.filter(function (name) {\n        return typeof name === 'string' && name.length > 0;\n      });\n      if (validNames.length < 2) {\n        return '';\n      }\n      var lowerNames = validNames.map(function (name) {\n        return name.toLowerCase();\n      });\n      var suffix = lowerNames[0];\n\n      for (var i = 1; i < lowerNames.length && suffix; i++) {\n        var currentName = lowerNames[i];\n        while (suffix && !currentName.endsWith(suffix)) {\n          suffix = suffix.slice(1);\n        }\n      }\n\n      if (!suffix) {\n        return '';\n      }\n\n      var firstNonSpaceIndex = suffix.search(/\\S/);\n      if (firstNonSpaceIndex > 0) {\n        suffix = suffix.slice(firstNonSpaceIndex);\n      }\n\n      var referenceName = validNames[0];\n      return referenceName.slice(referenceName.length - suffix.length);\n    },\n\n    // Normalize location name: remove common prefix, suffix, and year\n    // prefix1/suffix1 for current locations, prefix2/suffix2 for last year locations\n    normalizeLocationName: function normalizeLocationName(name, prefix, suffix) {\n      if (!name) {\n        return '';\n      }\n\n      var normalized = name;\n\n      if (prefix) {\n        var escapeRegex = function escapeRegex(value) {\n          return value.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n        };\n        var prefixPattern = new RegExp('^' + escapeRegex(prefix), 'i');\n        normalized = normalized.replace(prefixPattern, '');\n        normalized = normalized.replace(/^\\s+/, '');\n      } else {\n        var firstWordMatch = normalized.match(/^\\s*([^\\s]+)/);\n        if (firstWordMatch) {\n          var cleanedFirstWord = cleanToken(firstWordMatch[1]);\n          if (LOCATION_PREFIXES_LOOKUP[cleanedFirstWord]) {\n            normalized = normalized.slice(firstWordMatch[0].length);\n            normalized = normalized.replace(/^\\s+/, '');\n          }\n        }\n      }\n\n      if (suffix) {\n        var escapeRegex = function escapeRegex(value) {\n          return value.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n        };\n        var suffixPattern = new RegExp(escapeRegex(suffix) + '$', 'i');\n        normalized = normalized.replace(suffixPattern, '');\n      }\n\n      normalized = normalized.replace(/\\s*\\d{4}\\s*/g, ' ').replace(/\\s+/g, ' ').trim();\n\n      return normalized.toLowerCase();\n    },\n\n    normalizeForEquality: function normalizeForEquality(name, prefix, suffix) {\n      var normalized = this.normalizeLocationName(name, prefix, suffix);\n      if (!normalized) {\n        return '';\n      }\n      var standardizedNumbers = normalized.replace(/\\d+/g, function (match) {\n        var parsed = parseInt(match, 10);\n        if (isNaN(parsed)) {\n          return match;\n        }\n        return String(parsed);\n      });\n      return standardizedNumbers.replace(/\\s+/g, '');\n    },\n\n    // Find exact match only (equalityKey equal) - highest priority\n    // prefix1/suffix1 for name (current locations), prefix2/suffix2 for candidates (last year locations)\n    // excludedLocationIds: array of previous location IDs that are already matched and should be excluded\n    findExactMatch: function findExactMatch(name, candidates, prefix1, suffix1, prefix2, suffix2, excludedLocationIds) {\n      if (!name || !candidates || candidates.length === 0) {\n        return null;\n      }\n\n      // Convert excludedLocationIds to array of strings for faster lookup\n      var excludedIds = excludedLocationIds ? excludedLocationIds.map(function (id) {\n        return String(id);\n      }) : [];\n\n      var equalityKey1 = this.normalizeForEquality(name, prefix1, suffix1);\n      if (!equalityKey1) {\n        return null;\n      }\n\n      // Look for exact match (equalityKey equal)\n      for (var i = 0; i < candidates.length; i++) {\n        var candidate = candidates[i];\n        var candidateId = candidate.get ? candidate.get('id') : candidate.id;\n\n        // Skip if this candidate is already matched to another location\n        if (excludedIds.indexOf(String(candidateId)) !== -1) {\n          continue;\n        }\n\n        var candidateName = candidate.get ? candidate.get('name') : candidate;\n        var equalityKey2 = this.normalizeForEquality(candidateName, prefix2, suffix2);\n\n        // If equalityKey matches exactly, return immediately\n        if (equalityKey2 && equalityKey1 === equalityKey2) {\n          return candidate;\n        }\n      }\n\n      return null;\n    },\n\n    // Find best matching location using similarity score\n    // prefix1/suffix1 for name (current locations), prefix2/suffix2 for candidates (last year locations)\n    // excludedLocationIds: array of previous location IDs that are already matched and should be excluded\n    findBestMatch: function findBestMatch(name, candidates, prefix1, suffix1, prefix2, suffix2, excludedLocationIds) {\n      if (!name || !candidates || candidates.length === 0) {\n        return null;\n      }\n\n      // Convert excludedLocationIds to array of strings for faster lookup\n      var excludedIds = excludedLocationIds ? excludedLocationIds.map(function (id) {\n        return String(id);\n      }) : [];\n\n      var normalized1 = this.normalizeLocationName(name, prefix1, suffix1);\n      var equalityKey1 = this.normalizeForEquality(name, prefix1, suffix1);\n      var extractNumbers = function extractNumbers(value) {\n        if (!value) {\n          return [];\n        }\n        var matches = value.match(/\\d+/g);\n        if (!matches) {\n          return [];\n        }\n        return matches.map(function (num) {\n          return String(parseInt(num, 10));\n        });\n      };\n      var numbers1 = extractNumbers(normalized1);\n\n      for (var i = 0; i < candidates.length; i++) {\n        var candidate = candidates[i];\n        var candidateId = candidate.get ? candidate.get('id') : candidate.id;\n\n        // Skip if this candidate is already matched to another location\n        if (excludedIds.indexOf(String(candidateId)) !== -1) {\n          continue;\n        }\n\n        var candidateName = candidate.get ? candidate.get('name') : candidate;\n        var equalityKey2 = this.normalizeForEquality(candidateName, prefix2, suffix2);\n\n        // If equalityKey matches exactly, return immediately (highest priority)\n        if (equalityKey1 && equalityKey2 && equalityKey1 === equalityKey2) {\n          return candidate;\n        }\n      }\n\n      // Second pass: If no exact match found, look for similarity match\n      var bestMatch = null;\n      var bestScore = 0;\n\n      for (var i = 0; i < candidates.length; i++) {\n        var candidate = candidates[i];\n        var candidateId = candidate.get ? candidate.get('id') : candidate.id;\n\n        // Skip if this candidate is already matched to another location\n        if (excludedIds.indexOf(String(candidateId)) !== -1) {\n          continue;\n        }\n\n        var candidateName = candidate.get ? candidate.get('name') : candidate;\n        var normalized2 = this.normalizeLocationName(candidateName, prefix2, suffix2);\n\n        var numbers2 = extractNumbers(normalized2);\n        if (numbers1.length > 0 || numbers2.length > 0) {\n          if (numbers1.length === 0 || numbers2.length === 0) {\n            continue;\n          }\n          if (numbers1.length !== numbers2.length) {\n            continue;\n          }\n          var numbersMatch = true;\n          for (var idx = 0; idx < numbers1.length; idx++) {\n            if (numbers1[idx] !== numbers2[idx]) {\n              numbersMatch = false;\n              break;\n            }\n          }\n          if (!numbersMatch) {\n            continue;\n          }\n        }\n        var similarity = (0, _fcsDashboardUtilsStringSimilarity.calculateSimilarity)(normalized1, normalized2);\n\n        if (similarity > bestScore && similarity >= 0.9) {\n          bestScore = similarity;\n          bestMatch = candidate;\n        }\n      }\n\n      return bestMatch;\n    },\n\n    // Find previous year's event based on current event name\n    // Example: \"ABC 2025\" -> find \"ABC 2024\"\n    findPreviousYearEvent: function findPreviousYearEvent(currentEventName, currentEventId) {\n      var _this = this;\n\n      if (!currentEventName || !currentEventId) {\n        return null;\n      }\n\n      // Extract year from current event name (look for 4-digit year)\n      var yearMatch = currentEventName.match(/\\b(\\d{4})\\b/);\n      if (!yearMatch) {\n        return null;\n      }\n\n      var currentYear = parseInt(yearMatch[1], 10);\n      var previousYear = currentYear - 1;\n\n      // Build expected previous year event name by replacing year\n      var previousYearName = currentEventName.replace(/\\b\\d{4}\\b/, previousYear.toString());\n\n      // Get location groups (need to wait for them to be loaded)\n      var locationGroups = this.get('_locationGroups');\n\n      // If locationGroups is a Promise, we need to wait for it\n      if (locationGroups && typeof locationGroups.then === 'function') {\n        return locationGroups.then(function (groups) {\n          return _this._findMatchingLocationGroup(groups, previousYearName, currentEventId);\n        });\n      } else if (_ember[\"default\"].isArray(locationGroups)) {\n        // It's already an array\n        var result = this._findMatchingLocationGroup(locationGroups, previousYearName, currentEventId);\n        return _ember[\"default\"].RSVP.resolve(result);\n      } else {\n        // LocationGroups not loaded yet, return null\n        return _ember[\"default\"].RSVP.resolve(null);\n      }\n    },\n\n    // Helper method to normalize name for comparison (remove spaces and convert to lowercase)\n    _normalizeNameForComparison: function _normalizeNameForComparison(name) {\n      if (!name) {\n        return '';\n      }\n      // Remove all spaces and convert to lowercase\n      return name.replace(/\\s+/g, '').toLowerCase();\n    },\n\n    // Helper method to find matching location group\n    // Strict matching: ignore case and spaces, must match exactly, year must be previous year\n    _findMatchingLocationGroup: function _findMatchingLocationGroup(locationGroups, targetName, excludeId) {\n      var _this2 = this;\n\n      if (!locationGroups || !targetName) {\n        return null;\n      }\n\n      // Extract expected year from target name (should be previous year)\n      var yearMatch = targetName.match(/\\b(\\d{4})\\b/);\n      if (!yearMatch) {\n        return null; // No year in target name, cannot match\n      }\n      var expectedYear = parseInt(yearMatch[1], 10);\n\n      // Normalize target name (remove spaces and convert to lowercase)\n      var normalizedTargetName = this._normalizeNameForComparison(targetName);\n\n      // Convert to array if it's a RecordArray\n      var groupsArray = locationGroups.toArray ? locationGroups.toArray() : locationGroups;\n\n      // Find match: ignore case and spaces, must have exact same normalized name, and year must match expected year\n      var foundGroup = groupsArray.find(function (group) {\n        var groupName = group.get ? group.get('name') : group.name;\n        var groupId = group.get ? group.get('id') : group.id;\n\n        if (!groupName || groupId === excludeId) {\n          return false;\n        }\n\n        // Extract year from group name\n        var groupYearMatch = groupName.match(/\\b(\\d{4})\\b/);\n        if (!groupYearMatch) {\n          return false; // No year in group name, cannot match\n        }\n        var groupYear = parseInt(groupYearMatch[1], 10);\n\n        // Year must be exactly the expected year (previous year)\n        if (groupYear !== expectedYear) {\n          return false;\n        }\n\n        // Normalize group name and compare\n        var normalizedGroupName = _this2._normalizeNameForComparison(groupName);\n\n        // Must match exactly after normalization\n        return normalizedGroupName === normalizedTargetName;\n      });\n\n      return foundGroup || null;\n    },\n\n    // Load LocationGroup basic information via API\n    loadLocationGroupBasicInfo: function loadLocationGroupBasicInfo(locationGroupId, isCurrentEvent) {\n      if (!locationGroupId) {\n        return _ember[\"default\"].RSVP.resolve(null);\n      }\n\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var endpoint = \"/api/v1/locationGroups/\" + locationGroupId + \"?basic=true\";\n      var self = this;\n\n      return new _ember[\"default\"].RSVP.Promise(function (resolve) {\n        var options = {\n          url: endpoint,\n          type: 'GET'\n        };\n\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n\n        options.success = function (result) {\n          try {\n            if (result) {\n              if (isCurrentEvent) {\n                // Fill startDate, endDate, and timezone for current event\n                if (result.startDate) {\n                  var startDate = new Date(result.startDate);\n                  self.set('model.startDate1', startDate);\n                }\n                if (result.endDate) {\n                  var endDate = new Date(result.endDate);\n                  self.set('model.endDate', endDate);\n                }\n                if (result.timezone) {\n                  self.set('model.timezone', result.timezone);\n                }\n\n                // Auto-select previous year's event (same logic as timezone auto-fill)\n                // Only if previous event is not already selected\n                if (locationGroupId && !self.get('model.locationGroupId2')) {\n                  (function () {\n                    var currentEventName = self.get('model.locationGroupName1');\n                    if (currentEventName) {\n                      // Use Ember.run.next to ensure this runs after model properties are set\n                      _ember[\"default\"].run.next(self, function () {\n                        var findPromise = self.findPreviousYearEvent(currentEventName, locationGroupId);\n                        if (findPromise && typeof findPromise.then === 'function') {\n                          findPromise.then(function (previousEvent) {\n                            if (previousEvent) {\n                              (function () {\n                                var previousEventId = previousEvent.get ? previousEvent.get('id') : previousEvent.id;\n                                var previousEventName = previousEvent.get ? previousEvent.get('name') : previousEvent.name;\n\n                                // Auto-select previous event (same way as timezone)\n                                self.set('model.locationGroupId2', previousEventId);\n                                self.set('model.locationGroupName2', previousEventName);\n\n                                // Load basic info for previous event and auto-fill startDate2\n                                self.loadLocationGroupBasicInfo(previousEventId, false)[\"catch\"](function (error) {\n                                  console.log('Failed to load basic info for previous event:', error);\n                                });\n\n                                // Load locations for both events\n                                _ember[\"default\"].run.next(self, function () {\n                                  self.loadLocations(locationGroupId, previousEventId);\n                                });\n                              })();\n                            }\n                          })[\"catch\"](function (error) {\n                            console.log('Failed to find previous year event:', error);\n                          });\n                        }\n                      });\n                    }\n                  })();\n                }\n              } else {\n                // Fill startDate2 for previous event\n                if (result.startDate) {\n                  var startDate2 = new Date(result.startDate);\n                  self.set('model.startDate2', startDate2);\n                }\n              }\n            }\n            resolve(result);\n          } catch (error) {\n            console.log('Error processing LocationGroup basic info result:', error);\n            resolve(null);\n          }\n        };\n\n        options.error = function (error) {\n          console.log('Failed to load LocationGroup basic info:', error);\n          resolve(null); // Resolve with null instead of reject to avoid breaking the flow\n        };\n\n        _ember[\"default\"].$.ajax(options);\n      });\n    },\n\n    // Load locations for current and last year events\n    loadLocations: function loadLocations(locationGroupId1Override, locationGroupId2Override) {\n      var _this3 = this;\n\n      // Use override values if provided, otherwise get from model\n      var locationGroupId1 = locationGroupId1Override !== undefined ? locationGroupId1Override : this.get('model.locationGroupId1');\n      var locationGroupId2 = locationGroupId2Override !== undefined ? locationGroupId2Override : this.get('model.locationGroupId2');\n\n      this.set('locationsLoading', true);\n      var promises = [];\n\n      // Load current event locations\n      if (locationGroupId1) {\n        var promise1 = this.get('store').query('location', { locationGroupId: locationGroupId1 }).then(function (locations) {\n          _this3.set('currentEventLocations', _ember[\"default\"].A(locations.toArray()));\n        })[\"catch\"](function (error) {\n          console.log('Failed to load current event locations:', error);\n          _this3.set('currentEventLocations', _ember[\"default\"].A([]));\n        });\n        promises.push(promise1);\n      } else {\n        this.set('currentEventLocations', _ember[\"default\"].A([]));\n      }\n\n      // Load last year event locations\n      if (locationGroupId2) {\n        var promise2 = this.get('store').query('location', { locationGroupId: locationGroupId2 }).then(function (locations) {\n          _this3.set('lastYearEventLocations', _ember[\"default\"].A(locations.toArray()));\n        })[\"catch\"](function (error) {\n          console.log('Failed to load last year event locations:', error);\n          _this3.set('lastYearEventLocations', _ember[\"default\"].A([]));\n        });\n        promises.push(promise2);\n      } else {\n        this.set('lastYearEventLocations', _ember[\"default\"].A([]));\n      }\n\n      // Wait for all promises to complete (or immediately if no promises)\n      if (promises.length > 0) {\n        _ember[\"default\"].RSVP.all(promises).then(function () {\n          _this3.set('locationsLoading', false);\n          _this3.checkLocationsLoaded();\n        })[\"catch\"](function (error) {\n          console.log('Failed to load some locations:', error);\n          _this3.set('locationsLoading', false);\n          _this3.checkLocationsLoaded();\n        });\n      } else {\n        // No promises, data already set\n        this.set('locationsLoading', false);\n        this.checkLocationsLoaded();\n      }\n    },\n\n    checkLocationsLoaded: function checkLocationsLoaded() {\n      var locationGroupId1 = this.get('model.locationGroupId1');\n      var locationGroupId2 = this.get('model.locationGroupId2');\n      var locationsLoading = this.get('locationsLoading');\n      var isEditMode = this.get('isEditMode');\n\n      // Wait for loading to complete\n      if (locationsLoading) {\n        return;\n      }\n\n      // Check if we have current event locations loaded (array is set, even if empty)\n      var needCurrentEventLocations = !!locationGroupId1;\n      var currentEventLocations = this.get('currentEventLocations');\n      var currentEventLocationsLoaded = !needCurrentEventLocations || currentEventLocations !== undefined && currentEventLocations !== null;\n\n      // Check if we have last year event locations loaded (array is set, even if empty)\n      var needLastYearEventLocations = !!locationGroupId2;\n      var lastYearEventLocations = this.get('lastYearEventLocations');\n      var lastYearEventLocationsLoaded = !needLastYearEventLocations || lastYearEventLocations !== undefined && lastYearEventLocations !== null;\n\n      // If both are loaded (or not needed), build mappings\n      // BUT: In edit mode, do NOT auto-match, only use saved mappings\n      if (currentEventLocationsLoaded && lastYearEventLocationsLoaded) {\n        this.set('locationsLoaded', true);\n        // Use Ember.run.next to ensure UI updates after data is set\n        _ember[\"default\"].run.next(this, function () {\n          if (isEditMode) {\n            // In edit mode, do nothing - mappings are already set by buildLocationMappingsFromExisting\n          } else {\n              // Only auto-match in new record mode\n              this.buildLocationMappings();\n              // Force UI update\n              this.notifyPropertyChange('matchedLocations');\n              this.notifyPropertyChange('notMatchedLocations');\n              this.notifyPropertyChange('allLocations');\n            }\n        });\n      }\n    },\n\n    // Build matched and not matched location mappings\n    buildLocationMappings: function buildLocationMappings() {\n      var _this4 = this;\n\n      var currentLocations = this.get('currentEventLocations') || [];\n      var lastYearLocations = this.get('lastYearEventLocations') || [];\n\n      // Only preserve existing mappings if we're editing (not clearing)\n      var shouldPreserveMappings = this.get('preserveMappingsOnLoad');\n      var existingMappings = shouldPreserveMappings ? this.get('model.mappings') || [] : [];\n      this.set('preserveMappingsOnLoad', false); // Reset flag\n\n      // Collect location names for preprocessing (separately for each group)\n      var currentLocationNames = [];\n      currentLocations.forEach(function (loc) {\n        var name = loc.get('name');\n        if (name) {\n          currentLocationNames.push(name);\n        }\n      });\n\n      var lastYearLocationNames = [];\n      lastYearLocations.forEach(function (loc) {\n        var name = loc.get('name');\n        if (name) {\n          lastYearLocationNames.push(name);\n        }\n      });\n\n      // Find common prefix and suffix separately for each group\n      var currentPrefix = this.findCommonPrefix(currentLocationNames);\n      var currentSuffix = this.findCommonSuffix(currentLocationNames);\n      var lastYearPrefix = this.findCommonPrefix(lastYearLocationNames);\n      var lastYearSuffix = this.findCommonSuffix(lastYearLocationNames);\n\n      // Create a map of existing mappings by locationId1 for quick lookup\n      // Also track which mappings were user-modified (to preserve them)\n      var existingMap = {};\n      var userModifiedLocationIds = [];\n      existingMappings.forEach(function (mapping) {\n        if (mapping.locationId1) {\n          existingMap[mapping.locationId1] = mapping;\n          // Mark as user-modified if it has the flag\n          if (mapping.userModified && userModifiedLocationIds.indexOf(mapping.locationId1) === -1) {\n            userModifiedLocationIds.push(mapping.locationId1);\n          }\n        }\n      });\n\n      var matched = [];\n      var notMatched = [];\n      var processedLocationIds = []; // Track processed locationIds to avoid duplicates\n      var matchedPreviousLocationIds = []; // Track previous location IDs that are already matched\n\n      // First, collect all previous location IDs from user-modified mappings (these should be excluded from auto-matching)\n      existingMappings.forEach(function (mapping) {\n        if (mapping.userModified && mapping.locationId2) {\n          var locationId2 = mapping.locationId2;\n          if (matchedPreviousLocationIds.indexOf(locationId2) === -1) {\n            matchedPreviousLocationIds.push(locationId2);\n          }\n        }\n      });\n\n      // Prepare helper function to process a single current location\n      var processCurrentLocation = function processCurrentLocation(currentLoc, allowSimilarityMatch) {\n        var locationId1 = currentLoc.get('id');\n        var locationName = currentLoc.get('name');\n        var typeName = currentLoc.get('typeName');\n        var category = _this4.normalizeCategory(typeName);\n\n        // Skip if already processed (duplicate)\n        if (processedLocationIds.indexOf(locationId1) !== -1) {\n          return;\n        }\n        processedLocationIds.push(locationId1);\n\n        // Check if there's an existing mapping for this location\n        var mapping = existingMap[locationId1];\n        var isUserModified = userModifiedLocationIds.indexOf(locationId1) !== -1;\n\n        // Try to find matching last year location\n        // If allowSimilarityMatch is false, only look for exact matches\n        // Otherwise, use findBestMatch which will try exact match first, then similarity match\n        var matchedLastYearLoc = null;\n        if (allowSimilarityMatch) {\n          // Try both exact and similarity matching\n          matchedLastYearLoc = _this4.findBestMatch(locationName, lastYearLocations, currentPrefix, currentSuffix, lastYearPrefix, lastYearSuffix, matchedPreviousLocationIds);\n        } else {\n          // Only look for exact matches\n          matchedLastYearLoc = _this4.findExactMatch(locationName, lastYearLocations, currentPrefix, currentSuffix, lastYearPrefix, lastYearSuffix, matchedPreviousLocationIds);\n        }\n\n        // If a match is found, add it to the excluded list so it won't be matched again\n        if (matchedLastYearLoc && !isUserModified) {\n          var matchedId2 = matchedLastYearLoc.get('id');\n          if (matchedPreviousLocationIds.indexOf(matchedId2) === -1) {\n            matchedPreviousLocationIds.push(matchedId2);\n          }\n        }\n\n        if (!mapping) {\n          // Create new mapping\n          mapping = {\n            id: null,\n            locationId1: locationId1,\n            locationName: locationName,\n            displayName: locationName,\n            category: category,\n            locationId2: matchedLastYearLoc ? matchedLastYearLoc.get('id') : null,\n            locationName2: matchedLastYearLoc ? matchedLastYearLoc.get('name') : null,\n            selectedLocation: currentLoc,\n            selectedLastYearLocation: matchedLastYearLoc,\n            userModified: false,\n            userEdited: false\n          };\n          // Store locationName1 for validation\n          mapping.locationName1 = locationName;\n        } else {\n          // If user modified, preserve user's changes\n          if (isUserModified) {\n            // Keep user's displayName and category\n            // Only update selectedLocation object\n            _ember[\"default\"].set(mapping, 'locationName', locationName);\n            _ember[\"default\"].set(mapping, 'selectedLocation', currentLoc);\n            // Keep existing displayName and category if user modified\n            if (!mapping.displayName) {\n              _ember[\"default\"].set(mapping, 'displayName', mapping.locationName || locationName);\n            }\n            if (!mapping.category) {\n              _ember[\"default\"].set(mapping, 'category', category);\n            }\n          } else {\n            // Update existing mapping with current data\n            _ember[\"default\"].set(mapping, 'locationName', locationName);\n            _ember[\"default\"].set(mapping, 'selectedLocation', currentLoc);\n            // Update displayName to match locationName (user's requirement: use locationName as displayName)\n            // Always sync displayName with locationName if it's not user-modified\n            _ember[\"default\"].set(mapping, 'displayName', locationName);\n            if (!mapping.category) {\n              _ember[\"default\"].set(mapping, 'category', category);\n            }\n          }\n\n          // Handle last year location matching\n          if (matchedLastYearLoc) {\n            // If user hasn't manually set locationId2, auto-match\n            if (!isUserModified || !mapping.locationId2) {\n              _ember[\"default\"].set(mapping, 'locationId2', matchedLastYearLoc.get('id'));\n              _ember[\"default\"].set(mapping, 'locationName2', matchedLastYearLoc.get('name'));\n              _ember[\"default\"].set(mapping, 'selectedLastYearLocation', matchedLastYearLoc);\n            } else {\n              // User modified, preserve their choice but update selectedLastYearLocation object\n              var foundLastYearLoc = lastYearLocations.find(function (loc) {\n                var id = loc.get('id');\n                return id === mapping.locationId2 || id === parseInt(mapping.locationId2, 10) || id === mapping.locationId2.toString();\n              });\n              _ember[\"default\"].set(mapping, 'selectedLastYearLocation', foundLastYearLoc || null);\n              // Also add user's choice to excluded list if not already there\n              if (mapping.locationId2 && matchedPreviousLocationIds.indexOf(mapping.locationId2) === -1) {\n                matchedPreviousLocationIds.push(mapping.locationId2);\n              }\n            }\n          } else if (mapping.locationId2) {\n            // Add user's existing choice to excluded list if not already there\n            if (isUserModified && matchedPreviousLocationIds.indexOf(mapping.locationId2) === -1) {\n              matchedPreviousLocationIds.push(mapping.locationId2);\n            }\n            // Try to find the last year location by locationId2\n            var foundLastYearLoc = lastYearLocations.find(function (loc) {\n              var id = loc.get('id');\n              return id === mapping.locationId2 || id === parseInt(mapping.locationId2, 10) || id === mapping.locationId2.toString();\n            });\n            _ember[\"default\"].set(mapping, 'selectedLastYearLocation', foundLastYearLoc || null);\n          } else {\n            _ember[\"default\"].set(mapping, 'selectedLastYearLocation', null);\n          }\n        }\n\n        if (matchedLastYearLoc) {\n          matched.push(mapping);\n        } else {\n          notMatched.push(mapping);\n        }\n      };\n\n      // First pass: Process locations with exact matches (equalityKey equal) - highest priority\n      currentLocations.forEach(function (currentLoc) {\n        var locationId1 = currentLoc.get('id');\n\n        // Skip if already processed\n        if (processedLocationIds.indexOf(locationId1) !== -1) {\n          return;\n        }\n\n        // Check if this location has an exact match\n        var locationName = currentLoc.get('name');\n        var exactMatch = _this4.findExactMatch(locationName, lastYearLocations, currentPrefix, currentSuffix, lastYearPrefix, lastYearSuffix, matchedPreviousLocationIds);\n\n        // Only process if exact match found in first pass\n        if (exactMatch) {\n          processCurrentLocation(currentLoc, false); // false means only look for exact matches\n        }\n      });\n\n      // Second pass: Process remaining locations with similarity matching\n      currentLocations.forEach(function (currentLoc) {\n        var locationId1 = currentLoc.get('id');\n\n        // Skip if already processed in first pass\n        if (processedLocationIds.indexOf(locationId1) !== -1) {\n          return;\n        }\n\n        processCurrentLocation(currentLoc, true); // true means allow similarity matching\n      });\n\n      // Also include any existing mappings that are not in current locations (manually added or user-modified)\n      // Only include if they are user-modified (preserve user changes)\n      existingMappings.forEach(function (mapping) {\n        if (mapping.locationId1 && processedLocationIds.indexOf(mapping.locationId1) === -1) {\n          // This mapping was not processed - it's manually added or location was removed\n          // Only preserve if user-modified\n          if (mapping.userModified) {\n            // Try to find the location object\n            var foundLoc = currentLocations.find(function (loc) {\n              var id = loc.get('id');\n              return id === mapping.locationId1 || id === parseInt(mapping.locationId1, 10) || id === mapping.locationId1.toString();\n            });\n            if (foundLoc) {\n              _ember[\"default\"].set(mapping, 'selectedLocation', foundLoc);\n            }\n\n            // Also find last year location if exists\n            if (mapping.locationId2) {\n              var foundLastYearLoc = lastYearLocations.find(function (loc) {\n                var id = loc.get('id');\n                return id === mapping.locationId2 || id === parseInt(mapping.locationId2, 10) || id === mapping.locationId2.toString();\n              });\n              if (foundLastYearLoc) {\n                _ember[\"default\"].set(mapping, 'selectedLastYearLocation', foundLastYearLoc);\n              }\n              // User has selected locationId2, so it's matched (respect user's choice)\n              matched.push(mapping);\n              processedLocationIds.push(mapping.locationId1);\n              return;\n            }\n            // User modified but no locationId2, so it's not matched\n            notMatched.push(mapping);\n            processedLocationIds.push(mapping.locationId1);\n          }\n          // If not user-modified and location not in current locations, skip it\n        } else if (!mapping.locationId1 && !mapping.id) {\n            // Completely new manually added location without locationId1\n            // Only preserve if user-modified\n            if (mapping.userModified) {\n              notMatched.push(mapping);\n            }\n          }\n      });\n\n      // Use Ember.A to ensure arrays are observable\n      this.set('matchedLocations', _ember[\"default\"].A(matched));\n      this.set('notMatchedLocations', _ember[\"default\"].A(notMatched));\n\n      // Force UI update\n      this.notifyPropertyChange('matchedLocations');\n      this.notifyPropertyChange('notMatchedLocations');\n      this.notifyPropertyChange('allLocations');\n    },\n\n    // Build locations from existing mappings without reloading from API\n    // This function ONLY loads locations for dropdown options and displays saved mappings\n    // It does NOT auto-match or auto-fill any data\n    buildLocationMappingsFromExisting: function buildLocationMappingsFromExisting() {\n      var _this5 = this;\n\n      // Get mappings from model - ensure it's an array\n      var existingMappings = this.get('model.mappings');\n\n      // Handle case where mappings might not be loaded yet or is not an array\n      // Ember Data might return an object or RecordArray, need to convert to plain array\n      if (!existingMappings) {\n        existingMappings = [];\n      } else {\n        // Convert to plain JavaScript objects array\n        // Handle Ember Data objects, RecordArrays, or plain arrays\n        var mappingsArray = [];\n\n        if (_ember[\"default\"].isArray(existingMappings)) {\n          // It's already an array, convert each item to plain object\n          mappingsArray = existingMappings.map(function (mapping) {\n            // Convert Ember Data model or object to plain object\n            if (mapping && typeof mapping.get === 'function') {\n              // It's an Ember Data model\n              return {\n                id: mapping.get('id'),\n                locationId1: mapping.get('locationId1'),\n                locationId2: mapping.get('locationId2'),\n                locationName: mapping.get('locationName'),\n                locationName1: mapping.get('locationName1'),\n                locationName2: mapping.get('locationName2'),\n                displayName: mapping.get('displayName') || mapping.get('locationName') || mapping.get('locationName1') || '',\n                category: mapping.get('category')\n              };\n            } else if (typeof mapping === 'object') {\n              // It's a plain object, create a copy\n              return _ember[\"default\"].copy ? _ember[\"default\"].copy(mapping, true) : Object.assign({}, mapping);\n            } else {\n              return mapping;\n            }\n          });\n        } else if (typeof existingMappings === 'object') {\n          // It might be a single object or RecordArray\n          if (existingMappings.toArray && typeof existingMappings.toArray === 'function') {\n            // It's a RecordArray, convert to array\n            mappingsArray = existingMappings.toArray().map(function (mapping) {\n              if (mapping && typeof mapping.get === 'function') {\n                return {\n                  id: mapping.get('id'),\n                  locationId1: mapping.get('locationId1'),\n                  locationId2: mapping.get('locationId2'),\n                  locationName: mapping.get('locationName'),\n                  locationName1: mapping.get('locationName1'),\n                  locationName2: mapping.get('locationName2'),\n                  displayName: mapping.get('displayName') || mapping.get('locationName') || mapping.get('locationName1') || '',\n                  category: mapping.get('category')\n                };\n              } else {\n                return mapping;\n              }\n            });\n          } else {\n            // Single object, wrap in array\n            mappingsArray = [existingMappings];\n          }\n        } else {\n          mappingsArray = [];\n        }\n\n        existingMappings = mappingsArray;\n      }\n\n      var locationGroupId1 = this.get('model.locationGroupId1');\n      var locationGroupId2 = this.get('model.locationGroupId2');\n      var matched = [];\n      var notMatched = [];\n\n      // Keep track of original order for edit mode\n      var allMappingsInOrder = [];\n\n      // First, categorize existing mappings based on saved data ONLY\n      // Mark all saved mappings as userModified so they're preserved\n      existingMappings.forEach(function (mapping) {\n        // Create a new object to ensure it's a plain object (not Ember Data model)\n        // IMPORTANT: API returns locationName which is the saved displayName value\n        // We need to preserve this value and use it as displayName in the UI\n        var savedLocationName = mapping.locationName || null; // This is the saved displayName from API\n        var originalLocationName = mapping.locationName1 || null; // This is the original location name from location table\n\n        var mappingObj = {\n          id: mapping.id || null,\n          locationId1: mapping.locationId1 || null,\n          locationId2: mapping.locationId2 || null,\n          locationName: savedLocationName, // Preserve the saved locationName (which is the displayName)\n          locationName1: originalLocationName || savedLocationName, // Original location name from location table\n          locationName2: mapping.locationName2 || null,\n          displayName: savedLocationName, // Use locationName as displayName (they are the same)\n          category: mapping.category || 'specialty',\n          userModified: false, // Will be set to true only when user edits in this session\n          userEdited: false, // Track if user has edited in current session\n          selectedLocation: null, // Will be set when locations are loaded\n          selectedLastYearLocation: null // Will be set when locations are loaded\n        };\n\n        // Ensure category is set\n        if (!mappingObj.category) {\n          mappingObj.category = 'specialty';\n        }\n\n        // Keep original order\n        allMappingsInOrder.push(mappingObj);\n\n        // Categorize as matched or not matched based on saved locationId2\n        // Only consider it matched if locationId2 exists and is not null/empty\n        if (mappingObj.locationId2 && mappingObj.locationId2 !== null && mappingObj.locationId2 !== '') {\n          matched.push(mappingObj);\n        } else {\n          // locationId2 is null or empty, ensure it stays null and goes to notMatched\n          mappingObj.locationId2 = null;\n          mappingObj.locationName2 = null;\n          mappingObj.selectedLastYearLocation = null;\n          notMatched.push(mappingObj);\n        }\n      });\n\n      // For edit mode, we want to preserve the original order from API\n      // So we split the allMappingsInOrder array into matched and notMatched\n      // but keep them in the order they appear in the original array\n      if (this.get('isEditMode')) {\n        (function () {\n          var orderedMatched = [];\n          var orderedNotMatched = [];\n\n          allMappingsInOrder.forEach(function (mapping) {\n            if (mapping.locationId2 && mapping.locationId2 !== null && mapping.locationId2 !== '') {\n              orderedMatched.push(mapping);\n            } else {\n              orderedNotMatched.push(mapping);\n            }\n          });\n\n          // Set with original order preserved\n          _this5.set('matchedLocations', _ember[\"default\"].A(orderedMatched));\n          _this5.set('notMatchedLocations', _ember[\"default\"].A(orderedNotMatched));\n        })();\n      } else {\n        // Set UI arrays immediately with saved mappings\n        this.set('matchedLocations', _ember[\"default\"].A(matched));\n        this.set('notMatchedLocations', _ember[\"default\"].A(notMatched));\n      }\n\n      // Load locations from API ONLY for dropdown options (not for matching)\n      var promises = [];\n\n      if (locationGroupId1) {\n        var promise1 = this.get('store').query('location', { locationGroupId: locationGroupId1 }).then(function (locations) {\n          _this5.set('currentEventLocations', _ember[\"default\"].A(locations.toArray()));\n\n          // Update selectedLocation references in matched and notMatched arrays\n          // Get current arrays to update\n          var currentMatched = _this5.get('matchedLocations') || _ember[\"default\"].A([]);\n          var currentNotMatched = _this5.get('notMatchedLocations') || _ember[\"default\"].A([]);\n\n          currentMatched.forEach(function (mappingObj) {\n            if (mappingObj.locationId1) {\n              var location1 = locations.find(function (loc) {\n                var id = loc.get('id');\n                return id === mappingObj.locationId1 || id === parseInt(mappingObj.locationId1, 10) || id === mappingObj.locationId1.toString();\n              });\n              if (location1) {\n                // Only set selectedLocation for dropdown display, do NOT overwrite locationName/displayName\n                // locationName should preserve the saved value from API\n                _ember[\"default\"].set(mappingObj, 'selectedLocation', location1);\n                // Only set locationName1 for reference, but keep the saved locationName (which is the displayName value)\n                if (!mappingObj.locationName1) {\n                  _ember[\"default\"].set(mappingObj, 'locationName1', location1.get('name'));\n                }\n              }\n            }\n          });\n\n          currentNotMatched.forEach(function (mappingObj) {\n            if (mappingObj.locationId1) {\n              var location1 = locations.find(function (loc) {\n                var id = loc.get('id');\n                return id === mappingObj.locationId1 || id === parseInt(mappingObj.locationId1, 10) || id === mappingObj.locationId1.toString();\n              });\n              if (location1) {\n                // Only set selectedLocation for dropdown display, do NOT overwrite locationName/displayName\n                // locationName should preserve the saved value from API\n                _ember[\"default\"].set(mappingObj, 'selectedLocation', location1);\n                // Only set locationName1 for reference, but keep the saved locationName (which is the displayName value)\n                if (!mappingObj.locationName1) {\n                  _ember[\"default\"].set(mappingObj, 'locationName1', location1.get('name'));\n                }\n              }\n            }\n          });\n\n          // Force UI update\n          _this5.notifyPropertyChange('matchedLocations');\n          _this5.notifyPropertyChange('notMatchedLocations');\n          _this5.notifyPropertyChange('allLocations');\n        })[\"catch\"](function (error) {\n          console.log('Failed to load current event locations (from existing mappings):', error);\n          _this5.set('currentEventLocations', _ember[\"default\"].A([]));\n        });\n        promises.push(promise1);\n      }\n\n      if (locationGroupId2) {\n        var promise2 = this.get('store').query('location', { locationGroupId: locationGroupId2 }).then(function (locations) {\n          _this5.set('lastYearEventLocations', _ember[\"default\"].A(locations.toArray()));\n\n          // Update selectedLastYearLocation references in matched and notMatched arrays\n          // Get current arrays to update\n          var currentMatched = _this5.get('matchedLocations') || _ember[\"default\"].A([]);\n          var currentNotMatched = _this5.get('notMatchedLocations') || _ember[\"default\"].A([]);\n\n          currentMatched.forEach(function (mappingObj) {\n            // Only set selectedLastYearLocation if locationId2 exists and is not null\n            // If locationId2 was deleted (set to null), do not set selectedLastYearLocation\n            if (mappingObj.locationId2 && mappingObj.locationId2 !== null && mappingObj.locationId2 !== '') {\n              var location2 = locations.find(function (loc) {\n                var id = loc.get('id');\n                return id === mappingObj.locationId2 || id === parseInt(mappingObj.locationId2, 10) || id === mappingObj.locationId2.toString();\n              });\n              if (location2) {\n                _ember[\"default\"].set(mappingObj, 'selectedLastYearLocation', location2);\n              } else {\n                // Location not found, clear the selection\n                _ember[\"default\"].set(mappingObj, 'selectedLastYearLocation', null);\n              }\n            } else {\n              // locationId2 is null or empty, ensure selectedLastYearLocation is also null\n              _ember[\"default\"].set(mappingObj, 'selectedLastYearLocation', null);\n            }\n          });\n\n          currentNotMatched.forEach(function (mappingObj) {\n            // Only set selectedLastYearLocation if locationId2 exists and is not null\n            // If locationId2 was deleted (set to null), do not set selectedLastYearLocation\n            if (mappingObj.locationId2 && mappingObj.locationId2 !== null && mappingObj.locationId2 !== '') {\n              var location2 = locations.find(function (loc) {\n                var id = loc.get('id');\n                return id === mappingObj.locationId2 || id === parseInt(mappingObj.locationId2, 10) || id === mappingObj.locationId2.toString();\n              });\n              if (location2) {\n                _ember[\"default\"].set(mappingObj, 'selectedLastYearLocation', location2);\n              } else {\n                // Location not found, clear the selection\n                _ember[\"default\"].set(mappingObj, 'selectedLastYearLocation', null);\n              }\n            } else {\n              // locationId2 is null or empty, ensure selectedLastYearLocation is also null\n              _ember[\"default\"].set(mappingObj, 'selectedLastYearLocation', null);\n            }\n          });\n\n          // Force UI update\n          _this5.notifyPropertyChange('matchedLocations');\n          _this5.notifyPropertyChange('notMatchedLocations');\n          _this5.notifyPropertyChange('allLocations');\n        })[\"catch\"](function (error) {\n          console.log('Failed to load last year event locations (from existing mappings):', error);\n          _this5.set('lastYearEventLocations', _ember[\"default\"].A([]));\n        });\n        promises.push(promise2);\n      }\n\n      // Force initial UI update\n      this.notifyPropertyChange('matchedLocations');\n      this.notifyPropertyChange('notMatchedLocations');\n      this.notifyPropertyChange('allLocations');\n    },\n\n    // Initialize as empty arrays - will be set by buildLocationMappings\n    matchedLocations: _ember[\"default\"].A([]),\n    notMatchedLocations: _ember[\"default\"].A([]),\n\n    // Computed property for single combined list\n    // In edit mode: keep original order\n    // In new/auto-match mode: not matched first, then matched\n    allLocations: computed('matchedLocations.[]', 'notMatchedLocations.[]', 'isEditMode', function () {\n      var matched = this.get('matchedLocations') || [];\n      var notMatched = this.get('notMatchedLocations') || [];\n      var isEditMode = this.get('isEditMode');\n\n      // In edit mode, preserve original order (already set correctly from API)\n      // In new mode, put not matched first, then matched\n      if (isEditMode) {\n        // Concatenate in the order they were loaded (which preserves original order)\n        return _ember[\"default\"].A([].concat(_toConsumableArray(notMatched), _toConsumableArray(matched)));\n      } else {\n        // New mode: not matched first, then matched\n        return _ember[\"default\"].A([].concat(_toConsumableArray(notMatched), _toConsumableArray(matched)));\n      }\n    }),\n\n    // Helper method to check if location is pending move (for use in template)\n    isLocationPendingMove: (function (locationId) {\n      if (!locationId) {\n        return false;\n      }\n      var pendingIds = this.get('pendingMoveLocationIds');\n      return pendingIds && pendingIds.includes(locationId);\n    }).property('pendingMoveLocationIds.[]'),\n\n    // Format dates for display and input binding - using simple properties with actions\n    formattedStartDate1: computed('model.startDate1', function () {\n      var date = this.get('model.startDate1');\n      if (date) {\n        // Convert to YYYY-MM-DD format for HTML date input\n        if (date instanceof Date) {\n          return (0, _moment[\"default\"])(date).format('YYYY-MM-DD');\n        } else if (typeof date === 'string') {\n          // Handle ISO format or MM/DD/YYYY format\n          if (date.includes('T')) {\n            // ISO format: \"2025-10-08T00:00:00.000Z\"\n            return (0, _moment[\"default\"])(date).format('YYYY-MM-DD');\n          } else if (date.includes('/')) {\n            // MM/DD/YYYY format: \"10/14/2025\"\n            var parts = date.split('/');\n            if (parts.length === 3) {\n              return parts[2] + \"-\" + parts[0].padStart(2, '0') + \"-\" + parts[1].padStart(2, '0');\n            }\n          }\n          // Try to parse as date\n          var parsed = (0, _moment[\"default\"])(date);\n          if (parsed.isValid()) {\n            return parsed.format('YYYY-MM-DD');\n          }\n        }\n      }\n      return '';\n    }),\n\n    formattedStartDate2: computed('model.startDate2', function () {\n      var date = this.get('model.startDate2');\n      if (date) {\n        // Convert to YYYY-MM-DD format for HTML date input\n        if (date instanceof Date) {\n          return (0, _moment[\"default\"])(date).format('YYYY-MM-DD');\n        } else if (typeof date === 'string') {\n          // Handle ISO format or MM/DD/YYYY format\n          if (date.includes('T')) {\n            // ISO format: \"2025-10-08T00:00:00.000Z\"\n            return (0, _moment[\"default\"])(date).format('YYYY-MM-DD');\n          } else if (date.includes('/')) {\n            // MM/DD/YYYY format: \"10/14/2025\"\n            var parts = date.split('/');\n            if (parts.length === 3) {\n              return parts[2] + \"-\" + parts[0].padStart(2, '0') + \"-\" + parts[1].padStart(2, '0');\n            }\n          }\n          // Try to parse as date\n          var parsed = (0, _moment[\"default\"])(date);\n          if (parsed.isValid()) {\n            return parsed.format('YYYY-MM-DD');\n          }\n        }\n      }\n      return '';\n    }),\n\n    formattedEndDate: computed('model.endDate', function () {\n      var date = this.get('model.endDate');\n      if (date) {\n        // Convert to YYYY-MM-DD format for HTML date input\n        if (date instanceof Date) {\n          return (0, _moment[\"default\"])(date).format('YYYY-MM-DD');\n        } else if (typeof date === 'string') {\n          // Handle ISO format or MM/DD/YYYY format\n          if (date.includes('T')) {\n            // ISO format: \"2025-10-08T00:00:00.000Z\"\n            return (0, _moment[\"default\"])(date).format('YYYY-MM-DD');\n          } else if (date.includes('/')) {\n            // MM/DD/YYYY format: \"10/14/2025\"\n            var parts = date.split('/');\n            if (parts.length === 3) {\n              return parts[2] + \"-\" + parts[0].padStart(2, '0') + \"-\" + parts[1].padStart(2, '0');\n            }\n          }\n          var parsed = (0, _moment[\"default\"])(date);\n          if (parsed.isValid()) {\n            return parsed.format('YYYY-MM-DD');\n          }\n        }\n      }\n      return '';\n    }),\n\n    // Calculate durationDays from startDate1 and endDate\n    calculatedDurationDays: computed('model.startDate1', 'model.endDate', function () {\n      var startDate = this.get('model.startDate1');\n      var endDate = this.get('model.endDate');\n\n      if (!startDate || !endDate) {\n        return null;\n      }\n\n      var start = null;\n      var end = null;\n\n      // Parse startDate\n      if (startDate instanceof Date) {\n        start = (0, _moment[\"default\"])(startDate);\n      } else if (typeof startDate === 'string') {\n        start = (0, _moment[\"default\"])(startDate);\n      }\n\n      // Parse endDate\n      if (endDate instanceof Date) {\n        end = (0, _moment[\"default\"])(endDate);\n      } else if (typeof endDate === 'string') {\n        end = (0, _moment[\"default\"])(endDate);\n      }\n\n      if (start && end && start.isValid() && end.isValid()) {\n        // Calculate difference in days (inclusive, so add 1)\n        var days = end.diff(start, 'days') + 1;\n        return days > 0 ? days : null;\n      }\n\n      return null;\n    }),\n\n    // Initialize location groups using report-mixin\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._initializeLocationGroups();\n    },\n\n    didInsertElement: function didInsertElement() {\n      var _this6 = this;\n\n      this._super.apply(this, arguments);\n\n      // Ensure mappings array is initialized\n      if (!this.get('model.mappings')) {\n        this.set('model.mappings', []);\n      }\n\n      // Normalize date formats following locationGroup pattern\n      if (this.get('model.startDate1') !== null && this.get('model.startDate1') !== undefined) {\n        var startDate1 = this.get('model.startDate1');\n        if (typeof startDate1 === 'string') {\n          // Convert string to Date object\n          if (startDate1.includes('T')) {\n            // ISO format: \"2025-10-08T00:00:00.000Z\"\n            this.set('model.startDate1', new Date(startDate1));\n          } else if (startDate1.includes('/')) {\n            // MM/DD/YYYY format: \"10/14/2025\"\n            this.set('model.startDate1', new Date(startDate1));\n          }\n        }\n      }\n\n      if (this.get('model.startDate2') !== null && this.get('model.startDate2') !== undefined) {\n        var startDate2 = this.get('model.startDate2');\n        if (typeof startDate2 === 'string') {\n          // Convert string to Date object\n          if (startDate2.includes('T')) {\n            // ISO format: \"2025-10-08T00:00:00.000Z\"\n            this.set('model.startDate2', new Date(startDate2));\n          } else if (startDate2.includes('/')) {\n            // MM/DD/YYYY format: \"10/14/2025\"\n            this.set('model.startDate2', new Date(startDate2));\n          }\n        }\n      }\n\n      if (this.get('model.endDate') !== null && this.get('model.endDate') !== undefined) {\n        var endDate = this.get('model.endDate');\n        if (typeof endDate === 'string') {\n          // Convert string to Date object\n          if (endDate.includes('T')) {\n            // ISO format: \"2025-10-08T00:00:00.000Z\"\n            this.set('model.endDate', new Date(endDate));\n          } else if (endDate.includes('/')) {\n            // MM/DD/YYYY format: \"10/14/2025\"\n            this.set('model.endDate', new Date(endDate));\n          }\n        }\n      } else {\n        // If endDate is not set but we have startDate1 and durationDays, calculate endDate\n        var startDate1 = this.get('model.startDate1');\n        var durationDays = this.get('model.durationDays');\n        if (startDate1 && durationDays && durationDays > 0) {\n          var start = null;\n          if (startDate1 instanceof Date) {\n            start = (0, _moment[\"default\"])(startDate1);\n          } else if (typeof startDate1 === 'string') {\n            start = (0, _moment[\"default\"])(startDate1);\n          }\n          if (start && start.isValid()) {\n            // Calculate endDate: startDate1 + (durationDays - 1) days (inclusive)\n            var endDate = start.clone().add(durationDays - 1, 'days').toDate();\n            this.set('model.endDate', endDate);\n          }\n        }\n      }\n\n      // Check if _locationGroups is already loaded or is a Promise\n      var locationGroups = this.get('_locationGroups');\n\n      if (locationGroups && typeof locationGroups.then === 'function') {\n        // It's a Promise, wait for it\n        locationGroups.then(function () {\n          _this6.set('locationGroupsLoaded', true);\n          // Force recomputation of selectedLocationGroup properties\n          _this6.notifyPropertyChange('selectedLocationGroup1');\n          _this6.notifyPropertyChange('selectedLocationGroup2');\n          // Also notify the computed properties to recompute\n          _this6.notifyPropertyChange('_locationGroups');\n        });\n      } else {\n        // It's already loaded data\n        this.set('locationGroupsLoaded', true);\n        // Force recomputation\n        this.notifyPropertyChange('selectedLocationGroup1');\n        this.notifyPropertyChange('selectedLocationGroup2');\n      }\n\n      // Fallback: Set loaded state after a short delay to ensure UI updates\n      setTimeout(function () {\n        if (!_this6.get('locationGroupsLoaded')) {\n          _this6.set('locationGroupsLoaded', true);\n        }\n      }, 1000);\n\n      // Store original event IDs to detect changes\n      this.set('originalLocationGroupId1', this.get('model.locationGroupId1'));\n      this.set('originalLocationGroupId2', this.get('model.locationGroupId2'));\n\n      // Determine if this is a new record or editing existing record\n      var isNewRecord = this.get('model.isNew');\n\n      if (isNewRecord) {\n        // For new records, allow auto-loading and auto-matching\n        this.set('isEditMode', false);\n        if (this.get('model.locationGroupId1')) {\n          // Preserve existing mappings when loading for the first time\n          this.set('preserveMappingsOnLoad', true);\n          // Delay slightly to ensure model is fully initialized\n          _ember[\"default\"].run.next(this, function () {\n            this.loadLocations();\n          });\n        }\n      } else {\n        (function () {\n          // For existing records (editing mode), NEVER auto-match\n          // Even if mappings are empty (user deleted all), do not auto-fill\n          _this6.set('isEditMode', true); // Set flag to prevent auto-matching\n          _this6.set('preserveMappingsOnLoad', true);\n\n          // Wait for model to be fully loaded and serialized\n          // Check if model.mappings exists and has data\n          var checkAndBuild = function checkAndBuild() {\n            var mappings = _this6.get('model.mappings');\n            // Wait for mappings to be loaded (either array with data or empty array)\n            if (mappings !== undefined && mappings !== null) {\n              // Data is loaded, build UI\n              _ember[\"default\"].run.next(_this6, function () {\n                this.buildLocationMappingsFromExisting();\n              });\n            } else {\n              // Still loading, wait a bit more\n              _ember[\"default\"].run.next(_this6, checkAndBuild);\n            }\n          };\n\n          // Start checking after a short delay\n          _ember[\"default\"].run.next(_this6, function () {\n            // First delay: wait for model to be fully initialized\n            _ember[\"default\"].run.next(this, function () {\n              // Second delay: wait for serializer to process mappings\n              _ember[\"default\"].run.next(this, checkAndBuild);\n            });\n          });\n        })();\n      }\n\n      this.set('isInitialLoad', false);\n    },\n\n    actions: {\n      changeStartDate1: function changeStartDate1(value) {\n        if (value) {\n          // Convert YYYY-MM-DD to Date object for model\n          var date = new Date(value);\n          this.set('model.startDate1', date);\n        } else {\n          this.set('model.startDate1', null);\n        }\n      },\n\n      changeStartDate2: function changeStartDate2(value) {\n        if (value) {\n          // Convert YYYY-MM-DD to Date object for model\n          var date = new Date(value);\n          this.set('model.startDate2', date);\n        } else {\n          this.set('model.startDate2', null);\n        }\n      },\n\n      changeEndDate: function changeEndDate(value) {\n        if (value) {\n          // Convert YYYY-MM-DD to Date object for model\n          var date = new Date(value);\n          this.set('model.endDate', date);\n        } else {\n          this.set('model.endDate', null);\n        }\n      },\n\n      save: function save() {\n        var _this7 = this;\n\n        this.send('cleanMessages');\n\n        // Validate model before saving\n        var model = this.get('model');\n        if (!model.get('validations.isValid')) {\n          // Display validation errors\n          model.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this7.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            if (_this7.get('errorMessages')) {\n              _this7.get('errorMessages').addObject(errorMessage);\n            }\n          });\n          return;\n        }\n\n        // Update model.mappings to only include what's currently displayed in UI\n        // This ensures deleted items are not saved\n        var matched = this.get('matchedLocations') || [];\n        var notMatched = this.get('notMatchedLocations') || [];\n        var allMappings = matched.concat(notMatched);\n\n        // Clear all error flags first\n        allMappings.forEach(function (mapping) {\n          _ember[\"default\"].set(mapping, 'hasError', false);\n        });\n\n        // Validate locations: check for empty locations (both sides empty) and duplicates\n        var emptyLocations = [];\n        var leftLocationIds = [];\n        var rightLocationIds = [];\n        var duplicateLeftLocations = [];\n        var duplicateRightLocations = [];\n        var validationErrors = [];\n\n        // First pass: collect all location IDs and check for empty locations\n        allMappings.forEach(function (mapping, index) {\n          var locationId1 = mapping.locationId1 || null;\n          var locationId2 = mapping.locationId2 || null;\n\n          // Check if both sides are empty\n          if (!locationId1 && !locationId2) {\n            emptyLocations.push(index);\n            _ember[\"default\"].set(mapping, 'hasError', true);\n            return; // Skip this mapping\n          }\n\n          // Collect left location IDs with mapping reference\n          if (locationId1) {\n            var locationName1 = mapping.locationName1 || '';\n            leftLocationIds.push({ id: locationId1, name: locationName1, mapping: mapping, index: index });\n          }\n\n          // Collect right location IDs with mapping reference\n          if (locationId2) {\n            var locationName2 = mapping.locationName2 || '';\n            rightLocationIds.push({ id: locationId2, name: locationName2, mapping: mapping, index: index });\n          }\n        });\n\n        // Second pass: check for duplicates on left side\n        var leftIdMap = {};\n        leftLocationIds.forEach(function (item) {\n          if (leftIdMap[item.id]) {\n            // Mark current mapping as having error\n            _ember[\"default\"].set(item.mapping, 'hasError', true);\n            // Also mark the first occurrence as having error (if not already marked)\n            _ember[\"default\"].set(leftIdMap[item.id].mapping, 'hasError', true);\n            if (duplicateLeftLocations.indexOf(item.name) === -1) {\n              duplicateLeftLocations.push(item.name);\n            }\n          } else {\n            leftIdMap[item.id] = item;\n          }\n        });\n\n        // Find all duplicate IDs and mark all occurrences\n        Object.keys(leftIdMap).forEach(function (id) {\n          var occurrences = leftLocationIds.filter(function (item) {\n            return item.id === id;\n          });\n          if (occurrences.length > 1) {\n            occurrences.forEach(function (item) {\n              _ember[\"default\"].set(item.mapping, 'hasError', true);\n            });\n          }\n        });\n\n        // Third pass: check for duplicates on right side\n        var rightIdMap = {};\n        rightLocationIds.forEach(function (item) {\n          if (rightIdMap[item.id]) {\n            // Mark current mapping as having error\n            _ember[\"default\"].set(item.mapping, 'hasError', true);\n            // Also mark the first occurrence as having error (if not already marked)\n            _ember[\"default\"].set(rightIdMap[item.id].mapping, 'hasError', true);\n            if (duplicateRightLocations.indexOf(item.name) === -1) {\n              duplicateRightLocations.push(item.name);\n            }\n          } else {\n            rightIdMap[item.id] = item;\n          }\n        });\n\n        // Find all duplicate IDs and mark all occurrences\n        Object.keys(rightIdMap).forEach(function (id) {\n          var occurrences = rightLocationIds.filter(function (item) {\n            return item.id === id;\n          });\n          if (occurrences.length > 1) {\n            occurrences.forEach(function (item) {\n              _ember[\"default\"].set(item.mapping, 'hasError', true);\n            });\n          }\n        });\n\n        // Collect all validation errors\n        if (emptyLocations.length > 0) {\n          var errorMessage = this.get('intl').t('eventAnalytics.detail.messages.validation.emptyLocations');\n          validationErrors.push(errorMessage);\n        }\n\n        if (duplicateLeftLocations.length > 0) {\n          duplicateLeftLocations.forEach(function (locationName) {\n            var errorMessage = _this7.get('intl').t('eventAnalytics.detail.messages.validation.duplicateLeftLocation', {\n              locationName: locationName\n            });\n            validationErrors.push(errorMessage);\n          });\n        }\n\n        if (duplicateRightLocations.length > 0) {\n          duplicateRightLocations.forEach(function (locationName) {\n            var errorMessage = _this7.get('intl').t('eventAnalytics.detail.messages.validation.duplicateRightLocation', {\n              locationName: locationName\n            });\n            validationErrors.push(errorMessage);\n          });\n        }\n\n        // Force UI update to show error highlights\n        if (validationErrors.length > 0) {\n          this.notifyPropertyChange('matchedLocations');\n          this.notifyPropertyChange('notMatchedLocations');\n          this.notifyPropertyChange('allLocations');\n        }\n\n        // Show all validation errors\n        if (validationErrors.length > 0) {\n          validationErrors.forEach(function (errorMessage) {\n            _this7.get('notify').alert(errorMessage, { closeAfter: 5000 });\n          });\n          return;\n        }\n\n        // Filter out empty mappings (both sides empty)\n        var validMappings = allMappings.filter(function (mapping) {\n          var locationId1 = mapping.locationId1 || null;\n          var locationId2 = mapping.locationId2 || null;\n          return locationId1 || locationId2; // At least one side must be filled\n        });\n\n        var cleanedMappings = validMappings.map(function (mapping) {\n          var locationName = mapping.displayName || mapping.locationName || null;\n\n          return {\n            id: mapping.id || null,\n            locationId1: mapping.locationId1 || null,\n            locationId2: mapping.locationId2 || null,\n            locationName: locationName, // API field name is locationName, use displayName value\n            locationName2: mapping.locationName2 || null,\n            displayName: locationName, // Keep displayName for frontend use, but it maps to locationName in API\n            category: mapping.category || null\n          };\n        });\n\n        this.set('model.mappings', _ember[\"default\"].A(cleanedMappings));\n\n        // Set saving state to show loading\n        this.set('saving', true);\n\n        if (this.get('model.isNew')) {\n          this.get('model').save().then(function () {\n            _this7.set('saving', false);\n            _this7.get('notify').success(_this7.get('intl').t('eventAnalytics.detail.messages.createSuccess'));\n            _this7.sendAction('save');\n          })[\"catch\"](function (error) {\n            _this7.set('saving', false);\n            // Extract the actual error message from the API response\n            var errorMessage = _this7.get('intl').t('eventAnalytics.detail.messages.createError');\n\n            // Check if error has a message and extract the specific error\n            if (error.message) {\n              // For API errors, the message might contain the actual error after newlines\n              var lines = error.message.split('\\n');\n              if (lines.length > 1) {\n                // Look for the last non-empty line which usually contains the actual error\n                for (var i = lines.length - 1; i >= 0; i--) {\n                  var line = lines[i].trim();\n                  if (line && line.length > 0) {\n                    errorMessage = line;\n                    break;\n                  }\n                }\n              } else if (error.message.trim()) {\n                // If it's a single line, use it directly\n                errorMessage = error.message.trim();\n              }\n            }\n\n            _this7.get('notify').alert(errorMessage);\n          });\n        } else {\n          this.get('model').save().then(function () {\n            _this7.set('saving', false);\n            _this7.get('notify').success(_this7.get('intl').t('eventAnalytics.detail.messages.updateSuccess'));\n            _this7.sendAction('save');\n          })[\"catch\"](function (error) {\n            _this7.set('saving', false);\n            // Extract the actual error message from the API response\n            var errorMessage = _this7.get('intl').t('eventAnalytics.detail.messages.updateError');\n\n            // Check if error has a message and extract the specific error\n            if (error.message) {\n              // For API errors, the message might contain the actual error after newlines\n              var lines = error.message.split('\\n');\n              if (lines.length > 1) {\n                // Look for the last non-empty line which usually contains the actual error\n                for (var i = lines.length - 1; i >= 0; i--) {\n                  var line = lines[i].trim();\n                  if (line && line.length > 0) {\n                    errorMessage = line;\n                    break;\n                  }\n                }\n              } else if (error.message.trim()) {\n                // If it's a single line, use it directly\n                errorMessage = error.message.trim();\n              }\n            }\n\n            _this7.get('notify').alert(errorMessage);\n          });\n        }\n      },\n\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n\n      addLocation: function addLocation() {\n        var newLocation = {\n          id: null,\n          locationId1: null,\n          locationName: null,\n          displayName: '',\n          category: 'specialty',\n          locationId2: null,\n          locationName2: null,\n          selectedLocation: null,\n          selectedLastYearLocation: null,\n          userModified: true, // Manually added locations are always user-modified\n          userEdited: true, // Mark as edited since it's a new location\n          hasError: false // Initialize error flag\n        };\n        var notMatched = this.get('notMatchedLocations') || _ember[\"default\"].A([]);\n        // Insert at the beginning of the list (index 0)\n        notMatched.unshiftObject(newLocation);\n        this.set('notMatchedLocations', _ember[\"default\"].A(notMatched.toArray()));\n\n        if (!this.get('model.mappings')) {\n          this.set('model.mappings', _ember[\"default\"].A([]));\n        }\n        // Also insert at the beginning of model.mappings\n        this.get('model.mappings').unshiftObject(newLocation);\n\n        this.notifyPropertyChange('notMatchedLocations');\n        this.notifyPropertyChange('allLocations');\n      },\n\n      removeLocation: function removeLocation(location) {\n        // Remove from matched or not matched\n        var matched = this.get('matchedLocations') || [];\n        var notMatched = this.get('notMatchedLocations') || [];\n\n        matched.removeObject(location);\n        notMatched.removeObject(location);\n\n        // Also remove from model.mappings\n        this.get('model.mappings').removeObject(location);\n\n        // Notify UI update\n        this.notifyPropertyChange('matchedLocations');\n        this.notifyPropertyChange('notMatchedLocations');\n        this.notifyPropertyChange('allLocations');\n      },\n\n      selectLocationName: function selectLocationName(location, selectedLocation) {\n        if (location) {\n          if (selectedLocation) {\n            var locationId1 = selectedLocation.get('id');\n            var locationNameFromLocation = selectedLocation.get('name'); // Name from location table\n            var oldLocationName = location.locationName; // Current saved locationName (which is displayName)\n            var oldDisplayName = location.displayName;\n\n            _ember[\"default\"].set(location, 'locationId1', locationId1);\n            _ember[\"default\"].set(location, 'locationName1', locationNameFromLocation); // Store original location name\n            _ember[\"default\"].set(location, 'selectedLocation', selectedLocation);\n\n            // If user is selecting a location for the first time or displayName is empty,\n            // update both locationName and displayName to the new location's name\n            // Otherwise, preserve the user's custom displayName\n            if (!oldDisplayName || oldDisplayName === '' || oldDisplayName === oldLocationName) {\n              // User hasn't customized displayName, use new location's name\n              _ember[\"default\"].set(location, 'locationName', locationNameFromLocation);\n              _ember[\"default\"].set(location, 'displayName', locationNameFromLocation);\n            } else {\n              // User has customized displayName, preserve it but update locationName1\n              // locationName stays as the custom displayName value\n              _ember[\"default\"].set(location, 'locationName', oldDisplayName);\n            }\n\n            // Update category if not set\n            if (!location.category) {\n              _ember[\"default\"].set(location, 'category', this.normalizeCategory(selectedLocation.get('typeName')));\n            }\n            // Mark as user-modified and user-edited\n            _ember[\"default\"].set(location, 'userModified', true);\n            _ember[\"default\"].set(location, 'userEdited', true);\n            // Clear error flag when user edits\n            _ember[\"default\"].set(location, 'hasError', false);\n\n            // Notify UI update\n            this.notifyPropertyChange('allLocations');\n          } else {\n            // User cleared the selection\n            _ember[\"default\"].set(location, 'locationId1', null);\n            _ember[\"default\"].set(location, 'locationName1', null);\n            _ember[\"default\"].set(location, 'selectedLocation', null);\n            // Mark as user-modified and user-edited\n            _ember[\"default\"].set(location, 'userModified', true);\n            _ember[\"default\"].set(location, 'userEdited', true);\n            // Clear error flag when user edits\n            _ember[\"default\"].set(location, 'hasError', false);\n\n            // Notify UI update\n            this.notifyPropertyChange('allLocations');\n          }\n        }\n      },\n\n      selectLastYearLocationName: function selectLastYearLocationName(location, selectedLocation) {\n        if (selectedLocation) {\n          var locationId2 = selectedLocation.get('id');\n          var locationName2 = selectedLocation.get('name');\n\n          _ember[\"default\"].set(location, 'locationId2', locationId2);\n          _ember[\"default\"].set(location, 'locationName2', locationName2);\n          _ember[\"default\"].set(location, 'selectedLastYearLocation', selectedLocation);\n          // Mark as user-modified and user-edited\n          _ember[\"default\"].set(location, 'userModified', true);\n          _ember[\"default\"].set(location, 'userEdited', true);\n          // Clear error flag when user edits\n          _ember[\"default\"].set(location, 'hasError', false);\n\n          // User edited: keep position, just notify UI update\n          this.notifyPropertyChange('allLocations');\n        } else {\n          _ember[\"default\"].set(location, 'locationId2', null);\n          _ember[\"default\"].set(location, 'locationName2', null);\n          _ember[\"default\"].set(location, 'selectedLastYearLocation', null);\n          // Mark as user-modified and user-edited\n          _ember[\"default\"].set(location, 'userModified', true);\n          _ember[\"default\"].set(location, 'userEdited', true);\n          // Clear error flag when user edits\n          _ember[\"default\"].set(location, 'hasError', false);\n\n          // User edited: keep position, just notify UI update\n          this.notifyPropertyChange('allLocations');\n        }\n      },\n\n      checkAndReorganizeLocations: function checkAndReorganizeLocations() {\n        // Reorganize locations between matched and not matched without rebuilding\n        // Keep track of user edits\n        var matched = this.get('matchedLocations') || [];\n        var notMatched = this.get('notMatchedLocations') || [];\n\n        // Re-categorize all locations based on locationId2\n        var newMatched = [];\n        var newNotMatched = [];\n\n        // Process current matched locations\n        matched.forEach(function (location) {\n          if (location.locationId2) {\n            newMatched.push(location);\n          } else {\n            newNotMatched.push(location);\n          }\n        });\n\n        // Process current not matched locations\n        notMatched.forEach(function (location) {\n          if (location.locationId2) {\n            newMatched.push(location);\n          } else {\n            newNotMatched.push(location);\n          }\n        });\n\n        // Update the arrays\n        this.set('matchedLocations', _ember[\"default\"].A(newMatched));\n        this.set('notMatchedLocations', _ember[\"default\"].A(newNotMatched));\n\n        // Force UI update\n        this.notifyPropertyChange('matchedLocations');\n        this.notifyPropertyChange('notMatchedLocations');\n        this.notifyPropertyChange('allLocations');\n      },\n\n      clearLocations: function clearLocations() {\n        // Clear all location data\n        this.set('matchedLocations', _ember[\"default\"].A([]));\n        this.set('notMatchedLocations', _ember[\"default\"].A([]));\n        this.set('currentEventLocations', _ember[\"default\"].A([]));\n        this.set('lastYearEventLocations', _ember[\"default\"].A([]));\n        this.set('model.mappings', _ember[\"default\"].A([]));\n        this.set('locationsLoaded', false);\n\n        // Force UI update\n        this.notifyPropertyChange('matchedLocations');\n        this.notifyPropertyChange('notMatchedLocations');\n        this.notifyPropertyChange('allLocations');\n      },\n\n      clearNonModifiedLocations: function clearNonModifiedLocations() {\n        // Only clear non-user-modified locations\n        var matched = this.get('matchedLocations') || [];\n        var notMatched = this.get('notMatchedLocations') || [];\n\n        // Filter out non-user-modified items\n        var preservedMatched = matched.filter(function (m) {\n          return m.userModified;\n        });\n        var preservedNotMatched = notMatched.filter(function (m) {\n          return m.userModified;\n        });\n\n        this.set('matchedLocations', _ember[\"default\"].A(preservedMatched));\n        this.set('notMatchedLocations', _ember[\"default\"].A(preservedNotMatched));\n\n        // Update model.mappings to only include preserved ones\n        this.set('model.mappings', _ember[\"default\"].A(preservedMatched.concat(preservedNotMatched)));\n\n        // Force UI update\n        this.notifyPropertyChange('matchedLocations');\n        this.notifyPropertyChange('notMatchedLocations');\n        this.notifyPropertyChange('allLocations');\n      },\n\n      locationGroup1Selected: function locationGroup1Selected(selection) {\n        var oldLocationGroupId1 = this.get('model.locationGroupId1');\n        var newLocationGroupId1 = selection ? selection.get ? selection.get('id') : selection.id : null;\n        var newLocationGroupName1 = selection ? selection.get ? selection.get('name') : selection.name : null;\n        var originalLocationGroupId1 = this.get('originalLocationGroupId1');\n        var isNewRecord = this.get('model.isNew');\n\n        this.set('model.locationGroupId1', newLocationGroupId1);\n        this.set('model.locationGroupName1', newLocationGroupName1);\n\n        // Load LocationGroup basic info and auto-fill startDate/endDate/timezone\n        // Previous event auto-selection is handled in loadLocationGroupBasicInfo success callback\n        if (newLocationGroupId1) {\n          this.loadLocationGroupBasicInfo(newLocationGroupId1, true)[\"catch\"](function (error) {\n            console.log('Failed to load basic info for current event:', error);\n          });\n        }\n\n        // In new record mode, always load and match when event is selected\n        if (isNewRecord) {\n          // For new records, always allow auto-matching when event is selected\n          this.set('isEditMode', false);\n          // Don't preserve mappings for new records - start fresh\n          this.set('preserveMappingsOnLoad', false);\n\n          // Use Ember.run.next to ensure model property is set before loading\n          _ember[\"default\"].run.next(this, function () {\n            // Pass the new locationGroupId directly to avoid timing issues\n            this.loadLocations(newLocationGroupId1, this.get('model.locationGroupId2'));\n          });\n        } else {\n          // Edit mode: Only reload if event actually changed (from original or from current)\n          var eventChanged = oldLocationGroupId1 !== newLocationGroupId1 || originalLocationGroupId1 !== newLocationGroupId1 && originalLocationGroupId1 !== null;\n\n          if (eventChanged) {\n            // Event changed by user, allow auto-matching\n            this.set('isEditMode', false); // Allow auto-matching when user changes event\n            // Event changed, but preserve user-modified mappings\n            // Only clear non-user-modified mappings\n            this.send('clearNonModifiedLocations');\n            this.set('preserveMappingsOnLoad', true); // Preserve user-modified mappings\n          } else {\n              // Same event, preserve existing mappings\n              this.set('preserveMappingsOnLoad', true);\n            }\n\n          // Use Ember.run.next to ensure model property is set before loading\n          _ember[\"default\"].run.next(this, function () {\n            // Pass the new locationGroupId directly to avoid timing issues\n            this.loadLocations(newLocationGroupId1, this.get('model.locationGroupId2'));\n          });\n        }\n      },\n\n      locationGroup2Selected: function locationGroup2Selected(selection) {\n        var oldLocationGroupId2 = this.get('model.locationGroupId2');\n        var newLocationGroupId2 = selection ? selection.get('id') : null;\n        var originalLocationGroupId2 = this.get('originalLocationGroupId2');\n        var isNewRecord = this.get('model.isNew');\n\n        this.set('model.locationGroupId2', newLocationGroupId2);\n        this.set('model.locationGroupName2', selection ? selection.get('name') : null);\n\n        // Load LocationGroup basic info and auto-fill startDate2\n        if (newLocationGroupId2) {\n          this.loadLocationGroupBasicInfo(newLocationGroupId2, false)[\"catch\"](function (error) {\n            console.log('Failed to load basic info for previous event:', error);\n          });\n        }\n\n        // In new record mode, always load and match when event is selected\n        if (isNewRecord) {\n          // For new records, always allow auto-matching when event is selected\n          this.set('isEditMode', false);\n          // Don't preserve mappings for new records - start fresh\n          this.set('preserveMappingsOnLoad', false);\n\n          // Use Ember.run.next to ensure model property is set before loading\n          _ember[\"default\"].run.next(this, function () {\n            // Pass the new locationGroupId directly to avoid timing issues\n            this.loadLocations(this.get('model.locationGroupId1'), newLocationGroupId2);\n          });\n        } else {\n          // Edit mode: Only reload if event actually changed (from original or from current)\n          var eventChanged = oldLocationGroupId2 !== newLocationGroupId2 || originalLocationGroupId2 !== newLocationGroupId2 && originalLocationGroupId2 !== null;\n\n          if (eventChanged) {\n            // Event changed by user, allow auto-matching\n            this.set('isEditMode', false); // Allow auto-matching when user changes event\n            // Event changed, but preserve user-modified mappings\n            // Only clear non-user-modified mappings\n            this.send('clearNonModifiedLocations');\n            this.set('preserveMappingsOnLoad', true); // Preserve user-modified mappings\n          } else {\n              // Same event, preserve existing mappings\n              this.set('preserveMappingsOnLoad', true);\n            }\n\n          // Use Ember.run.next to ensure model property is set before loading\n          _ember[\"default\"].run.next(this, function () {\n            // Pass the new locationGroupId directly to avoid timing issues\n            this.loadLocations(this.get('model.locationGroupId1'), newLocationGroupId2);\n          });\n        }\n      },\n\n      selectCategory: function selectCategory(location, category) {\n        _ember[\"default\"].set(location, 'category', category);\n        // Mark as user-modified and user-edited\n        _ember[\"default\"].set(location, 'userModified', true);\n        _ember[\"default\"].set(location, 'userEdited', true);\n        // Clear error flag when user edits\n        _ember[\"default\"].set(location, 'hasError', false);\n\n        // Notify UI update\n        this.notifyPropertyChange('allLocations');\n      },\n\n      updateDisplayName: function updateDisplayName(location, value) {\n        if (location) {\n          _ember[\"default\"].set(location, 'displayName', value);\n          // When user modifies displayName, also update locationName (API uses locationName, not displayName)\n          _ember[\"default\"].set(location, 'locationName', value);\n          // Mark as user-modified and user-edited\n          _ember[\"default\"].set(location, 'userModified', true);\n          _ember[\"default\"].set(location, 'userEdited', true);\n          // Clear error flag when user edits\n          _ember[\"default\"].set(location, 'hasError', false);\n\n          // Notify UI update\n          this.notifyPropertyChange('allLocations');\n        }\n      },\n\n      changeTimeZone: function changeTimeZone(timezone) {\n        this.set('model.timezone', timezone);\n      },\n\n      openModal: function openModal() {\n        this.set('showModal', true);\n      },\n\n      closeModal: function closeModal() {\n        this.set('showModal', false);\n      },\n\n      saveTimezoneAction: function saveTimezoneAction(timezone) {\n        this.set('model.timezone', timezone);\n        this.set('showModal', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/event-analytics/detail/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"JuPixojK\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saving\\\"]]],null,14,13]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"                        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"loc\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"loc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                        \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"category\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"category\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"loc\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"loc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"location\\\",\\\"locationId2\\\"]],\\\"highlight-user-edited\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"location\\\",\\\"hasError\\\"]],\\\"location-error-row\\\"],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 20%;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"currentEventLocations\\\"]],[\\\"get\\\",[\\\"location\\\",\\\"selectedLocation\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.locationPlaceholder\\\"],null],true,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectLocationName\\\",[\\\"get\\\",[\\\"location\\\"]]],null]]],2],[\\\"text\\\",\\\"                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 20%;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"change\\\"],[\\\"text\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"location\\\",\\\"displayName\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.displayNamePlaceholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updateDisplayName\\\",[\\\"get\\\",[\\\"location\\\"]]],[[\\\"value\\\"],[\\\"target.value\\\"]]]]]],false],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 15%;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"categoryOptions\\\"]],[\\\"get\\\",[\\\"location\\\",\\\"category\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.categoryPlaceholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCategory\\\",[\\\"get\\\",[\\\"location\\\"]]],null]]],1],[\\\"text\\\",\\\"                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 20%;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"lastYearEventLocations\\\"]],[\\\"get\\\",[\\\"location\\\",\\\"selectedLastYearLocation\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.lastYearLocationPlaceholder\\\"],null],true,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectLastYearLocationName\\\",[\\\"get\\\",[\\\"location\\\"]]],null]]],0],[\\\"text\\\",\\\"                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 15%;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger btn-sm\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeLocation\\\",[\\\"get\\\",[\\\"location\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.remove\\\"],null],false],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\",\\\"index\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"comment\\\",\\\" Single Location List \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: flex; justify-content: flex-end; align-items: center; margin-bottom: 10px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addLocation\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.addLocation\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table table-striped\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 20%;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"selectedLocationGroup1\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup1\\\",\\\"name\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locationGroup1.label\\\"],null]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 20%;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.displayName\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 15%;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.category\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 20%;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"selectedLocationGroup2\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup2\\\",\\\"name\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locationGroup2.label\\\"],null]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 15%;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.table.actions\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"allLocations\\\"]]],null,3],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:50px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw inline-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-control\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"background-color: #f5f5f5;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectedLocationGroup2\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_locationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup2\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locationGroup2.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroup2Selected\\\"],null]]],7]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"zone\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"zone\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-control\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"background-color: #f5f5f5;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectedLocationGroup1\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_locationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup1\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locationGroup1.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroup1Selected\\\"],null]]],11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"comment\\\",\\\" Event \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"locationGroup1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locationGroup1.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,12,10],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\\n      \\\"],[\\\"comment\\\",\\\" Start Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"startDate1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.startDate1.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"class\\\",\\\"value\\\",\\\"change\\\"],[\\\"date\\\",\\\"startDate1\\\",\\\"startDate1\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"formattedStartDate1\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeStartDate1\\\"],[[\\\"value\\\"],[\\\"target.value\\\"]]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\\n      \\\"],[\\\"comment\\\",\\\" End Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"endDate\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.endDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"class\\\",\\\"value\\\",\\\"change\\\"],[\\\"date\\\",\\\"endDate\\\",\\\"endDate\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"formattedEndDate\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeEndDate\\\"],[[\\\"value\\\"],[\\\"target.value\\\"]]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\\n      \\\"],[\\\"comment\\\",\\\" Timezone \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.timezone.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_timeZones\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"timezone\\\"]],true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.timezone.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeTimeZone\\\"],null]]],9],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\\n      \\\"],[\\\"comment\\\",\\\" Refresh \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.refresh.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"checked\\\"],[\\\"checkbox\\\",[\\\"get\\\",[\\\"model\\\",\\\"refresh\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\\n      \\\"],[\\\"comment\\\",\\\" Last year's event \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"locationGroup2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locationGroup2.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,8,6],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\\n      \\\"],[\\\"comment\\\",\\\" Last year start Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"startDate2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.startDate2.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"class\\\",\\\"value\\\",\\\"change\\\"],[\\\"date\\\",\\\"startDate2\\\",\\\"startDate2\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"formattedStartDate2\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeStartDate2\\\"],[[\\\"value\\\"],[\\\"target.value\\\"]]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: flex; align-items: center; gap: 10px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-size: 18px; font-weight: bold; margin-bottom: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationsLoading\\\"]]],null,5,4],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"comment\\\",\\\" Fixed bottom buttons \\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"event-analytics-fixed-actions\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"container-fluid\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 fixed-action-buttons\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"comment\\\",\\\" Add padding to bottom of panel-body to prevent content from being hidden by fixed buttons \\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"style\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  .panel-body {\\\\n    padding-bottom: 80px !important;\\\\n  }\\\\n\\\\n  .event-analytics-fixed-actions {\\\\n    position: fixed;\\\\n    bottom: 0;\\\\n    left: 240px;\\\\n    right: 0;\\\\n    background-color: #fff;\\\\n    border-top: 2px solid #ddd;\\\\n    padding: 15px 20px;\\\\n    z-index: 1000;\\\\n    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);\\\\n  }\\\\n\\\\n  .event-analytics-fixed-actions .fixed-action-buttons {\\\\n    text-align: right;\\\\n  }\\\\n\\\\n  .event-analytics-fixed-actions .btn {\\\\n    margin-left: 10px;\\\\n  }\\\\n\\\\n  @media (max-width: 992px) {\\\\n    .event-analytics-fixed-actions {\\\\n      left: 0;\\\\n    }\\\\n  }\\\\n\\\\n  .location-error-row {\\\\n    background-color: #ffe6e6 !important;\\\\n  }\\\\n\\\\n  .location-error-row td {\\\\n    background-color: #ffe6e6 !important;\\\\n  }\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"event-analytics/timezone-modal\\\"],null,[[\\\"showModal\\\",\\\"timezone\\\",\\\"closeAction\\\",\\\"saveTimezoneAction\\\"],[[\\\"get\\\",[\\\"showModal\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"timezone\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveTimezoneAction\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.saving\\\"],[[\\\"eventName\\\"],[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"selectedLocationGroup1\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup1\\\",\\\"name\\\"]],\\\"Event Analytics\\\"],null]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/detail/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/event-analytics/list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/common-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsCommonMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    session: _ember[\"default\"].inject.service(),\n    metaItemsCountProperty: 'total',\n    data: computed.alias('model'),\n    lockEventAnalyticsId: 0,\n    showLockEventAnalyticsModal: false,\n    _columns: computed(function () {\n      var hideColumn = !this.get('isBRUser');\n      return [{\n        title: '',\n        template: \"components/event-analytics/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"components/event-analytics/actions/lock-action\",\n        isHidden: hideColumn,\n        className: 'editRow'\n      }, {\n        propertyName: 'locationGroupName1',\n        title: this.get('intl').t('eventAnalytics.list.table.event')\n      }, {\n        propertyName: 'timezone',\n        title: this.get('intl').t('eventAnalytics.list.table.timezone')\n      }, {\n        propertyName: 'startDate1',\n        title: this.get('intl').t('eventAnalytics.list.table.startDate'),\n        template: \"components/event-analytics/actions/date-display\"\n      }, {\n        propertyName: 'durationDays',\n        title: this.get('intl').t('eventAnalytics.list.table.durationDays'),\n        className: 'text-center'\n      }, {\n        propertyName: 'locationGroupName2',\n        title: this.get('intl').t('eventAnalytics.list.table.lastYear')\n      }, {\n        propertyName: 'refresh',\n        title: this.get('intl').t('eventAnalytics.list.table.refresh'),\n        className: 'text-center'\n      }, {\n        propertyName: 'active',\n        title: this.get('intl').t('eventAnalytics.list.table.active'),\n        className: 'text-center'\n      }, {\n        title: this.get('intl').t('eventAnalytics.list.table.actions'),\n        template: \"components/event-analytics/actions/toggle-active-action\",\n        className: 'editRow text-center'\n      }];\n    }),\n\n    actions: {\n      newEventAnalytics: function newEventAnalytics() {\n        this.sendAction('newEventAnalytics');\n      },\n      edit: function edit(eventAnalytics) {\n        this.sendAction('editEventAnalytics', eventAnalytics);\n      },\n      toggleActive: function toggleActive(eventAnalytics) {\n        var _this = this;\n\n        var newActiveStatus = !eventAnalytics.get('active');\n        var eventAnalyticsId = eventAnalytics.get('id');\n\n        // Call the specific toggle-active API endpoint\n        var endpoint = \"/api/v1/eventAnalytics/\" + eventAnalyticsId + \"/toggle-active\";\n        var authToken = this.get('session.data.authenticated.access_token');\n\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: {\n            active: newActiveStatus\n          }\n        };\n\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        };\n\n        options.success = function () {\n          // Update the model with the new status\n          eventAnalytics.set('active', newActiveStatus);\n\n          _this.get('notify').success(_this.get('intl').t('eventAnalytics.list.messages.toggleSuccess', { status: newActiveStatus ? 'activated' : 'deactivated' }));\n\n          // Refresh the data by sending action to parent route\n          _this.sendAction('refreshAction');\n        };\n\n        options.error = function () {\n          Logger.error('Error toggling event analytics active status');\n          _this.get('notify').alert(_this.get('intl').t('eventAnalytics.list.messages.toggleError'));\n        };\n\n        _ember[\"default\"].$.ajax(options);\n      },\n\n      /**\n       * Displays the modal asking if the user is sure that they want to unlock the event analytics\n       * @param record the selected event analytics in the table\n       */\n      openLockEventAnalyticsModal: function openLockEventAnalyticsModal(record) {\n        this.set('lockEventAnalyticsId', record.get('id'));\n        this.set('showLockEventAnalyticsModal', true);\n      },\n\n      /**\n       * Unlocks Event Analytics\n       * @param record event analytics\n       */\n      unlockEventAnalytics: function unlockEventAnalytics() {\n        this.set('showLockEventAnalyticsModal', false);\n        this.sendAction('unlockEventAnalytics', this.get('lockEventAnalyticsId'));\n      },\n\n      /**\n       * Closes the unlock modal\n       */\n      closeUnlockEventAnalyticsModal: function closeUnlockEventAnalyticsModal() {\n        this.set('showLockEventAnalyticsModal', false);\n        this.set('lockEventAnalyticsId', 0);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/event-analytics/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"sayLhICT\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-11 col-md-11 col-lg-11\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showLockEventAnalyticsModal\\\"]]],null]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showLockEventAnalyticsModal\\\"]]],null,1],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"showFilterButton\\\",\\\"edit\\\",\\\"toggleActive\\\",\\\"openLockEventAnalyticsModal\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],\\\"total\\\",\\\"pages\\\",false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering-new\\\",true,\\\"edit\\\",\\\"toggleActive\\\",\\\"openLockEventAnalyticsModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.unlockModal.messageLine1\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.unlockModal.messageLine2\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableOk\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"unlockEventAnalytics\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.unlockModal.buttons.unlock\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeUnlockEventAnalyticsModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.unlockModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.unlockModal.title\\\"],null],\\\"closeUnlockEventAnalyticsModal\\\",true,\\\"center\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"newEventAnalytics\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.list.buttons.new\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/list/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/event-analytics/timezone-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend({\n    timezoneValue: '',\n    showModal: false,\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n      this.set('timezoneValue', this.get('timezone'));\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/event-analytics/timezone-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"i1Pvx3oQ\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"em-timezone-input\\\"],null,[[\\\"value\\\"],[[\\\"get\\\",[\\\"timezoneValue\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"saveTimezoneAction\\\"]],[\\\"get\\\",[\\\"timezoneValue\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.timezone.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"closeAction\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.timezone.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"eventAnalytics.detail.timezone.modal.title\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"closeAction\\\"]]],null]]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/event-analytics/timezone-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/fcs-login/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  var service = _ember[\"default\"].inject.service;\n  var computed = _ember[\"default\"].computed;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend({\n    showForgotPassword: false,\n    session: service(),\n    intl: service(),\n    errorMessage: \"\",\n    displayErrorClass: 'hideError',\n    displayProperty: computed('displayErrorClass', function () {\n      return htmlSafe(this.get('displayErrorClass'));\n    }),\n    actions: {\n      authenticate: function authenticate() {\n        var _this = this;\n\n        this.set('displayErrorClass', 'hideError');\n        this.set('errorMessage', '');\n\n        var _getProperties = this.getProperties('username', 'password');\n\n        var username = _getProperties.username;\n        var password = _getProperties.password;\n\n        if (isEmpty(username)) {\n          this.set('displayErrorClass', 'displayError');\n          this.set('errorMessage', this.get('intl').t('login.signin.errors.usernameRequired'));\n          return;\n        }\n\n        if (isEmpty(password)) {\n          this.set('displayErrorClass', 'displayError');\n          this.set('errorMessage', this.get('intl').t('login.signin.errors.passwordRequired'));\n          return;\n        }\n\n        this.get('session').authenticate('authenticator:oauth2', username, password).then(function () {\n          //TODO show modal if user is company user and has more the one profile\n        })[\"catch\"](function (reason) {\n          _this.set('displayErrorClass', 'displayError');\n          _this.set('errorMessage', reason.error_description);\n        });\n      },\n      forgotPassword: function forgotPassword() {\n        console.log('forgotPassword');\n        this.set(\"showForgotPassword\", true);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/fcs-login/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6hoDcA+9\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-signin\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showForgotPassword\\\"]]],null,1,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"alert alert-danger \\\",[\\\"unknown\\\",[\\\"displayProperty\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"errorMessage\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\",\\\"autofocus\\\",\\\"enter\\\"],[[\\\"get\\\",[\\\"username\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"login.signin.username.label\\\"],null],true,\\\"authenticate\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-line\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\",\\\"type\\\",\\\"enter\\\"],[[\\\"get\\\",[\\\"password\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"login.signin.password.label\\\"],null],\\\"password\\\",\\\"authenticate\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-button-holder\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn login-button btn-lg btn-block\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"authenticate\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"login.signin.button\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-button-holder\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"forgotPassword\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"forgotPassword.label\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"forgot-password\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/fcs-login/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/fcs-modal-dialog/component', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend({\n    hasNoTitle: _ember['default'].computed.empty('title'),\n    targetAttachment: 'middle center',\n    isLargeSize: false,\n    containerClass: _ember['default'].computed('isLargeSize', function () {\n      if (this.get('isLargeSize')) {\n        return 'modal-dialog modal-lg';\n      } else {\n        return 'modal-dialog';\n      }\n    }),\n    actions: {\n      close: function close() {\n        this.sendAction('close');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/fcs-modal-dialog/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"jFsMXupB\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"modal-dialog\\\"],null,[[\\\"translucentOverlay\\\",\\\"overlayClassNames\\\",\\\"containerClassNames\\\",\\\"targetAttachment\\\"],[true,\\\"fcs-modal-overlay\\\",[\\\"get\\\",[\\\"containerClass\\\"]],[\\\"get\\\",[\\\"targetAttachment\\\"]]]],1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"close\\\"],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"data-dismiss\\\",\\\"modal\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"close\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"×\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"title\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"hasNoTitle\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/fcs-modal-dialog/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/fcs-multiselect-checkboxes/component', ['exports', 'ember'], function (exports, _ember) {\n\n  var Checkbox = _ember['default'].Object.extend({\n    isSelected: _ember['default'].computed('value', 'selection', {\n      get: function get() {\n        return this.get('selection').includes(this.get('value'));\n      },\n\n      set: function set(_, checked) {\n        var selected = this.get('selection').includes(this.get('value'));\n\n        if (checked && !selected) {\n          this.get('selection').addObject(this.get('value'));\n        } else if (!checked && selected) {\n          this.get('selection').removeObject(this.get('value'));\n        }\n\n        return checked;\n      }\n    }),\n    isDisabled: _ember['default'].computed.alias('disabled')\n  });\n\n  exports['default'] = _ember['default'].Component.extend({\n    classNames: ['multiselect-checkboxes'],\n\n    tagName: 'ul',\n\n    options: _ember['default'].A(),\n\n    selection: _ember['default'].A(),\n\n    labelProperty: null,\n\n    valueProperty: null,\n\n    disabledProperty: null,\n\n    disabled: false,\n\n    checkboxes: _ember['default'].computed('options.[]', 'labelProperty', 'valueProperty', 'disabledProperty', 'selection.[]', function () {\n      var labelProperty = this.get('labelProperty');\n      var valueProperty = this.get('valueProperty');\n      var disabledProperty = this.get('disabledProperty');\n      var selection = _ember['default'].A(this.get('selection'));\n\n      var checkboxes = this.get('options').map(function (option) {\n        var label = undefined,\n            value = undefined,\n            disabled = undefined;\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 (disabledProperty) {\n          if (typeof option.get === 'function') {\n            disabled = option.get(disabledProperty);\n          } else {\n            disabled = option[disabledProperty];\n          }\n        } else {\n          disabled = false;\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          label: label,\n          value: value,\n          disabled: disabled,\n          selection: selection\n        });\n      });\n\n      return _ember['default'].A(checkboxes);\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/fcs-multiselect-checkboxes/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"RzzYxtCN\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"checkboxes\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"checked\\\",\\\"disabled\\\"],[\\\"checkbox\\\",[\\\"get\\\",[\\\"checkbox\\\",\\\"isSelected\\\"]],[\\\"get\\\",[\\\"checkbox\\\",\\\"isDisabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"checkbox\\\",\\\"label\\\"]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"yield\\\",\\\"default\\\",[[\\\"get\\\",[\\\"checkbox\\\",\\\"label\\\"]],[\\\"get\\\",[\\\"checkbox\\\",\\\"isSelected\\\"]],[\\\"get\\\",[\\\"checkbox\\\",\\\"value\\\"]]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"has-block\\\",\\\"default\\\"]],null,1,0]],\\\"locals\\\":[\\\"checkbox\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/fcs-multiselect-checkboxes/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/fcs-navbar/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    userState: computed.alias('loggedAccount.state'),\n    userType: computed.alias('loggedAccount.userType'),\n    embeddableReports: computed(function () {\n      return this.get('store').findAll('embeddableReport');\n    }),\n    showCompanyManagementMenuOption: computed.alias('isBRUser'),\n    _isAppLoading: computed('loggedAccount.isLoading', function () {\n      Logger.debug(\"observing account state: \" + this.get('loggedAccount.isLoading'));\n      return this.get('loggedAccount.isLoading') === undefined || this.get('loggedAccount.isLoading');\n    }),\n    unlockAllByUser: function unlockAllByUser() {\n      var _this = this;\n\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var completedRequests = 0;\n      var totalRequests = 2;\n\n      var checkAndLogout = function checkAndLogout() {\n        completedRequests++;\n        if (completedRequests === totalRequests) {\n          _this.sendAction('invalidateSession');\n        }\n      };\n\n      // Unlock menus\n      _ember[\"default\"].$.ajax({\n        url: \"/api/v1/menus/unlockByUser\",\n        type: 'POST',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        },\n        success: function success() {\n          checkAndLogout();\n        },\n        error: function error() {\n          checkAndLogout();\n        }\n      });\n\n      // Unlock event analytics\n      _ember[\"default\"].$.ajax({\n        url: \"/api/v1/eventAnalytics/unlockByUser\",\n        type: 'POST',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        },\n        success: function success() {\n          checkAndLogout();\n        },\n        error: function error() {\n          checkAndLogout();\n        }\n      });\n    },\n    init: function init() {\n      var _this2 = this;\n\n      this._super.apply(this, arguments);\n      if (this.get('dbVersion').then !== undefined) {\n        this.get('dbVersion').then(function (content) {\n          run(function () {\n            _this2.set('dbVersion', content);\n          });\n        });\n      }\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n\n      this.$(\".sidebar\").find('a').parents('li').removeClass('active');\n      this.$(\".sidebar\").find('a.active').parents('li').addClass(\"active\");\n    },\n    actions: {\n      invalidateSession: function invalidateSession() {\n        this.unlockAllByUser();\n      },\n      hideMenu: function hideMenu() {\n        this.$('#wrapper').toggleClass(\"active\");\n      },\n      closeModal: function closeModal() {\n        this.send('invalidateSession');\n        this.set('showModal', false);\n      },\n      unlockCompany: function unlockCompany() {\n        this.set('accountSession.account.lockedCompany', undefined);\n      },\n      closeMenu: function closeMenu() {\n        var width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n        if (width < 768) {\n          this.$('[data-toggle=\"push-menu\"]').pushMenu('toggle');\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/fcs-navbar/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"PFbtuxNr\", \"block\": \"{\\\"statements\\\":[[\\\"comment\\\",\\\" Main Header \\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"header\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"main-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"comment\\\",\\\" Logo \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"index.html\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"logo\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\" mini logo for sidebar mini 50x50 pixels \\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-mini\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"img\\\",[]],[\\\"static-attr\\\",\\\"src\\\",\\\"br_logo_sm.png\\\"],[\\\"static-attr\\\",\\\"height\\\",\\\"50px\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\" logo for regular state and mobile devices \\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-lg\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"img\\\",[]],[\\\"static-attr\\\",\\\"src\\\",\\\"br_logo.png\\\"],[\\\"static-attr\\\",\\\"height\\\",\\\"50px\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"comment\\\",\\\" Header Navbar \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"nav\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"navbar navbar-static-top\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"navigation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\" Sidebar toggle button\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"sidebar-toggle\\\"],[\\\"static-attr\\\",\\\"data-toggle\\\",\\\"push-menu\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"button\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Toggle navigation\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\" Navbar Right Menu \\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"navbar-custom-menu\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"nav navbar-nav\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" User Account Menu \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"dropdown user user-menu\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" Menu Toggle Button \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"dropdown-toggle\\\"],[\\\"static-attr\\\",\\\"data-toggle\\\",\\\"dropdown\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" hidden-xs hides the username on small devices so only the image appears. \\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"img\\\",[]],[\\\"static-attr\\\",\\\"src\\\",\\\"user.png\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"user-image\\\"],[\\\"static-attr\\\",\\\"alt\\\",\\\"User Image\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"hidden-xs\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"accountSession\\\",\\\"account\\\",\\\"fullName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"dropdown-menu\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" The user image in the menu \\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"user-header\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: auto;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"img\\\",[]],[\\\"static-attr\\\",\\\"src\\\",\\\"user_white.png\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"img-circle\\\"],[\\\"static-attr\\\",\\\"alt\\\",\\\"User Image\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: white;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"accountSession\\\",\\\"account\\\",\\\"fullName\\\"]],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"index\\\"],[[\\\"style\\\"],[\\\"color: white\\\"]],38],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"accountSession\\\",\\\"account\\\",\\\"lockedCompany\\\"]]],null,37],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"separator\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"divider\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: none;\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"comment\\\",\\\" Menu Footer\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"user-footer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pull-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"user.edit-account\\\",[\\\"get\\\",[\\\"accountSession\\\",\\\"account\\\"]]],[[\\\"class\\\"],[\\\"btn btn-default btn-flat\\\"]],36],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-flat\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"invalidateSession\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.header.user.logout\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" Control Sidebar Toggle Button \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-mobile\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-lg\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"img\\\",[]],[\\\"static-attr\\\",\\\"src\\\",\\\"br_logo.png\\\"],[\\\"static-attr\\\",\\\"height\\\",\\\"50px\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"comment\\\",\\\" Left side column. contains the logo and sidebar \\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"aside\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"main-sidebar\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"comment\\\",\\\" sidebar: style can be found in sidebar.less \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"section\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sidebar\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\" Sidebar Menu \\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sidebar-menu\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"tree\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Dashboard Menu\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"comment\\\",\\\" Optionally, you can add icons to the links \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"treeview\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-table\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.legacyTitle\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pull-right-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-angle-left pull-right\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"treeview-menu\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"salesReport\\\"],null,35],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"clerkReport\\\"],null,34],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"financialOverviewReport\\\"],null,33],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"productMixReport\\\"],null,32],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"multiProductPmixReport\\\"],null,31],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"sponsorLoadedFundUsageReport\\\"],null,30],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"itemTokenUsageReport\\\"],null,29],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompanyManagementMenuOption\\\"]]],null,28],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"searchOrder\\\"],null,23],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"isReportingUser\\\"]]],null]],null,22],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"contact\\\"],null,2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\" /.sidebar-menu \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\" /.sidebar \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"footer\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"footer\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #ffffff; margin-left: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    Version: \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"dbVersion\\\",\\\"version\\\"]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"content-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\" Main content \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"section\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"content container-fluid\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"page-content-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"comment\\\",\\\" Keep all page content within the page-content inset div! \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"page-content inset\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isAppLoading\\\"]]],null,1,0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\" /.content \\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-envelope-o\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.header.contact\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.eventAnalytics\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.savedNetworks\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.posToken\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"posToken\\\"],null,5],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"savedNetwork\\\"],null,4],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"event-analytics\\\"],null,3],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.deliveryDestinations\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.onlineOrderingLinks\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.kdsStations\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"kdsStation\\\"],null,9],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"onlineOrderingLink\\\"],null,8],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"deliveryDestination\\\"],null,7],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.locationGroups\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.gateways\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.locations\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.companies\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"company\\\"],null,14],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"location\\\"],null,13],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"gateway\\\"],null,12],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"locationGroup\\\"],null,11],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.options.users\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.menus.options.attributeSet\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.menus.options.trait\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.menus.options.productCatalog\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.menus.options.productTypes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.menus.options.menuBuilder\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"treeview\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-newspaper-o\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.menus.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pull-right-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-angle-left pull-right\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"treeview-menu\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"menu\\\"],null,21],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"productType\\\"],null,20],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"productCatalog\\\"],null,19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"trait\\\"],null,18],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"attributeSet\\\"],null,17],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"treeview\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cogs\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.management.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pull-right-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-angle-left pull-right\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"treeview-menu\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"user\\\"],null,16],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompanyManagementMenuOption\\\"]]],null,15],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showKdsStationControl\\\"]]],null,10],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompanyManagementMenuOption\\\"]]],null,6],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-list-alt\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sidebar-menu-text\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.search.options.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.promotionsAuditReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.menuAuditReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.highLevelInvoicingReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.paymentResultReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"paymentResultReport\\\"],null,27],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"high-level-invoicing-report\\\"],null,26],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"menu-audit-report\\\"],null,25],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"promotions-audit-report\\\"],null,24],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.itemTokenUsageReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.sponsorLoadedFundUsageReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.multiProductPmix\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.productMix\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.financialOverviewReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.clerkReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.sidebar.menu.report.options.salesReport\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"home.navbar.header.user.edit\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-lock icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 5px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"unlockCompany\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"accountSession\\\",\\\"account\\\",\\\"navbarUserHeader\\\"]],false],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"accountSession\\\",\\\"account\\\",\\\"company\\\",\\\"id\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/fcs-navbar/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/fcs-navbar/top-item/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var htmlSafe = _ember['default'].String.htmlSafe;\n  exports['default'] = Component.extend({\n    tagName: '',\n    iconClass: '',\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('iconClass', htmlSafe('fa-caret-down'));\n    },\n    actions: {\n      itemAction: function itemAction(iconClass) {\n        var icon = String(iconClass.toString());\n        icon = icon.includes('down') ? 'fa-caret-up' : 'fa-caret-down';\n        this.set('iconClass', htmlSafe(icon));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/fcs-navbar/top-item/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"pW1y30Nk\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"data-toggle\\\",\\\"collapse\\\"],[\\\"dynamic-attr\\\",\\\"data-target\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"target\\\"]]]]],[\\\"static-attr\\\",\\\"class\\\",\\\"collapsed\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"itemAction\\\",[\\\"get\\\",[\\\"iconClass\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sidebar-menu-text\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"label\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"arrow-icon\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"menu-items-icon fa fa-lg \\\",[\\\"unknown\\\",[\\\"iconClass\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/fcs-navbar/top-item/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/fcs-password-reset/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  var service = _ember[\"default\"].inject.service;\n  var computed = _ember[\"default\"].computed;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend({\n    token: null,\n    session: service(),\n    intl: service(),\n    errorMessage: \"\",\n    displayErrorClass: 'hideError',\n    displayProperty: computed('displayErrorClass', function () {\n      return htmlSafe(this.get('displayErrorClass'));\n    }),\n    actions: {\n      resetPassword: function resetPassword() {\n        var _this = this;\n\n        this.set('displayErrorClass', 'hideError');\n        this.set('errorMessage', '');\n\n        var _getProperties = this.getProperties('confirmPassword', 'password');\n\n        var confirmPassword = _getProperties.confirmPassword;\n        var password = _getProperties.password;\n\n        if (!isEmpty(password)) {\n          if (!isEmpty(confirmPassword)) {\n            if (confirmPassword === password) {\n              var passwordInfo = {\n                token: this.get('token'),\n                password: password\n              };\n\n              var path = '/api/v1/passwordResets';\n              var _window$location = window.location;\n              var protocol = _window$location.protocol;\n              var host = _window$location.host;\n\n              var url = protocol + \"//\" + host + path;\n              var options = {\n                data: passwordInfo,\n                url: url,\n                type: 'POST'\n              };\n              options.success = function (result) {\n                if (result !== undefined && result !== null) {\n                  _this.sendAction('transitionToLogin');\n                }\n              };\n              options.error = function () {\n                console.log('error');\n              };\n              _ember[\"default\"].$.ajax(options);\n            } else {\n              this.set('displayErrorClass', 'displayError');\n              this.set('errorMessage', this.get('intl').t('resetPassword.errors.passwordsDontMatch'));\n            }\n          } else {\n            this.set('displayErrorClass', 'displayError');\n            this.set('errorMessage', this.get('intl').t('resetPassword.errors.confirmPasswordRequired'));\n          }\n        } else {\n          this.set('displayErrorClass', 'displayError');\n          this.set('errorMessage', this.get('intl').t('resetPassword.errors.passwordRequired'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/fcs-password-reset/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"afCCgaUW\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-signin\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"alert alert-danger \\\",[\\\"unknown\\\",[\\\"displayProperty\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"errorMessage\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\",\\\"type\\\",\\\"autofocus\\\",\\\"enter\\\"],[[\\\"get\\\",[\\\"password\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"resetPassword.password.label\\\"],null],\\\"password\\\",true,\\\"resetPassword\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-line\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\",\\\"type\\\",\\\"enter\\\"],[[\\\"get\\\",[\\\"confirmPassword\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"resetPassword.confirmPassword.label\\\"],null],\\\"password\\\",\\\"resetPassword\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-button-holder\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn login-button btn-lg btn-block\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"resetPassword\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"resetPassword.button.resetPassword\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/fcs-password-reset/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-admin-report/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: null,\n    hideCompanyColumn: computed(function () {\n      var d = this.data;\n      var summarizeBy = d['summarizeBy'];\n      return summarizeBy !== '3';\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.eventVenue'),\n        className: 'sales-by-product-cell',\n        propertyName: 'name',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.timezone'),\n        className: 'sales-by-product-cell',\n        propertyName: 'timezone',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.menu'),\n        className: 'date-cell',\n        propertyName: 'date',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'company',\n        disableSorting: true,\n        isHidden: this.get('hideCompanyColumn')\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'cashSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.creditSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'creditCardPresentSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.creditRfidSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'openLoopRegistrationSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.sponsorLoadedFundsSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'sponsorLoadedFundsSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.patronLoadedFundsSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'patronLoadedFundsSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.totalSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'totalSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'tax',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'voids',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'tokenDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'cashDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'couponDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'digitalDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: 'Multi-Product Discount',\n        className: 'sales-by-product-cell',\n        template: 'financialOverviewReport/amountCell',\n        propertyName: 'multiProductDiscount',\n        disableSorting: true\n      }, {\n        title: 'Gift with Purchase Discount',\n        className: 'sales-by-product-cell',\n        template: 'financialOverviewReport/amountCell',\n        propertyName: 'giftWithPurchaseDiscount',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'allDiscounts',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'refunds',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'creditCardTips',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashlessTips'),\n        className: 'sales-by-product-cell',\n        propertyName: 'openLoopTips',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'digitalTips',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.customFees'),\n        className: 'sales-by-product-cell',\n        propertyName: 'customFeeTotal',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.Surcharges'),\n        className: 'sales-by-product-cell',\n        propertyName: 'surchargeTotal',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashPaymentCount'),\n        className: 'centerContent',\n        propertyName: 'cashOrderCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.creditPaymentCount'),\n        className: 'centerContent',\n        propertyName: 'creditOrderCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashlessPaymentCount'),\n        className: 'centerContent',\n        propertyName: 'openLoopOrderCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.totalOrderCount'),\n        className: 'centerContent',\n        propertyName: 'totalOrderCount',\n        disableSorting: true\n      }, {\n        className: 'centerContent',\n        propertyName: 'tabletCount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-admin-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yKnLkfzB\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Details\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"pageSize\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"financialReportDetails\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",true,[\\\"get\\\",[\\\"icons\\\"]],50,[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-admin-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-report/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('isShowingChartPie', true);\n      this.set('isShowingDollar', true);\n\n      this.set('isShowingCharts', true);\n\n      var d = this.data;\n      var summarizeBy = d['summarizeBy'];\n      if (summarizeBy === '2') {\n\n        var fromDateString = d['query']['fromDate'].replace('-', '/');\n        var toDateString = d['query']['toDate'].replace('-', '/');\n\n        var from = (0, _moment[\"default\"])(fromDateString);\n        var to = (0, _moment[\"default\"])(toDateString);\n        var diff = to.diff(from, 'days');\n\n        if (diff > 1) {\n          this.set('isShowingCharts', false);\n        }\n      }\n    },\n    hideCompanyColumn: computed(function () {\n      var d = this.data;\n      var summarizeBy = d['summarizeBy'];\n      if (summarizeBy === '3' || summarizeBy === undefined || summarizeBy === '5') {\n        return false;\n      } else {\n        return true;\n      }\n    }),\n    dateMenuColumnTitle: computed(function () {\n      var d = this.data;\n      var summarizeBy = this.summarizeBy || d.summarizeBy;\n      if (summarizeBy === '3' || summarizeBy === '4') {\n        return 'Menu';\n      } else if (summarizeBy === '5') {\n        return 'Location';\n      } else {\n        return 'Date';\n      }\n    }),\n    summarizeBy: null,\n    actions: {\n      selectChartPie: function selectChartPie() {\n        this.set('isShowingChartPie', true);\n        this.set('isShowingChartBar', false);\n        this.set('isShowingChartLine', false);\n        this.$('#btn-chart-type-pie').addClass('selected');\n        this.$('#btn-chart-type-bar').removeClass('selected');\n        this.$('#btn-chart-type-line').removeClass('selected');\n      },\n      selectChartBar: function selectChartBar() {\n        this.set('isShowingChartPie', false);\n        this.set('isShowingChartBar', true);\n        this.set('isShowingChartLine', false);\n        this.$('#btn-chart-type-pie').removeClass('selected');\n        this.$('#btn-chart-type-bar').addClass('selected');\n        this.$('#btn-chart-type-line').removeClass('selected');\n      },\n      selectChartLine: function selectChartLine() {\n        this.set('isShowingChartPie', false);\n        this.set('isShowingChartBar', false);\n        this.set('isShowingChartLine', true);\n        this.$('#btn-chart-type-pie').removeClass('selected');\n        this.$('#btn-chart-type-bar').removeClass('selected');\n        this.$('#btn-chart-type-line').addClass('selected');\n      },\n      selectChartDollar: function selectChartDollar() {\n        this.set('isShowingDollar', true);\n        this.set('isShowingPercent', false);\n        this.set('isShowingNumber', false);\n        this.$('#btn-chart-value-dollar').addClass('selected');\n        this.$('#btn-chart-value-percent').removeClass('selected');\n        this.$('#btn-chart-value-number').removeClass('selected');\n        this.$('#chart_label').html('Gross Sales');\n      },\n      selectChartPercent: function selectChartPercent() {\n        this.set('isShowingDollar', false);\n        this.set('isShowingPercent', true);\n        this.set('isShowingNumber', false);\n        this.$('#btn-chart-value-dollar').removeClass('selected');\n        this.$('#btn-chart-value-percent').addClass('selected');\n        this.$('#btn-chart-value-number').removeClass('selected');\n        this.$('#chart_label').html('Gross Sales Percentage');\n      },\n      selectChartNumber: function selectChartNumber() {\n        this.set('isShowingDollar', false);\n        this.set('isShowingPercent', false);\n        this.set('isShowingNumber', true);\n        this.$('#btn-chart-value-dollar').removeClass('selected');\n        this.$('#btn-chart-value-percent').removeClass('selected');\n        this.$('#btn-chart-value-number').addClass('selected');\n        this.$('#chart_label').html('Transactions');\n      }\n    },\n    data: null,\n    _chartDollarOptions: computed(function () {\n      return {\n        tooltips: {\n          mode: 'label',\n          callbacks: {\n            title: function title(tooltipItem, data) {\n              return data.labels[tooltipItem[0].index];\n            },\n            label: function label(tooltipItem, data) {\n              return '$' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\n            }\n          }\n        },\n        legend: {\n          display: false\n        }\n      };\n    }),\n    _chartPercentOptions: computed(function () {\n      return {\n        tooltips: {\n          mode: 'label',\n          callbacks: {\n            title: function title(tooltipItem, data) {\n              return data.labels[tooltipItem[0].index];\n            },\n            label: function label(tooltipItem, data) {\n              return data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index] + '%';\n            }\n          }\n        },\n        legend: {\n          display: false\n        }\n      };\n    }),\n    _chartNumberOptions: computed(function () {\n      return {\n        tooltips: {\n          mode: 'label',\n          callbacks: {\n            title: function title(tooltipItem, data) {\n              return data.labels[tooltipItem[0].index];\n            },\n            label: function label(tooltipItem, data) {\n              return data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index] + ' Transactions';\n            }\n          }\n        },\n        legend: {\n          display: false\n        }\n      };\n    }),\n    chartNumberData: function chartNumberData() {\n      var d = this.data;\n\n      var cData = [];\n      var cLabels = [];\n\n      //Loop through and get the raw data for the charts from the rows\n      var i = 0;\n      var details = d.get('financialReportDetails');\n      details.forEach(function (element) {\n        if (i < details.length - 2) {\n          var row = element._data;\n          cLabels.push(row['date']);\n          var count = row['cashTransactionCount'] + row['creditTransactionCount'] + row['rfidTransactionCount'];\n          cData.push(count);\n        }\n        i++;\n      });\n\n      return { 'labels': cLabels, 'data': cData };\n    },\n    chartPercentData: function chartPercentData() {\n      var d = this.data;\n\n      var cData = [];\n      var cLabels = [];\n\n      var total = 0;\n      var i = 0;\n      var details = d.get('financialReportDetails');\n      details.forEach(function (element) {\n        if (i < details.length - 2) {\n          var row = element._data;\n          total += row['grossRevenue'];\n        }\n        i++;\n      });\n\n      //Loop through and get the raw data for the charts from the rows\n      i = 0;\n      details.forEach(function (element) {\n        if (i < details.length - 2) {\n          var row = element._data;\n          var val = row['grossRevenue'] * 100.0 / total;\n          cData.push(val.toFixed(2));\n          cLabels.push(row['date']);\n        }\n        i++;\n      });\n\n      return { 'labels': cLabels, 'data': cData };\n    },\n    chartDollarData: function chartDollarData() {\n\n      var d = this.data;\n\n      var cData = [];\n      var cLabels = [];\n      var cDataTips = [];\n\n      //Loop through and get the raw data for the charts from the rows\n      var i = 0;\n      var details = d.get('financialReportDetails');\n      details.forEach(function (element) {\n        if (i < details.length - 2) {\n          var row = element._data;\n          cData.push(row['grossRevenue']);\n          cLabels.push(row['date']);\n          cDataTips.push(row['creditCardTips']);\n        }\n        i++;\n      });\n\n      return { 'labels': cLabels, 'data': cData };\n    },\n    _lineChartDollarData: computed(function () {\n\n      var chartData = this.chartDollarData();\n      var colors = rainbow(2, 0);\n\n      return {\n        labels: chartData['labels'],\n        datasets: [{\n          label: 'Gross Sales',\n          data: chartData['data'],\n          backgroundColor: colors[0],\n          borderColor: colors[1],\n          borderWidth: 1\n        }]\n      };\n    }),\n    _lineChartPercentData: computed(function () {\n\n      var chartData = this.chartPercentData();\n      var colors = rainbow(2, 0);\n\n      return {\n        labels: chartData['labels'],\n        datasets: [{\n          label: 'Gross Sales',\n          data: chartData['data'],\n          backgroundColor: colors[0],\n          borderColor: colors[1],\n          borderWidth: 1\n        }]\n      };\n    }),\n    _lineChartNumberData: computed(function () {\n\n      var chartData = this.chartNumberData();\n      var colors = rainbow(2, 0);\n\n      return {\n        labels: chartData['labels'],\n        datasets: [{\n          label: 'Gross Sales',\n          data: chartData['data'],\n          backgroundColor: colors[0],\n          borderColor: colors[1],\n          borderWidth: 1\n        }]\n      };\n    }),\n    _chartDollarData: computed(function () {\n\n      var chartData = this.chartDollarData();\n      var cBackColors = [];\n      var cBordColors = [];\n\n      var i = 0;\n      chartData['labels'].forEach(function () {\n        var colors = rainbow(chartData['labels'].length, i);\n        cBackColors.push(colors[0]);\n        cBordColors.push(colors[1]);\n        i++;\n      });\n\n      return {\n        labels: chartData['labels'],\n        datasets: [{\n          label: 'Gross Sales',\n          data: chartData['data'],\n          backgroundColor: cBackColors,\n          borderColor: cBordColors,\n          borderWidth: 1\n        }]\n      };\n    }),\n    _chartPercentData: computed(function () {\n\n      var chartData = this.chartPercentData();\n      var cBackColors = [];\n      var cBordColors = [];\n\n      var i = 0;\n      chartData['labels'].forEach(function () {\n        var colors = rainbow(chartData['labels'].length, i);\n        cBackColors.push(colors[0]);\n        cBordColors.push(colors[1]);\n        i++;\n      });\n\n      return {\n        labels: chartData['labels'],\n        datasets: [{\n          label: 'Gross Sales',\n          data: chartData['data'],\n          backgroundColor: cBackColors,\n          borderColor: cBordColors,\n          borderWidth: 1\n        }]\n      };\n    }),\n    _chartNumberData: computed(function () {\n\n      var chartData = this.chartNumberData();\n      var cBackColors = [];\n      var cBordColors = [];\n\n      var i = 0;\n      chartData['labels'].forEach(function () {\n        var colors = rainbow(chartData['labels'].length, i);\n        cBackColors.push(colors[0]);\n        cBordColors.push(colors[1]);\n        i++;\n      });\n\n      return {\n        labels: chartData['labels'],\n        datasets: [{\n          label: 'Gross Sales',\n          data: chartData['data'],\n          backgroundColor: cBackColors,\n          borderColor: cBordColors,\n          borderWidth: 1\n        }]\n      };\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('dateMenuColumnTitle'),\n        className: 'date-cell',\n        propertyName: 'date',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'company',\n        disableSorting: true,\n        isHidden: this.get('hideCompanyColumn')\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'cashSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.creditSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'creditCardPresentSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.creditRfidSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'openLoopRegistrationSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.sponsorLoadedFundsSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'sponsorLoadedFundsSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.patronLoadedFundsSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'patronLoadedFundsSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.totalSales'),\n        className: 'sales-by-product-cell',\n        propertyName: 'totalSales',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'tax',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'voids',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'tokenDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'cashDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'couponDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'digitalDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: 'Multi-Product Discount',\n        className: 'sales-by-product-cell',\n        propertyName: 'multiProductDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: 'Gift with Purchase Discount',\n        className: 'sales-by-product-cell',\n        propertyName: 'giftWithPurchaseDiscount',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: 'Discounts',\n        className: 'sales-by-product-cell',\n        propertyName: 'allDiscounts',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'refunds',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'creditCardTips',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashlessTips'),\n        className: 'sales-by-product-cell',\n        propertyName: 'openLoopTips',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'digitalTips',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.customFees'),\n        className: 'sales-by-product-cell',\n        propertyName: 'customFeeTotal',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.CashlessSurchargeTotal'),\n        className: 'sales-by-product-cell',\n        propertyName: 'cashlessSurchargeTotal',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.CreditSurchargeTotal'),\n        className: 'sales-by-product-cell',\n        propertyName: 'creditSurchargeTotal',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.Surcharges'),\n        className: 'sales-by-product-cell',\n        propertyName: 'surchargeTotal',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.roundUpDonation'),\n        className: 'sales-by-product-cell',\n        propertyName: 'roundUpDonation',\n        template: 'financialOverviewReport/amountCell',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashPaymentCount'),\n        className: 'centerContent',\n        propertyName: 'cashOrderCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.creditPaymentCount'),\n        className: 'centerContent',\n        propertyName: 'creditOrderCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.cashlessPaymentCount'),\n        className: 'centerContent',\n        propertyName: 'openLoopOrderCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.financialOverviewReport.headers.totalOrderCount'),\n        className: 'centerContent',\n        propertyName: 'totalOrderCount',\n        disableSorting: true\n      }, {\n        className: 'centerContent',\n        propertyName: 'tabletCount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"VWmPe6qW\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"summarizeBy\\\"]],\\\"6\\\"],null]],null,3,2],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"pageSize\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"financialReportDetails\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",true,[\\\"get\\\",[\\\"icons\\\"]],50,[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.dailyMenu.date\\\"],[[\\\"displayDate\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.dailyMenu.location\\\"],[[\\\"location\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/financial-report/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/financial-overview-report/financial-report-result/menu-by-day/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = Component.extend({\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/menu-by-day/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8Ghb2AA1\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"financial-overview-report/financial-report-result/financial-report\\\"],null,[[\\\"data\\\",\\\"dataName\\\",\\\"summarizeBy\\\"],[[\\\"get\\\",[\\\"datum\\\"]],[\\\"get\\\",[\\\"datum\\\",\\\"displayDate\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"datum\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"data\\\"]]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/menu-by-day/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"gAABqVWU\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,5,4]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"financial-overview-report/financial-report-result/financial-report\\\"],null,[[\\\"data\\\",\\\"title\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"title\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"financial-overview-report/financial-report-result/financial-admin-report\\\"],null,[[\\\"data\\\",\\\"title\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"title\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showAllEvents\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"financial-overview-report/financial-report-result/menu-by-day\\\"],null,[[\\\"data\\\",\\\"title\\\",\\\"summarizeBy\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"financialReportDailyDetails\\\"]],[\\\"get\\\",[\\\"title\\\"]],[\\\"get\\\",[\\\"data\\\",\\\"summarizeBy\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Overview\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.totalSales\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"totalSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.netSales\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"netSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.totalOrders\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"totalOrders\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.avgOrderAmt\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"averageOrderAmount\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.roundUpDonation\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"roundUpDonation\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.totalDigitalTips\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"totalDigitalTips\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.avgDigitalTips\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"averageDigitalTip\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.creditPercentageOfSales\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"creditPercentageOfSales\\\"]],false],[\\\"text\\\",\\\"%\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.creditRfidPercentageOfSales\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"creditRfidPercentageOfSales\\\"]],false],[\\\"text\\\",\\\"%\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.sponsorLoadedFundsPercentageOfSales\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"sponsorLoadedFundsPercentageOfSales\\\"]],false],[\\\"text\\\",\\\"%\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.financialOverviewReport.totals.grossSalesMinusSlf\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"grossSalesMinusSlf\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"summarizeBy\\\"]],\\\"4\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"summarizeBy\\\"]],\\\"6\\\"],null]],null]],null,3,2],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/financial-overview-report/financial-report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    isBrAdmin: computed.alias('isBRUser'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('financialReportFilter');\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('isFinancialReport', true);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Daily Close Out');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    // Shared criteria validation for the Search action. (Extracted under BRP-4148 when a second entry\n    // point existed; BRP-4201 removed that button, but keeping this as its own method avoids inlining\n    // validation back into `search`.) Returns true when the criteria are usable; surfaces its own alerts.\n    _validateSearchCriteria: function _validateSearchCriteria() {\n      this.send('cleanMessages');\n      var isValid = true;\n      var errorMessage = undefined;\n\n      this._setDefaultFilters(isValid, errorMessage);\n\n      if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      }\n\n      //Validation for empty Event/Venue\n      //Returns error for Non-Admin user. Returns error if Admin user selects summarized by option not equal to \"menu\"\n      if ((this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) && this.get('isBrAdmin') === false || (this.get('selectedLocationGroup.length') === undefined || this.get('selectedLocationGroup.length') < 1) && this.get('isBrAdmin') === true && this.get('summarizeBy.id') !== \"3\") {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      }\n\n      //Validation for multiple Event/Venue\n      //Allow multiple selection of E/V for Admin-User and summarized by \"menu\" option. Returns error when user is locked in to a company or selects other summarized by option..\n      if (this.get('selectedLocationGroup.length') !== undefined && this.get('selectedLocationGroup.length') > 1 && this.get('summarizeBy.id') !== undefined && this.get('summarizeBy.id') !== \"3\") {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.multipleLocationGroupError'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      }\n\n      return isValid;\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        // BRP-4198: do NOT set isShowExportButton from the component. The route owns it (false at the\n        // start of a search, true on completion) and passes it in. Mutating this passed-in property here\n        // severed the binding, so the route's later \"true\" never reached the component and Export never\n        // reappeared after a Search / Search Async.\n        this.send('search');\n      },\n      search: function search() {\n        if (this._validateSearchCriteria()) {\n          this.set('page', 0);\n          // BRP-4148: always the synchronous route action now. The route itself consults the global\n          // kill switch and delegates to the async flow when it is on, so there is one decision point\n          // and this component never has to know the switch exists. The retired per-event\n          // `redshiftReportsEnabled` branch used to live here.\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/financial-overview-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kGkLa7E1\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],23],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],22],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],21],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBrAdmin\\\"]]],null,20,18],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,16],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,12],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],13],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],17]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"multipleLocationGroupSelection\\\"],null]]],19]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/financial-overview-report/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/forgot-password/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  var service = _ember[\"default\"].inject.service;\n  var computed = _ember[\"default\"].computed;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend({\n    resetCompleted: false,\n    token: null,\n    session: service(),\n    intl: service(),\n    errorMessage: \"\",\n    displayErrorClass: 'hideError',\n    displayProperty: computed('displayErrorClass', function () {\n      return htmlSafe(this.get('displayErrorClass'));\n    }),\n    actions: {\n      resetPassword: function resetPassword() {\n        var _this = this;\n\n        this.set('displayErrorClass', 'hideError');\n        this.set('errorMessage', '');\n\n        var _getProperties = this.getProperties('username', 'email');\n\n        var username = _getProperties.username;\n        var email = _getProperties.email;\n\n        if (!isEmpty(username)) {\n          if (!isEmpty(email)) {\n            var userInfo = {\n              username: this.get('username'),\n              email: email\n            };\n\n            var path = '/api/v1/passwordResets/forgotPassword';\n            var _window$location = window.location;\n            var protocol = _window$location.protocol;\n            var host = _window$location.host;\n\n            var url = protocol + \"//\" + host + path;\n            var options = {\n              data: userInfo,\n              url: url,\n              type: 'POST'\n            };\n            options.success = function (result) {\n              if (result !== undefined && result !== null) {\n                _this.set('resetCompleted', true);\n              }\n            };\n            options.error = function () {\n              console.log('error');\n            };\n            _ember[\"default\"].$.ajax(options);\n          } else {\n            this.set('displayErrorClass', 'displayError');\n            this.set('errorMessage', this.get('intl').t('forgotPassword.errors.blankEmail'));\n          }\n        } else {\n          this.set('displayErrorClass', 'displayError');\n          this.set('errorMessage', this.get('intl').t('forgotPassword.errors.blankUsername'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/forgot-password/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"f1tx/4G/\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"resetCompleted\\\"]]],null,1,0],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-signin\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"alert alert-danger \\\",[\\\"unknown\\\",[\\\"displayProperty\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"errorMessage\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\",\\\"autofocus\\\",\\\"enter\\\"],[[\\\"get\\\",[\\\"username\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"forgotPassword.username.label\\\"],null],true,\\\"resetPassword\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-line\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"placeholder\\\",\\\"enter\\\"],[[\\\"get\\\",[\\\"email\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"forgotPassword.email.label\\\"],null],\\\"resetPassword\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-button-holder\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn login-button btn-lg btn-block\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"resetPassword\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"forgotPassword.button.resetPassword\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-signin\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"An email was send to your email, please verify and follow the link\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/forgot-password/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/gateway-mng/credential/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    tagName: '',\n    gateways: computed(function () {\n      var _this = this;\n\n      return this.get('store').query('gateway', { cashless: false, pageSize: -1 }).then(function (gateways) {\n        var filterGateways = [];\n        //processor is eventBrite get braintree gateways\n        if (_this.get('processor.name').indexOf('EventBrite') > -1) {\n          filterGateways.addObjects(gateways.filterBy('processor.name', 'BrainTree'));\n        } else if (_this.get('processor.name').indexOf('FCS') > -1) {\n          //processor is FCS get Auth.net and PPS gateways\n          filterGateways.addObjects(gateways.filterBy('processor.name', 'Auth.net'));\n          filterGateways.addObjects(gateways.filterBy('processor.name', 'PPS'));\n        } else if (_this.get('processor.name').indexOf('FGT') > -1) {\n          //processor is FGT get Auth.net and PPS gateways\n          filterGateways.addObjects(gateways.filterBy('processor.name', 'Auth.net'));\n          filterGateways.addObjects(gateways.filterBy('processor.name', 'BrainTree'));\n          filterGateways.addObjects(gateways.filterBy('processor.name', 'PPS'));\n        }\n        filterGateways = filterGateways.addObjects(filterGateways.filterBy('processorType.id', 0));\n        return filterGateways;\n      });\n    }),\n    showInput: computed(function () {\n      return this.get('credential.type') === 1;\n    }),\n    showDropDown: computed(function () {\n      return this.get('credential.type') === 0;\n    }),\n    selectedOption: computed(function () {\n      if (this.get('credential.value') !== '') {\n        return this.get('store').peekRecord('gateway', this.get('credential.value'));\n      }\n    }),\n    actions: {\n      selectGateway: function selectGateway(item) {\n        this.set('selectedOption', item);\n        this.set('credential.value', item.get('id'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/gateway-mng/credential/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"P75vfbAj\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showInput\\\"]]],null,2],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showDropDown\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gateway\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gateway\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"credential\\\",\\\"displayName\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"gateways\\\"]],[\\\"get\\\",[\\\"selectedOption\\\"]],false,\\\"Waiting for the server\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.gatewayCredential.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectGateway\\\"],null]]],0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"credential\\\",\\\"displayName\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"credential\\\",\\\"displayName\\\"]]],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"credential\\\",\\\"value\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/gateway-mng/credential/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/gateway-mng/details/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/table-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember['default'].Component;\n  var run = _ember['default'].run;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsTableComponent['default'], {\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      //initialize processors\n      if (this.get('processors').then === undefined) {\n        // no promise, lets load the data\n        this.set('_processors', this.get('processors'));\n      } else {\n        // if a promise set the content when it resolves\n        this.get('processors').then(function (content) {\n          run(function () {\n            _this.set('_processors', content);\n          });\n        });\n      }\n      //initialize processorTypes\n      if (this.get('processorTypes').then === undefined) {\n        // no promise, lets load the data\n        this.set('_processorType', this.get('processorTypes'));\n      } else {\n        // if a promise set the content when it resolves\n        this.get('processorTypes').then(function (content) {\n          run(function () {\n            _this.set('_processorTypes', content);\n          });\n        });\n      }\n      this.set('gateway.gatewaySubmerchants', this.get('gateway.gatewaySubmerchants').filterBy('isNew', false));\n      this._setBackupCreditCardGateway();\n    },\n    _processors: [],\n    _processorTypes: [],\n    tagName: '',\n    failoverEnabled: false,\n    backupCreditCardGateway: null,\n    _gatewaysCreditCard: computed(function () {\n      return this.get('store').query('gateway', { cashless: false, pageSize: -1 }).then(function (results) {\n        var resultsArray = results.toArray();\n        return resultsArray.filter(function (gateway) {\n          return gateway.get('processorType.id') === '0';\n        });\n      });\n    }),\n    showFailover: computed('gateway.processorType.id', function () {\n      return this.get('gateway.processorType.id') === '0';\n    }),\n    showProcessor: computed(function () {\n      return this.get('gateway.processor.id') !== undefined;\n    }),\n    showCredentials: computed(function () {\n      return this.get('gateway.processor.id') !== undefined;\n    }),\n    showSubmerchants: computed('gateway.processor', function () {\n      return this.get('gateway.processor.id') === \"6\";\n    }),\n    sortCriteria: ['name'],\n    processorTypes: computed(function () {\n      return this.get('store').findAll('processorType');\n    }),\n    sortedProcessorTypes: _ember['default'].computed.sort('_processorTypes', 'sortCriteria'),\n    processors: computed(function () {\n      return this.get('store').findAll('processor');\n    }),\n    sortedProcessors: computed('_processors.@each', function () {\n      if (this.get('showProcessor')) {\n        return this.get('_processors').filterBy('processorType.id', this.get('gateway.processorType.id'));\n      }\n    }),\n    environments: computed(function () {\n      return this.get('store').findAll('gatewayEnvironment');\n    }),\n    sortedEnvironments: computed.sort('environments', 'sortCriteria'),\n    showDisable: computed(function () {\n      return !this.get('gateway.isNew');\n    }),\n    _setBackupCreditCardGateway: function _setBackupCreditCardGateway() {\n      var _this2 = this;\n\n      var backupCreditCardGateway = undefined;\n      if (!_ember['default'].isEmpty(this.get('gateway.backupCreditCardGatewayId'))) {\n        backupCreditCardGateway = this.get('store').findRecord('gateway', this.get('gateway.backupCreditCardGatewayId'));\n      }\n      if (backupCreditCardGateway !== undefined && backupCreditCardGateway.then !== undefined) {\n        backupCreditCardGateway.then(function (content) {\n          run(function () {\n            _this2.set('backupCreditCardGateway', content);\n          });\n        });\n      }\n    },\n    actions: {\n      changeSelectedBackupGateway: function changeSelectedBackupGateway(gateway) {\n        this.set('backupCreditCardGateway', gateway);\n        this.set('gateway.backupCreditCardGatewayId', gateway.id);\n      },\n      selectProcessorType: function selectProcessorType(processorType) {\n        this.set('gateway.processorType', processorType);\n        //clean gateway's processor and credentials\n        this.set('gateway.processor', undefined);\n        this.set('gateway.credentials', []);\n        this.set('showCredentials', false);\n        //filted processors list to show only those who belongs to the selected processor type\n        this.set('sortedProcessors', this.get('_processors').filterBy('processorType.id', processorType.get('id')));\n        this.set('showProcessor', true);\n      },\n      selectProcessor: function selectProcessor(processor) {\n        this.set('showCredentials', true);\n        this.set('gateway.processor', processor);\n        //copy credentials from processor to gateway\n        this.set('gateway.credentials', processor.get('processorCredentials').copy());\n      },\n      addSubmerchant: function addSubmerchant() {\n        var newSubmerchant = this.get('store').createRecord('gatewaySubmerchant');\n        this.get('gateway.gatewaySubmerchants').addObject(newSubmerchant);\n      },\n      remove: function remove(subMerchant) {\n        var _this3 = this;\n\n        subMerchant.destroyRecord().then(function () {\n          _this3.send('cleanMessages');\n          _this3.get('notify').success(_this3.get('intl').t('gateways.details.submerchant.errors.deleteSuccess'));\n          _this3.get('gateway.gatewaySubmerchants').removeObject(subMerchant);\n        })['catch'](function (error) {\n          var message = 'gateways.details.submerchant.errors.unknownDeletingError';\n          if (error !== undefined) {\n            message = 'gateways.details.submerchant.errors.' + error.errors.get(0).detail;\n          }\n          var errorMessage = _this3.get('notify').alert(_this3.get('intl').t(message, { name: subMerchant.get('accountId') }), { closeAfter: 5000 });\n          _this3.get('errorMessages').addObject(errorMessage);\n          subMerchant.rollbackAttributes();\n        });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/gateway-mng/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"nv0mVTJF\", \"block\": \"{\\\"statements\\\":[[\\\"comment\\\",\\\"name\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"gatewayName\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"gatewayName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.name.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"gateway\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showDisable\\\"]]],null,11],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"environment\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left:0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.environment.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedEnvironments\\\"]],[\\\"get\\\",[\\\"gateway\\\",\\\"gatewayEnvironment\\\"]],false,\\\"Waiting for the server\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.environment.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"gatewayEnvironment\\\"]]],null]],null]]],10],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"processor type\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.processorType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedProcessorTypes\\\"]],[\\\"get\\\",[\\\"gateway\\\",\\\"processorType\\\"]],false,\\\"Waiting for the server\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.processorType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectProcessorType\\\"],null]]],9],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"processor\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showProcessor\\\"]]],null,8],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showFailover\\\"]]],null,6],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"comment\\\",\\\"Backup Credit Card Gateway\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showFailover\\\"]]],null,5],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCredentials\\\"]]],null,3],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showSubmerchants\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"gateway-mng/gateway-submerchant\\\"],null,[[\\\"subMerchant\\\",\\\"remove\\\"],[[\\\"get\\\",[\\\"subMerchant\\\"]],\\\"remove\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"subMerchant\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: inherit\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.submerchant.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning modals-button col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 30px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addSubmerchant\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.submerchant.buttons.addSubmerchant\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"comment\\\",\\\"list of subMerchants\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"gatewaySubmerchants\\\"]]],null,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"gateway-mng/credential\\\"],null,[[\\\"credential\\\",\\\"processor\\\"],[[\\\"get\\\",[\\\"credential\\\"]],[\\\"get\\\",[\\\"gateway\\\",\\\"processor\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"credential\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: inherit\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.credentials.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"comment\\\",\\\"list of credentials\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"credentials\\\"]]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gateway\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gateway\\\"]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.backupCreditCardGateway.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_gatewaysCreditCard\\\"]],[\\\"get\\\",[\\\"backupCreditCardGateway\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.backupCreditCardGateway.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedBackupGateway\\\"],null]]],4],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.failoverActive.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-toggle\\\"],null,[[\\\"value\\\",\\\"onLabel\\\",\\\"offLabel\\\",\\\"showLabels\\\",\\\"onValue\\\",\\\"offValue\\\",\\\"onToggle\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"failoverEnabled\\\"]],\\\"Enable::true\\\",\\\"Disable::false\\\",true,true,false,[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"failoverEnabled\\\"]]],null]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"processor\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"processor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.processor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedProcessors\\\"]],[\\\"get\\\",[\\\"gateway\\\",\\\"processor\\\"]],false,\\\"Waiting for the server\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.processor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectProcessor\\\"],null]]],7],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"processorType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"processorType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"environment\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"environment\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-toggle\\\"],null,[[\\\"value\\\",\\\"onLabel\\\",\\\"offLabel\\\",\\\"showLabels\\\",\\\"onValue\\\",\\\"offValue\\\",\\\"onToggle\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"enabled\\\"]],\\\"Enable::true\\\",\\\"Disable::false\\\",true,true,false,[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"gateway\\\",\\\"enabled\\\"]]],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/gateway-mng/details/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/gateway-mng/gateway-submerchant/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var computed = _ember['default'].computed;\n  exports['default'] = _ember['default'].Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    selectedType: null,\n    types: computed(function () {\n      return [{ label: 'Credit Card', value: 0 }, { label: 'PayPal', value: 1 }];\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      if (this.get('subMerchant.type') !== null || this.get('subMerchant.type') !== undefined) {\n        this.set('selectedType', this.get('types').findBy('value', this.get('subMerchant.type')));\n      }\n    },\n    actions: {\n      selectSubmerchantType: function selectSubmerchantType(type) {\n        this.set('selectedType', type);\n        this.set('subMerchant.type', type.value);\n      },\n      remove: function remove(subMerchant) {\n        this.sendAction('remove', subMerchant);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/gateway-mng/gateway-submerchant/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"k7HCJK/a\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.submerchant.accountId.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.submerchant.accountId.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"subMerchant\\\",\\\"accountId\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.submerchant.type.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"types\\\"]],[\\\"get\\\",[\\\"selectedType\\\"]],false,\\\"Waiting for the server\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.details.submerchant.type.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectSubmerchantType\\\"],null]]],0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash fa-2x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"remove\\\",[\\\"get\\\",[\\\"subMerchant\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"label\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/gateway-mng/gateway-submerchant/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/gateway-mng/list/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/table-component', 'fcs-dashboard/mixins/gateway-mixin'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsGatewayMixin) {\n  var get = _ember['default'].get;\n  var extend = _ember['default'].$.extend;\n  exports['default'] = _ember['default'].Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsTableComponent['default'], _fcsDashboardMixinsGatewayMixin['default'], {\n    tagName: '',\n    showList: true,\n    processorTypeSortCriteria: ['name'],\n    processorTypes: _ember['default'].computed(function () {\n      return this.get('store').findAll('processorType');\n    }),\n    sortedProcessorTypes: _ember['default'].computed.sort('processorTypes', 'processorTypeSortCriteria'),\n    filteredGateways: [],\n    selectedProcessorType: _ember['default'].computed('sortedProcessorTypes', function () {\n      if (this.get('sortedProcessorTypes') !== undefined && this.get('sortedProcessorTypes.length') > 0) {\n        var selectedProcessorType = this.get('sortedProcessorTypes').objectAt(0);\n        this.send('filterGateways', selectedProcessorType);\n        return selectedProcessorType;\n      }\n    }),\n    columns: _ember['default'].computed(function () {\n      var availableStatuses = this.get('statuses');\n      var availableEnvironments = this.get('environments');\n      return [{\n        title: '',\n        template: \"gateway/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('gateways.list.name')\n      }, {\n        propertyName: 'processor.name',\n        filteredBy: 'processorName',\n        title: this.get('intl').t('gateways.list.processor')\n      }, {\n        propertyName: 'gatewayEnvironment.name',\n        filteredBy: 'gatewayEnvironmentName',\n        title: this.get('intl').t('gateways.list.environments.header'),\n        filterWithSelect: true,\n        predefinedFilterOptions: availableEnvironments,\n        className: 'stateRow'\n      }, {\n        propertyName: 'menuLocations.length',\n        filteredBy: 'menuLocationsCount',\n        title: this.get('intl').t('gateways.list.menus'),\n        className: 'centerContent menusRow'\n      }, {\n        propertyName: 'translatedStatus',\n        filteredBy: 'translatedStatus',\n        title: this.get('intl').t('gateways.list.status.header'),\n        filterWithSelect: true,\n        predefinedFilterOptions: availableStatuses,\n        className: 'stateRow'\n      }, {\n        title: '',\n        className: 'editRow'\n      }];\n    }),\n    tableGateways: _ember['default'].computed('gateways', function () {\n      return this.get('gateways');\n    }),\n    didReceiveAttrs: function didReceiveAttrs() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.set('showList', false);\n      var environments = [];\n      var temp = this.get('store').findAll('gatewayEnvironment');\n      if (temp.then !== undefined) {\n        temp.then(function (content) {\n          content.forEach(function (gatewayEnvironment) {\n            environments.pushObject(gatewayEnvironment._internalModel._data.name);\n          });\n          _this.set('environments', environments);\n          _this.set('showList', true);\n        });\n      }\n    },\n    actions: {\n      filterGateways: function filterGateways(processorType) {\n        this.set('filteredGateways', this.get('gateways').filterBy('processorType.id', processorType.get('id')));\n      },\n      selectProcessorType: function selectProcessorType(item) {\n        this.set('selectedProcessorType', item);\n        this.send('filterGateways', item);\n        this.send('updateGateway');\n      },\n      updateGateway: function updateGateway() {\n        var data = this.get('gateways');\n        var queryParams = get(data, 'query');\n        if (this.get('selectedProcessorType') !== null && this.get('selectedProcessorType') !== undefined) {\n          queryParams = extend(queryParams, { processorType: this.get('selectedProcessorType.id') });\n        } else {\n          delete queryParams.processorType;\n        }\n        data.set('query', queryParams);\n        jQuery('#j-table-filter-button').trigger('click');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/gateway-mng/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"lcGg3yJ+\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: 35px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.list.processorType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedProcessorTypes\\\"]],[\\\"get\\\",[\\\"selectedProcessorType\\\"]],false,\\\"Waiting for the server\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.list.processorType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectProcessorType\\\"],null]]],2],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"gateway.new\\\"],[[\\\"class\\\"],[\\\"btn btn-success\\\"]],1],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showList\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"tableGateways\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering-new\\\",[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.list.buttons.new\\\"],null],false]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"processorType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"processorType\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/gateway-mng/list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({});\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-company-row/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.company'),\n        className: 'non-cash-category-cell',\n        propertyName: 'companyName',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.creditNetSalesPlusTax'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'creditSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.cashlessNetSalesPlusTax'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashlessSales',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.creditTips'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'creditTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.cashlessTips'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'cashlessTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.digitalTips'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'digitalTips',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.totalDigitalVolume'),\n        className: 'non-cash-quantity-cell',\n        template: 'clerkReport/amountCell',\n        propertyName: 'totalDigitalVolume',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.highLevelInvoicingReport.tabletCount'),\n        className: 'quantity-cell',\n        propertyName: 'tabletCount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-company-row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kYTnWR0c\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.highLevelInvoicingReport.locationGroupName\\\"],[[\\\"locationGroupName\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-company-row/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-item/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = Component.extend({\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-item/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"cEfYC4tt\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"high-level-invoicing-report/report-result/high-level-invoicing-company-row\\\"],null,[[\\\"data\\\",\\\"dataName\\\"],[[\\\"get\\\",[\\\"datum\\\",\\\"highLevelInvoicingCompanyRows\\\"]],[\\\"get\\\",[\\\"datum\\\",\\\"locationGroupName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"datum\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"data\\\"]]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/high-level-invoicing-item/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ftTlWorK\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"comment\\\",\\\"high-level-invoicing-item table\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"high-level-invoicing-report/report-result/high-level-invoicing-item\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"highLevelInvoicingItems\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/high-level-invoicing-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/search-criteria/component\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this._initializeLocationGroups();\n      this._initializeReportExportParameters();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept() {\n        this.set('showExportModal', false);\n\n        this.get('reportOptions.vendors').clear();\n        // Adding the list of companies for selection\n        // Check SelectedVendor, if there is a vendor selected add the selected vendor to the list & ignore the VMCs list\n        if (this.get('selectedVendor') !== null && this.get('selectedVendor') !== undefined) {\n          try {\n            this.get('reportOptions.vendors').addObjects(this.get('selectedVendor').mapBy('companyId'));\n          } catch (e) {\n            this.get('reportOptions.vendors').addObject(this.get('selectedVendor.companyId'));\n          }\n        }\n\n        this.send('search', this.get('reportOptions'));\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      multipleLocationGroupSelectionForReport: function multipleLocationGroupSelectionForReport(locationGroup) {\n        var _this = this;\n\n        var selectedLocationGroups = [];\n        locationGroup.forEach(function (item) {\n          selectedLocationGroups.addObject(item);\n        });\n        if (selectedLocationGroups.length > 0) {\n          locationGroup = selectedLocationGroups;\n        }\n        this.set('selectedLocationGroup', locationGroup);\n        this.get('selectedLocations').clear();\n        this.get('selectedMenus').clear();\n        this.set('selectedVendor', null);\n        this.set('selectedVendorManagement', null);\n\n        if (locationGroup !== null && locationGroup.length === 1) {\n          this.set('hasVendors', true);\n          var _locationGroup = this._getSingleSelectedLocationGroup(locationGroup);\n          this.get('store').queryRecord('reportsLocationGroup', { locationGroupId: _locationGroup.id }).then(function (content) {\n            run(function () {\n              if (content.get('vendorCompanies.length') > 0) {\n                _this.set('_vendorCompanies', content.get('vendorCompanies').sortBy('companyName'));\n              } else {\n                _this.get('_vendorCompanies').clear();\n              }\n              _this.get('_vendorCompanies').addObject(content.get('producer'));\n              _this.set('producerOwner', content.get('producer'));\n              _this._updateSelectedCompanyRoleOptions();\n            });\n          });\n        } else if (locationGroup !== null && locationGroup.length > 1) {\n          (function () {\n            var endpoint = \"/api/v1/reportsLocationGroups/multipleLocationGroups\";\n            var _authToken = _this.get('session.data.authenticated.access_token');\n            var options = {\n              url: endpoint,\n              type: 'GET',\n              data: { locationGroupIds: locationGroup.mapBy(\"id\") }\n            };\n            options.beforeSend = function (xhr) {\n              xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n            };\n            options.success = function (content) {\n              var vendorCompanies = [];\n              content.reportsLocationGroups.forEach(function (reportsLocationGroup) {\n                if (reportsLocationGroup.vendorCompanies.length > 0) {\n                  reportsLocationGroup.vendorCompanies.forEach(function (company) {\n                    var tempCompany = vendorCompanies.filterBy('companyId', company.companyId);\n                    if (tempCompany.length === 0) {\n                      vendorCompanies.addObject(company);\n                    }\n                  });\n                }\n                var tempProducer = vendorCompanies.filterBy('companyId', reportsLocationGroup.producer.companyId);\n                if (tempProducer.length === 0) {\n                  vendorCompanies.addObject(reportsLocationGroup.producer);\n                }\n              });\n              if (vendorCompanies.length > 0) {\n                _this.set('hasVendors', true);\n                _this.set('_vendorCompanies', vendorCompanies);\n              }\n            };\n            options.error = function () {\n              var errorMessage = undefined;\n              // Catch error and return proper error message\n              errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            };\n            _ember[\"default\"].$.ajax(options);\n          })();\n        } else {\n          this.get('_vendorCompanies').clear();\n          this.get('_filteredMenus').clear();\n          this.get('_filteredLocations').clear();\n          this.get('_filteredVendorCompanies').clear();\n          this.get('_vendorManagementCompanies').clear();\n          this.get('_locations').clear();\n          this.set('producerOwner', null);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/high-level-invoicing-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9hi9zI09\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],7],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"multipleLocationGroupSelectionForReport\\\"],null]]],6],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,5],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-3 col-lg-3 col-xs-pad\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-sm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"*Only companies with sales will be displayed\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],3],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],2],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/high-level-invoicing-report/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/input-custom-fee-value/component', ['exports', 'ember'], function (exports, _ember) {\n  var TextField = _ember['default'].TextField;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = TextField.extend({\n    tagName: 'input',\n    type: 'number',\n    maxValue: 100,\n    showTooltip: false,\n    value: computed('value', function () {\n      return 0;\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      var value = 0;\n      if (!isEmpty(this.get('value'))) {\n        value = parseFloat(this.get('value'));\n      }\n      this.set('value', value);\n    },\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.$().keyup(function (key) {\n        if (key.target.value > _this.get('maxValue')) {\n          key.target.value = _this.get('maxValue');\n          return true;\n        }\n        if (key.target.value % 1 !== 0) {\n          key.target.value = Math.round(key.target.value * 1000) / 1000;\n        }\n      });\n      this.$().keypress(function (key) {\n        return !(key.keyCode !== 46 && key.keyCode > 31 && (key.keyCode < 48 || key.keyCode > 57));\n      });\n      this.$().focusout(function () {\n        if (!/^(100|[0-9]{1,2})(\\.[0-9]{1,2})?$/.test(_this.get('value'))) {\n          _this.set('showTooltip', true);\n        } else {\n          _this.set('value', parseFloat(_this.get('value')));\n        }\n      });\n      this.$().focusin(function () {\n        return _this.set('showTooltip', false);\n      });\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/input-custom-fee-value/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tDOKaW0u\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"value\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-component\\\"],null,[[\\\"isShown\\\",\\\"event\\\",\\\"class\\\",\\\"side\\\"],[[\\\"get\\\",[\\\"showTooltip\\\"]],\\\"none\\\",\\\"tooltip-error\\\",\\\"right\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.errors.invalidPercentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/input-custom-fee-value/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/input-number/component', ['exports', 'ember'], function (exports, _ember) {\n  var TextField = _ember['default'].TextField;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = TextField.extend({\n    tagName: 'input',\n    type: 'text',\n    value: computed('value', function () {\n      return 0.0;\n    }),\n    showTooltip: false,\n    init: function init() {\n      this._super.apply(this, arguments);\n      var value = 0.0;\n      if (!isEmpty(this.get('value'))) {\n        value = parseFloat(this.get('value'));\n      }\n      this.set('value', value);\n    },\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.$().keypress(function (key) {\n        return !(key.keyCode !== 46 && key.keyCode > 31 && (key.keyCode < 48 || key.keyCode > 57));\n      });\n      this.$().focusout(function () {\n        if (!/^[\\d]+(\\.\\d*)?$/.test(_this.get('value'))) {\n          _this.set('showTooltip', true);\n        } else {\n          _this.set('value', parseFloat(_this.get('value')));\n        }\n      });\n      this.$().focusin(function () {\n        return _this.set('showTooltip', false);\n      });\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/input-number/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"QTvMR29l\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"value\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-component\\\"],null,[[\\\"isShown\\\",\\\"event\\\",\\\"class\\\",\\\"side\\\"],[[\\\"get\\\",[\\\"showTooltip\\\"]],\\\"none\\\",\\\"tooltip-error\\\",\\\"right\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.errors.invalidNumber\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/input-number/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/input-percentage/component', ['exports', 'ember'], function (exports, _ember) {\n  var TextField = _ember['default'].TextField;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = TextField.extend({\n    tagName: 'input',\n    type: 'text',\n    maxValue: 100,\n    showTooltip: false,\n\n    // BRP-4165: how many decimal places this field accepts before the error tooltip is shown.\n    // Defaults to 2, which is what every caller expected before this ticket; tax-rate callers\n    // pass decimals=3. Kept as a parameter rather than widened globally because this component\n    // also renders tips, employee discount and promotion percentages, which are not tax rates\n    // and are out of scope here.\n    decimals: 2,\n    rateFormat: computed('decimals', function () {\n      return new RegExp('^(100|[0-9]{1,2})(\\\\.[0-9]{1,' + this.get('decimals') + '})?$');\n    }),\n    value: computed('value', function () {\n      return 0;\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      var value = 0;\n      if (!isEmpty(this.get('value'))) {\n        value = parseFloat(this.get('value'));\n      }\n      this.set('value', value);\n    },\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.$().keyup(function (key) {\n        if (key.target.value > _this.get('maxValue')) {\n          key.target.value = _this.get('maxValue');\n          return true;\n        }\n      });\n      this.$().keypress(function (key) {\n        return !(key.keyCode !== 46 && key.keyCode > 31 && (key.keyCode < 48 || key.keyCode > 57));\n      });\n      this.$().focusout(function () {\n        if (!_this.get('rateFormat').test(_this.get('value'))) {\n          _this.set('showTooltip', true);\n        } else {\n          _this.set('value', parseFloat(_this.get('value')));\n        }\n      });\n      this.$().focusin(function () {\n        return _this.set('showTooltip', false);\n      });\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/input-percentage/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"oyBASsQH\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"value\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-component\\\"],null,[[\\\"isShown\\\",\\\"event\\\",\\\"class\\\",\\\"side\\\"],[[\\\"get\\\",[\\\"showTooltip\\\"]],\\\"none\\\",\\\"tooltip-error\\\",\\\"right\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.errors.invalidPercentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/input-percentage/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/input-promotion-minimum-spent-value/component', ['exports', 'ember'], function (exports, _ember) {\n  var TextField = _ember['default'].TextField;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = TextField.extend({\n    tagName: 'input',\n    type: 'number',\n    maxValue: 100,\n    showTooltip: false,\n    value: computed('value', function () {\n      return 0;\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      var value = 0;\n      if (!isEmpty(this.get('value'))) {\n        value = parseFloat(this.get('value'));\n      }\n      this.set('value', value);\n    },\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.$().keyup(function (key) {\n        if (key.target.value > _this.get('maxValue')) {\n          key.target.value = _this.get('maxValue');\n          return true;\n        }\n        if (key.target.value % 1 !== 0) {\n          key.target.value = Math.round(key.target.value * 1000) / 1000;\n        }\n      });\n      this.$().keypress(function (key) {\n        return !(key.keyCode !== 46 && key.keyCode > 31 && (key.keyCode < 48 || key.keyCode > 57));\n      });\n      this.$().focusout(function () {\n        if (!/^(10000|[0-9]{1,2})(\\.[0-9]{1,2})?$/.test(_this.get('value'))) {\n          _this.set('showTooltip', true);\n        } else {\n          _this.set('value', parseFloat(_this.get('value')));\n        }\n      });\n      this.$().focusin(function () {\n        return _this.set('showTooltip', false);\n      });\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/input-promotion-minimum-spent-value/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"2jDxz4d7\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"value\\\"]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/input-promotion-minimum-spent-value/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/item-token-usage-report/report-result/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: null,\n    _columns: computed(function () {\n      return [{\n        title: \"Menu\",\n        className: 'centerContent',\n        propertyName: 'menuName',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.itemTokenUsageReport.headers.itemTokenName'),\n        className: 'centerContent',\n        propertyName: 'itemTokenName',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.itemTokenUsageReport.headers.value'),\n        className: 'amount-cell',\n        template: 'itemTokenUsageReport/amountCell',\n        propertyName: 'value',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.itemTokenUsageReport.headers.quantity'),\n        className: 'centerContent',\n        propertyName: 'quantity',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/item-token-usage-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6nY17lxm\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.itemTokenUsageReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"itemTokenUsageReportItems\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/item-token-usage-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/item-token-usage-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    isBrAdmin: computed.alias('isBRUser'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('financialReportFilter');\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('isFinancialReport', true);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Daily Close Out');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        this.set('showScheduleModal', false);\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/item-token-usage-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"mrRsezDY\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showScheduleModal\\\"]]],null]],null,19],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],16],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],15],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,14],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,10],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],7],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],12],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],11],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,13]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],18],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],17],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/item-token-usage-report/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/kds-station/close-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n\n  /**\n   * Confirmation before closing a vendor window from the server (BRP-4105).\n   *\n   * <p>Closing stops a vendor taking orders and, unlike their own closure, they cannot undo it at the\n   * tablet. Reopening has no such step: it is harmless and immediately reversible.\n   */\n  exports['default'] = Component.extend({\n    station: null,\n\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      confirm: function confirm() {\n        this.sendAction('confirm');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/kds-station/close-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"64ljlYbB\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.closeModal.message\\\"],[[\\\"name\\\"],[[\\\"get\\\",[\\\"station\\\",\\\"locationName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.closeModal.detail\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.closeModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirm\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.closeModal.buttons.close\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/kds-station/close-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/kds-station/list/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/table-component', 'moment'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _moment) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var EmberObject = _ember['default'].Object;\n  var A = _ember['default'].A;\n  var service = _ember['default'].inject.service;\n  var Logger = _ember['default'].Logger;\n\n  /**\n   * Station control for the vendor windows at one event (BRP-4105).\n   *\n   * <p>Nothing loads until an event is picked. The endpoint is scoped to a location group, and a\n   * default of \"everything\" would both be slow and put other operators' windows one mis-click away.\n   *\n   * <p>Rows are plain Ember Objects built from the API payload, not store records: there is no\n   * KdsStation model and nothing here is edited in place. The screen reads a list and posts an\n   * action, then re-reads.\n   */\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsTableComponent['default'], {\n    session: service(),\n    notify: service(),\n    intl: service(),\n    tagName: '',\n\n    /** The events this user may act in, passed down from the route. */\n    locationGroups: null,\n\n    _selectedLocationGroup: null,\n    _stations: A(),\n    _loading: false,\n    _showCloseModal: false,\n    _pendingStation: null,\n\n    _columns: computed(function () {\n      return [{\n        propertyName: 'locationName',\n        filteredBy: 'locationName',\n        // Named, because an unlabelled input under a column heading reads as a search box for the\n        // whole page rather than a filter on this column.\n        filterPlaceholder: this.get('intl').t('kdsStation.list.filterPlaceholder'),\n        title: this.get('intl').t('kdsStation.list.location'),\n        className: 'kdsStationLocationRow'\n      }, {\n        title: this.get('intl').t('kdsStation.list.statusHeader'),\n        template: \"kdsStation/actions/status-cell\",\n        className: 'kdsStationStatusRow'\n      }, {\n        title: '',\n        template: \"kdsStation/actions/close-action\",\n        className: 'kdsStationActionRow'\n      }];\n    }),\n\n    /** True once an event is chosen, which is what reveals the table. */\n    _hasSelection: computed.bool('_selectedLocationGroup'),\n\n    /**\n     * Reload the station list for the selected event.\n     *\n     * <p>Always a full re-read after an action rather than patching the row in place: the vendor can\n     * change their own closure at the same moment, and a screen that trusted its own last write\n     * would show a state the window is not in.\n     */\n    _loadStations: function _loadStations() {\n      var _this = this;\n\n      var group = this.get('_selectedLocationGroup');\n      if (!group) {\n        this.set('_stations', A());\n        return;\n      }\n      var groupId = _ember['default'].get(group, 'id');\n      var authToken = this.get('session.data.authenticated.access_token');\n      this.set('_loading', true);\n\n      _ember['default'].$.ajax({\n        url: '/api/v1/locationGroups/' + groupId + '/stations',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (rows) {\n        if (_this.get('isDestroyed') || _this.get('isDestroying')) {\n          return;\n        }\n        _this.set('_stations', A((rows || []).map(function (row) {\n          return _this._toRow(row);\n        })));\n        _this.set('_loading', false);\n      }, function () {\n        if (_this.get('isDestroyed') || _this.get('isDestroying')) {\n          return;\n        }\n        _this.set('_loading', false);\n        _this._alert('kdsStation.list.errors.loadFailed');\n      });\n    },\n\n    /**\n     * One API row as the table wants it.\n     *\n     * <p>The three states are exposed as two booleans rather than compared in the template, so that\n     * \"closed\" is never expressible without saying which kind. Which kind is the whole question: a\n     * vendor can undo their own closure and cannot undo an operations one.\n     */\n    _toRow: function _toRow(row) {\n      return EmberObject.create({\n        locationId: row.locationId,\n        locationName: row.locationName,\n        status: row.status,\n        isClosedAtServer: row.status === 'closed_at_server',\n        isClosedAtStation: row.status === 'closed_at_station',\n        serverClosedBy: row.serverClosedBy,\n        serverClosedAtDisplay: this._formatClosedAt(row.serverClosedAt)\n      });\n    },\n\n    /** Local time, to the minute. Seconds on a closure timestamp are noise on this screen. */\n    _formatClosedAt: function _formatClosedAt(value) {\n      if (!value) {\n        return null;\n      }\n      var parsed = new Date(value);\n      if (isNaN(parsed.getTime())) {\n        return null;\n      }\n      return (0, _moment['default'])(parsed).format('DD MMM HH:mm');\n    },\n\n    /**\n     * Post a close or reopen, then re-read.\n     *\n     * <p>Errors name the window. An operator running a show has several of these open and a bare\n     * \"could not save\" does not say which one is still taking orders.\n     */\n    _setClosed: function _setClosed(station, closed) {\n      var _this2 = this;\n\n      var group = this.get('_selectedLocationGroup');\n      if (!group || !station) {\n        return;\n      }\n      var authToken = this.get('session.data.authenticated.access_token');\n      var action = closed ? 'close' : 'reopen';\n\n      _ember['default'].$.ajax({\n        url: '/api/v1/locationGroups/' + _ember['default'].get(group, 'id') + '/stations/' + station.get('locationId') + '/' + action,\n        type: 'POST',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function () {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        var key = closed ? 'kdsStation.list.success.closed' : 'kdsStation.list.success.reopened';\n        _this2.get('notify').success(_this2.get('intl').t(key, { name: station.get('locationName') }));\n        _this2._loadStations();\n      }, function () {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        var key = closed ? 'kdsStation.list.errors.closeFailed' : 'kdsStation.list.errors.reopenFailed';\n        _this2._alert(key, { name: station.get('locationName') });\n        // Re-read anyway: the write may have landed and the response been lost, and a stale screen\n        // about which windows are taking orders is worse than an extra request.\n        _this2._loadStations();\n      });\n    },\n\n    _alert: function _alert(key, params) {\n      var message = this.get('notify').alert(this.get('intl').t(key, params || {}), { closeAfter: 5000 });\n      this.get('errorMessages').addObject(message);\n    },\n\n    actions: {\n      changeSelectedLocationGroup: function changeSelectedLocationGroup(group) {\n        Logger.debug('BR-kds: event changed for station control');\n        this.set('_selectedLocationGroup', group);\n        this._loadStations();\n      },\n\n      /** Closing stops a vendor selling and they cannot undo it, so it asks first. */\n      confirmClose: function confirmClose(station) {\n        this.set('_pendingStation', station);\n        this.set('_showCloseModal', true);\n      },\n\n      cancelClose: function cancelClose() {\n        this.set('_showCloseModal', false);\n        this.set('_pendingStation', null);\n      },\n\n      closeStation: function closeStation() {\n        var station = this.get('_pendingStation');\n        this.set('_showCloseModal', false);\n        this.set('_pendingStation', null);\n        this._setClosed(station, true);\n      },\n\n      /** Reopening is harmless and reversible, so it goes straight through. */\n      reopenStation: function reopenStation(station) {\n        this._setClosed(station, false);\n      },\n\n      refreshStations: function refreshStations() {\n        this._loadStations();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/kds-station/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NPnXGuv9\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: 35px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.event.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"allowClear\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"locationGroups\\\"]],[\\\"get\\\",[\\\"_selectedLocationGroup\\\"]],false,true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.event.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedLocationGroup\\\"],null]]],8],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_hasSelection\\\"]]],null,7,2],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showCloseModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"kds-station/close-modal\\\"],null,[[\\\"station\\\",\\\"cancel\\\",\\\"confirm\\\"],[[\\\"get\\\",[\\\"_pendingStation\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelClose\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeStation\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.closeModal.title\\\"],null],\\\"cancelClose\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.chooseEvent\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.noLocations\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"_loading\\\"]]],null,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"confirmClose\\\",\\\"reopenStation\\\"],[[\\\"get\\\",[\\\"_stations\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],25,\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\",\\\"confirmClose\\\",\\\"reopenStation\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshStations\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-refresh\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.buttons.refresh\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_loading\\\"]]],null,6],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_stations\\\",\\\"length\\\"]]],null,5,4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/kds-station/list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/company-role/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var isEqual = _ember[\"default\"].isEqual;\n  var run = _ember[\"default\"].run;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    tagName: '',\n    companies: [],\n    locationTypes: [],\n    _currentLocation: undefined,\n    _sortCriteria: ['name'],\n    _sortedCompanies: computed.sort('companies', '_sortCriteria'),\n    _sortedRoles: computed.sort('roles', '_sortCriteria'),\n    _locations: computed(function () {\n      if (this.get('companyRole.companyId') !== undefined) {\n        return this.get('store').query('location', { companyId: this.get('companyRole.companyId'), status: true });\n      } else {\n        return A();\n      }\n    }),\n    data: computed('_locations', function () {\n      return this.get('_locations').sortBy('name');\n    }),\n    selectedModels: computed.alias('companyRole.locationObjects'),\n    showLocationsModal: false,\n    _showLocation: false,\n    locationsReady: false,\n    _selectedRole: undefined,\n    _selectedCompany: undefined,\n    _selectedReportsTo: undefined,\n    _isRoleTypeVendor: computed('_selectedRole', function () {\n      if (this.get('_selectedRole.id') < 5) {\n        return true;\n      } else {\n        this.set('_selectedReportsTo', null);\n        return false;\n      }\n    }),\n    selectedLocationsCount: computed('companyRole.locationObjects.length', function () {\n      if (this.get('companyRole.locationObjects') !== undefined && this.get('companyRole.locationObjects.length') > 0) {\n        return this.get('companyRole.locationObjects.length');\n      } else {\n        return '0';\n      }\n    }),\n    columns: computed('filterClass', function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('location.list.table.location')\n      }, {\n        propertyName: 'locationType.name',\n        title: this.get('intl').t('location.list.table.type')\n      }];\n    }),\n    /**\n     * Ember's hook method\n     */\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.get('companyRole').addObserver('locationObjects.[]', function () {\n        if (this.get('locationObjects') !== null && this.get('locationObjects.length') > 0) {\n          this.set('locations', this.get('locationObjects').mapBy('id'));\n        }\n      });\n\n      if (this.get('_locations').then !== undefined) {\n        this.get('_locations').then(function (content) {\n          run(function () {\n            _this.set('_locations', content);\n            //initialize companies\n            _this.resolveCompanies();\n          });\n        });\n      } else {\n        //initialize companies\n        this.resolveCompanies();\n      }\n\n      var reportsTo = this.get('reportsToCompanies').findBy('id', this.get('companyRole.reportsTo'));\n      this.set('_selectedReportsTo', reportsTo);\n      //initialize roles\n      this.resolveRoles();\n    },\n    resolveCompanies: function resolveCompanies() {\n      this.setCompanies(this.get('companies'));\n    },\n    resolveRoles: function resolveRoles() {\n      this.setSelectedRole();\n    },\n    setSelectedRole: function setSelectedRole() {\n      if (this.get('companyRole.roleId') !== undefined) {\n        var role = this.get('roles').findBy('id', this.get('companyRole.roleId'));\n        this.set('_selectedRole', role);\n      }\n    },\n    /**\n     * Ember's hook method\n     */\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('companyRole').removeObserver('updateLocations');\n      this.get('companies').setEach('disabled', false);\n    },\n    _updateSelectedCompanies: observer('companyRoles.@each.companyId', function () {\n      this.updateCompanyStatus(this.get('companies'));\n    }),\n    updateCompanyStatus: function updateCompanyStatus(companies) {\n      var _this2 = this;\n\n      companies.setEach('disabled', false);\n      var companyId = this.get('companyRoles').mapBy('companyId');\n      this.get('companies').setEach('disabled', false);\n      companyId.forEach(function (id) {\n        if (id !== undefined) {\n          _this2.get('companies').findBy('id', id).set('disabled', true);\n        }\n      });\n    },\n    setCompanies: function setCompanies(content) {\n      this.updateCompanyStatus(content);\n      if (this.get('companyRole.companyId') !== undefined) {\n        var company = content.findBy('id', this.get('companyRole.companyId'));\n        this.set('_selectedCompany', company);\n        this.setSelectedLocations();\n      }\n    },\n    setSelectedLocations: function setSelectedLocations() {\n      var _this3 = this;\n\n      this.set('_showLocation', false);\n      var selectedLocations = this.get('companyRole.locations');\n      selectedLocations.forEach(function (item) {\n        _this3.get('selectedModels').addObject(_this3.get('data').findBy('id', item.toString()));\n      });\n      this.set('locationsReady', true);\n      this.set('_showLocation', true);\n    },\n    setNewLocation: function setNewLocation() {\n      var companyId = this.get('_selectedCompany.id');\n      var companyName = this.get('_selectedCompany.name');\n      this.set('_currentLocation', this.get('store').createRecord('location', { companyId: companyId, companyName: companyName }));\n    },\n    setLocations: function setLocations() {\n      var _this4 = this;\n\n      var locations = this.get('store').query('location', { companyId: this.get('_selectedCompany.id'), status: true });\n      if (locations.then !== undefined) {\n        locations.then(function (content) {\n          run(function () {\n            _this4.set('_locations', content);\n            _this4.set('locationsReady', true);\n          });\n        });\n      } else {\n        this.set('_locations', locations);\n        this.set('locationsReady', true);\n      }\n    },\n    actions: {\n      selectCompany: function selectCompany(item) {\n        this.set('_showLocation', true);\n        this.set('locationsReady', false);\n        this.set('_locations', null);\n        this.get('companyRole.locations').clear();\n        this.get('companyRole.locationObjects').clear();\n        this.set('companyRole.companyId', item.get('id'));\n        this.set('_selectedCompany', item);\n        this.setLocations();\n      },\n      selectReportsTo: function selectReportsTo(item) {\n        this.set('_selectedReportsTo', item);\n        this.set('companyRole.reportsTo', item.id);\n      },\n      selectRole: function selectRole(item) {\n        var _this5 = this;\n\n        var existsProducerOwner = false;\n        this.get('companyRoles').forEach(function (role) {\n          if (isEqual(item.id, '13') && !isEqual(_this5.get('companyRole.companyId'), role.get('companyId')) && isEqual(role.get('roleId'), '13')) {\n            existsProducerOwner = true;\n          }\n        });\n\n        if (existsProducerOwner) {\n          this.set('companyRole.roleId', null);\n          this.set('_selectedRole', null);\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.producerOwnerExists'), { closeAfter: 5000 });\n        } else {\n          this.set('companyRole.roleId', item.id);\n          this.set('_selectedRole', item);\n        }\n      },\n      remove: function remove() {\n        this.sendAction('remove', this.get('companyRole'));\n      },\n      createLocation: function createLocation() {\n        this.setLocations();\n        this.setNewLocation();\n      },\n      openLocationsModal: function openLocationsModal() {\n        this.setSelectedLocations();\n        this.setNewLocation();\n        this.set('showLocationsModal', true);\n      },\n      addLocations: function addLocations() {\n        if (this.get('selectedModels.length') === 0) {\n          this.get('companyRole.locations').clear();\n        }\n        this.set('showLocationsModal', false);\n      },\n      closeModalLocations: function closeModalLocations() {\n        this.set('showLocationsModal', false);\n        this.get('companyRole').rollbackAttributes();\n        this.get('selectedModels').clear();\n        this.setSelectedLocations();\n        this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.selectedLocationsReverted'), { closeAfter: 3000 });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/company-role/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"u9V5pvsR\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 companyRow\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"multipleSelect\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"_selectedCompany\\\"]],true,false,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.company.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCompany\\\"],null]]],9],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.role.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedRoles\\\"]],[\\\"get\\\",[\\\"_selectedRole\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.role.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectRole\\\"],null]]],8],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isRoleTypeVendor\\\"]]],null,7,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showLocation\\\"]]],null,4],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1 remove-icon\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash fa-2x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"remove\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showLocationsModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"preselectedItems\\\",\\\"sendDisplayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],10,[\\\"get\\\",[\\\"selectedModels\\\"]],true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"modal-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.locationsModal.create\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-mng/details\\\"],null,[[\\\"location\\\",\\\"locationTypes\\\",\\\"showCompanies\\\",\\\"saveBtnText\\\",\\\"saveAction\\\",\\\"showCancelBtn\\\"],[[\\\"get\\\",[\\\"_currentLocation\\\"]],[\\\"get\\\",[\\\"locationTypes\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.locationsModal.create\\\"],null],\\\"createLocation\\\",false]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalLocations\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.locationsModal.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addLocations\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.locationsModal.addLocations\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"clearAllSelected\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.locationsModal.title\\\"],null],\\\"closeModalLocations\\\",\\\"clearAllSelected\\\",true,\\\"middle none\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-modal btn-sm\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.location.loadingMessage\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-modal btn-sm\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openLocationsModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.location.label\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedLocationsCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationsReady\\\"]]],null,3,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.reportsTo.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"reportsToCompanies\\\"]],[\\\"get\\\",[\\\"_selectedReportsTo\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.reportsTo.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectReportsTo\\\"],null]]],6],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"role\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"role\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/company-role/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/custom-fee-modal/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/utils/util\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardUtilsUtil) {\n  var Component = _ember[\"default\"].Component;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var run = _ember[\"default\"].run;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    enableLogs: computed(function () {\n      return this.get('customFeeId') !== null && this.get('customFeeId') !== undefined;\n    }),\n    showCustomFeeLogsModal: false,\n    disabled: false,\n    selectedPaymentTypes: [],\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      //initialize customFeeTypes\n      if (this.get('customFeeTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('customFeeTypes').then(function (content) {\n          run(function () {\n            _this.set('customFeeTypes', content);\n          });\n        });\n      }\n      //initialize customFeeAppliesTos\n      if (this.get('customFeeAppliesTos').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('customFeeAppliesTos').then(function (content) {\n          run(function () {\n            _this.set('customFeeAppliesTos', content);\n          });\n        });\n      }\n\n      this.initCustomPaymentType();\n    },\n    initCustomPaymentType: function initCustomPaymentType() {\n      var _this2 = this;\n\n      if (this.get('customFee.paymentType')) {\n        (function () {\n          var paymentTypes = _this2.get('customFee.paymentType');\n          var paymentTypesArr = paymentTypes.split(',');\n          var customPaymentTypes = _this2.get('customPaymentTypes');\n          var selectedCustomPaymentTypes = customPaymentTypes.filter(function (item) {\n            return paymentTypesArr.includes(item.get('id'));\n          });\n          _this2.set('selectedPaymentTypes', selectedCustomPaymentTypes);\n        })();\n      }\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.set('customFee', null);\n    },\n    checkCustomFee: function checkCustomFee(customFee) {\n      var valid = true;\n\n      if (isEmpty(customFee.get('name'))) {\n        valid = false;\n        this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.emptyName'), { closeAfter: 5000 });\n      }\n\n      if (customFee.get('type.id') === null || customFee.get('type.id') === undefined) {\n        valid = false;\n        this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.nullType'), { closeAfter: 5000 });\n      }\n\n      if (customFee.get('value') === null || customFee.get('value') === undefined || isEmpty(customFee.get('value'))) {\n        valid = false;\n        this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.nullValue'), { closeAfter: 5000 });\n      }\n\n      if (this.get('selectedPaymentTypes').length === 0) {\n        valid = false;\n        this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.nullPaymentType'), { closeAfter: 5000 });\n      }\n\n      if (customFee.get('appliesTo.id') === null || customFee.get('appliesTo.id') === undefined) {\n        valid = false;\n        this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.nullAppliesTo'), { closeAfter: 5000 });\n      }\n\n      return valid;\n    },\n    actions: {\n      addCustomFee: function addCustomFee(customFee) {\n        var valid = this.checkCustomFee(customFee);\n        if (customFee.get('id') === null) {\n          customFee.set('tempId', (0, _fcsDashboardUtilsUtil.generateRandomString)(6));\n        }\n        if (valid) {\n          this.send('setCustomFeePaymentType', customFee);\n          this.sendAction('addCustomFee', customFee);\n        }\n      },\n\n      editCustomFee: function editCustomFee(customFee) {\n        var valid = this.checkCustomFee(customFee);\n        if (valid) {\n          this.send('setCustomFeePaymentType', customFee);\n          this.sendAction('editCustomFee', customFee);\n        }\n      },\n      setCustomFeePaymentType: function setCustomFeePaymentType(customFee) {\n        var paymentType = this.get('selectedPaymentTypes').map(function (item) {\n          return item.get('id');\n        }).join(',');\n        customFee.set('paymentType', paymentType);\n      },\n      cancelCustomFeeModal: function cancelCustomFeeModal() {\n        this.sendAction('cancelCustomFeeModal');\n      },\n      changeCustomFeeType: function changeCustomFeeType(customFeeType) {\n        this.set('customFee.value', 0);\n        this.set('customFee.type', customFeeType);\n      },\n      changeCustomPaymentType: function changeCustomPaymentType(paymentType) {\n        this.set('customFee.paymentType', paymentType);\n      },\n      changeCustomFeeAppliesTo: function changeCustomFeeAppliesTo(appliesTo) {\n        this.set('customFee.appliesTo', appliesTo);\n      },\n      openCustomFeeLogModal: function openCustomFeeLogModal() {\n        this.set('showCustomFeeLogsModal', true);\n      },\n      cancelCustomFeeLogModal: function cancelCustomFeeLogModal() {\n        this.set('showCustomFeeLogsModal', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/custom-fee-modal/custom-fee-log-modal/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var run = _ember[\"default\"].run;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    logsLoaded: false,\n    logs: computed(function () {\n      return this.get('store').query('customFeeLog', { customFeeId: this.get('customFeeId') });\n    }),\n    _columns: computed(function () {\n      return [{\n        propertyName: 'name',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.name')\n      }, {\n        propertyName: 'username',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.username')\n      }, {\n        propertyName: 'logDate',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.date')\n      }, {\n        propertyName: 'value',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.value')\n      }, {\n        propertyName: 'type',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.type')\n      }, {\n        propertyName: 'appliesTo',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.appliesTo')\n      }, {\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.enable'),\n        template: \"custom-fee/actions/enable-action\",\n        className: 'editRow'\n      }, {\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.taxable'),\n        template: \"custom-fee/actions/taxable-action\",\n        className: 'editRow'\n      }];\n    }),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      if (this.get('logs').then !== undefined) {\n        this.get('logs').then(function (content) {\n          run(function () {\n            _this.set('logs', content);\n            _this.set('logsLoaded', true);\n          });\n        });\n      }\n    },\n    actions: {\n      cancelCustomFeeLogModal: function cancelCustomFeeLogModal() {\n        this.set('logsLoaded', false);\n        this.sendAction('cancelCustomFeeLogModal');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/custom-fee-modal/custom-fee-log-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"oTmINICa\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-sm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    * Logs are order by descending date\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"logsLoaded\\\"]]],null,1,0],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelCustomFeeLogModal\\\",[\\\"get\\\",[\\\"customFee\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.logs.buttons.close\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:50px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw inline-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.logs.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"showComponentFooter\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\"],[[\\\"get\\\",[\\\"logs\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],false,\\\"application/table-pagination\\\",false,10]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/custom-fee-modal/custom-fee-log-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/custom-fee-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9dIGiwBO\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.name\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"customFeeName\\\",\\\"Type your custom fee name\\\",\\\"true\\\",\\\"25\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"customFee\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.type.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"customFeeTypes\\\"]],[\\\"get\\\",[\\\"customFee\\\",\\\"type\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.type.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeCustomFeeType\\\"],null]]],10],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.value\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"customFee\\\",\\\"type\\\",\\\"id\\\"]],\\\"0\\\"],null]],null,9],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"customFee\\\",\\\"type\\\",\\\"id\\\"]],\\\"1\\\"],null]],null,8],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.payments.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"customPaymentTypes\\\"]],[\\\"get\\\",[\\\"selectedPaymentTypes\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.payments.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedPaymentTypes\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.appliesTo.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"customFeeAppliesTos\\\"]],[\\\"get\\\",[\\\"customFee\\\",\\\"appliesTo\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.appliesTo.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeCustomFeeAppliesTo\\\"],null]]],6],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.taxable\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"taxableCheckbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"customFee\\\",\\\"taxable\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enabledCheckbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"customFee\\\",\\\"enabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelCustomFeeModal\\\",[\\\"get\\\",[\\\"customFee\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"editing\\\"]]],null,5,4],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"enableLogs\\\"]]],null,3,2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCustomFeeLogsModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/custom-fee-modal/custom-fee-log-modal\\\"],null,[[\\\"customFeeId\\\",\\\"cancelCustomFeeLogModal\\\"],[[\\\"get\\\",[\\\"customFeeId\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelCustomFeeLogModal\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.logs.title\\\"],null],\\\"cancelCustomFeeLogModal\\\",true]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info modals-button\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openCustomFeeLogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.buttons.logs\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openCustomFeeLogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.buttons.logs\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editCustomFee\\\",[\\\"get\\\",[\\\"customFee\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.buttons.edit\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addCustomFee\\\",[\\\"get\\\",[\\\"customFee\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"customFeeAppliesTo\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"customFeeAppliesTo\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"customPaymentType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"customPaymentType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 0px; min-width:75px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-custom-fee-value\\\"],null,[[\\\"id\\\",\\\"maxValue\\\",\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"class\\\"],[\\\"customFeePercentage\\\",100,\\\"true\\\",100,0,[\\\"get\\\",[\\\"customFee\\\",\\\"value\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 4px; min-width: 5px; margin-left: 2px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        %\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 text-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        (Max value 100%)\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        $\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 0px; min-width:75px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-custom-fee-value\\\"],null,[[\\\"id\\\",\\\"maxValue\\\",\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"class\\\"],[\\\"customFeeValue\\\",100,\\\"true\\\",100,0,[\\\"get\\\",[\\\"customFee\\\",\\\"value\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 text-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px; margin-left: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        (Max value $100)\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"customFeeType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"customFeeType\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/custom-fee-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/location-group/delete-custom-fee-modal/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      deleteCustomFee: function deleteCustomFee() {\n        this.set('showModal', false);\n        this.sendAction('deleteCustomFee', this.get('customFee'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/delete-custom-fee-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"qCzWUabr\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.deleteModal.message\\\"],[[\\\"customFeeName\\\"],[[\\\"get\\\",[\\\"customFee\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.deleteModal.butons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteCustomFee\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.deleteModal.butons.delete\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/delete-custom-fee-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"moment\", \"fcs-dashboard/config/environment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _moment, _fcsDashboardConfigEnvironment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var Logger = _ember[\"default\"].Logger;\n  var isEqual = _ember[\"default\"].isEqual;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    companiesLoaded: false,\n    companyRolesLoaded: false,\n    showDeleteCustomFeeModal: false,\n    selectedGateway: null,\n    locationGroupCompanies: [],\n    reportsToCompanies: [],\n    needRefreshPromotionsTable: true,\n    _isV4Processor: false,\n    tagName: '',\n    _timeZones: computed(function () {\n      var timeZones = _moment[\"default\"].tz.names();\n      var filteredTimezones = [];\n      var reg = new RegExp('(?:.*[/].*)');\n      timeZones.forEach(function (timezone) {\n        if (reg.test(timezone)) {\n          filteredTimezones.push(timezone);\n        }\n      });\n      return filteredTimezones.sort();\n    }),\n    filteredCustomFees: [],\n    _locationTypes: computed(function () {\n      return this.get('store').findAll('locationType');\n    }),\n    _customFeeAppliesTos: computed(function () {\n      return this.get('store').findAll('customFeeAppliesTo');\n    }),\n    _customFeeTypes: computed(function () {\n      return this.get('store').findAll('customFeeType');\n    }),\n    _customPaymentTypes: computed(function () {\n      return this.get('store').findAll('customPaymentType');\n    }),\n    _promotionPaymentTypes: computed(function () {\n      return this.get('store').findAll('promotionPaymentType');\n    }),\n    _promotionAppliesTos: computed(function () {\n      return this.get('store').findAll('promotionAppliesTo');\n    }),\n    _promotionTypes: computed(function () {\n      return this.get('store').findAll('promotionType');\n    }),\n    _promotionAmountTypes: computed(function () {\n      return this.get('store').findAll('promotionAmountType');\n    }),\n    _promotionRedemptionRules: computed(function () {\n      return this.get('store').findAll('promotionRedemptionRule');\n    }),\n    _promotionStatuses: computed(function () {\n      return this.get('store').findAll('promotionStatus');\n    }),\n    _promotionTriggerTypes: computed(function () {\n      return this.get('store').findAll('promotionTriggerType');\n    }),\n    _creditCards: computed(function () {\n      return this.get('store').findAll('creditCardType');\n    }),\n    _promotionColumns: computed(function () {\n      return [{\n        title: '',\n        template: \"promotion/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.name')\n      }, {\n        propertyName: 'status.name',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.status')\n      }, {\n        propertyName: 'type.name',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.type')\n      }, {\n        propertyName: 'promotionRedemptionRule.name',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.promotionRedemptionRule')\n      }, {\n        propertyName: 'receiptDisplay',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.receiptDisplay')\n      }, {\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.active'),\n        template: \"promotion/actions/activate-action\",\n        className: 'editRow'\n      }];\n    }),\n    _customFeeColumns: computed(function () {\n      return [{\n        title: '',\n        template: \"custom-fee/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.name')\n      }, {\n        propertyName: 'type.name',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.type')\n      }, {\n        propertyName: 'value',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.value')\n      }, {\n        propertyName: 'appliesTo.name',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.appliesTo')\n      }, {\n        propertyName: 'taxable',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.taxable'),\n        template: \"custom-fee/actions/taxable-action\",\n        className: 'editRow'\n      }, {\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.enable'),\n        template: \"custom-fee/actions/enable-action\",\n        className: 'editRow'\n      }, {\n        template: \"custom-fee/actions/delete-action\",\n        className: 'editRow'\n      }];\n    }),\n    _typeOptions: computed(function () {\n      return this.get('store').peekAll('locationGroupType');\n    }),\n    loadReady: computed('companiesLoaded', 'companyRolesLoaded', function () {\n      return this.get('companiesLoaded') && this.get('companyRolesLoaded');\n    }),\n    _gateways: computed(function () {\n      return this.get('store').query('gateway', { pageSize: -1 });\n    }),\n    logoName: computed('locationGroup.logo', function () {\n      return this.get('locationGroup.logo') ? 'logo' : null;\n    }),\n    cashlessLogoName: computed('locationGroup.cashlessInformation.logo', function () {\n      return this.get('locationGroup.cashlessInformation.logo') ? 'cashlessLogo' : null;\n    }),\n    cashlessBackgroundImageName: computed('locationGroup.cashlessInformation.backgroundImage', function () {\n      return this.get('locationGroup.cashlessInformation.backgroundImage') ? 'cashlessBackgroundImage' : null;\n    }),\n    cashlessScreenBrandName: computed('locationGroup.cashlessScreenBrand', function () {\n      return this.get('locationGroup.cashlessScreenBrand') ? 'cashlessScreenBrand' : null;\n    }),\n    tipScreenBrandName: computed('locationGroup.tipScreenBrand', function () {\n      return this.get('locationGroup.tipScreenBrand') ? 'tipScreenBrand' : null;\n    }),\n    thankYouScreenBrandName: computed('locationGroup.thankYouScreenBrand', function () {\n      return this.get('locationGroup.thankYouScreenBrand') ? 'thankYouScreenBrand' : null;\n    }),\n    roundUpDonationBannerName: computed('locationGroup.roundUpDonationBanner', function () {\n      return this.get('locationGroup.roundUpDonationBanner') ? 'roundUpDonationBanner' : null;\n    }),\n    _isEvent: computed('locationGroup.locationGroupType', function () {\n      return isEqual(this.get('locationGroup.locationGroupType.name'), 'Event');\n    }),\n    logoPreview: computed('locationGroup.logo', function () {\n      var url = this.get('locationGroup.logo');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    cashlessLogoPreview: computed('locationGroup.cashlessInformation.logo', function () {\n      var url = this.get('locationGroup.cashlessInformation.logo');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    cashlessBackgroundImagePreview: computed('locationGroup.cashlessInformation.backgroundImage', function () {\n      var url = this.get('locationGroup.cashlessInformation.backgroundImage');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    cashlessScreenBrandPreview: computed('locationGroup.cashlessScreenBrand', function () {\n      var url = this.get('locationGroup.cashlessScreenBrand');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    tipScreenBrandPreview: computed('locationGroup.tipScreenBrand', function () {\n      var url = this.get('locationGroup.tipScreenBrand');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    thankYouScreenBrandPreview: computed('locationGroup.thankYouScreenBrand', function () {\n      var url = this.get('locationGroup.thankYouScreenBrand');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    roundUpDonationBannerPreview: computed('locationGroup.roundUpDonationBanner', function () {\n      var url = this.get('locationGroup.roundUpDonationBanner');\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    _showModal: false,\n    _showEndDate: computed('locationGroup.startDate', function () {\n      return this.get('locationGroup.startDate') !== null;\n    }),\n    companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    roles: computed(function () {\n      return this.get('store').findAll('roleType');\n    }),\n    minStartDate: computed(function () {\n      return new Date();\n    }),\n    _selectedLocationGroupType: computed.alias('locationGroup.locationGroupType'),\n    receiptTextObserver: _ember[\"default\"].observer('locationGroup.receiptText', function () {\n      var emojiRegex = /[\\uD83C\\uD83D\\uD83E][\\uDC00-\\uDFFF]|\\uD83C[\\uDC04\\uDCCF\\uDFFF]|\\uD83D[\\uDC00-\\uDDFF]|\\uD83E[\\uDD00-\\uDDFF]|[\\u2600-\\u26FF\\u2700-\\u27BF\\u2B50]/;\n      var value = this.get('locationGroup.receiptText');\n      if (emojiRegex.test(value)) {\n        value = value.replace(emojiRegex, '');\n        this.set('locationGroup.receiptText', value);\n      }\n      return true;\n    }),\n    uploading: false,\n    wristbandAttachments: [],\n    hasWristbandAttachments: computed('wristbandAttachments.@each', function () {\n      return this.get('wristbandAttachments.length') > 0;\n    }),\n    humanReadableCodeLength: computed('locationGroup.cashlessInformation.humanReadableCodeLength', {\n      get: function get() {\n        return this.get('locationGroup.cashlessInformation.humanReadableCodeLength') || 8;\n      },\n      set: function set(_, value) {\n        this.set('locationGroup.cashlessInformation.humanReadableCodeLength', value);\n        return value;\n      }\n    }),\n    cashlessSubDomain: computed('locationGroup.cashlessInformation.eventUrl', {\n      get: function get() {\n        try {\n          var url = new URL(this.get('locationGroup.cashlessInformation.eventUrl'));\n          var host = url.hostname;\n          var parts = host.split('.');\n          return parts.length > 2 ? parts.slice(0, -2).join('.') : '';\n        } catch (e) {\n          // console.error('Event url is invalid: ', e);\n          return '';\n        }\n      },\n      set: function set(_, value) {\n        this.set('locationGroup.cashlessInformation.eventUrl', 'https://' + value + _fcsDashboardConfigEnvironment[\"default\"].APP.registrationDomain);\n        return value;\n      }\n    }),\n    cashlessDomain: computed(function () {\n      return _fcsDashboardConfigEnvironment[\"default\"].APP.registrationDomain;\n    }),\n    importedWristband: computed('locationGroup.wristbandAttachments', function () {\n      return this.get('locationGroup.wristbandAttachments');\n    }),\n    hasImportedWristbandAttachments: computed('locationGroup.wristbandAttachments.@each', function () {\n      return this.get('locationGroup.wristbandAttachments.length') > 0;\n    }),\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n      if (this.get('locationGroup.startDate') !== null) {\n        this.set('locationGroup.startDate', new Date(_moment[\"default\"].tz(this.get('locationGroup.startDate'), \"UTC\").format('MM/DD/YYYY')));\n      }\n      if (this.get('locationGroup.endDate') !== null) {\n        this.set('locationGroup.endDate', new Date(_moment[\"default\"].tz(this.get('locationGroup.endDate'), \"UTC\").format('MM/DD/YYYY')));\n      }\n    },\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.set('wristbandAttachments', []);\n      var promos = [];\n      this.get('locationGroup.promotions').forEach(function (promotion) {\n        if (promotion.get('id') !== null && promotion.get('id') !== undefined) {\n          promos.addObject(promotion);\n        }\n      });\n      this.set('locationGroup.promotions', promos.sortBy('name'));\n      this.get('reportsToCompanies').clear();\n      this._initializeLocationTypes();\n      this._initializeCompanies();\n      this._initializeCompanyRoles();\n      this._initializePromotionTypes();\n      this._initializePromotionStatuses();\n      this._initializeCustomFeeAppliesTos();\n      this._initializeCustomFeeTypes();\n      this._initializeCustomPaymentTypes();\n      this._initializePromotionRules();\n      this._initializeCreditCardTypes();\n      this._initializePromotionTriggerTypes();\n      this.get('filteredCustomFees').clear();\n      this.get('locationGroup.customFees').forEach(function (customFee) {\n        if (customFee.get('id') !== null) {\n          _this.get('filteredCustomFees').addObject(customFee);\n        } else {\n          _this.get('locationGroup.customFees').removeObject(customFee);\n        }\n      });\n      this.set('refreshCustomFees', true);\n      var selectedGateway = undefined;\n      if (!_ember[\"default\"].isEmpty(this.get('locationGroup.cashlessInformation.gateway')) && this.get('locationGroup.cashlessInformation.gateway') !== 0) {\n        selectedGateway = this.get('store').findRecord('gateway', this.get('locationGroup.cashlessInformation.gateway'));\n      }\n      if (selectedGateway !== undefined && selectedGateway.then !== undefined) {\n        selectedGateway.then(function (content) {\n          run(function () {\n            _this.set('selectedGateway', content);\n            if (_this.get('selectedGateway.processor').then !== undefined) {\n              _this.get('selectedGateway.processor').then(function (content) {\n                run(function () {\n                  if (content !== null && content.name === \"FGT\") {\n                    _this.set('_isV4Processor', false);\n                  } else {\n                    _this.set('_isV4Processor', true);\n                  }\n                });\n              });\n            }\n          });\n        });\n      }\n    },\n    _initializeLocationTypes: function _initializeLocationTypes() {\n      var _this2 = this;\n\n      Logger.debug('Loading Location Types');\n      if (this.get('_locationTypes').then !== undefined) {\n        this.get('_locationTypes').then(function (content) {\n          run(function () {\n            Logger.debug('Loading Location Types');\n            _this2.set('_locationTypes', content);\n          });\n        });\n      }\n    },\n    _filterCustomFees: function _filterCustomFees() {\n      this.set('refreshCustomFees', false);\n      this.get('filteredCustomFees').clear();\n      this.get('filteredCustomFees').addObjects(this.get('locationGroup.customFees').filterBy('deleted', false));\n      this.set('refreshCustomFees', true);\n    },\n    _initializeCompanies: function _initializeCompanies() {\n      var _this3 = this;\n\n      Logger.debug('Loading Companies for Company Roles');\n      if (this.get('companies').then !== undefined) {\n        this.get('companies').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded Companies for Company Roles');\n            if (!_this3.isDestroyed && !_this3.isDestroying) {\n              _this3.set('companies', content);\n              content.forEach(function (company) {\n                _this3.get('reportsToCompanies').addObject({ id: company.id, name: company.get('name') });\n              });\n              _this3.set('companiesLoaded', true);\n            }\n          });\n        });\n      }\n    },\n    _initializeCompanyRoles: function _initializeCompanyRoles() {\n      var _this4 = this;\n\n      Logger.debug('Loading Company Roles');\n      if (this.get('roles').then !== undefined) {\n        this.get('roles').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded Company Roles');\n            if (!_this4.isDestroyed && !_this4.isDestroying) {\n              _this4.set('roles', content);\n              _this4.set('companyRolesLoaded', true);\n            }\n          });\n        });\n      }\n    },\n    _initializePromotionTypes: function _initializePromotionTypes() {\n      var _this5 = this;\n\n      Logger.debug('Loading Promotion Types');\n      if (this.get('_promotionTypes').then !== undefined) {\n        this.get('_promotionTypes').then(function (content) {\n          run(function () {\n            if (!_this5.isDestroyed && !_this5.isDestroying) {\n              Logger.debug('Loading Promotion Types');\n              _this5.set('_promotionTypes', content);\n            }\n          });\n        });\n      }\n    },\n    _initializePromotionTriggerTypes: function _initializePromotionTriggerTypes() {\n      var _this6 = this;\n\n      Logger.debug('Loading Promotion Trigger Types');\n      if (this.get('_promotionTriggerTypes').then !== undefined) {\n        this.get('_promotionTriggerTypes').then(function (content) {\n          run(function () {\n            if (!_this6.isDestroyed && !_this6.isDestroying) {\n              Logger.debug('Loading Promotion Trigger Types');\n              _this6.set('_promotionTriggerTypes', content);\n            }\n          });\n        });\n      }\n    },\n    _initializeCustomFeeAppliesTos: function _initializeCustomFeeAppliesTos() {\n      var _this7 = this;\n\n      Logger.debug('Loading Custom Fee Applies Tos');\n      if (this.get('_customFeeAppliesTos').then !== undefined) {\n        this.get('_customFeeAppliesTos').then(function (content) {\n          run(function () {\n            if (!_this7.isDestroyed && !_this7.isDestroying) {\n              Logger.debug('Loading Custom Fee Applies Tos');\n              _this7.set('_customFeeAppliesTos', content);\n            }\n          });\n        });\n      }\n    },\n    _initializePromotionPaymentTypes: function _initializePromotionPaymentTypes() {\n      var _this8 = this;\n\n      Logger.debug('Loading Promotion Payment Types');\n      if (this.get('_promotionPaymentTypes').then !== undefined) {\n        this.get('_promotionPaymentTypes').then(function (content) {\n          run(function () {\n            if (!_this8.isDestroyed && !_this8.isDestroying) {\n              Logger.debug('Loading Promotion Payment Types');\n              _this8.set('_promotionPaymentTypes', content);\n            }\n          });\n        });\n      }\n    },\n    _initializePromotionAppliesTos: function _initializePromotionAppliesTos() {\n      var _this9 = this;\n\n      Logger.debug('Loading Promotion Applies Tos');\n      if (this.get('_promotionAppliesTos').then !== undefined) {\n        this.get('_promotionAppliesTos').then(function (content) {\n          run(function () {\n            if (!_this9.isDestroyed && !_this9.isDestroying) {\n              Logger.debug('Loading Promotion Applies Tos');\n              _this9.set('_promotionAppliesTos', content);\n            }\n          });\n        });\n      }\n    },\n\n    _initializeCustomFeeTypes: function _initializeCustomFeeTypes() {\n      var _this10 = this;\n\n      Logger.debug('Loading Custom Fee Types');\n      if (this.get('_customFeeTypes').then !== undefined) {\n        this.get('_customFeeTypes').then(function (content) {\n          run(function () {\n            if (!_this10.isDestroyed && !_this10.isDestroying) {\n              Logger.debug('Loading Custom Fee Types');\n              _this10.set('_customFeeTypes', content);\n            }\n          });\n        });\n      }\n    },\n    _initializeCustomPaymentTypes: function _initializeCustomPaymentTypes() {\n      var _this11 = this;\n\n      Logger.debug('Loading Custom Payment Types');\n      if (this.get('_customPaymentTypes').then !== undefined) {\n        this.get('_customPaymentTypes').then(function (content) {\n          run(function () {\n            if (!_this11.isDestroyed && !_this11.isDestroying) {\n              _this11.set('_customPaymentTypes', content.sortBy(\"id\"));\n            }\n          });\n        });\n      }\n    },\n    _initializeCreditCardTypes: function _initializeCreditCardTypes() {\n      var _this12 = this;\n\n      Logger.debug('Loading Credit Card Types');\n      if (this.get('_creditCards').then !== undefined) {\n        this.get('_creditCards').then(function (content) {\n          run(function () {\n            if (!_this12.isDestroyed && !_this12.isDestroying) {\n              Logger.debug('Loading Credit Card Types');\n              _this12.set('_creditCards', content);\n            }\n          });\n        });\n      }\n    },\n    _initializePromotionRules: function _initializePromotionRules() {\n      var _this13 = this;\n\n      Logger.debug('Loading Promotion Rules');\n      if (this.get('_promotionRedemptionRules').then !== undefined) {\n        this.get('_promotionRedemptionRules').then(function (content) {\n          run(function () {\n            if (!_this13.isDestroyed && !_this13.isDestroying) {\n              Logger.debug('Loading Promotion Types');\n              _this13.set('_promotionRedemptionRules', content);\n            }\n          });\n        });\n      }\n    },\n    _initializePromotionStatuses: function _initializePromotionStatuses() {\n      var _this14 = this;\n\n      Logger.debug('Loading Promotion Statuses');\n      if (this.get('_promotionStatuses').then !== undefined) {\n        this.get('_promotionStatuses').then(function (content) {\n          run(function () {\n            if (!_this14.isDestroyed && !_this14.isDestroying) {\n              Logger.debug('Loading Promotion Statuses');\n              _this14.set('_promotionStatuses', content);\n            }\n          });\n        });\n      }\n    },\n    actions: {\n      save: function save(item) {\n        if (this.get(\"uploading\")) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.cashless.wristband.errors.wristbandUploading'), { closeAfter: 5000 });\n          return;\n        }\n        var subDomain = this.get('cashlessSubDomain');\n        var isRegistrationSiteEnabled = this.get('locationGroup.cashlessInformation.registrationSiteEnabled');\n        if (isRegistrationSiteEnabled && subDomain.trim() === '') {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.eventUrlError'), { closeAfter: 5000 });\n          return;\n        }\n        if (isRegistrationSiteEnabled) {\n          var humanReadableCodeLength = this.get('locationGroup.cashlessInformation.humanReadableCodeLength');\n          if (humanReadableCodeLength === null || humanReadableCodeLength === undefined) {\n            this.set('locationGroup.cashlessInformation.humanReadableCodeLength', 8);\n          } else {\n            var codeLength = parseInt(humanReadableCodeLength);\n            if (isNaN(humanReadableCodeLength) || isNaN(codeLength) || codeLength <= 0) {\n              this.get('notify').alert(this.get('intl').t('locationGroups.details.cashless.humanReadableCodeLength.error'), { closeAfter: 5000 });\n              return;\n            }\n          }\n        }\n\n        if (this.get('locationGroup.roundUpDonationEnabled') && this.get('locationGroup.roundUpDonationDisplayName') === '') {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.roundUp.error.nameRequired'), { closeAfter: 5000 });\n          return;\n        }\n\n        // this.set('saveEnabled', false);\n        this.set('locationGroup.enableBannerBranding', true);\n        this.set('locationGroup.wristbandFiles', JSON.stringify(this.get('wristbandAttachments')));\n        this.sendAction('save', item);\n      },\n      cancel: function cancel(item) {\n        this.sendAction('cancel', item);\n      },\n      uploadLogo: function uploadLogo(fileList) {\n        var _this15 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this15;\n            _this15.set('logoName', fileList[0].name);\n            var reader = new FileReader();\n\n            reader.onloadend = function () {\n              that.set('locationGroup.logo', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n      uploadCashlessLogo: function uploadCashlessLogo(fileList) {\n        var _this16 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this16;\n            _this16.set('cashlessLogoName', fileList[0].name);\n            var reader = new FileReader();\n            reader.onloadend = function () {\n              that.set('locationGroup.cashlessInformation.logo', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n\n      uploadCashlessBackgroundImage: function uploadCashlessBackgroundImage(fileList) {\n        var _this17 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this17;\n            _this17.set('cashlessBackgroundImageName', fileList[0].name);\n            var reader = new FileReader();\n            reader.onloadend = function () {\n              that.set('locationGroup.cashlessInformation.backgroundImage', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n      uploadWristbandFiles: function uploadWristbandFiles(fileList) {\n        var _this18 = this;\n\n        var re = new RegExp('\\\\.xls[x]?$', 'i');\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var form = new FormData();\n        var self = this;\n\n        var _loop = function (i) {\n          if (!re.test(fileList[i].name.toLowerCase())) {\n            _this18.get('notify').alert(_this18.get('intl').t('locationGroups.details.cashless.wristband.errors.invalidFileType'), { closeAfter: 5000 });\n            return {\n              v: undefined\n            };\n          } else {\n            if (_this18.get('wristbandAttachments').filter(function (item) {\n              return item.name === fileList[i].name;\n            }).length > 0) {\n              _this18.get('notify').alert(_this18.get('intl').t('locationGroups.details.cashless.wristband.errors.fileExists'), { closeAfter: 5000 });\n              return {\n                v: undefined\n              };\n            }\n            form.append(\"files\", fileList[i]);\n          }\n        };\n\n        for (var i = 0; i < fileList.length; i++) {\n          var _ret4 = _loop(i);\n\n          if (typeof _ret4 === \"object\") return _ret4.v;\n        }\n\n        var settings = {\n          url: \"/api/v1/locationGroups/uploadWristband\",\n          method: \"POST\",\n          mimeType: \"multipart/form-data\",\n          headers: {\n            \"Authorization\": \"Bearer \" + _authToken\n          },\n          processData: false,\n          contentType: false,\n          data: form,\n          dataType: 'json'\n        };\n        self.set('uploading', true);\n        $.ajax(settings).done(function (response) {\n          if (response.result) {\n            response.result.forEach(function (item) {\n              self.get('wristbandAttachments').pushObject({ name: item.name, key: item.key });\n            });\n          }\n          self.set('uploading', false);\n        });\n      },\n\n      removeWristbandFile: function removeWristbandFile(file) {\n        var data = this.get('wristbandAttachments').filter(function (item) {\n          return item.name !== file.name;\n        });\n        this.set('wristbandAttachments', data);\n      },\n\n      previewWristbandFile: function previewWristbandFile(file) {\n        this.set('previewWristbandFile', file);\n      },\n\n      uploadCashlessScreenBrand: function uploadCashlessScreenBrand(fileList) {\n        var _this19 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this19;\n            _this19.set('cashlessScreenBrandName', fileList[0].name);\n            _this19.set('locationGroup.enableBannerBranding', true);\n            var reader = new FileReader();\n            reader.onloadend = function () {\n              that.set('locationGroup.cashlessScreenBrand', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n\n      uploadTipScreenBrand: function uploadTipScreenBrand(fileList) {\n        var _this20 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this20;\n            _this20.set('tipScreenBrandName', fileList[0].name);\n            _this20.set('locationGroup.enableBannerBranding', true);\n            var reader = new FileReader();\n\n            reader.onloadend = function () {\n              that.set('locationGroup.tipScreenBrand', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n\n      uploadThankYouScreenBrand: function uploadThankYouScreenBrand(fileList) {\n        var _this21 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this21;\n            _this21.set('thankYouScreenBrandName', fileList[0].name);\n            _this21.set('locationGroup.enableBannerBranding', true);\n            var reader = new FileReader();\n\n            reader.onloadend = function () {\n              that.set('locationGroup.thankYouScreenBrand', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n      uploadRoundUpBanner: function uploadRoundUpBanner(fileList) {\n        var _this22 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this22;\n            _this22.set('roundUpDonationBannerName', fileList[0].name);\n            var reader = new FileReader();\n\n            reader.onloadend = function () {\n              that.set('locationGroup.roundUpDonationBanner', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          Logger.debug('not an image.');\n        }\n      },\n      openModal: function openModal() {\n        this.set('showModal', true);\n      },\n      closeModal: function closeModal() {\n        Logger.debug(\"Closing modal. Timezone staid as it was \" + this.get('locationGroup.timezone'));\n        this.set('showModal', false);\n      },\n      saveTimezoneAction: function saveTimezoneAction(timezone) {\n        Logger.debug(\"Timezone received from modal was \" + timezone);\n        this.set('locationGroup.timezone', timezone);\n        Logger.debug(\"Timezone set into the model as \" + this.get('locationGroup.timezone'));\n        this.set('showModal', false);\n      },\n      changeTimeZone: function changeTimeZone(timezone) {\n        this.set('locationGroup.timezone', timezone);\n      },\n      addCompany: function addCompany() {\n        var company = this.get('store').createFragment('companyRole');\n        this.get('locationGroup.companiesRoles').addObject(company);\n      },\n      removeItem: function removeItem(item) {\n        this.get('locationGroup.companiesRoles').removeObject(item);\n      },\n      changeStartDate: function changeStartDate(value) {\n        var _this23 = this;\n\n        this.set('locationGroup.startDate', value);\n        if ((0, _moment[\"default\"])(value).isAfter(this.get('locationGroup.endDate'))) {\n          _ember[\"default\"].run.next(function () {\n            _this23.set('locationGroup.endDate', null);\n          });\n        }\n      },\n      changeEndDate: function changeEndDate(value) {\n        var _this24 = this;\n\n        _ember[\"default\"].run.next(function () {\n          _this24.set('locationGroup.endDate', value);\n        });\n      },\n      removeLogo: function removeLogo() {\n        this.set('logoName', null);\n        this.set('locationGroup.logo', null);\n      },\n      removeCashlessLogo: function removeCashlessLogo() {\n        this.set('cashlessLogoName', null);\n        this.set('locationGroup.cashlessInformation.logo', null);\n      },\n      removeCashlessBackgroundImage: function removeCashlessBackgroundImage() {\n        this.set('cashlessBackgroundImageName', null);\n        this.set('locationGroup.cashlessInformation.backgroundImage', null);\n      },\n      removeCashlessScreenBrand: function removeCashlessScreenBrand() {\n        this.set('cashlessScreenBrandName', null);\n        this.set('locationGroup.cashlessScreenBrand', null);\n      },\n      removeTipScreenBrand: function removeTipScreenBrand() {\n        this.set('tipScreenBrandName', null);\n        this.set('locationGroup.tipScreenBrand', null);\n      },\n      removeThankYouScreenBrand: function removeThankYouScreenBrand() {\n        this.set('thankYouScreenBrandName', null);\n        this.set('locationGroup.thankYouScreenBrand', null);\n      },\n      removeRoundUpDonationBanner: function removeRoundUpDonationBanner() {\n        this.set('locationGroup.roundUpDonationBanner', null);\n        this.set('roundUpDonationBannerName', null);\n      },\n      changeLocationGroupType: function changeLocationGroupType(type) {\n        if (type.data.name === 'Venue') {\n          this.set('_isEvent', false);\n        } else {\n          this.set('_isEvent', true);\n        }\n        this.set('_selectedLocationGroupType', type);\n      },\n      changeSelectedGateway: function changeSelectedGateway(gateway) {\n        this.set('selectedGateway', gateway);\n        this.set('locationGroup.cashlessInformation.gateway', gateway.id);\n        if (this.get('selectedGateway.processor.name') === \"FGT\") {\n          this.set('_isV4Processor', false);\n        } else {\n          this.set('_isV4Processor', true);\n        }\n      },\n      inactivatePromotion: function inactivatePromotion(promotion) {\n        promotion.set('status', this.get('store').peekRecord('promotionStatus', 2));\n      },\n      activatePromotion: function activatePromotion(promotion) {\n        promotion.set('status', this.get('store').peekRecord('promotionStatus', 1));\n      },\n      addPromotion: function addPromotion(promotion) {\n        var _this25 = this;\n\n        var filteredPromotionsByNames = this.get('locationGroup.promotions').filterBy('name', promotion.get('name'));\n        if (filteredPromotionsByNames.length > 0) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.duplicatedName'), { closeAfter: 5000 });\n        } else {\n          this.get('locationGroup.promotions').addObject(promotion);\n          this.set('locationGroup.promotions', this.get('locationGroup.promotions').sortBy('name'));\n          this.set('needRefreshPagesTable', false);\n          run.next(function () {\n            _this25.set('showPromotionModal', false);\n            _this25.set('needRefreshPagesTable', true);\n          });\n        }\n      },\n      editPromotion: function editPromotion(promotion) {\n        var _this26 = this;\n\n        var otherPromotionsWithSameName = this.get('locationGroup.promotions').filterBy('name', promotion.get('name')).filter(function (p) {\n          return p.get('id') !== _this26.get('promotionId');\n        });\n        if (otherPromotionsWithSameName.length > 0) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.duplicatedName'), { closeAfter: 5000 });\n        } else {\n          // update promotion values with new ones\n          var oldPromo = this.get('locationGroup.promotions').filterBy('id', this.get('promotionId')).get('firstObject');\n          oldPromo.set('name', promotion.get('name'));\n          oldPromo.set('status', promotion.get('status'));\n          oldPromo.set('amount', promotion.get('amount'));\n          oldPromo.set('percentage', promotion.get('percentage'));\n          oldPromo.set('type', promotion.get('type'));\n          oldPromo.set('promotionRedemptionRule', promotion.get('promotionRedemptionRule'));\n          oldPromo.set('productCatalogs', promotion.get('productCatalogs'));\n          oldPromo.set('quantity', promotion.get('quantity'));\n          oldPromo.set('message', promotion.get('message'));\n          oldPromo.set('amountType', promotion.get('amountType'));\n          oldPromo.set('appliesTo', promotion.get('appliesTo'));\n          oldPromo.set('paymentType', promotion.get('paymentType'));\n          oldPromo.set('receiptDisplayInline', promotion.get('receiptDisplayInline'));\n          oldPromo.set('redemptionMaxCount', promotion.get('redemptionMaxCount'));\n          oldPromo.set('groupSize', promotion.get('groupSize'));\n          oldPromo.set('redemptionExpirationDateTime', promotion.get('redemptionExpirationDateTime'));\n          oldPromo.get('cardTypes').clear();\n          oldPromo.get('cardTypes').addObjects(promotion.get('cardTypes'));\n          oldPromo.set('triggerType', promotion.get('triggerType'));\n          oldPromo.set('images', promotion.get('images'));\n          oldPromo.set('binCsv', promotion.get('binCsv'));\n          oldPromo.set('minimumSpentTotal', promotion.get('minimumSpentTotal'));\n          oldPromo.set('binCount', promotion.get('binCount'));\n          oldPromo.set('cleanBins', promotion.get('cleanBins'));\n          oldPromo.set('giftProductId', promotion.get('giftProductId'));\n          oldPromo.set('giftProductIds', promotion.get('giftProductIds'));\n          oldPromo.set('productGroupIds', promotion.get('productGroupIds'));\n          oldPromo.set('qualifyingTriggerType', promotion.get('qualifyingTriggerType'));\n          oldPromo.set('minimumQuantity', promotion.get('minimumQuantity'));\n\n          promotion.get('images').clear();\n          this.set('needRefreshPagesTable', false);\n          run.next(function () {\n            _this26.set('showPromotionModal', false);\n            _this26.set('needRefreshPagesTable', true);\n          });\n        }\n      },\n      openPromotionModal: function openPromotionModal() {\n        this.set('locationGroupCompanies', this.get('locationGroup.companiesRoles').mapBy('companyId'));\n        this.set('editing', false);\n        var promotion = this.get('store').createRecord('promotion');\n        promotion.set('status', this.get('store').peekRecord('promotionStatus', 0));\n        this.set('promotion', promotion);\n        this.set('showPromotionModal', true);\n      },\n      editPromotionModal: function editPromotionModal(promotion) {\n        this.set('locationGroupCompanies', this.get('locationGroup.companiesRoles').mapBy('companyId'));\n        this.set('editing', true);\n        var tempPromotion = this.get('store').createRecord('promotion', {\n          name: promotion.get('name'),\n          status: promotion.get('status'),\n          amount: promotion.get('amount'),\n          percentage: promotion.get('percentage'),\n          type: promotion.get('type'),\n          amountType: promotion.get('amountType'),\n          appliesTo: promotion.get('appliesTo'),\n          paymentType: promotion.get('paymentType'),\n          promotionRedemptionRule: promotion.get('promotionRedemptionRule'),\n          productCatalogs: promotion.get('productCatalogs'),\n          quantity: promotion.get('quantity'),\n          message: promotion.get('message'),\n          receiptDisplayInline: promotion.get('receiptDisplayInline'),\n          redemptionMaxCount: promotion.get('redemptionMaxCount'),\n          groupSize: promotion.get('groupSize'),\n          redemptionExpirationDateTime: promotion.get('redemptionExpirationDateTime'),\n          triggerType: promotion.get('triggerType'),\n          cardTypes: promotion.get('cardTypes'),\n          images: promotion.get('images'),\n          binCsv: promotion.get('binCsv'),\n          binCount: promotion.get('binCount'),\n          cleanBins: promotion.get('cleanBins'),\n          minimumSpentTotal: promotion.get('minimumSpentTotal'),\n          giftProductId: promotion.get('giftProductId'),\n          giftProductIds: promotion.get('giftProductIds'),\n          productGroupIds: promotion.get('productGroupIds'),\n          qualifyingTriggerType: promotion.get('qualifyingTriggerType'),\n          minimumQuantity: promotion.get('minimumQuantity')\n        });\n        this.set('promotion', tempPromotion);\n        this.set('promotionId', promotion.get('id'));\n        this.set('showPromotionModal', true);\n      },\n      cancelPromotionModal: function cancelPromotionModal() {\n        this.set('showPromotionModal', false);\n      },\n      cancelDeleteCustomFeeModal: function cancelDeleteCustomFeeModal() {\n        this.set('showDeleteCustomFeeModal', false);\n      },\n      closePromotionModal: function closePromotionModal() {\n        this.set('showPromotionModal', false);\n      },\n      disableCustomFee: function disableCustomFee(customFee) {\n        customFee.set('changed', true);\n        customFee.set('enabled', false);\n      },\n      enableCustomFee: function enableCustomFee(customFee) {\n        customFee.set('changed', true);\n        customFee.set('enabled', true);\n      },\n      openDeleteCustomFeeModal: function openDeleteCustomFeeModal(customFee) {\n        this.set('selectedCustomFee', customFee);\n        this.set('showDeleteCustomFeeModal', true);\n      },\n      deleteCustomFee: function deleteCustomFee(customFee) {\n        customFee.set('changed', true);\n        customFee.set('deleted', true);\n        this.set('showDeleteCustomFeeModal', false);\n        this.set('selectedCustomFee', null);\n        this._filterCustomFees();\n      },\n      addCustomFee: function addCustomFee(customFee) {\n        var _this27 = this;\n\n        var filteredCustomFeesByNames = this.get('filteredCustomFees').filterBy('name', customFee.get('name'));\n        if (filteredCustomFeesByNames.length > 0) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.duplicatedName'), { closeAfter: 5000 });\n        } else {\n          this.get('filteredCustomFees').addObject(customFee);\n          this.get('locationGroup.customFees').addObject(customFee);\n          this.set('locationGroup.customFees', this.get('locationGroup.customFees').sortBy('name'));\n          this.set('refreshCustomFees', false);\n          run.next(function () {\n            _this27.set('showCustomFeeModal', false);\n            _this27.set('refreshCustomFees', true);\n          });\n        }\n      },\n      editCustomFee: function editCustomFee(customFee) {\n        var _this28 = this;\n\n        var filteredCustomFeesByNames = this.get('filteredCustomFees').filterBy('name', customFee.get('name'));\n        if (filteredCustomFeesByNames.length > 0 && (filteredCustomFeesByNames.get('firstObject').get('id') !== this.get('customFeeId') || filteredCustomFeesByNames.get('firstObject').get('tempId') !== this.get('tempId'))) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.customFees.modal.errors.duplicatedName'), { closeAfter: 5000 });\n        } else {\n          var oldCustomFee = undefined;\n          // update customFee values with new ones\n          if (this.get('customFeeId') !== null) {\n            oldCustomFee = this.get('locationGroup.customFees').filterBy('id', this.get('customFeeId')).get('firstObject');\n          } else {\n            oldCustomFee = this.get('locationGroup.customFees').filterBy('tempId', this.get('tempId')).get('firstObject');\n          }\n\n          oldCustomFee.set('name', customFee.get('name'));\n          oldCustomFee.set('enabled', customFee.get('enabled'));\n          oldCustomFee.set('type', customFee.get('type'));\n          oldCustomFee.set('appliesTo', customFee.get('appliesTo'));\n          oldCustomFee.set('value', customFee.get('value'));\n          oldCustomFee.set('deleted', customFee.get('deleted'));\n          oldCustomFee.set('taxable', customFee.get('taxable'));\n          oldCustomFee.set('changed', customFee.get('changed'));\n          oldCustomFee.set('paymentType', customFee.get('paymentType'));\n          this.set('needRefreshPagesTable', false);\n          run.next(function () {\n            _this28.set('showCustomFeeModal', false);\n            _this28.set('needRefreshPagesTable', true);\n          });\n        }\n      },\n      openCustomFeeModal: function openCustomFeeModal() {\n        this.set('editing', false);\n        var customFee = this.get('store').createRecord('customFee');\n        this.set('customFee', customFee);\n        this.set('customFeeId', null);\n        this.set('tempId', null);\n        this.set('showCustomFeeModal', true);\n      },\n      editCustomFeeModal: function editCustomFeeModal(customFee) {\n        this.set('editing', true);\n        var tempCustomFee = this.get('store').createRecord('customFee', {\n          name: customFee.get('name'),\n          enabled: customFee.get('enabled'),\n          appliesTo: customFee.get('appliesTo'),\n          type: customFee.get('type'),\n          paymentType: customFee.get('paymentType'),\n          value: customFee.get('value'),\n          taxable: customFee.get('taxable'),\n          changed: true,\n          tempId: customFee.get('tempId')\n        });\n        this.set('customFee', tempCustomFee);\n        this.set('customFeeId', customFee.get('id'));\n        this.set('tempId', customFee.get('tempId'));\n        this.set('showCustomFeeModal', true);\n      },\n      cancelCustomFeeModal: function cancelCustomFeeModal() {\n        this.set('showCustomFeeModal', false);\n      },\n      closeCustomFeeModal: function closeCustomFeeModal() {\n        this.set('showCustomFeeModal', false);\n      },\n      downloadWristbandFile: function downloadWristbandFile(wristbandAttachment) {\n        var _this29 = this;\n\n        var locationGroupId = this.get('locationGroup.id');\n        var attachmentId = wristbandAttachment.get('attachmentId');\n        var filename = wristbandAttachment.get('name');\n        var endpoint = '/api/v1/locationGroups/' + locationGroupId + '/wristband_attachments/' + attachmentId;\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'GET',\n          xhrFields: {\n            responseType: 'blob'\n          }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function (result) {\n          var url = window.URL.createObjectURL(result);\n          var link = document.createElement('a');\n          link.href = url;\n          link.download = filename;\n          link.click();\n          window.URL.revokeObjectURL(url);\n        };\n        options.error = function (error) {\n          _this29.get('notify').alert(_this29.get('intl').t('locationGroups.details.errors.wristbandAttachmentFileDownloadError'), { closeAfter: 5000 });\n          console.log('Error: ' + error.responseText);\n        };\n        _ember[\"default\"].$.ajax(options);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"iAZ1heqY\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"name\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"locationGroupName\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"locationGroupName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.name.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.address.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.address.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"address\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"locationgroup type\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.locationGroupType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_typeOptions\\\"]],[\\\"get\\\",[\\\"_selectedLocationGroupType\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.locationGroupType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeLocationGroupType\\\"],null]]],70],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isEvent\\\"]]],null,69],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"a timezone (timezoneid) in a dropdown and the ability to select it from a map\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.timezone.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_timeZones\\\"]],[\\\"get\\\",[\\\"locationGroup\\\",\\\"timezone\\\"]],true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.timezone.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeTimeZone\\\"],null]]],67],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.timezone.button\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"receipt image\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.receiptLogo.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadLogo\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.receiptLogo.button\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"custom descriptor\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.descriptor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 custom-descriptor\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-toggle\\\"],null,[[\\\"value\\\",\\\"onLabel\\\",\\\"offLabel\\\",\\\"showLabels\\\",\\\"onValue\\\",\\\"offValue\\\",\\\"onToggle\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"descriptorEnabled\\\"]],\\\"Enable::true\\\",\\\"Disable::false\\\",true,true,false,[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"descriptorEnabled\\\"]]],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"descriptorEnabled\\\"]]],null,66],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.receiptText.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"id\\\",\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"receiptText\\\",\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.receiptText.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"receiptText\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"is cashless yes/no\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"isCashless\\\"]]]],65],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"isCashless\\\"]]]],64],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"dropdown with available cashless gateways\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"isCashless\\\"]]],null,63],[\\\"text\\\",\\\"        \\\"],[\\\"comment\\\",\\\"surcharge enabled yes/no\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.surcharge.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.surcharge.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"surchargeDisplayNameEnabled\\\"]]]],43],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"surchargeDisplayNameEnabled\\\"]]]],42],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"surchargeDisplayNameEnabled\\\"]]],null,41],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"round up enabled yes/no\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"roundUpDonationEnabled\\\"]]]],40],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"roundUpDonationEnabled\\\"]]]],39],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"roundUpDonationEnabled\\\"]]],null,38],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"cash discount enabled yes/no\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashDiscount.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashDiscount.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashDiscountDisplayNameEnabled\\\"]]]],34],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashDiscountDisplayNameEnabled\\\"]]]],33],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.tipsDeduction.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.tipsDeduction.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"digitalTipsDeductionsEnabled\\\"]]]],32],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"digitalTipsDeductionsEnabled\\\"]]]],31],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashDiscountDisplayNameEnabled\\\"]]],null,30],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-separation\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.userCreationFromTablet.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableUserCreationFromTablet\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"userCreationFromTabletEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-wrapper\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 70%; margin: 40px 0 0 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadLogo\\\"]],29],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"logoName\\\"]]],null,26],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,25],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshCustomFees\\\"]]],null,22],[\\\"text\\\",\\\"    \\\"],[\\\"comment\\\",\\\"add company and set their role\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"comment\\\",\\\"from each company select locations\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,19,17],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.brandingImages.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashlessScreenBrand.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadCashlessScreenBrand\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashlessScreenBrand.button\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadCashlessScreenBrand\\\"]],16],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cashlessScreenBrandName\\\"]]],null,14],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.tipScreenBrand.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadTipScreenBrand\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.tipScreenBrand.button\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadTipScreenBrand\\\"]],13],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"tipScreenBrandName\\\"]]],null,11],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.thankYouScreenBrand.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadThankYouScreenBrand\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.thankYouScreenBrand.button\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadThankYouScreenBrand\\\"]],10],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"thankYouScreenBrandName\\\"]]],null,8],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveEnabled\\\"]]],null,7,6],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\",[\\\"get\\\",[\\\"locationGroup\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/timezone-modal\\\"],null,[[\\\"showModal\\\",\\\"timezone\\\",\\\"closeAction\\\",\\\"saveTimezoneAction\\\"],[[\\\"get\\\",[\\\"showModal\\\"]],[\\\"get\\\",[\\\"locationGroup\\\",\\\"timezone\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveTimezoneAction\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPromotionModal\\\"]]],null,5],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCustomFeeModal\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showDeleteCustomFeeModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/delete-custom-fee-modal\\\"],null,[[\\\"customFee\\\",\\\"deleteCustomFee\\\",\\\"cancel\\\"],[[\\\"get\\\",[\\\"selectedCustomFee\\\"]],\\\"deleteCustomFee\\\",\\\"cancelDeleteCustomFeeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.deleteModal.title\\\"],null],\\\"cancelDeleteCustomFeeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/custom-fee-modal\\\"],null,[[\\\"customFeeId\\\",\\\"customFee\\\",\\\"addCustomFee\\\",\\\"editCustomFee\\\",\\\"cancelCustomFeeModal\\\",\\\"editing\\\",\\\"customFeeAppliesTos\\\",\\\"customFeeTypes\\\",\\\"customPaymentTypes\\\"],[[\\\"get\\\",[\\\"customFeeId\\\"]],[\\\"get\\\",[\\\"customFee\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addCustomFee\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editCustomFee\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelCustomFeeModal\\\"],null],[\\\"get\\\",[\\\"editing\\\"]],[\\\"get\\\",[\\\"_customFeeAppliesTos\\\"]],[\\\"get\\\",[\\\"_customFeeTypes\\\"]],[\\\"get\\\",[\\\"_customPaymentTypes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.modal.title\\\"],null],\\\"cancelCustomFeeModal\\\",true]],2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/promotion-modal\\\"],null,[[\\\"promotion\\\",\\\"addPromotion\\\",\\\"promotionId\\\",\\\"editPromotion\\\",\\\"cancelPromotionModal\\\",\\\"editing\\\",\\\"promotionAmountTypes\\\",\\\"promotionPaymentTypes\\\",\\\"promotionAppliesTos\\\",\\\"promotionTypes\\\",\\\"promotionRedemptionRules\\\",\\\"promotionStatuses\\\",\\\"_companies\\\",\\\"promotionTriggerTypes\\\",\\\"creditCards\\\"],[[\\\"get\\\",[\\\"promotion\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addPromotion\\\"],null],[\\\"get\\\",[\\\"promotionId\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editPromotion\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelPromotionModal\\\"],null],[\\\"get\\\",[\\\"editing\\\"]],[\\\"get\\\",[\\\"_promotionAmountTypes\\\"]],[\\\"get\\\",[\\\"_promotionPaymentTypes\\\"]],[\\\"get\\\",[\\\"_promotionAppliesTos\\\"]],[\\\"get\\\",[\\\"_promotionTypes\\\"]],[\\\"get\\\",[\\\"_promotionRedemptionRules\\\"]],[\\\"get\\\",[\\\"_promotionStatuses\\\"]],[\\\"get\\\",[\\\"locationGroupCompanies\\\"]],[\\\"get\\\",[\\\"_promotionTriggerTypes\\\"]],[\\\"get\\\",[\\\"_creditCards\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.title\\\"],null],\\\"closePromotionModal\\\",true]],4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\",[\\\"get\\\",[\\\"locationGroup\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\",[\\\"get\\\",[\\\"locationGroup\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"thankYouScreenBrandName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeLogo\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeThankYouScreenBrand\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"thankYouScreenBrandPreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"thankYouScreenBrandName\\\"]]],null,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"tipScreenBrandName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeLogo\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeTipScreenBrand\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"tipScreenBrandPreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"tipScreenBrandName\\\"]]],null,12]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"cashlessScreenBrandName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeLogo\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeCashlessScreenBrand\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"cashlessScreenBrandPreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cashlessScreenBrandName\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:50px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw inline-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/company-role\\\"],null,[[\\\"companyRole\\\",\\\"companies\\\",\\\"locationTypes\\\",\\\"reportsToCompanies\\\",\\\"roles\\\",\\\"remove\\\",\\\"companyRoles\\\"],[[\\\"get\\\",[\\\"companyRole\\\"]],[\\\"get\\\",[\\\"companies\\\"]],[\\\"get\\\",[\\\"_locationTypes\\\"]],[\\\"get\\\",[\\\"reportsToCompanies\\\"]],[\\\"get\\\",[\\\"roles\\\"]],\\\"removeItem\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"companiesRoles\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"companyRole\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"companyBlock\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"companiesRoles\\\"]]],null,18],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addCompany\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.companies.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:50px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw inline-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"companyBlock\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useFilteringByColumns\\\",\\\"showComponentFooter\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"enableCustomFee\\\",\\\"disableCustomFee\\\",\\\"editCustomFeeModal\\\",\\\"openDeleteCustomFeeModal\\\"],[[\\\"get\\\",[\\\"filteredCustomFees\\\"]],[\\\"get\\\",[\\\"_customFeeColumns\\\"]],false,false,false,false,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"enableCustomFee\\\",\\\"disableCustomFee\\\",\\\"editCustomFeeModal\\\",\\\"openDeleteCustomFeeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openCustomFeeModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.disclaimer\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,21,20],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:50px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw inline-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"companyBlock\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useFilteringByColumns\\\",\\\"showComponentFooter\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"inactivatePromotion\\\",\\\"activatePromotion\\\",\\\"editPromotionModal\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"promotions\\\"]],[\\\"get\\\",[\\\"_promotionColumns\\\"]],false,false,false,false,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"inactivatePromotion\\\",\\\"activatePromotion\\\",\\\"editPromotionModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openPromotionModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,24,23],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeLogo\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeLogo\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"camera-icon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-camera-retro\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"logoPreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"logoName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"logoName\\\"]]],null,28,27]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashDiscount.cashDiscountDisplayName\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashDiscount.cashDiscountDisplayName\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashDiscountDisplayName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"banner-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"roundUpDonationBannerName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.roundUpBanner.removeImage\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeRoundUpDonationBanner\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"banner-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"roundUpDonationBannerPreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"roundUpDonationBannerName\\\"]]],null,36]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.displayName\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.displayNamePlaceholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"roundUpDonationDisplayName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.roundUpBanner.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"image-upload-container col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"upload-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadRoundUpBanner\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.roundUpBanner.uploadImage\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n                   \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"button-desc-note\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.roundUpBanner.recommendedSize\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"roundup-banner-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"\\\"]],37],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"roundUpDonationBannerName\\\"]]],null,35],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.roundUp.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.surcharge.surchargeDisplayName\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.surcharge.surchargeDisplayName\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"surchargeDisplayName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"downloadWristbandFile\\\",[\\\"get\\\",[\\\"file\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"file\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"file\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 10px;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.wristband.imported\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"importedWristband\\\"]]],null,44],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right: 10px;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"file\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.wristband.removeFile\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeWristbandFile\\\",[\\\"get\\\",[\\\"file\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"file\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-10 col-md-10 col-lg-10\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"wristbandAttachments\\\"]]],null,46],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\",\\\"multiple\\\"],[\\\"uploadButton\\\",\\\"uploadWristbandFiles\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.wristband.button\\\"],null],true]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: flex; align-items: center; gap: 10px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-size: 20px;\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"wristband uploading\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"cashlessBackgroundImageName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.backgroundImage.remove\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeCashlessBackgroundImage\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"cashless-background-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"cashlessBackgroundImagePreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cashlessBackgroundImageName\\\"]]],null,51]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"branding-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"cashlessLogoName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.cashlessLogo.remove\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeCashlessLogo\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"cashless-logo-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"cashlessLogoPreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cashlessLogoName\\\"]]],null,54]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.creditCardIsRequired.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.creditCardIsRequired.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.eventUrl.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row no-gutters col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-auto\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: inline-block; padding: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"https://\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-auto\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: inline-block; padding: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.eventUrl.placeholder\\\"],null],\\\"true\\\",[\\\"get\\\",[\\\"cashlessSubDomain\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-auto\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: inline-block; padding: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"cashlessDomain\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.humanReadableCodeLength.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.humanReadableCodeLength.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"humanReadableCodeLength\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.introHeader.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"textarea\\\"],null,[[\\\"rows\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[2,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.introHeader.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"introHeader\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.introBody.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"textarea\\\"],null,[[\\\"rows\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[5,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.introBody.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"introBody\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.introFooter.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"textarea\\\"],null,[[\\\"rows\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[4,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.introFooter.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"introFooter\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.thankYou.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"textarea\\\"],null,[[\\\"rows\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[4,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.thankYou.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"thankYouText\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.startButtonTitle.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.startButtonTitle.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"startButtonTitle\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"comment\\\",\\\"is credit card required yes/no\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.creditCardIsRequired.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"creditCardRequired\\\"]]]],57],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"creditCardRequired\\\"]]]],56],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.cashlessLogo.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"image-upload-container col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"upload-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadCashlessLogo\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.cashlessLogo.button\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"button-desc-note\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.cashlessLogo.recommendedSize\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadCashlessLogo\\\"]],55],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cashlessLogoName\\\"]]],null,53],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.backgroundImage.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"image-upload-container col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"upload-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"action\\\",\\\"alt\\\"],[\\\"uploadButton\\\",\\\"uploadCashlessBackgroundImage\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.backgroundImage.button\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"button-desc-note\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.backgroundImage.recommendedSize\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadcashlessBackgroundImage\\\"]],52],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cashlessBackgroundImageName\\\"]]],null,50],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height branding-row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.wristband.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"uploading\\\"]]],null,49,48],[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"download-template\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"button-desc-note\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Template: \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"/wristband-template.xlsx\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"wristband-template.xlsx\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasWristbandAttachments\\\"]]],null,47],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasImportedWristbandAttachments\\\"]]],null,45]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.registrationSite.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.registrationSite.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.v4EventId.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"v4EventId\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"v4EventId\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gateway\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gateway\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.gateways.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_gateways\\\"]],[\\\"get\\\",[\\\"selectedGateway\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.gateways.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedGateway\\\"],null]]],62],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isV4Processor\\\"]]],null,61],[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.reverseUIDEnabled.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"reverseUIDEnable\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"reverseUIDEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.enableQRCode.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableQRCode\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"enableQRCode\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.enablePromoEmails.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enablePromoEmails\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"promoEmailsEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\"is registration site enabled yes/no\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.registrationSite.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.registrationSite.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"registrationSiteEnabled\\\"]]]],60],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"registrationSiteEnabled\\\"]]]],59],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"locationGroup\\\",\\\"cashlessInformation\\\",\\\"registrationSiteEnabled\\\"]]],null,58]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.no\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.cashless.options.yes\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"maxlength\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",25,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.descriptor.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"locationGroup\\\",\\\"dynamicDescriptor\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"zone\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"zone\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.endDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"forceDateOutput\\\",\\\"minDate\\\",\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"startDate\\\"]],[\\\"get\\\",[\\\"locationGroup\\\",\\\"endDate\\\"]],\\\"MM/DD/YYYY\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeEndDate\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"comment\\\",\\\"start date and end date\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.startDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"forceDateOutput\\\",\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[true,[\\\"get\\\",[\\\"locationGroup\\\",\\\"startDate\\\"]],\\\"MM/DD/YYYY\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeStartDate\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showEndDate\\\"]]],null,68]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/details/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/location-group/list/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/table-component', 'fcs-dashboard/mixins/location-group-mixin'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsLocationGroupMixin) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var run = _ember['default'].run;\n  var get = _ember['default'].get;\n  var extend = _ember['default'].$.extend;\n  var A = _ember['default'].A;\n  var service = _ember['default'].inject.service;\n  var Logger = _ember['default'].Logger;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsTableComponent['default'], _fcsDashboardMixinsLocationGroupMixin['default'], {\n    session: service(),\n    tagName: '',\n    metaItemsCountProperty: 'total',\n    _locationGroups: [],\n    showPushTagSyncModal: false,\n    selectedLocationGroupId: null,\n    pushTablets: A(),\n    _columns: computed(function () {\n      var cashlessAvailable = this.get('cashlessAvailable');\n      return [{\n        title: '',\n        template: \"locationGroup/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"locationGroup/actions/push-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('locationGroups.list.name')\n      }, {\n        propertyName: 'translatedIsCashless',\n        title: this.get('intl').t('locationGroups.list.cashless.header'),\n        className: 'centerContent menusRow',\n        filteredBy: 'translatedIsCashless',\n        filterWithSelect: true,\n        predefinedFilterOptions: cashlessAvailable\n      }, {\n        propertyName: 'timezone',\n        filteredBy: 'timezone',\n        title: this.get('intl').t('locationGroups.list.timezone'),\n        className: 'centerContent menusRow'\n      }, {\n        title: '',\n        template: \"locationGroup/actions/status-action\",\n        className: 'editRow'\n      }];\n    }),\n    _typeOptions: computed(function () {\n      return this.get('store').findAll('locationGroupType');\n    }),\n    _selectedType: undefined,\n    _selectedStatus: { label: 'locationGroups.list.status.active', value: true },\n    _statusOptions: computed(function () {\n      return [{ label: 'locationGroups.list.status.active', value: true }, { label: 'locationGroups.list.status.inactive', value: false }];\n    }),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      //initialize locationGroups\n      if (this.get('locationGroups').then === undefined) {\n        // no promise, lets load the data\n        this.set('_locationGroups', this.get('locationGroups'));\n        this.set('_filteredLocationGroups', this.get('_locationGroups').filterBy('isActive', true));\n      } else {\n        // if a promise set the content when it resolves\n        this.get('locationGroups').then(function (content) {\n          run(function () {\n            _this.set('_locationGroups', content);\n            _this.set('_filteredLocationGroups', _this.get('_locationGroups').filterBy('isActive', true));\n          });\n        });\n      }\n\n      //initialize locationGroupTypes\n      if (this.get('_typeOptions').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('_typeOptions').then(function (content) {\n          run(function () {\n            _this.set('_typeOptions', content);\n          });\n        });\n      }\n\n      //set selectedStatus as active by default\n      this.set('_selectedStatus', this.get('_statusOptions').objectAt(0));\n    },\n    actions: {\n      changeStatus: function changeStatus(item) {\n        this.sendAction('changeItemStatus', item, !item.get('isActive'));\n      },\n      changeSelectedStatus: function changeSelectedStatus(item) {\n        this.set('_selectedStatus', item);\n        this.send('updateLocationGroups');\n      },\n      changeSelectedType: function changeSelectedType(item) {\n        this.set('_selectedType', item);\n        this.send('updateLocationGroups');\n      },\n      updateLocationGroups: function updateLocationGroups() {\n        var data = this.get('locationGroups');\n        var queryParams = get(data, 'query');\n        if (this.get('_selectedStatus') !== null && this.get('_selectedStatus') !== undefined) {\n          queryParams = extend(queryParams, { isActive: this.get('_selectedStatus.value') });\n        } else {\n          delete queryParams.isActive;\n        }\n        if (this.get('_selectedType') !== null && this.get('_selectedType') !== undefined) {\n          var selectedType = this.get('_selectedType.id') === '0' ? 'EVENT' : 'VENUE';\n          queryParams = extend(queryParams, { selectedType: selectedType });\n        } else {\n          delete queryParams.selectedType;\n        }\n\n        data.set('query', queryParams);\n        jQuery('#j-table-filter-button').trigger('click');\n      },\n      openPushTagSyncModal: function openPushTagSyncModal(record) {\n        var _this2 = this;\n\n        var endpoint = '/api/v1/locationGroups/' + record.id + '/tablets';\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'GET'\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function (tablets) {\n          Logger.debug('Location Group List - API response:', tablets);\n          Logger.debug('Location Group List - tablets.tablets:', tablets.tablets);\n          _this2.set('pushTablets', tablets.tablets);\n          _this2.set('selectedLocationGroupId', record.id);\n          _this2.set('showPushTagSyncModal', true);\n        };\n        options.error = function () {\n          var errorMessage = undefined;\n          errorMessage = _this2.get('notify').alert(_this2.get('intl').t('locationGroups.list.errors.loadTabletsError'), { closeAfter: 5000 });\n          _this2.get('errorMessages').addObject(errorMessage);\n        };\n        _ember['default'].$.ajax(options);\n      },\n      closePushTagSyncModal: function closePushTagSyncModal() {\n        this.set('showPushTagSyncModal', false);\n        this.set('selectedLocationGroupId', null);\n      },\n      pushTagSync: function pushTagSync(locationGroupId, tablets) {\n        this.set('showPushTagSyncModal', false);\n        this.sendAction('pushTagSync', locationGroupId, tablets);\n        this.set('selectedLocationGroupId', null);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/components/location-group/list/push-tag-sync-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    tablets: [],\n    selectedTablets: [],\n    _internalSelectedTablets: [],\n    _sortCriteria: ['assetId'],\n    _sortedTablets: computed.sort('tablets', '_sortCriteria'),\n    _showTabletsContent: true,\n    disableOk: computed('selectedTablets.[]', function () {\n      return !this.get('selectedTablets') || this.get('selectedTablets.length') === 0;\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.get('selectedTablets').clear();\n      this.get('selectedTablets').addObjects(this.get('tablets'));\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('tablets').clear();\n      this.get('selectedTablets').clear();\n    },\n    actions: {\n      closePushTagSyncModal: function closePushTagSyncModal() {\n        this.sendAction('closePushTagSyncModal');\n      },\n      pushTagSync: function pushTagSync() {\n        var tablets = [];\n        this.get('selectedTablets').forEach(function (tablet) {\n          tablets.addObject(parseInt(tablet.id));\n        });\n        this.sendAction('pushTagSync', this.get('locationGroupId'), tablets);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/list/push-tag-sync-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"y4/jwkPP\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.table.pushTagSyncModal.title\\\"],null],\\\"closePushTagSyncModal\\\",true,\\\"center\\\"]],2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"list-picker\\\"],null,[[\\\"content\\\",\\\"selection\\\",\\\"multiple\\\",\\\"optionGroupPath\\\",\\\"optionLabelPath\\\",\\\"optionValuePath\\\"],[[\\\"get\\\",[\\\"tablets\\\"]],[\\\"get\\\",[\\\"selectedTablets\\\"]],true,\\\"content.assetId\\\",\\\"content.assetId\\\",\\\"content.id\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row tabletsContainer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showTabletsContent\\\"]]],null,1,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableOk\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"pushTagSync\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.table.pushTagSyncModal.buttons.pushTagSync\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closePushTagSyncModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.table.pushTagSyncModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/list/push-tag-sync-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"1bmsXELU\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: 35px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.locationGroupStatus.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"allowClear\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_statusOptions\\\"]],[\\\"get\\\",[\\\"_selectedStatus\\\"]],true,false,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.locationGroupStatus.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedStatus\\\"],null]]],3],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.locationGroupType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"allowClear\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_typeOptions\\\"]],[\\\"get\\\",[\\\"_selectedType\\\"]],true,false,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.locationGroupType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedType\\\"],null]]],2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"locationGroup.new\\\"],[[\\\"class\\\"],[\\\"btn btn-success\\\"]],1],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"changeStatus\\\",\\\"openPushTagSyncModal\\\"],[[\\\"get\\\",[\\\"_locationGroups\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",\\\"changeStatus\\\",\\\"openPushTagSyncModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPushTagSyncModal\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/list/push-tag-sync-modal\\\"],null,[[\\\"tablets\\\",\\\"locationGroupId\\\",\\\"closePushTagSyncModal\\\",\\\"pushTagSync\\\"],[[\\\"get\\\",[\\\"pushTablets\\\"]],[\\\"get\\\",[\\\"selectedLocationGroupId\\\"]],\\\"closePushTagSyncModal\\\",\\\"pushTagSync\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.buttons.new\\\"],null],false]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"status\\\",\\\"label\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"status\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Component = _ember[\"default\"].Component;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var run = _ember[\"default\"].run;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    gettingBinList: false,\n    showBins: false,\n    binList: '',\n    _companies: [],\n    products: [],\n    _imagePlacements: [],\n    creditCardTypeEnabled: true,\n    csvFile: null,\n    sortedPromotionTriggers: [],\n    selectedImagePlacements: [],\n    disabled: false,\n    displayItemTokenPromotionProducts: false,\n    displaySelectedPromotionProducts: false,\n    showGiftProductModal: false,\n    filteredPromotionRedemptionRules: [],\n    selectedPaymentTypes: [],\n    selectedCardTypes: [],\n    showConfirmNoCardTypeModal: false,\n    pendingPromotionAction: null,\n    promotionRedemptionRulesToDisplay: computed('promotion.type.id', 'promotionRedemptionRules', function () {\n      if (this.get('promotion.type.id') === '0' || this.get('promotion.type.id') === 0) {\n        return this.get('promotionRedemptionRules').filter(function (rule) {\n          return rule.get('id') !== '2' && rule.get('id') !== 2;\n        });\n      } else if (this.get('promotion.type.id') === '3' || this.get('promotion.type.id') === 3) {\n        return this.get('promotionRedemptionRules').filter(function (rule) {\n          return rule.get('id') === 1 || rule.get('id') === '1';\n        });\n      } else if (this.get('promotion.type.id') === '4' || this.get('promotion.type.id') === 4) {\n        return this.get('promotionRedemptionRules').filter(function (rule) {\n          return rule.get('id') === 1 || rule.get('id') === '1';\n        });\n      } else {\n        // https://festivalcontrol.atlassian.net/browse/BRP-3212: remove Order Total rule option\n        return this.get('promotionRedemptionRules').filter(function (rule) {\n          return rule.get('id') !== '0' && rule.get('id') !== 0;\n        });\n      }\n    }),\n    filteredPromotionPaymentTypes: computed('promotion.type.id', 'promotionPaymentTypes', function () {\n      if (this.get('promotion.type.id') === '0' || this.get('promotion.type.id') === 0) {\n        return this.get('promotionPaymentTypes').filter(function (paymentType) {\n          return paymentType.get('id') === 0 || paymentType.get('id') === '0' || paymentType.get('id') === 1 || paymentType.get('id') === '1';\n        });\n      } else if (this.get('promotion.type.id') === '3' || this.get('promotion.type.id') === 3) {\n        return this.get('promotionPaymentTypes');\n      } else if (this.get('promotion.type.id') === '4' || this.get('promotion.type.id') === 4) {\n        return this.get('promotionPaymentTypes');\n      } else {\n        return this.get('promotionPaymentTypes');\n      }\n    }),\n    /**\n     * Looks up the display name for the primary gift product. When giftProductIds is non-empty,\n     * the first entry wins; otherwise falls back to the legacy giftProductId field.\n     * Returns null when neither source resolves to a known product.\n     */\n    giftProductName: computed('promotion.giftProductId', 'promotion.giftProductIds.[]', 'products', function () {\n      var ids = this.get('promotion.giftProductIds') || [];\n      var id = ids.length > 0 ? ids[0] : this.get('promotion.giftProductId');\n      if (!id) {\n        return null;\n      }\n      var product = (this.get('products') || []).find(function (p) {\n        return String(p.id) === String(id);\n      });\n      return product ? product.name : null;\n    }),\n    /**\n     * Returns an array of {id, name} objects for every configured gift product, preserving\n     * the configured order. Drives the chip list rendered in the GIFT PRODUCT section of\n     * the GWP promotion editor.\n     */\n    giftProductNames: computed('promotion.giftProductIds.[]', 'products', function () {\n      var ids = this.get('promotion.giftProductIds') || [];\n      var products = this.get('products') || [];\n      return ids.map(function (id) {\n        var p = products.find(function (p) {\n          return String(p.id) === String(id);\n        });\n        return { id: id, name: p ? p.name : String(id) };\n      });\n    }),\n    columns: computed(function () {\n      return [{\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product')\n      }, {\n        propertyName: 'companyName',\n        title: this.get('intl').t('productCatalog.list.company')\n      }, {\n        propertyName: 'productType.name',\n        title: this.get('intl').t('productCatalog.list.productType')\n      }];\n    }),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      if (this.get('promotion.binCount') !== null && this.get('promotion.binCount') !== undefined && this.get('promotion.binCount') > 0) {\n        this.set('creditCardTypeEnabled', false);\n      }\n\n      if (this.get('promotion.images') !== null && this.get('promotion.images') !== undefined && this.get('promotion.images.length') > 0) {\n        (function () {\n          var promotionImages = A();\n          _this.get('promotion.images').forEach(function (image) {\n            // eslint-disable-next-line eqeqeq\n            if (!promotionImages.includes(image) && !image.get('deleted') && (image.get('imagePlacement.id') == 1 || image.get('imagePlacement.id') == 2 || image.get('imagePlacement.id') == 3 || image.get('imagePlacement.id') == 0)) {\n              promotionImages.addObject(image);\n            }\n          });\n\n          _this.get('promotion.images').clear();\n          _this.get('promotion.images').addObjects(promotionImages);\n          console.log(promotionImages);\n        })();\n      }\n      var _typeId = this.get('promotion.type.id');\n      var _ruleId = this.get('promotion.promotionRedemptionRule.id');\n      // BRP-3969: Item Token (type '1') with redemption rule \"Applied to specific\n      // product(s)\" (rule '1') must load the catalog so the Selected Products\n      // table can render and the Select Products modal has options. This case\n      // was originally fixed in BRP-3711 and inadvertently dropped during the\n      // BRP-3931 condition refactor; keep type '1' in the inner alternation\n      // alongside types '0' and '3'.\n      if (_typeId === '4' || _typeId === 4 || (_ruleId === 1 || _ruleId === '1') && (_typeId === '0' || _typeId === 0 || _typeId === '1' || _typeId === 1 || _typeId === '3' || _typeId === 3)) {\n        (function () {\n          var endpoint = \"/api/v1/productCatalogs/companies\";\n          var _authToken = _this.get('session.data.authenticated.access_token');\n          var options = {\n            url: endpoint,\n            type: 'GET',\n            data: { companies: _this.get('_companies') }\n          };\n          options.beforeSend = function (xhr) {\n            xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n          };\n          options.success = function (products) {\n            _this.set('products', products.productCatalogs);\n            _this.addSelectedProductCatalogsToTable();\n          };\n          options.error = function () {\n            var errorMessage = undefined;\n            // Catch error and return proper error message\n            errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          };\n          _ember[\"default\"].$.ajax(options);\n        })();\n      }\n      if (this.get('editing') || this.get('promotion.status') !== null && this.get('promotion.status') !== undefined && this.get('promotion.status.id') !== '0') {\n        this.set('disabled', true);\n      }\n      //initialize promotionTypes\n      if (this.get('promotionTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('promotionTypes').then(function (content) {\n          run(function () {\n            _this.set('promotionTypes', content);\n          });\n        });\n      }\n      //initialize promotionAmountTypes\n      if (this.get('promotionAmountTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('promotionAmountTypes').then(function (content) {\n          run(function () {\n            _this.set('promotionAmountTypes', content);\n          });\n        });\n      }\n\n      //initialize promotionPaymentTypes\n      if (this.get('promotionPaymentTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('promotionPaymentTypes').then(function (content) {\n          run(function () {\n            _this.set('promotionPaymentTypes', content);\n            _this.initSelectedPromotionPaymentType();\n          });\n        });\n      } else {\n        this.initSelectedPromotionPaymentType();\n      }\n\n      //initialize promotionAppliesTos\n      if (this.get('promotionAppliesTos').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('promotionAppliesTos').then(function (content) {\n          run(function () {\n            _this.set('promotionAppliesTos', content);\n          });\n        });\n      }\n\n      //initialize promotionTriggerTypes\n      if (this.get('promotionTriggerTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('promotionTriggerTypes').then(function (content) {\n          run(function () {\n            _this.set('promotionTriggerTypes', content);\n          });\n        });\n      }\n      //initialize creditCards\n      if (this.get('creditCards').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('creditCards').then(function (content) {\n          run(function () {\n            var removeCreditCardType = content.findBy('id', '4');\n            content.removeObject(removeCreditCardType);\n            _this.set('creditCards', content);\n            _this.initSelectedCardTypes();\n          });\n        });\n      } else {\n        var removeCreditCardType = this.get('creditCards').findBy('id', '4');\n        this.get('creditCards').removeObject(removeCreditCardType);\n        this.initSelectedCardTypes();\n      }\n\n      this.get('filteredPromotionRedemptionRules').clear();\n      var filteredPromotionRedemptionRules = [];\n      //initialize promotionRedemptionRules\n      if (this.get('promotionRedemptionRules').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('promotionRedemptionRules').then(function (content) {\n          run(function () {\n            _this.set('promotionRedemptionRules', content);\n            filteredPromotionRedemptionRules.addObjects(content.filterBy('id', '1'));\n            filteredPromotionRedemptionRules.addObjects(content.filterBy('id', '2'));\n            _this.get('filteredPromotionRedemptionRules').addObjects(filteredPromotionRedemptionRules);\n          });\n        });\n      } else {\n        filteredPromotionRedemptionRules.addObjects(this.get('promotionRedemptionRules').filterBy('id', '1'));\n        filteredPromotionRedemptionRules.addObjects(this.get('promotionRedemptionRules').filterBy('id', '2'));\n        this.get('filteredPromotionRedemptionRules').addObjects(filteredPromotionRedemptionRules);\n      }\n\n      this.getPromotionImagePlacements();\n      if (this.get('promotion.type') !== null && this.get('promotion.type') !== undefined) {\n        this.setPromotionTriggers(this.get('promotion.type'), this.get('promotion.amountType'));\n      }\n\n      this.initSelectedPromotionPaymentRedemptionRule();\n\n      if (this.get('promotion.type.id') === '3' || this.get('promotion.type.id') === 3) {\n        if (!this.get('promotion.groupSize')) {\n          this.set('promotion.groupSize', 1);\n        }\n        if (!this.get('promotion.amountType')) {\n          this.set('promotion.amountType', this.get('promotionAmountTypes').findBy('id', '0'));\n        }\n      }\n    },\n\n    initSelectedPromotionPaymentRedemptionRule: function initSelectedPromotionPaymentRedemptionRule() {\n      // https://festivalcontrol.atlassian.net/browse/BRP-3212: remove Order Total rule option\n      if (this.get('promotion.type.id') === '1' || this.get('promotion.type.id') === 1) {\n        if (this.get('promotion.promotionRedemptionRule.id') === '0' || this.get('promotion.promotionRedemptionRule.id') === 0) {\n          this.set('promotion.promotionRedemptionRule', this.get('promotionRedemptionRules').findBy('id', '2'));\n        }\n      }\n      if (this.get('promotion.type.id') === '3' || this.get('promotion.type.id') === 3) {\n        this.set('promotion.triggerType', this.get('promotionTriggerTypes').findBy('id', '2'));\n      }\n      if (this.get('promotion.type.id') === '4' || this.get('promotion.type.id') === 4) {\n        this.set('promotion.triggerType', this.get('promotionTriggerTypes').findBy('id', '2'));\n      }\n    },\n\n    initSelectedPromotionPaymentType: function initSelectedPromotionPaymentType() {\n      var _this2 = this;\n\n      if (this.get('promotion.paymentType')) {\n        (function () {\n          var paymentTypes = _this2.get('promotion.paymentType');\n          var paymentTypesArr = paymentTypes.split(',');\n          var filteredPromotionPaymentTypes = _this2.get('filteredPromotionPaymentTypes');\n          var selectedPromotionPaymentTypes = filteredPromotionPaymentTypes.filter(function (item) {\n            return paymentTypesArr.includes(item.get('id'));\n          });\n          _this2.set('selectedPaymentTypes', selectedPromotionPaymentTypes);\n        })();\n      }\n    },\n\n    initSelectedCardTypes: function initSelectedCardTypes() {\n      var _this3 = this;\n\n      var cardTypes = this.get('promotion.cardTypes');\n\n      if (cardTypes) {\n        if (cardTypes.then !== undefined) {\n          // if a promise, set the content when it resolves\n          cardTypes.then(function (content) {\n            run(function () {\n              if (content && content.get('length') > 0) {\n                (function () {\n                  var cardTypeIds = content.mapBy('id').map(function (id) {\n                    return String(id);\n                  });\n                  var creditCards = _this3.get('creditCards');\n                  var selectedCreditCards = creditCards.filter(function (item) {\n                    return cardTypeIds.includes(String(item.get('id')));\n                  });\n                  run.scheduleOnce('afterRender', _this3, function () {\n                    this.set('selectedCardTypes', selectedCreditCards);\n                  });\n                })();\n              }\n            });\n          });\n        } else {\n          // if already resolved\n          if (cardTypes.get && cardTypes.get('length') > 0) {\n            (function () {\n              var cardTypeIds = cardTypes.mapBy('id').map(function (id) {\n                return String(id);\n              });\n              var creditCards = _this3.get('creditCards');\n              var selectedCreditCards = creditCards.filter(function (item) {\n                return cardTypeIds.includes(String(item.get('id')));\n              });\n              run.scheduleOnce('afterRender', _this3, function () {\n                this.set('selectedCardTypes', selectedCreditCards);\n              });\n            })();\n          }\n        }\n      }\n    },\n    getPromotionImagePlacements: function getPromotionImagePlacements() {\n      var _this4 = this;\n\n      var promotionImagePlacements = this.get('store').findAll('promotionImagePlacement');\n      this.get('_imagePlacements').clear();\n      var filteredPromotionImagePlacement = [];\n      if (promotionImagePlacements.then !== undefined) {\n        promotionImagePlacements.then(function (content) {\n          run.later(function () {\n            filteredPromotionImagePlacement.addObjects(content.filterBy('id', '0'));\n            filteredPromotionImagePlacement.addObjects(content.filterBy('id', '1'));\n            filteredPromotionImagePlacement.addObjects(content.filterBy('id', '2'));\n            filteredPromotionImagePlacement.addObjects(content.filterBy('id', '3'));\n            _this4.get('_imagePlacements').addObjects(filteredPromotionImagePlacement);\n          }, 1000);\n        });\n      } else {\n        filteredPromotionImagePlacement.addObjects(promotionImagePlacements.filterBy('id', '0'));\n        filteredPromotionImagePlacement.addObjects(promotionImagePlacements.filterBy('id', '1'));\n        filteredPromotionImagePlacement.addObjects(promotionImagePlacements.filterBy('id', '2'));\n        filteredPromotionImagePlacement.addObjects(promotionImagePlacements.filterBy('id', '3'));\n        this.get('_imagePlacements').addObjects(filteredPromotionImagePlacement);\n      }\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.set('promotion', null);\n    },\n    addSelectedProductCatalogsToTable: function addSelectedProductCatalogsToTable() {\n      var _this5 = this;\n\n      this.set('displaySelectedPromotionProducts', false);\n      var catalog = A();\n      this.get('promotion.productCatalogs').forEach(function (product) {\n        var productCatalog = _this5.get('products').filterBy('id', product);\n        catalog.addObjects(productCatalog);\n      });\n      this.set('selectedPromotionProducts', catalog);\n      this.set('displaySelectedPromotionProducts', true);\n    },\n    setPromotionTriggers: function setPromotionTriggers(promotionType, amountType) {\n      this.get('sortedPromotionTriggers').clear();\n      var typeId = _ember[\"default\"].get(promotionType, 'id');\n      var amountTypeId = amountType ? _ember[\"default\"].get(amountType, 'id') : null;\n      if (typeId === 0 || typeId === '0') {\n        if (amountTypeId === '1') {\n          this.set('promotion.triggerType', this.get('promotionTriggerTypes').findBy('id', '2'));\n          this.get('sortedPromotionTriggers').addObjects(this.get('promotionTriggerTypes').filter(function (trigger) {\n            if (trigger.id === '2') {\n              return trigger;\n            }\n          }));\n        } else {\n          this.get('sortedPromotionTriggers').addObjects(this.get('promotionTriggerTypes'));\n        }\n      } else if (typeId === 3 || typeId === '3' || typeId === 4 || typeId === '4') {\n        this.set('promotion.triggerType', this.get('promotionTriggerTypes').findBy('id', '2'));\n        this.get('sortedPromotionTriggers').addObjects(this.get('promotionTriggerTypes').filter(function (trigger) {\n          if (trigger.id === '2') {\n            return trigger;\n          }\n        }));\n      } else {\n        this.set('promotion.minimumSpentTotal', 0);\n        this.get('sortedPromotionTriggers').addObjects(this.get('promotionTriggerTypes').filter(function (trigger) {\n          if (trigger.id !== '2') {\n            return trigger;\n          }\n        }));\n      }\n    },\n    shouldShowNoCardTypeWarning: function shouldShowNoCardTypeWarning() {\n      var promotionTypeId = this.get('promotion.type.id');\n      var triggerTypeId = this.get('promotion.triggerType.id');\n      var creditCardTypeEnabled = this.get('creditCardTypeEnabled');\n      var selectedCardTypes = this.get('selectedCardTypes');\n\n      // Check if promotion type is not '3'\n      var isNotGroupDiscount = promotionTypeId !== '3' && promotionTypeId !== 3;\n\n      // Check if trigger type is 'On registration' (1) or 'On usage' (2)\n      var isValidTriggerType = triggerTypeId === '1' || triggerTypeId === 1 || triggerTypeId === '2' || triggerTypeId === 2;\n\n      // Check if card type is enabled and no card types are selected\n      var noCardTypeSelected = creditCardTypeEnabled && (!selectedCardTypes || selectedCardTypes.length === 0);\n\n      return isNotGroupDiscount && isValidTriggerType && noCardTypeSelected;\n    },\n    actions: {\n      addPromotion: function addPromotion(promotion) {\n        var _this6 = this;\n\n        var isValid = true;\n        if (isEmpty(promotion.get('name'))) {\n          isValid = false;\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.emptyName'), { closeAfter: 5000 });\n        }\n\n        console.log('promotion.type.id', this.get('promotion.type.id'));\n\n        // Check if trigger type is selected for non-group discount promotions\n        if (this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3 && this.get('promotion.type.id') !== '4' && this.get('promotion.type.id') !== 4) {\n          if (!this.get('promotion.triggerType') || this.get('promotion.triggerType.id') === null || this.get('promotion.triggerType.id') === undefined) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.triggerTypeRequired'), { closeAfter: 5000 });\n          }\n        }\n\n        if (this.get('promotion.type.id') === '3' || this.get('promotion.type.id') === 3) {\n          if (!promotion.get('groupSize') || promotion.get('groupSize') <= 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.groupSize'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.triggerType.id') !== '2' && this.get('promotion.triggerType.id') !== 2) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.onUsageTrigger'), { closeAfter: 5000 });\n          }\n          if (!this.get('promotion.amountType') || this.get('promotion.amountType.id') === null || this.get('promotion.amountType.id') === undefined) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.amountType'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.amountType.id') === '0' && (this.get('promotion.amount') === null || this.get('promotion.amount') === undefined || this.get('promotion.amount') === undefined || this.get('promotion.amount') < 0)) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validAmount'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.amountType.id') === '1' && (this.get('promotion.percentage') <= 0 || this.get('promotion.percentage') > 100)) {\n            isValid = false;\n            console.log('promotion.percentage', this.get('promotion.percentage'));\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validPercentage'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.promotionRedemptionRule.id') === '1' && this.get('promotion.productCatalogs').length === 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validProductCatalogs'), { closeAfter: 5000 });\n          }\n        }\n\n        if (this.get('promotion.images') !== null && this.get('promotion.images') !== undefined && this.get('promotion.images.length') > 0) {\n          this.get('promotion.images').forEach(function (image) {\n            if (!image.get('deleted') && (image.get('imagePlacement.id') === null || image.get('imagePlacement.id') === undefined)) {\n              isValid = false;\n              _this6.get('notify').alert(_this6.get('intl').t('locationGroups.details.promotions.modal.errors.nullImagePlacement'), { closeAfter: 5000 });\n            }\n\n            if (!image.get('deleted') && (image.get('image') === null || image.get('image') === undefined) && (image.get('imageURL') === null || image.get('imageURL') === undefined)) {\n              isValid = false;\n              _this6.get('notify').alert(_this6.get('intl').t('locationGroups.details.promotions.modal.errors.nullImage'), { closeAfter: 5000 });\n            }\n          });\n        }\n\n        var duplicatedPlacements = [];\n        if (this.get('promotion.images.length') > 1 && this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3) {\n          this.get('promotion.images').forEach(function (image) {\n            var imagesWithPlacement = _this6.get('promotion.images').filterBy('imagePlacement.id', image.get('imagePlacement.id')).filterBy('deleted', false);\n            if (imagesWithPlacement.length > 1) {\n              isValid = false;\n              duplicatedPlacements.addObject(image.get('imagePlacement'));\n            }\n          });\n        }\n\n        if (!isValid && duplicatedPlacements.length > 0) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.duplicatedImagePlacement'), { closeAfter: 5000 });\n        }\n\n        if (this.get('creditCardTypeEnabled') && this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3) {\n          this.set('promotion.binCount', 0);\n          this.set('promotion.binCsv', null);\n          this.set('promotion.cleanBins', true);\n        }\n\n        if (this.get('promotion.type.id') === '0' && this.get('promotion.triggerType.id') === '2') {\n          if (this.get('selectedPaymentTypes').length === 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.nullPaymentType'), { closeAfter: 5000 });\n          }\n\n          if (this.get('promotion.appliesTo.id') === null || this.get('promotion.appliesTo.id') === undefined) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.nullAppliesTo'), { closeAfter: 5000 });\n          }\n        }\n\n        if (this.get('promotion.type.id') === '4' || this.get('promotion.type.id') === 4) {\n          var hasGift = this.get('promotion.giftProductId') || (this.get('promotion.giftProductIds') || []).length > 0;\n          if (!hasGift) {\n            isValid = false;\n            this.get('notify').alert('A gift product ID is required for Gift With Purchase promotions.', { closeAfter: 5000 });\n          }\n          if (!this.get('promotion.qualifyingTriggerType') || this.get('promotion.qualifyingTriggerType') === 0) {\n            if (!this.get('promotion.minimumSpentTotal') || this.get('promotion.minimumSpentTotal') <= 0) {\n              isValid = false;\n              this.get('notify').alert('Minimum spend total must be greater than zero for Gift With Purchase promotions.', { closeAfter: 5000 });\n            }\n          }\n          if (this.get('promotion.qualifyingTriggerType') === 1) {\n            var minQty = this.get('promotion.minimumQuantity');\n            if (!minQty || minQty <= 0) {\n              isValid = false;\n              this.get('notify').alert('Minimum quantity must be greater than zero for Gift With Purchase promotions.', { closeAfter: 5000 });\n            }\n          }\n          if (this.get('promotion.productCatalogs').length === 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validProductCatalogs'), { closeAfter: 5000 });\n          }\n        }\n\n        this.set('promotion.paymentType', this.get('selectedPaymentTypes').mapBy('id').join(','));\n        this.get('promotion.cardTypes').clear();\n        this.get('promotion.cardTypes').addObjects(this.get('selectedCardTypes'));\n\n        if (isValid) {\n          if (this.shouldShowNoCardTypeWarning()) {\n            this.set('pendingPromotionAction', { action: 'addPromotion', promotion: promotion });\n            this.set('showConfirmNoCardTypeModal', true);\n          } else {\n            this.sendAction('addPromotion', promotion);\n          }\n        }\n      },\n      editPromotion: function editPromotion(promotion) {\n        var _this7 = this;\n\n        var isValid = true;\n        if (isEmpty(promotion.get('name'))) {\n          isValid = false;\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.emptyName'), { closeAfter: 5000 });\n        }\n\n        // Check if trigger type is selected for non-group discount promotions\n        if (this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3 && this.get('promotion.type.id') !== '4' && this.get('promotion.type.id') !== 4) {\n          if (!this.get('promotion.triggerType') || this.get('promotion.triggerType.id') === null || this.get('promotion.triggerType.id') === undefined) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.triggerTypeRequired'), { closeAfter: 5000 });\n          }\n        }\n\n        if (this.get('promotion.type.id') === '3' || this.get('promotion.type.id') === 3) {\n          if (!promotion.get('groupSize') || promotion.get('groupSize') <= 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.groupSize'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.triggerType.id') !== '2' && this.get('promotion.triggerType.id') !== 2) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.onUsageTrigger'), { closeAfter: 5000 });\n          }\n          if (!this.get('promotion.amountType') || this.get('promotion.amountType.id') === null || this.get('promotion.amountType.id') === undefined) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.amountType'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.amountType.id') === '0' && (this.get('promotion.amount') === null || this.get('promotion.amount') === undefined || this.get('promotion.amount') === undefined || this.get('promotion.amount') < 0)) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validAmount'), { closeAfter: 5000 });\n          }\n          if (this.get('promotion.amountType.id') === '1' && (this.get('promotion.percentage') <= 0 || this.get('promotion.percentage') > 100)) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validPercentage'), { closeAfter: 5000 });\n          }\n\n          if (this.get('promotion.promotionRedemptionRule.id') === '1' && this.get('promotion.productCatalogs').length === 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validProductCatalogs'), { closeAfter: 5000 });\n          }\n        }\n\n        if (this.get('promotion.images') !== null && this.get('promotion.images') !== undefined && this.get('promotion.images.length') > 0 && this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3) {\n          this.get('promotion.images').forEach(function (image) {\n            if (!image.get('deleted') && (image.get('imagePlacement.id') === null || image.get('imagePlacement.id') === undefined)) {\n              isValid = false;\n              _this7.get('notify').alert(_this7.get('intl').t('locationGroups.details.promotions.modal.errors.nullImagePlacement'), { closeAfter: 5000 });\n            }\n\n            if (!image.get('deleted') && (image.get('image') === null || image.get('image') === undefined) && (image.get('imageURL') === null || image.get('imageURL') === undefined)) {\n              isValid = false;\n              _this7.get('notify').alert(_this7.get('intl').t('locationGroups.details.promotions.modal.errors.nullImage'), { closeAfter: 5000 });\n            }\n          });\n        }\n\n        var duplicatedPlacements = [];\n        if (this.get('promotion.images.length') > 1 && this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3) {\n          this.get('promotion.images').forEach(function (image) {\n            var imagesWithPlacement = _this7.get('promotion.images').filterBy('imagePlacement.id', image.get('imagePlacement.id')).filterBy('deleted', false);\n            if (imagesWithPlacement.length > 1) {\n              isValid = false;\n              duplicatedPlacements.addObject(image.get('imagePlacement'));\n            }\n          });\n        }\n\n        if (this.get('promotion.type.id') === '0' && this.get('promotion.triggerType.id') === '2') {\n          if (this.get('selectedPaymentTypes').length === 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.nullPaymentType'), { closeAfter: 5000 });\n          }\n\n          if (this.get('promotion.appliesTo.id') === null || this.get('promotion.appliesTo.id') === undefined) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.nullAppliesTo'), { closeAfter: 5000 });\n          }\n        }\n\n        if (this.get('promotion.type.id') === '4' || this.get('promotion.type.id') === 4) {\n          var hasGift = this.get('promotion.giftProductId') || (this.get('promotion.giftProductIds') || []).length > 0;\n          if (!hasGift) {\n            isValid = false;\n            this.get('notify').alert('A gift product ID is required for Gift With Purchase promotions.', { closeAfter: 5000 });\n          }\n          if (!this.get('promotion.qualifyingTriggerType') || this.get('promotion.qualifyingTriggerType') === 0) {\n            if (!this.get('promotion.minimumSpentTotal') || this.get('promotion.minimumSpentTotal') <= 0) {\n              isValid = false;\n              this.get('notify').alert('Minimum spend total must be greater than zero for Gift With Purchase promotions.', { closeAfter: 5000 });\n            }\n          }\n          if (this.get('promotion.qualifyingTriggerType') === 1) {\n            var minQty = this.get('promotion.minimumQuantity');\n            if (!minQty || minQty <= 0) {\n              isValid = false;\n              this.get('notify').alert('Minimum quantity must be greater than zero for Gift With Purchase promotions.', { closeAfter: 5000 });\n            }\n          }\n          if (this.get('promotion.productCatalogs').length === 0) {\n            isValid = false;\n            this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.validProductCatalogs'), { closeAfter: 5000 });\n          }\n        }\n\n        if (!isValid && duplicatedPlacements.length > 0) {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.duplicatedImagePlacement'), { closeAfter: 5000 });\n        }\n\n        if (this.get('creditCardTypeEnabled') && this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3) {\n          this.set('promotion.binCount', 0);\n          this.set('promotion.binCsv', null);\n          this.set('promotion.cleanBins', true);\n        }\n\n        this.set('promotion.paymentType', this.get('selectedPaymentTypes').mapBy('id').join(','));\n        this.get('promotion.cardTypes').clear();\n        this.get('promotion.cardTypes').addObjects(this.get('selectedCardTypes'));\n\n        if (isValid) {\n          if (this.shouldShowNoCardTypeWarning()) {\n            this.set('pendingPromotionAction', { action: 'editPromotion', promotion: promotion });\n            this.set('showConfirmNoCardTypeModal', true);\n          } else {\n            this.sendAction('editPromotion', promotion);\n          }\n        }\n      },\n      /**\n       * Opens the gift product picker modal.\n       * Initializes pendingGiftProductId from the current giftProductId (if set).\n       */\n      openGiftProductModal: function openGiftProductModal() {\n        this.set('showGiftProductModal', true);\n      },\n\n      /**\n       * Called when the user confirms a selection in the gift product modal.\n       * Delegates to addGiftProduct, which appends to giftProductIds and keeps the\n       * legacy giftProductId synchronized with the first array entry for backward compat.\n       * @param {Object} product - The selected product object with id and name.\n       */\n      selectGiftProduct: function selectGiftProduct(product) {\n        this.send('addGiftProduct', product);\n      },\n\n      /**\n       * Closes the gift product picker modal without changing the confirmed selection.\n       */\n      closeGiftProductModal: function closeGiftProductModal() {\n        this.set('showGiftProductModal', false);\n      },\n\n      /**\n       * Clears every configured gift product. Resets both the legacy giftProductId field\n       * and the giftProductIds array so the promotion is treated as un-configured.\n       */\n      clearGiftProduct: function clearGiftProduct() {\n        this.set('promotion.giftProductId', null);\n        this.set('promotion.giftProductIds', []);\n      },\n\n      /**\n       * Appends a gift product to the giftProductIds array, dedupes by id, and keeps the\n       * legacy giftProductId pinned to the first array entry. Closes the picker modal on\n       * success. Used by both the multi-gift \"+ Select gifts\" button flow and the existing\n       * single-gift selectGiftProduct flow.\n       * @param {Object} product - The selected product object with id and name.\n       */\n      addGiftProduct: function addGiftProduct(product) {\n        var ids = (this.get('promotion.giftProductIds') || []).slice();\n        if (!ids.map(String).includes(String(product.id))) {\n          ids.push(product.id);\n          this.set('promotion.giftProductIds', ids);\n        }\n        if (ids.length > 0) {\n          this.set('promotion.giftProductId', ids[0]);\n        }\n        this.set('showGiftProductModal', false);\n      },\n\n      /**\n       * Removes the gift product with the given id from giftProductIds and rebinds the legacy\n       * giftProductId to the new first entry (or null if the list is empty).\n       * @param {Number|String} productId - The id of the gift product to remove.\n       */\n      removeGiftProduct: function removeGiftProduct(productId) {\n        var ids = (this.get('promotion.giftProductIds') || []).filter(function (id) {\n          return String(id) !== String(productId);\n        });\n        this.set('promotion.giftProductIds', ids);\n        this.set('promotion.giftProductId', ids.length > 0 ? ids[0] : null);\n      },\n\n      /**\n       * Switches the GWP qualifying trigger between SPEND_BASED (0) and QUANTITY_BASED (1).\n       * Clears the unused threshold field so the dashboard never sends both\n       * minimumSpentTotal and minimumQuantity simultaneously (server rejects with 400).\n       * @param {Number} type - 0 for SPEND_BASED, 1 for QUANTITY_BASED.\n       */\n      setTriggerType: function setTriggerType(type) {\n        this.set('promotion.qualifyingTriggerType', type);\n        if (type === 1) {\n          this.set('promotion.minimumSpentTotal', 0);\n        } else {\n          this.set('promotion.minimumQuantity', null);\n        }\n      },\n      cancelPromotionModal: function cancelPromotionModal() {\n        this.sendAction('cancelPromotionModal');\n      },\n      changePromotionType: function changePromotionType(promotionType) {\n        var _this8 = this;\n\n        if (promotionType.id !== 1 && promotionType.id !== '1' && promotionType.id !== '0' && promotionType.id !== 0 && promotionType.id !== 3 && promotionType.id !== '3' && promotionType.id !== 4 && promotionType.id !== '4') {\n          this.get('promotion.productCatalogs').clear();\n        } else {\n          (function () {\n            var endpoint = \"/api/v1/productCatalogs/companies\";\n            var _authToken = _this8.get('session.data.authenticated.access_token');\n            var options = {\n              url: endpoint,\n              type: 'GET',\n              data: { companies: _this8.get('_companies') }\n            };\n            options.beforeSend = function (xhr) {\n              xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n            };\n            options.success = function (products) {\n              _this8.set('products', products.productCatalogs);\n              _this8.addSelectedProductCatalogsToTable();\n              _this8.set('displaySelectedPromotionProducts', true);\n            };\n            options.error = function () {\n              var errorMessage = undefined;\n              // Catch error and return proper error message\n              errorMessage = _this8.get('notify').alert(_this8.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n              _this8.get('errorMessages').addObject(errorMessage);\n            };\n            _ember[\"default\"].$.ajax(options);\n            _this8.set('promotion.promotionRedemptionRule', null);\n          })();\n        }\n\n        this.setPromotionTriggers(promotionType, this.get('promotion.amountType'));\n\n        if (this.get('promotion.type.id') === '0' && promotionType.id !== '0' && this.get('promotion.triggerType.id') === '2') {\n          this.set('promotion.triggerType', this.get('sortedPromotionTriggers').findBy('id', '0'));\n        }\n\n        if (promotionType.id === '0') {\n          this.set('promotion.triggerType', null);\n        }\n\n        this.set('promotion.type', promotionType);\n\n        if (promotionType.id === '3' || promotionType.id === 3) {\n          if (!this.get('promotion.groupSize')) {\n            this.set('promotion.groupSize', 1);\n          }\n          if (!this.get('promotion.amountType')) {\n            this.set('promotion.amountType', this.get('promotionAmountTypes').findBy('id', '0'));\n          }\n        }\n\n        this.initSelectedPromotionPaymentType();\n      },\n      changePromotionAmountType: function changePromotionAmountType(promotionAmountType) {\n        this.set('promotion.amountType', promotionAmountType);\n        this.setPromotionTriggers(this.get('promotion.type'), promotionAmountType);\n      },\n      changeRedemptionRule: function changeRedemptionRule(redemptionRule) {\n        var _this9 = this;\n\n        if (redemptionRule.id !== 1 && redemptionRule.id !== '1' && this.get('promotion.type.id') !== '0' && this.get('promotion.type.id') !== 0 && this.get('promotion.type.id') !== '3' && this.get('promotion.type.id') !== 3) {\n          this.set('displaySelectedPromotionProducts', false);\n          this.get('promotion.productCatalogs').clear();\n          this.set('promotion.promotionRedemptionRule', redemptionRule);\n        } else {\n          (function () {\n            var endpoint = \"/api/v1/productCatalogs/companies\";\n            var _authToken = _this9.get('session.data.authenticated.access_token');\n            var options = {\n              url: endpoint,\n              type: 'GET',\n              data: { companies: _this9.get('_companies') }\n            };\n            options.beforeSend = function (xhr) {\n              xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n            };\n            options.success = function (products) {\n              _this9.set('products', products.productCatalogs);\n              _this9.addSelectedProductCatalogsToTable();\n              _this9.set('displaySelectedPromotionProducts', true);\n              _this9.set('promotion.promotionRedemptionRule', redemptionRule);\n            };\n            options.error = function () {\n              var errorMessage = undefined;\n              // Catch error and return proper error message\n              errorMessage = _this9.get('notify').alert(_this9.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n              _this9.get('errorMessages').addObject(errorMessage);\n            };\n            _ember[\"default\"].$.ajax(options);\n          })();\n        }\n      },\n      selectProductsModal: function selectProductsModal() {\n        this.set('displayItemTokenPromotionProducts', true);\n      },\n      addProducts: function addProducts(productCatalogs) {\n        this.set('promotion.productCatalogs', productCatalogs);\n        this.addSelectedProductCatalogsToTable();\n        this.set('displayItemTokenPromotionProducts', false);\n      },\n      closeModalProducts: function closeModalProducts() {\n        this.send('cleanMessages');\n        this.set('displayItemTokenPromotionProducts', false);\n      },\n      changeRedemptionExpirationDateTime: function changeRedemptionExpirationDateTime(value) {\n        this.set('promotion.redemptionExpirationDateTime', value);\n      },\n      changeTriggerType: function changeTriggerType(triggerType) {\n        this.set('promotion.triggerType', triggerType);\n      },\n      clearRedemptionExpirationDateTime: function clearRedemptionExpirationDateTime() {\n        this.set('promotion.redemptionExpirationDateTime', null);\n      },\n      removeItem: function removeItem(item) {\n        if (item.get('isNew')) {\n          this.get('promotion.images').removeObject(item);\n          item.deleteRecord();\n        } else {\n          item.set('deleted', true);\n        }\n      },\n      addImage: function addImage() {\n        var totalImages = this.get('promotion.images').filterBy('deleted', false);\n        if (totalImages.length < 4) {\n          var image = this.get('store').createRecord('promotionImage');\n          this.get('promotion.images').addObject(image);\n        } else {\n          this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.imagesLimit'), { closeAfter: 5000 });\n        }\n      },\n      changeImagePlacement: function changeImagePlacement(promotionImage, placement) {\n        if (promotionImage.get('id') !== null && promotionImage.get('id') !== undefined) {\n          var image = this.get('promotion.images').findBy('id', promotionImage.id);\n          image.set('imagePlacement', placement);\n        } else {\n          promotionImage.set('imagePlacement', placement);\n        }\n      },\n      uploadFile: function uploadFile(fileList) {\n        var _this10 = this;\n\n        this.set('binList', '');\n        this.set('showBins', false);\n        var re = new RegExp('text/csv');\n        if (fileList[0].size <= 1000000) {\n          if (re.test(fileList[0].type)) {\n            (function () {\n              var that = _this10;\n              //that.set('promotion.binCsv', fileList[0]);\n\n              var reader = new FileReader();\n\n              reader.onloadend = function () {\n                that.set('promotion.binCsv', reader.result);\n                if (fileList.length > 0) {\n                  var binsCount = that.get('promotion.binCount') || 0;\n                  that.set('promotion.binCount', binsCount + fileList.length);\n                }\n              };\n\n              reader.readAsDataURL(fileList[0]);\n            })();\n          } else {\n            Logger.debug('not a csv.');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.invalidFileType'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        } else {\n          Logger.debug('file size max is 1mb.');\n          var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.promotions.modal.errors.invalidFileSize'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n      },\n      removeFile: function removeFile() {\n        this.set('promotion.binCsv', null);\n      },\n      clearBins: function clearBins() {\n        this.set('promotion.binCount', 0);\n        this.set('promotion.binCsv', null);\n        this.set('promotion.cleanBins', true);\n      },\n      downloadBins: function downloadBins() {\n        var _this11 = this;\n\n        this.set('gettingBinList', true);\n        var endpoint = \"/api/v1/promotions/binCsv/\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'GET',\n          data: { promotionId: parseInt(this.get('promotionId')) }\n        };\n\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function (result) {\n          _this11.set('gettingBinList', false);\n          _this11.set('binList', result);\n          _this11.set('showBins', true);\n        };\n        options.error = function (error) {\n          _this11.get('notify').alert(_this11.get('intl').t('locationGroups.details.promotions.modal.errors.errorGettingBinList'), { closeAfter: 5000 });\n          _this11.set('gettingBinList', false);\n          console.log('Error: ' + error.responseText);\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n      changeCreditCardTypeEnabled: function changeCreditCardTypeEnabled(value) {\n        this.set('creditCardTypeEnabled', value.newValue);\n        if (value.newValue) {\n          this.set('promotion.binCsv', null);\n        } else {\n          this.get('promotion.cardTypes').clear();\n          this.set('selectedCardTypes', []);\n        }\n      },\n      changePromotionAppliesTo: function changePromotionAppliesTo(appliesTo) {\n        this.set('promotion.appliesTo', appliesTo);\n      },\n      confirmSaveNoCardType: function confirmSaveNoCardType() {\n        var pendingAction = this.get('pendingPromotionAction');\n        if (pendingAction) {\n          this.sendAction(pendingAction.action, pendingAction.promotion);\n        }\n        this.set('showConfirmNoCardTypeModal', false);\n        this.set('pendingPromotionAction', null);\n      },\n      cancelSaveNoCardType: function cancelSaveNoCardType() {\n        this.set('showConfirmNoCardTypeModal', false);\n        this.set('pendingPromotionAction', null);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/gift-product-selector/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    pendingGiftProductId: null,\n    filterProduct: '',\n    filterCompany: '',\n    filterProductType: '',\n\n    /**\n     * Initializes pendingGiftProductId from the current confirmed giftProductId when the modal opens.\n     */\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('pendingGiftProductId', this.get('giftProductId') || null);\n    },\n\n    /**\n     * Returns the subset of products matching all active filter inputs (case-insensitive contains).\n     */\n    filteredData: computed('data', 'filterProduct', 'filterCompany', 'filterProductType', function () {\n      var data = this.get('data') || [];\n      var fp = (this.get('filterProduct') || '').toLowerCase();\n      var fc = (this.get('filterCompany') || '').toLowerCase();\n      var ft = (this.get('filterProductType') || '').toLowerCase();\n      if (fp) {\n        data = data.filter(function (p) {\n          return (p.name || '').toLowerCase().includes(fp);\n        });\n      }\n      if (fc) {\n        data = data.filter(function (p) {\n          return (p.companyName || '').toLowerCase().includes(fc);\n        });\n      }\n      if (ft) {\n        data = data.filter(function (p) {\n          return (p.productType && p.productType.name || '').toLowerCase().includes(ft);\n        });\n      }\n      return data;\n    }),\n\n    /**\n     * True only when the user has selected a product row (pendingGiftProductId is set).\n     */\n    disableConfirm: computed('pendingGiftProductId', function () {\n      return !this.get('pendingGiftProductId');\n    }),\n\n    actions: {\n      /**\n       * Called when the user clicks a row radio button.\n       * @param {Object} product - The product object for the selected row.\n       */\n      selectPendingProduct: function selectPendingProduct(product) {\n        this.set('pendingGiftProductId', product.id);\n      },\n\n      /**\n       * Confirms the pending selection and delegates upward.\n       */\n      confirmSelection: function confirmSelection() {\n        var id = this.get('pendingGiftProductId');\n        var product = (this.get('data') || []).find(function (p) {\n          return String(p.id) === String(id);\n        });\n        if (product) {\n          this.sendAction('selectGiftProduct', product);\n        }\n      },\n\n      /**\n       * Cancels the modal without changing the confirmed selection.\n       */\n      cancel: function cancel() {\n        this.sendAction('closeGiftProductModal');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/gift-product-selector/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"4QyqA7Bm\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[\\\"Select gift product\\\",\\\"cancel\\\",true,\\\"middle none\\\"]],3]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"○\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"●\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"id\\\"]],[\\\"get\\\",[\\\"pendingGiftProductId\\\"]]],null],\\\"info\\\"],null]]]],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor: pointer;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectPendingProduct\\\",[\\\"get\\\",[\\\"product\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"font-size: 16px; color: #337ab7;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"id\\\"]],[\\\"get\\\",[\\\"pendingGiftProductId\\\"]]],null]],null,1,0],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"companyName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productType\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"product\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Choose one product to add at $0 when the promotion triggers.\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 8px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"placeholder\\\",\\\"value\\\"],[\\\"text\\\",\\\"form-control\\\",\\\"Product\\\",[\\\"get\\\",[\\\"filterProduct\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"placeholder\\\",\\\"value\\\"],[\\\"text\\\",\\\"form-control\\\",\\\"Company\\\",[\\\"get\\\",[\\\"filterCompany\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"placeholder\\\",\\\"value\\\"],[\\\"text\\\",\\\"form-control\\\",\\\"Product type\\\",[\\\"get\\\",[\\\"filterProductType\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"max-height: 300px; overflow-y: auto;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table table-hover\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Product\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Company\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Product type\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"filteredData\\\"]]],null,2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 16px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Cancel\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"confirmGiftProductBtn\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableConfirm\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirmSelection\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Select product\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/promotion-modal/gift-product-selector/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/item-token-promotion-products/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/promotions-table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsPromotionsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var A = _ember[\"default\"].A;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsPromotionsTableComponent[\"default\"], {\n    _isLoading: true,\n    disableOk: true,\n    displayProductsList: true,\n    productCatalogsLoaded: false,\n    metaProductCatalogsLoaded: false,\n    data: [],\n    // BRP-4066: initial rows-per-page. Two-way bound to the table via\n    // `pageSize=pageSize` so the coercion observer below can see the addon's\n    // page-size dropdown writes.\n    pageSize: 25,\n    displayClearSearch: false,\n    inputProductSearch: '',\n    // BRP-4066: the ember-models-table page-size <select> (models-select) writes\n    // `this.$('option:selected').val()` — a STRING — into `pageSize` on change,\n    // but its option values are numbers and the addon's `is-equal` helper is\n    // strict (`===`). A string pageSize therefore matches no option, the select\n    // falls back to its first option, and the page size churns (e.g. 10<->25),\n    // revealing already-selected rows (the reported \"auto-select\"). Coerce the\n    // value back to a number so the selected option always matches and the page\n    // size stays put — while still letting the user change it via the dropdown.\n    _coercePageSizeToNumber: observer('pageSize', function () {\n      var ps = this.get('pageSize');\n      if (typeof ps === 'string') {\n        this.set('pageSize', parseInt(ps, 10));\n      }\n    }),\n    columns: computed('filterClass', function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product')\n      }, {\n        propertyName: 'companyName',\n        title: this.get('intl').t('productCatalog.list.company')\n      }, {\n        propertyName: 'productType.name',\n        title: this.get('intl').t('productCatalog.list.productType')\n      }];\n    }),\n    loadReady: computed('productCatalogsLoaded', 'metaProductCatalogsLoaded', function () {\n      return this.get('productCatalogsLoaded') && this.get('metaProductCatalogsLoaded');\n    }),\n    selectedModels: computed('products', 'products.length', function () {\n      var _this = this;\n\n      var catalog = A();\n      (this.get('promotion.productCatalogs') || []).forEach(function (product) {\n        var productCatalog = _this.get('data').filterBy('id', product);\n        catalog.addObjects(productCatalog);\n      });\n      return catalog;\n    }),\n    showModalProducts: false,\n    newProductError: '',\n    actions: {\n      clearAllSelected: function clearAllSelected() {\n        var _this2 = this;\n\n        this.set('displayProductsList', false);\n        run.next(function () {\n          _this2.get('selectedModels').clear();\n          _this2.set('displayProductsList', true);\n        });\n      },\n      closeModalProducts: function closeModalProducts() {\n        this.send('cleanMessages');\n        this.sendAction('closeModalProducts');\n      },\n      addProducts: function addProducts() {\n        this.send('cleanMessages');\n\n        //this._updateSelectedProductsByMetaProducts();\n        var productCatalogs = [];\n        this.get('selectedModels').forEach(function (item) {\n\n          productCatalogs.addObject(item.id);\n        });\n        this.sendAction('addProducts', productCatalogs);\n      },\n      selectItem: function selectItem(isNotNewItem) {\n        this.set('disableOk', isNotNewItem);\n      },\n      clearSearchInput: function clearSearchInput() {\n        this.set('inputProductSearch', '');\n        this.send('filterProductsList');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/item-token-promotion-products/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"HqjzH5zZ\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"clearAllSelected\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.title\\\"],null],\\\"closeModalProducts\\\",\\\"clearAllSelected\\\",true,\\\"middle none\\\"]],1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"preselectedItems\\\",\\\"sendDisplayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],[\\\"get\\\",[\\\"pageSize\\\"]],[\\\"get\\\",[\\\"selectedModels\\\"]],true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"h6\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearAllSelected\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.clearAllSelected.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times-circle fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      ]\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displayProductsList\\\"]]],null,0],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/promotion-modal/item-token-promotion-products/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/promotion-image-row/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    imagePlacements: [],\n    imageName: computed('promotionImage.image', 'promotionImage.imageURL', function () {\n      return this.get('promotionImage.image') ? 'image' : null;\n    }),\n    imagePreview: computed('promotionImage.image', 'promotionImage.imageURL', function () {\n      var url = \"\";\n      if (this.get('promotionImage.image')) {\n        url = this.get('promotionImage.image');\n      } else {\n        url = this.get('promotionImage.imageURL');\n      }\n      return htmlSafe(\"\" + url);\n    }),\n    _selectedPlacement: undefined,\n    /**\n     * Ember's hook method\n     */\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      //initialize imagePlacements\n      if (this.get('imagePlacements').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('imagePlacements').then(function (content) {\n          run(function () {\n            _this.set('imagePlacements', content);\n          });\n        });\n      }\n    },\n    actions: {\n      remove: function remove() {\n        this.sendAction('remove', this.get('promotionImage'));\n      },\n      uploadImage: function uploadImage(fileList) {\n        var _this2 = this;\n\n        var re = new RegExp('image/(png|jpeg)');\n        if (fileList[0].size <= 10000000) {\n          if (re.test(fileList[0].type)) {\n            (function () {\n              var that = _this2;\n              _this2.set('imageName', fileList[0].name);\n              var reader = new FileReader();\n\n              reader.onloadend = function () {\n                that.set('promotionImage.image', reader.result);\n              };\n\n              reader.readAsDataURL(fileList[0]);\n            })();\n          } else {\n            Logger.debug('not an image.');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageFormat'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        } else {\n          Logger.debug('image size max is 10mb.');\n          var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageSize'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n      },\n      changePlacement: function changePlacement(placement) {\n        this.set('promotionImage.imagePlacement', placement);\n      },\n      removeImage: function removeImage() {\n        this.set('imageName', null);\n        this.set('promotionImage.image', null);\n        this.set('promotionImage.imageURL', null);\n\n        var fileInput = this.element.querySelector('input[type=\"file\"]');\n        console.log(fileInput);\n        if (fileInput) {\n          fileInput.value = '';\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/promotion-image-row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Mf0svmfQ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-auto\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"background-color: #f2f2f2; margin: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-7 promotion-banner-wrapper\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin: 10px 5px 30px 0; width: 100%\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\",\\\"accept\\\",\\\"multiple\\\"],[\\\"uploadImage\\\",\\\"image/png, image/jpeg\\\",false]],4],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"promotionImage\\\",\\\"image\\\"]],[\\\"get\\\",[\\\"promotionImage\\\",\\\"imageURL\\\"]]],null]],null,1],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-7\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top:20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Image Recommendations: \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        The recommended image resolution is 768x90. \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        Only JPG and PNG file types are able to be uploaded. \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        This feature is currently not supported on YMY10, and YMY17 tablets.\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-5\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 40px; margin-bottom: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.images.placement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"imagePlacements\\\"]],[\\\"get\\\",[\\\"promotionImage\\\",\\\"imagePlacement\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.images.placement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePlacement\\\"],null]]],0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1 remove-icon\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash fa-2x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.images.removeImage.removePromotionImage\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"remove\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"placement\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"placement\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.images.removeImage.deleteImage\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeImage\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"promotion-image-camera-icon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-camera-retro\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"img\\\",[]],[\\\"dynamic-attr\\\",\\\"src\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"imagePreview\\\"]]]]],[\\\"static-attr\\\",\\\"class\\\",\\\"img-fluid\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"promotionImage\\\",\\\"image\\\"]],[\\\"get\\\",[\\\"promotionImage\\\",\\\"imageURL\\\"]]],null]],null,3,2]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/promotion-modal/promotion-image-row/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-group/promotion-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"hZeu+Uic\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.name\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"promotionName\\\",\\\"Type your promotion name\\\",\\\"true\\\",\\\"25\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"promotion\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.type\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"promotionTypes\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.transactionSending.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePromotionType\\\"],null]]],61],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],1],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"1\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],0],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"0\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],3],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],4],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"4\\\"],null]],null]],null,60],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.status\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"promotionStatuses\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"status\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.transactionSending.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"status\\\"]]],null]],null]]],58],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"1\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"0\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null]],null,57],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"0\\\"],null]],null,52,46],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"0\\\"],null]],null,31],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null]],null,30],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,29],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"creditCardTypeEnabled\\\"]]],null,28,25],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.triggerType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"allowClear\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedPromotionTriggers\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"triggerType\\\"]],true,false,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.triggerType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeTriggerType\\\"],null]]],16],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"triggerType\\\",\\\"id\\\"]],\\\"2\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"0\\\"],null]],null]],null,15],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"triggerType\\\",\\\"id\\\"]],\\\"2\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"triggerType\\\",\\\"id\\\"]],\\\"1\\\"],null]],null]],null,11],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelPromotionModal\\\",[\\\"get\\\",[\\\"promotion\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"editing\\\"]]],null,5,4],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displayItemTokenPromotionProducts\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showGiftProductModal\\\"]]],null,2],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showConfirmNoCardTypeModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.confirmNoCardType.message\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center; margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelSaveNoCardType\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.confirmNoCardType.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirmSaveNoCardType\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.confirmNoCardType.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.confirmNoCardType.title\\\"],null],\\\"cancelSaveNoCardType\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/promotion-modal/gift-product-selector\\\"],null,[[\\\"data\\\",\\\"giftProductId\\\",\\\"selectGiftProduct\\\",\\\"closeGiftProductModal\\\"],[[\\\"get\\\",[\\\"products\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"giftProductId\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectGiftProduct\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeGiftProductModal\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/promotion-modal/item-token-promotion-products\\\"],null,[[\\\"data\\\",\\\"promotion\\\",\\\"addProducts\\\",\\\"closeModalProducts\\\",\\\"displayProductCatalogsList\\\"],[[\\\"get\\\",[\\\"products\\\"]],[\\\"get\\\",[\\\"promotion\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProducts\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalProducts\\\"],null],[\\\"get\\\",[\\\"displayProductCatalogsList\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editPromotion\\\",[\\\"get\\\",[\\\"promotion\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.edit\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addPromotion\\\",[\\\"get\\\",[\\\"promotion\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/promotion-modal/promotion-image-row\\\"],null,[[\\\"promotionImage\\\",\\\"imagePlacements\\\",\\\"remove\\\"],[[\\\"get\\\",[\\\"image\\\"]],[\\\"get\\\",[\\\"_imagePlacements\\\"]],\\\"removeItem\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"image\\\",\\\"deleted\\\"]]],null]],null,6]],\\\"locals\\\":[\\\"image\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.images.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"companyBlock\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"images\\\"]]],null,7],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addImage\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.images.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.minimumSpentTotal\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          $\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 0px; min-width:100px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-promotion-minimum-spent-value\\\"],null,[[\\\"id\\\",\\\"required\\\",\\\"maxValue\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"class\\\"],[\\\"customFeeValue\\\",\\\"true\\\",10000,10000,0,[\\\"get\\\",[\\\"promotion\\\",\\\"minimumSpentTotal\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"4\\\"],null]],null]],null,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"triggerType\\\",\\\"id\\\"]],\\\"2\\\"],null]],null,10],[\\\"block\\\",[\\\"unless\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,8]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionAppliesTo\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionAppliesTo\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.appliesTo.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"promotionAppliesTos\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"appliesTo\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.appliesTo.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePromotionAppliesTo\\\"],null]]],12],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionPaymentType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionPaymentType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.payments.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"filteredPromotionPaymentTypes\\\"]],[\\\"get\\\",[\\\"selectedPaymentTypes\\\"]],false,false,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.payments.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedPaymentTypes\\\"]]],null]],null]]],14],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,13]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"triggerType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"triggerType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.clearBins\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"textarea\\\",[]],[\\\"static-attr\\\",\\\"rows\\\",\\\"9\\\"],[\\\"static-attr\\\",\\\"cols\\\",\\\"100\\\"],[\\\"static-attr\\\",\\\"readonly\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"binList\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-file-text\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"downloadBins\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.downloadBins\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gettingBinList\\\"]]],null,20,19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearBins\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.clearBins\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"binCount\\\"]],0],null]],null,21],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showBins\\\"]]],null,18]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.uploadBins\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-file-text\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.uploadBin\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\",\\\"accept\\\",\\\"multiple\\\"],[\\\"uploadFile\\\",\\\"text/csv\\\",false]],23],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"binCount\\\"]],0],null],[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"binCsv\\\"]],null],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"binCsv\\\"]],[\\\"undefined\\\"]],null]],null]],null]],null]],null,22,17],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,24]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"cardType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"cardType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.cardType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"creditCards\\\"]],[\\\"get\\\",[\\\"selectedCardTypes\\\"]],false,false,[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.cardType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedCardTypes\\\"]]],null]],null]]],26],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,27]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-toggle\\\"],null,[[\\\"value\\\",\\\"onLabel\\\",\\\"offLabel\\\",\\\"showLabels\\\",\\\"onValue\\\",\\\"offValue\\\",\\\"onToggle\\\"],[[\\\"get\\\",[\\\"creditCardTypeEnabled\\\"]],\\\"Credit Card::true\\\",\\\"Bin::false\\\",true,true,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeCreditCardTypeEnabled\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.redemptionMaxCount\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-2 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"id\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"redemptionMaxCount\\\"]],\\\"redemptionMaxCount\\\",\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.redemptionExpirationDateTime.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"forceDateOutput\\\",\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[true,[\\\"get\\\",[\\\"promotion\\\",\\\"redemptionExpirationDateTime\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeRedemptionExpirationDateTime\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info btn-xs\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 7px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearRedemptionExpirationDateTime\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.redemptionExpirationDateTime.button\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.receiptDisplayInline\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"receiptDisplayInline\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"promotion\\\",\\\"receiptDisplayInline\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amount\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"disabled\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amount\\\"]],\\\"form-control\\\",[\\\"get\\\",[\\\"disabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 0px; min-width:75px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"disabled\\\",\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"class\\\"],[\\\"promotionAmountPercentage\\\",[\\\"get\\\",[\\\"disabled\\\"]],\\\"true\\\",\\\"100\\\",\\\"0\\\",[\\\"get\\\",[\\\"promotion\\\",\\\"percentage\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 4px; min-width: 5px; margin-left: 2px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          %\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 text-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          (Max value 100%)\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionAmountType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionAmountType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amountType\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"promotionAmountTypes\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"amountType\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amountTypePlaceholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePromotionAmountType\\\"],null]]],34],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amountType\\\",\\\"id\\\"]],1],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amountType\\\",\\\"id\\\"]],\\\"1\\\"],null]],null]],null,33,32],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Group Size\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"disabled\\\",\\\"min\\\",\\\"required\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"groupSize\\\"]],\\\"form-control\\\",[\\\"get\\\",[\\\"disabled\\\"]],\\\"1\\\",\\\"true\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,35]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"*\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Not applicable for quantity-based\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 6px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"No gift product selected.\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-info\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 8px; padding: 4px 8px; font-size: 13px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gift\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\" (ID: \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gift\\\",\\\"id\\\"]],false],[\\\"text\\\",\\\")\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"clearGiftProductBtn\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor: pointer; margin-left: 6px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeGiftProduct\\\",[\\\"get\\\",[\\\"gift\\\",\\\"id\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"×\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gift\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-warning\\\"],[\\\"static-attr\\\",\\\"title\\\",\\\"At least one gift product is required to activate this promotion\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\" ⚠\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"selectedPromotionProducts\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering\\\",true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px; margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Qualifying Product Catalogs\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectProductsModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.itemTokenProducts\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displaySelectedPromotionProducts\\\"]]],null,42],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      GIFT PRODUCT \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"*\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"giftProductId\\\"]]],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"giftProductNames\\\",\\\"length\\\"]],0],null]],null]],null,41],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 8px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"The item will be added to the cart at $0 when the promotion triggers.\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"selectGiftProductBtn\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openGiftProductModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        + Select gifts\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"giftProductNames\\\"]]],null,40],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"giftProductNames\\\",\\\"length\\\"]],0],null]],null,39],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-10 col-md-10 col-lg-10\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 8px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Trigger Configuration\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"alert alert-info\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 8px 12px; margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Trigger types are mutually exclusive — a promotion is configured as either spend-based or quantity-based, not both.\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Trigger Type \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"*\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right: 24px; font-weight: normal;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"input\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"radio\\\"],[\\\"static-attr\\\",\\\"name\\\",\\\"qualifyingTriggerType\\\"],[\\\"dynamic-attr\\\",\\\"checked\\\",[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]]],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]],0],null]],null],null],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disabled\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"setTriggerType\\\",0],[[\\\"on\\\"],[\\\"change\\\"]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        Spend-based\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"font-weight: normal;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"input\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"radio\\\"],[\\\"static-attr\\\",\\\"name\\\",\\\"qualifyingTriggerType\\\"],[\\\"dynamic-attr\\\",\\\"checked\\\",[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]],1],null],null],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disabled\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"setTriggerType\\\",1],[[\\\"on\\\"],[\\\"change\\\"]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        Quantity-based\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Minimum Spend\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        $\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 0px; min-width:100px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-promotion-minimum-spent-value\\\"],null,[[\\\"id\\\",\\\"required\\\",\\\"maxValue\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"disabled\\\",\\\"class\\\"],[\\\"gwpMinimumSpentTotal\\\",\\\"true\\\",10000,10000,0,[\\\"get\\\",[\\\"promotion\\\",\\\"minimumSpentTotal\\\"]],[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]],1],null]],null],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]],1],null]],null,38],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Minimum Quantity \\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]],1],null]],null,37],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: inline-block; min-width:100px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-promotion-minimum-spent-value\\\"],null,[[\\\"id\\\",\\\"maxValue\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"disabled\\\",\\\"class\\\"],[\\\"gwpMinimumQuantity\\\",999,999,1,[\\\"get\\\",[\\\"promotion\\\",\\\"minimumQuantity\\\"]],[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"qualifyingTriggerType\\\"]],1],null]],null]],null],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Number of qualifying items required to trigger gift\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"4\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],4],null]],null]],null,43,36]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amount\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"disabled\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amount\\\"]],\\\"form-control\\\",[\\\"get\\\",[\\\"disabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"2\\\"],null]],null,45,44]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amount\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amountDollars\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"3\\\"],null]],null,48,47],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"disabled\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amount\\\"]],\\\"form-control\\\",[\\\"get\\\",[\\\"disabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding: 0px; min-width:75px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"disabled\\\",\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"class\\\"],[\\\"promotionAmountPercentage\\\",[\\\"get\\\",[\\\"disabled\\\"]],\\\"true\\\",\\\"100\\\",\\\"0\\\",[\\\"get\\\",[\\\"promotion\\\",\\\"percentage\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 4px; min-width: 5px; margin-left: 2px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          %\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 text-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:5px;padding: 2px; min-width: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          (Max value 100%)\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionAmountType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionAmountType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amountType\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"promotionAmountTypes\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"amountType\\\"]],false,[\\\"get\\\",[\\\"disabled\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.amountTypePlaceholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePromotionAmountType\\\"],null]]],51],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amountType\\\",\\\"id\\\"]],1],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"amountType\\\",\\\"id\\\"]],\\\"1\\\"],null]],null]],null,50,49]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"selectedPromotionProducts\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering\\\",true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displaySelectedPromotionProducts\\\"]]],null,53]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px; margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Selected Products Table\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectProductsModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.buttons.itemTokenProducts\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.quantity\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\",\\\"min\\\",\\\"disabled\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"quantity\\\"]],\\\"form-control\\\",\\\"1\\\",[\\\"get\\\",[\\\"disabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.message.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"promotionMessage\\\",\\\"Type your promotion message\\\",\\\"true\\\",\\\"255\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"promotion\\\",\\\"message\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"type\\\",\\\"id\\\"]],\\\"1\\\"],null]],null,56],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"promotionRedemptionRule\\\",\\\"id\\\"]],1],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"promotionRedemptionRule\\\",\\\"id\\\"]],\\\"1\\\"],null]],null]],null,55],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"promotionRedemptionRule\\\",\\\"id\\\"]],1],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"promotion\\\",\\\"promotionRedemptionRule\\\",\\\"id\\\"]],\\\"1\\\"],null]],null]],null,54]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionStatus\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionStatus\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionRedemptionRule\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionRedemptionRule\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.modal.promoRedemptionRule\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"promotionRedemptionRulesToDisplay\\\"]],[\\\"get\\\",[\\\"promotion\\\",\\\"promotionRedemptionRule\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.promoRedemptionRule.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeRedemptionRule\\\"],null]]],59],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promotionType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"promotionType\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/promotion-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/location-group/timezone-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var Logger = _ember['default'].Logger;\n  exports['default'] = Component.extend({\n    timezoneValue: '',\n    showModal: false,\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n      Logger.debug('setting initial timezone from outside ' + this.get('timezone'));\n      this.set('timezoneValue', this.get('timezone'));\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-group/timezone-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Vv7xp4Ss\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"em-timezone-input\\\"],null,[[\\\"value\\\"],[[\\\"get\\\",[\\\"timezoneValue\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"saveTimezoneAction\\\"]],[\\\"get\\\",[\\\"timezoneValue\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.timezone.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"closeAction\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.timezone.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.timezone.modal.title\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"closeAction\\\"]]],null]]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-group/timezone-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-mng/details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    selectedCompany: null,\n    selectedType: null,\n    locationTypes: [],\n    newCompanyError: '',\n    saveBtnText: null,\n    showCancelBtn: true,\n    newCompanyErrorMessage: '',\n    _sortCriteria: ['name'],\n    sortedLocationTypes: computed.sort('locationTypes', '_sortCriteria'),\n    _sortedCompanies: computed.sort('_companies', '_sortCriteria'),\n    _companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    showCompanies: computed(function () {\n      return this.get('location.isNew') && this.get('isBRUser') && this.get('lockedCompany') === undefined;\n    }),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      if (this.get('locationTypes').then !== undefined) {\n        this.get('locationTypes').then(function (content) {\n          run(function () {\n            if (_this.get('location.typeId') !== null && _this.get('location.typeId') !== undefined) {\n              var type = content.findBy('id', _this.get('location.typeId'));\n              _this.set('selectedType', type);\n            }\n            _this.set('locationTypes', content);\n          });\n        });\n      } else {\n        if (this.get('location.typeId') !== null && this.get('location.typeId') !== undefined) {\n          var type = this.get('locationTypes').findBy('id', this.get('location.typeId').toString());\n          this.set('selectedType', type);\n        }\n      }\n    },\n    actions: {\n      saveAction: function saveAction() {\n        var _this2 = this;\n\n        this.send('cleanMessages');\n        if (this.get('location.validations.isValid')) {\n          this.get('location').save().then(function () {\n            _this2.sendAction('saveAction');\n          })[\"catch\"](function (response) {\n            var errorMessage = 'location.detail.errors.savingLocation';\n            if (response !== undefined && isEqual(response.errors[0].detail, 'duplicateNameError')) {\n              errorMessage = \"location.detail.errors.\" + response.errors[0].detail;\n            }\n            _this2.get('errorMessages').addObject(_this2.get('notify').alert(_this2.get('intl').t(errorMessage), { closeAfter: 5000 }));\n          });\n        } else {\n          this.get('location.validations.errors').forEach(function (error) {\n            var errorMessage = _this2.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this2.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      cancelAction: function cancelAction() {\n        this.get('location').rollbackAttributes();\n        this.sendAction('closeModal');\n      },\n      selectCompany: function selectCompany(company) {\n        this.set('selectedCompany', company);\n        this.set('location.companyId', company.id);\n        this.set('location.companyName', company.name);\n        // Clear existing tags when company changes\n        this.set('location.companyTags', []);\n      },\n      selectType: function selectType(type) {\n        this.set('selectedType', type);\n        this.set('location.typeId', type.id);\n        this.set('location.typeName', type.get('name'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-mng/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ueIj4hUQ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"locationName\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"locationName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.name.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"location\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-weight: bold; font-size: small; margin-top:5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.name.note\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"locationType\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.locationType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationTypes\\\"]],[\\\"get\\\",[\\\"selectedType\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.locationType.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.locationType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectType\\\"],null]]],4],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompanies\\\"]]],null,3],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 7px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.status.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"checked\\\",\\\"class\\\"],[\\\"checkbox\\\",[\\\"get\\\",[\\\"location\\\",\\\"active\\\"]],\\\"custom-product\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.tags.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"tags-selector\\\"],null,[[\\\"value\\\",\\\"companyId\\\"],[[\\\"get\\\",[\\\"location\\\",\\\"companyTags\\\"]],[\\\"get\\\",[\\\"location\\\",\\\"companyId\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"newCompanyErrorMessage\\\"]]],null,1],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveBtnText\\\"]],[\\\"get\\\",[\\\"saveBtnText\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.buttons.save\\\"],null]],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCancelBtn\\\"]]],null,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"alert-danger has-error\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"newCompanyErrorMessage\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"locationType\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"selectedCompany\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.company.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.company.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCompany\\\"],null]]],2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-mng/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-mng/embedded-list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    locationTypes: [],\n    __showModal: false,\n    _sortCriteria: ['name'],\n    _sortedLocations: computed.sort('company.locations', '_sortCriteria'),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      var temp = this.get('store').findAll('locationType');\n      if (temp.then !== undefined) {\n        temp.then(function (content) {\n          _this.set('locationTypes', content);\n        });\n      }\n    },\n    actions: {\n      editModal: function editModal(model) {\n        this.set('model', model);\n        this.set('_showModal', true);\n      },\n      openModal: function openModal() {\n        var company = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            company = this.get('lockedCompany');\n          } else {\n            company = this.get('company');\n          }\n        } else {\n          company = this.get('loggedAccount.company');\n        }\n\n        this.set('model', this.get('store').createRecord('location', { company: company, companyId: company.id, companyName: company.get('name') }));\n        this.set('_showModal', true);\n      },\n      closeModal: function closeModal() {\n        var _this2 = this;\n\n        this.get('store').query('location', { companyId: this.get('company.id') }).then(function (locations) {\n          _this2.set('_locations', locations);\n          _this2.set('_showModal', false);\n        });\n        this.sendAction('refreshAction');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-mng/embedded-list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/XxpY9T6\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table table-striped\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.table.location\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.table.type\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"_sortedLocations\\\"]]],null,3],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-mng/details\\\"],null,[[\\\"location\\\",\\\"locationTypes\\\",\\\"closeModal\\\",\\\"saveAction\\\",\\\"showCompanies\\\"],[[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"locationTypes\\\"]],\\\"closeModal\\\",\\\"closeModal\\\",false]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editModal\\\",[\\\"get\\\",[\\\"location\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"typeName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"location\\\",\\\"isNew\\\"]]],null,2]],\\\"locals\\\":[\\\"location\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-mng/embedded-list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/location-mng/list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var isEqual = _ember[\"default\"].isEqual;\n  var Logger = _ember[\"default\"].Logger;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    locationTypes: [],\n    locationStatuses: computed(function () {\n      return [this.get('intl').t('menu.list.table.status.active'), this.get('intl').t('menu.list.table.status.inactive')];\n    }),\n    selectedModels: A(),\n    data: [],\n    showList: true,\n    selectedLocationsCount: computed('selectedModels.length', function () {\n      if (this.get('selectedModels') !== undefined && this.get('selectedModels.length') > 0) {\n        return this.get('selectedModels.length');\n      } else {\n        return '0';\n      }\n    }),\n    columns: computed(function () {\n      var hideCompanyColumn = !this.get('isBRUser');\n      var availableEnvironments = this.get('exampleEnvironments');\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        title: '',\n        template: \"location/actions/edit-cell\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('location.list.table.location'),\n        filteredBy: 'name'\n      }, {\n        propertyName: 'typeName',\n        title: this.get('intl').t('location.list.table.type'),\n        filterWithSelect: true,\n        filteredBy: 'typeName',\n        predefinedFilterOptions: availableEnvironments,\n        className: 'stateRow',\n        filterFunction: function filterFunction(cell, neededStr, obj) {\n          return isEqual(obj.get('typeName').toLowerCase(), neededStr);\n        }\n      }, {\n        propertyName: 'companyName',\n        title: this.get('intl').t('location.list.table.company'),\n        isHidden: hideCompanyColumn,\n        filteredBy: 'companyName',\n        className: 'companyNameRow'\n      }, {\n        propertyName: 'menuCount',\n        filteredBy: 'menuCount',\n        title: this.get('intl').t('location.list.table.menus')\n      }, {\n        propertyName: 'translatedStatus',\n        title: this.get('intl').t('menu.list.table.status.header'),\n        filterWithSelect: true,\n        predefinedFilterOptions: this.get('locationStatuses'),\n        filterString: 'Active',\n        filteredBy: 'translatedStatus',\n        className: 'stateRow',\n        filterFunction: function filterFunction(cell, neededStr, obj) {\n          return isEqual(obj.get('translatedStatus').toLowerCase(), neededStr);\n        }\n      }, {\n        useFilter: false\n      }];\n    }),\n    _showModal: false,\n    _currentLocation: undefined,\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    didReceiveAttrs: function didReceiveAttrs() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.set('showList', false);\n      var temp = this.get('store').findAll('locationType');\n      if (temp.then !== undefined) {\n        temp.then(function (content) {\n          _this.set('locationTypes', content);\n          _this.set('showList', true);\n        });\n      }\n    },\n    init: function init() {\n      this._super.apply(this, arguments);\n      // BRP-4065 (mirrors BRP-3543 Defect D): initialize to an empty array, not\n      // null. `cancel()` calls `this.get('selectedModels').clear()` which would\n      // NPE on null, and the own `displayDataChanged` action below keeps this\n      // array synchronized with the table addon's selection.\n      this.set('selectedModels', A());\n    },\n    actions: {\n      /**\n       * BRP-4065: capture the table addon's selection into this component's\n       * `selectedModels`. `models-table-server-paginated` fires\n       * `displayDataChangedAction` with a settings object whose `selectedItems`\n       * is the addon's canonical `_selectedItems`; mirror it directly.\n       *\n       * This overrides the shared `table-component` mixin's `displayDataChanged`,\n       * whose \"whole list was selected\" heuristic\n       * (`selectedItems.length === data.length`) misfires under server-side\n       * pagination: `data.length` is the initial/default page size (10), not the\n       * total, so each time the running selection count reached 10 the mixin\n       * bulk-selected the entire current page (and re-fired on deselect at\n       * count 10 again). Mirrors BRP-3543's menu-list fix.\n       */\n      displayDataChanged: function displayDataChanged(settings) {\n        var fromAddon = settings && settings.selectedItems;\n        this.set('selectedModels', fromAddon ? A(fromAddon) : A());\n      },\n      newLocation: function newLocation() {\n        var company = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            company = this.get('lockedCompany');\n          }\n        } else {\n          company = this.get('loggedAccount.company');\n        }\n\n        this.set('_currentLocation', this.get('store').createRecord('location', { companyId: company ? company.id : null, companyName: company ? company.name : null }));\n        this.set('_showModal', true);\n      },\n      editLocation: function editLocation(item) {\n        this.set('_currentLocation', item);\n        this.set('_showModal', true);\n      },\n      cancel: function cancel() {\n        this.set('_showModal', false);\n        this.send('cleanMessages');\n        this.get('_currentLocation').rollbackAttributes();\n        this.set('_currentLocation', undefined);\n        this.get('selectedModels').clear();\n      },\n      save: function save() {\n        this.set('_showModal', false);\n        this.sendAction('save');\n      },\n      toggleLocationsActive: function toggleLocationsActive(activate) {\n        var _this2 = this;\n\n        if (this.get('selectedModels.length') > 0) {\n          (function () {\n            var locationIds = A();\n            _this2.get('selectedModels').forEach(function (location) {\n              locationIds.addObject(parseInt(location.id));\n            });\n\n            _this2.sendAction('toggleLocationsActive', locationIds, activate);\n          })();\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/location-mng/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"DvKp1CSR\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"newLocation\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.buttons.new\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:right;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning btn-sm deactivate-button\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleLocationsActive\\\",false]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.buttons.deactivateBulk\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedLocationsCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleLocationsActive\\\",true]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.buttons.activateBulk\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedLocationsCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"sendDisplayDataChangedAction\\\",\\\"displayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"edit\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,\\\"total\\\",\\\"pages\\\",true,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],true,\\\"displayDataChanged\\\",true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",\\\"editLocation\\\",\\\"delete\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-mng/details\\\"],null,[[\\\"location\\\",\\\"locationTypes\\\",\\\"closeModal\\\",\\\"saveAction\\\"],[[\\\"get\\\",[\\\"_currentLocation\\\"]],[\\\"get\\\",[\\\"locationTypes\\\"]],\\\"cancel\\\",\\\"save\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.title\\\"],null],\\\"cancel\\\",true]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/location-mng/list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu-audit-report/report-result/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.menuAuditReport.columns.companyRole'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'companyRole'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.companyName'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'companyName'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.menuId'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'menuId'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.menuName'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'menuName'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.processingMode'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'processingMode'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.taxType'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'taxType'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.taxRate'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'taxRate'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.tabFunctionality'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'tabFunctionality'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.cloudTabFunctionality'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'cloudTabFunctionality'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.tipsAmountButton'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'tipsAmountButton'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.tipsPercentageButton'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'tipsPercentageButton'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.tipsManualEntry'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'tipsManualEntry'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.tipsPlusMinus'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'tipsPlusMinus'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.buttonOne'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'buttonOne'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.buttonTwo'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'buttonTwo'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.buttonThree'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'buttonThree'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.percentageOne'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'percentageOne'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.percentageTwo'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'percentageTwo'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.percentageThree'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'percentageThree'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.adminCode'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'adminCode'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.cashlessAdminCode'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'cashlessAdminCode'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.voidAdminCode'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'voidAdminCode'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.orderNoteFunctionality'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'orderNoteFunctionality'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.serviceFee'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'serviceFee'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.serviceFeeTaxRate'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'serviceFeeTaxRate'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.employeeDiscountPercentage'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'employeeDiscountPercentage'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.standaloneFunctionality'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'standaloneFunctionality'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.locationId'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'locationId'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.locationName'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'locationName'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.cashFunctionality'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'cashFunctionality'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.exactCashFunctionality'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'exactCashFunctionality'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.cashDisplayType'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'cashDisplayType'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.coinRounding'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'coinRounding'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.coinRoundingMode'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'coinRoundingMode'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.coinRoundingType'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'coinRoundingType'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.cashDiscount'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'cashDiscount'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.cashDiscountPercentage'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'cashDiscountPercentage'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.manualEntry'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'manualEntry'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.manualEntrySignature'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'manualEntrySignature'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.swipe'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'swipe'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.swipeSignature'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'swipeSignature'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.emv'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'emv'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.creditSurcharge'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'creditSurcharge'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.creditSurchargePercentage'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'creditSurchargePercentage'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.openLoop'),\n        className: 'menu-audit-report-cell-min-width',\n        propertyName: 'openLoop'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.walkerAsRfidReader'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'walkerAsRfidReader'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.openLoopSurcharge'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'openLoopSurcharge'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.openLoopSurchargePercentage'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'openLoopSurchargePercentage'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.openLoopSignature'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'openLoopSignature'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.patronLoadedFunds'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'patronLoadedFunds'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.creditGatewayName'),\n        className: 'menu-audit-report-cell-medium-width',\n        propertyName: 'creditGatewayName'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.braintreeCashlessMid'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'braintreeCashlessMid'\n      }, {\n        title: this.get('intl').t('report.result.menuAuditReport.columns.paypalCashlessMid'),\n        className: 'menu-audit-report-cell-max-width',\n        propertyName: 'paypalCashlessMid'\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/menu-audit-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"4JGqrJYr\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,2,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.menuAuditReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu-audit-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu-audit-report/search-criteria/component\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._initializeLocationGroups();\n      this._initializeReportExportParameters();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept() {\n        this.set('showExportModal', false);\n        this.send('search', this.get('reportOptions'));\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu-audit-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yYQo+dwU\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],3],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu-audit-report/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/cancel-modal/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      leave: function leave() {\n        this.set('showModal', false);\n        this.sendAction('leave', this.get('menu'), this.get('transition'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/cancel-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"SQUDWj5z\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"message\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"leave\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.buttons.leave\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/cancel-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/menu-mixin\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsMenuMixin, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var isEqual = _ember[\"default\"].isEqual;\n  var A = _ember[\"default\"].A;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsMenuMixin[\"default\"], {\n    selectedModels: A(),\n    menu: [],\n    selectedLocations: [],\n    selectedCompany: undefined,\n    currentMenu: null,\n    deactivateSelectedMenu: null,\n    copyMenuId: 0,\n    copyMenuName: \"\",\n    showDeactivateMenuModal: false,\n    showCopyMenuModal: false,\n    showPushMenuModal: false,\n    _disableMenuActions: computed('lockedCompany', function () {\n      return this.get('isBRUser') && this.get('lockedCompany') === undefined;\n    }),\n    selectedMenusCount: computed('selectedModels.length', function () {\n      if (this.get('selectedModels') !== undefined && this.get('selectedModels.length') > 0) {\n        return this.get('selectedModels.length');\n      } else {\n        return '0';\n      }\n    }),\n    _showNoCreationMenuTooltip: computed.alias('_disableMenuActions'),\n    data: [],\n    columns: computed(function () {\n      var hideColumn = !this.get('isBRUser');\n      var usableStatuses = this.get('usableStatuses');\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        title: '',\n        template: \"menu/actions/edit-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"menu/actions/menu-archive-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"menu/actions/copy-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"menu/actions/lock-action\",\n        isHidden: hideColumn,\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"menu/actions/push-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('menu.list.table.menu')\n      }, {\n        title: this.get('intl').t('menu.list.table.usable.header'),\n        template: \"menu/actions/payments-warning\",\n        propertyName: 'translatedUsableStatus',\n        filteredBy: 'usable',\n        filterWithSelect: true,\n        predefinedFilterOptions: usableStatuses,\n        className: 'stateRow'\n      }, {\n        propertyName: 'translatedStatus',\n        title: this.get('intl').t('menu.list.table.status.header'),\n        filterWithSelect: true,\n        filteredBy: 'status',\n        predefinedFilterOptions: this.get('menuStatuses'),\n        filterString: 'Active',\n        className: 'stateRow',\n        filterFunction: function filterFunction(cell, neededStr, obj) {\n          return isEqual(obj.get('translatedStatus').toLowerCase(), neededStr);\n        }\n      }, {\n        propertyName: 'company.name',\n        filteredBy: 'companyName',\n        title: this.get('intl').t('menu.list.table.company'),\n        isHidden: hideColumn\n      }, {\n        propertyName: 'updatedAt',\n        filteredBy: 'updatedAt',\n        title: this.get('intl').t('menu.list.table.updatedAt'),\n        template: \"menu/updateAt-cell\"\n      }];\n    }),\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    _filterData: function _filterData(menus) {\n      return menus.filter(function (item) {\n        return !item.get('isNew') || !item.get('isDeleted');\n      }).sortBy('name');\n    },\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      // BRP-3543 (Defect D): the original code set selectedModels to null, which\n      // would NPE when subsequent close* actions called this.get('selectedModels').clear()\n      // and also left selectedMenusCount unable to derive a numeric count. Initialize\n      // to an empty Ember.A() instead so every consumer can rely on a real array.\n      this.set('selectedModels', A());\n\n      if (this.get('menu').then === undefined) {\n        this.set('data', this.get('menu'));\n      } else {\n        this.get('menu').then(function (content) {\n          return run(function () {\n            return _this.set('data', content);\n          });\n        });\n      }\n    },\n    actions: {\n\n      /**\n       * BRP-3543 (Defect D): bridge the models-table-server-paginated addon's\n       * `displayDataChangedAction` event into this component's\n       * `selectedModels` array. The addon fires this action with a settings\n       * object that includes its internal `_selectedItems`; without this\n       * handler the bulk Deactivate / Activate buttons always saw an empty\n       * selection.\n       */\n      displayDataChanged: function displayDataChanged(settings) {\n        var fromAddon = settings && settings.selectedItems;\n        this.set('selectedModels', fromAddon ? A(fromAddon) : A());\n      },\n\n      /**\n       * Displays the modal asking if the user is sure that they want to archived the menu\n       * @param record the selected menu in the table\n       */\n      openDeactivateMenuModal: function openDeactivateMenuModal(record) {\n        this.set('deactivateSelectedMenu', record);\n        if (record.get('archived')) {\n          this.send('changeMenuVisibility');\n        } else {\n          this.set('showDeactivateMenuModal', true);\n        }\n      },\n\n      /**\n       * Displays the modal asking if the user is sure that they want to copy the menu\n       * @param record the selected menu in the table\n       */\n      openCopyMenuModal: function openCopyMenuModal(record) {\n        this.set('copyMenuId', record.get('id'));\n        this.set('copyMenuName', record.get('name') + \" (copy)\");\n        this.set('showCopyMenuModal', true);\n      },\n\n      /**\n       * Opens modal to push locations for menus\n       * @param record menu\n       */\n      openPushMenuModal: function openPushMenuModal(record) {\n        var _this2 = this;\n\n        var endpoint = \"/api/v1/menus/locations/\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'GET',\n          data: { menuId: record.id }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function (locations) {\n          _this2.set('pushLocations', locations.locations);\n          _this2.set('selectedMenuId', record.id);\n          _this2.set('showPushMenuModal', true);\n        };\n        options.error = function () {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          errorMessage = _this2.get('notify').alert(_this2.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n          _this2.get('errorMessages').addObject(errorMessage);\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n\n      /**\n       * Displays the modal asking if the user is sure that they want to unlock the menu\n       * @param record the selected menu in the table\n       */\n      openLockMenuModal: function openLockMenuModal(record) {\n        this.set('lockMenuId', record.get('id'));\n        this.set('showLockMenuModal', true);\n      },\n\n      /**\n       *  Sends menu record to copy\n       * @param record menu\n       */\n      copyMenu: function copyMenu() {\n        this.set('showCopyMenuModal', false);\n        this.sendAction('copyMenu', this.get('copyMenuId'), this.get('copyMenuName'));\n      },\n\n      /**\n       * Unlocks Menu\n       * @param record menu\n       */\n      unlockMenu: function unlockMenu() {\n        this.set('showLockMenuModal', false);\n        this.sendAction('unlockMenu', this.get('lockMenuId'));\n      },\n\n      /**\n       * Changes the visibility state of a menu Archived: True/False\n       */\n      changeMenuVisibility: function changeMenuVisibility() {\n        var menuId = A();\n        menuId.addObject(this.get('deactivateSelectedMenu.id'));\n        this.set('showDeactivateMenuModal', false);\n        this.sendAction('toggleMenusArchive', menuId, !this.get('deactivateSelectedMenu.archived'));\n      },\n\n      /**\n       * Closes the modal\n       */\n      closeDeactivateModal: function closeDeactivateModal() {\n        this.set('showDeactivateMenuModal', false);\n        this.get('selectedModels').clear();\n      },\n\n      /**\n       * Closes the modal\n       */\n      closeUnlockMenuModal: function closeUnlockMenuModal() {\n        this.set('showLockMenuModal', false);\n        this.get('selectedModels').clear();\n      },\n\n      /**\n       * Closes the modal\n       */\n      closePushMenuModal: function closePushMenuModal() {\n        this.set('showPushMenuModal', false);\n        this.set('selectedMenuId', null);\n        this.get('selectedModels').clear();\n      },\n\n      pushMenu: function pushMenu(menuId, locations, force) {\n        this.set('showPushMenuModal', false);\n        this.sendAction('pushMenu', menuId, locations, force);\n        this.set('selectedMenuId', null);\n      },\n\n      /**\n       * Closes the modal and set the selected copy menu id to 0\n       */\n      closeCopyModal: function closeCopyModal() {\n        this.set('copyMenuId', 0);\n        this.set('copyMenuName', \"\");\n        this.set('showCopyMenuModal', false);\n        this.get('selectedModels').clear();\n      },\n      editMenu: function editMenu(menuId) {\n        this.sendAction('editMenu', menuId);\n      },\n      toggleMenusArchive: function toggleMenusArchive(archive) {\n        var _this3 = this;\n\n        if (this.get('selectedModels.length') > 0) {\n          (function () {\n            var menuIds = A();\n            _this3.get('selectedModels').forEach(function (menu) {\n              menuIds.addObject(parseInt(menu.id));\n            });\n\n            _this3.sendAction('toggleMenusArchive', menuIds, archive);\n          })();\n        }\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/components/menu/menu-list/push-menu-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    locations: [],\n    selectedLocations: [],\n    _internalSelectedLocations: [],\n    _sortCriteria: ['name'],\n    _sortedLocations: computed.sort('_locations', '_sortCriteria'),\n    _showLocationsContent: true,\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.get('selectedLocations').clear();\n      this.get('selectedLocations').addObjects(this.get('locations'));\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('locations').clear();\n      this.get('selectedLocations').clear();\n    },\n    actions: {\n      closePushMenuModal: function closePushMenuModal() {\n        this.sendAction('closePushMenuModal');\n      },\n      pushMenu: function pushMenu() {\n        var locations = [];\n        this.get('selectedLocations').forEach(function (location) {\n          locations.addObject(parseInt(location.id));\n        });\n        this.sendAction('pushMenu', this.get('menu'), locations, false);\n      },\n      forcePushMenu: function forcePushMenu() {\n        var locations = [];\n        this.get('selectedLocations').forEach(function (location) {\n          locations.addObject(parseInt(location.id));\n        });\n        this.sendAction('pushMenu', this.get('menu'), locations, true);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-list/push-menu-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"bEtBQ4c8\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.pushMenuModal.title\\\"],null],\\\"closePushMenuModal\\\",true,\\\"center\\\"]],2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"list-picker\\\"],null,[[\\\"content\\\",\\\"selection\\\",\\\"multiple\\\",\\\"optionGroupPath\\\",\\\"optionLabelPath\\\",\\\"optionValuePath\\\"],[[\\\"get\\\",[\\\"locations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"content.name\\\",\\\"content.name\\\",\\\"content.id\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row locationsContainer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showLocationsContent\\\"]]],null,1,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n     \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"forcePushMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.pushMenuModal.buttons.forcePush\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableOk\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"pushMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.pushMenuModal.buttons.push\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closePushMenuModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.pushMenuModal.buttons.cancelPush\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-list/push-menu-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+4h59iqo\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 50px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showCopyMenuModal\\\"]]],null],[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showLockMenuModal\\\"]]],null],[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showDeactivateMenuModal\\\"]]],null],[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showPushMenuModal\\\"]]],null]],null]],null,9],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:right;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleMenusArchive\\\",true]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.deactivateBulk\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedMenusCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleMenusArchive\\\",false]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.activateBulk\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedMenusCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showDeactivateMenuModal\\\"]]],null,6],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCopyMenuModal\\\"]]],null,4],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPushMenuModal\\\"]]],null,2],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showLockMenuModal\\\"]]],null,1],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"sendDisplayDataChangedAction\\\",\\\"displayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"openDeactivateMenuModal\\\",\\\"openCopyMenuModal\\\",\\\"openLockMenuModal\\\",\\\"openPushMenuModal\\\",\\\"editMenu\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],true,\\\"displayDataChanged\\\",true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",\\\"openDeactivateMenuModal\\\",\\\"openCopyMenuModal\\\",\\\"openLockMenuModal\\\",\\\"openPushMenuModal\\\",\\\"editMenu\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.unlockModal.messageLine1\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.unlockModal.messageLine2\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableOk\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"unlockMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.unlockModal.buttons.unlock\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeUnlockMenuModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.unlockModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.unlockModal.title\\\"],null],\\\"closeUnlockMenuModal\\\",true,\\\"center\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-list/push-menu-modal\\\"],null,[[\\\"locations\\\",\\\"menu\\\",\\\"closePushMenuModal\\\",\\\"pushMenu\\\"],[[\\\"get\\\",[\\\"pushLocations\\\"]],[\\\"get\\\",[\\\"selectedMenuId\\\"]],\\\"closePushMenuModal\\\",\\\"pushMenu\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.copyModal.messageLine1\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"copyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.copyModal.messageLine1\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"copyMenuName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableOk\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"copyMenu\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.copyModal.buttons.copy\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeCopyModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.copyModal.buttons.cancelCopy\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.copyModal.title\\\"],null],\\\"closeCopyModal\\\",true,\\\"center\\\"]],3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px;margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.modal.messageLine1\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"display: block; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.modal.messageLine2\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableOk\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeMenuVisibility\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.modal.buttons.deactivate\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeDeactivateModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.modal.buttons.cancelDeactivate\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.table.modal.title\\\"],null],\\\"closeDeactivateModal\\\",true,\\\"center\\\"]],5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.errors.noMenuCreationWithoutCompanyLock\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.new\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-component\\\"],null,[[\\\"event\\\",\\\"isShown\\\",\\\"class\\\",\\\"side\\\"],[\\\"none\\\",[\\\"get\\\",[\\\"_showNoCreationMenuTooltip\\\"]],\\\"tooltip-error\\\",\\\"right\\\"]],7]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[\\\"menu.new\\\"],[[\\\"class\\\",\\\"disabled\\\"],[\\\"btn btn-success\\\",[\\\"get\\\",[\\\"_disableMenuActions\\\"]]]],8]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-locations/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    selectedLocations: [],\n    _sortCriteria: ['name'],\n    _sortedCompanies: computed.sort('_companies', '_sortCriteria'),\n    locations: [],\n    actions: {\n      closeModal: function closeModal() {\n        this.sendAction('close');\n      },\n      addLocations: function addLocations() {\n        this.sendAction('saveAction');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-locations/locations/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    selectedLocations: [],\n    _internalSelectedLocations: [],\n    _locations: [],\n    _sortCriteria: ['name'],\n    _sortedLocations: computed.sort('_locations', '_sortCriteria'),\n    _showLocationsContent: true,\n    _getLocations: function _getLocations(locations) {\n      var _this = this;\n\n      var selectedLocations = [];\n      locations.forEach(function (location) {\n        _this.get('selectedLocations').forEach(function (selected) {\n          if (selected.get('id') === location.get('id')) {\n            selectedLocations.addObject(location);\n          }\n        });\n      });\n      this.set('selectedLocations', selectedLocations);\n    },\n    init: function init() {\n      var _this2 = this;\n\n      this._super.apply(this, arguments);\n      Logger.debug('didReceiveAttrs hook method');\n      this.set('_showLocationsContent', false);\n      if (this.get('_locations').then !== undefined) {\n        this.get('_locations').then(function (locations) {\n          _this2._getLocations(locations);\n          _this2.set('_showLocationsContent', true);\n        });\n      } else {\n        this.set('_showLocationsContent', true);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-locations/locations/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"g4KgqQoY\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showLocationsContent\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"list-picker\\\"],null,[[\\\"content\\\",\\\"selection\\\",\\\"multiple\\\",\\\"optionGroupPath\\\",\\\"optionLabelPath\\\",\\\"optionValuePath\\\"],[[\\\"get\\\",[\\\"_sortedLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"companyName\\\",\\\"content.name\\\",\\\"content.id\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-locations/locations/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-locations/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZNEHtVr+\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.linkLocationsModal.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row locationsContainer\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-locations/locations\\\"],null,[[\\\"_locations\\\",\\\"selectedLocations\\\"],[[\\\"get\\\",[\\\"locations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.linkLocationsModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addLocations\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.linkLocationsModal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-locations/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/menu-wizard/action-buttons/component', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend({\n    actions: {\n      nextStep: function nextStep() {\n        this.sendAction('nextStep');\n      },\n      previousStep: function previousStep() {\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      saveAction: function saveAction() {\n        this.set('saveEnabled', false);\n        this.sendAction('saveAction');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/action-buttons/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9dvL+PKc\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"previousStepButtonState\\\"]]],null,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nextStepButtonState\\\"]]],null,4],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveEnabled\\\"]]],null,3,0],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showMenuList\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.buttons.cancel\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.buttons.save\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isMenuChanged\\\"]]],null,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isWizardComplete\\\"]]],null,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"nextStep\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.buttons.next\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"previousStep\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.buttons.back\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/action-buttons/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/category-modal/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    newPages: [],\n    newCategory: undefined,\n    pagesDisabledOption: computed('newPages', function () {\n      return !(this.get('newPages.length') > 1 && this.get('menu.multiplePagesEnabled'));\n    }),\n    deletePageEnabled: computed('menu.multiplePagesEnabled', 'newPages.length', function () {\n      return this.get('menu.multiplePagesEnabled') && this.get('newPages.length') > 1;\n    }),\n    validatePages: function validatePages(pages) {\n      var _this = this;\n\n      var valid = true;\n      if (pages.length > 1) {\n        pages.forEach(function (page) {\n          if (isEmpty(page.get('name')) && valid) {\n            valid = false;\n            _this.get('notify').alert(_this.get('intl').t('menu.modal.categoryModal.errors.pagesEmptyNames'), { closeAfter: 5000 });\n          }\n        });\n      }\n      return valid;\n    },\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.get('newPages').addObjects(this.get('newCategory.pages'));\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('newPages').clear();\n    },\n    actions: {\n      addPage: function addPage() {\n        if (this.get('newPages.length') > 7) {\n          this.get('notify').alert(this.get('intl').t('menu.modal.categoryModal.errors.pagesMax'), { closeAfter: 5000 });\n        } else {\n          var newPage = this.get('store').createRecord('page');\n          this.get('newPages').addObject(newPage);\n          if (this.get('newPages.length') > 1) {\n            this.set('pagesEnabledOption', true);\n          }\n          this.get('menu').incrementProperty('pageCounter');\n        }\n      },\n      removePage: function removePage(page) {\n        if (page.id !== null && page.id !== undefined) {\n          this.get('newCategory.deletedPages').addObject(page.id);\n        }\n        this.get('newPages').removeObject(page);\n        if (this.get('newPages.length') === 1) {\n          this.set('pagesEnabledOption', false);\n        }\n        this.get('menu').decrementProperty('pageCounter');\n      },\n      addCategory: function addCategory(category) {\n        if (isEmpty(category.get('name'))) {\n          this.get('notify').alert(this.get('intl').t('menu.modal.categoryModal.errors.nameEmpty'), { closeAfter: 5000 });\n        } else if (this.get('menu.categories').filterBy('name', category.get('name')).length > 0) {\n          this.get('notify').alert(this.get('intl').t('menu.modal.categoryModal.errors.duplicatedCategoryName'), { closeAfter: 5000 });\n        } else {\n          if (this.validatePages(this.get('newPages'))) {\n            category.set('pages', this.get('newPages'));\n            this.addModalCategory(category);\n          }\n        }\n      },\n      editCategory: function editCategory(category) {\n        if (isEmpty(category.get('name'))) {\n          this.get('notify').alert(this.get('intl').t('menu.modal.categoryModal.errors.nameEmpty'), { closeAfter: 5000 });\n        } else if (this.get('menu.categories').filterBy('name', category.get('name')).length > 1) {\n          this.get('notify').alert(this.get('intl').t('menu.modal.categoryModal.errors.duplicatedCategoryName'), { closeAfter: 5000 });\n        } else {\n          if (this.validatePages(this.get('newPages'))) {\n            category.set('pages', this.get('newPages'));\n            this.editModalCategory(category);\n          }\n        }\n      },\n      cancelModal: function cancelModal(category) {\n        this.cancelCategoryModal(category);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/category-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"x8sF3NKP\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"categoryName\\\",\\\"true\\\",\\\"25\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"newCategory\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"multiplePagesEnabled\\\"]]],null,7],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"multiplePagesEnabled\\\"]],[\\\"get\\\",[\\\"newCategory\\\",\\\"multiplePagesEnabled\\\"]]],null]],null,4],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"newPages\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelModal\\\",[\\\"get\\\",[\\\"newCategory\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.buttons.cancel.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"editing\\\"]]],null,1,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editCategory\\\",[\\\"get\\\",[\\\"newCategory\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.buttons.update.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addCategory\\\",[\\\"get\\\",[\\\"newCategory\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.buttons.add.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash fa-2x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removePage\\\",[\\\"get\\\",[\\\"page\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 7px; margin-right: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Page \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"item-list-number\\\"],[[\\\"get\\\",[\\\"index\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"true\\\",\\\"25\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"page\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"deletePageEnabled\\\"]]],null,2],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"page\\\",\\\"index\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning modals-button col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 30px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addPage\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.buttons.addPage.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.radios.false\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.radios.true\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.multiplePages\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\",\\\"disabled\\\"],[true,[\\\"get\\\",[\\\"newCategory\\\",\\\"multiplePagesEnabled\\\"]],[\\\"get\\\",[\\\"pagesEnabledOption\\\"]]]],6],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\",\\\"disabled\\\"],[false,[\\\"get\\\",[\\\"newCategory\\\",\\\"multiplePagesEnabled\\\"]],[\\\"get\\\",[\\\"pagesEnabledOption\\\"]]]],5],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/category-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/menu-wizard/category-view/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend({\n    viewSelected: undefined,\n    actions: {\n      changeSelectedView: function changeSelectedView(selectedTab) {\n        this.set('viewSelected', selectedTab);\n        this.sendAction('onChangeTabView', this.get('viewSelected'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/category-view/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Bb/+vCfp\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"frost-tabs\\\"],null,[[\\\"selection\\\",\\\"onChange\\\"],[[\\\"get\\\",[\\\"viewSelected\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedView\\\"],null]]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/category-view/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/features/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var observer = _ember[\"default\"].observer;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n\n  /**\n   * The four Kitchen display timing fields, and the largest value any of them may hold.\n   *\n   * <p>Kept beside each other because the same bound is written twice: here, and as `max` on each\n   * input in template.hbs. The attribute stops the browser's own spinner and gives native feedback;\n   * this catches a pasted or typed value, which the attribute does not.\n   */\n  var KDS_TIMING_FIELDS = ['kdsNewToStartMaxSeconds', 'kdsStartToReadyMinSeconds', 'kdsStartToReadyMaxSeconds', 'kdsReadyToPickupMaxSeconds'];\n  var KDS_TIMING_MAX_SECONDS = 86400;\n\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    sendingTypes: computed(function () {\n      return this.get('store').findAll('orderSendingType');\n    }),\n    multiplePagesEnabledOption: computed('menu.categoriesCount', function () {\n      return !!(this.get('menu.categoriesCount') !== this.get('menu.pageCounter') && this.get('menu.multiplePagesEnabled'));\n    }),\n    employeeDiscountPercentageError: '',\n    multiplePagesError: '',\n    clerkLockCodeDisabled: computed('menu.clerkLockEnabled', function () {\n      return !this.get('menu.clerkLockEnabled');\n    }),\n    // Restrict the clerk lock code field to digits only. keypress blocks\n    // non-digit printable characters (mirrors the input-number component),\n    // and paste strips anything non-numeric. Length is capped via maxlength=5.\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.$('#clerkLockCode').on('keypress.clerkLock', function (key) {\n        return !(key.keyCode > 31 && (key.keyCode < 48 || key.keyCode > 57));\n      });\n      this.$('#clerkLockCode').on('paste.clerkLock', function (event) {\n        event.preventDefault();\n        var clipboard = (event.originalEvent || event).clipboardData;\n        var pasted = clipboard ? clipboard.getData('text') : '';\n        var digitsOnly = pasted.replace(/\\D/g, '').slice(0, 5);\n        _this.$('#clerkLockCode').val(digitsOnly);\n        _this.set('menu.clerkLockCode', digitsOnly);\n      });\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.$('#clerkLockCode').off('keypress.clerkLock paste.clerkLock');\n    },\n    inputEmployeeDiscountPercentage: computed(function () {\n      return this.get('menu.employeeDiscountPercentage');\n    }),\n    inputEmployeeDiscountPercentageObserver: observer('inputEmployeeDiscountPercentage', function () {\n      this.set('menu.employeeDiscountPercentage', parseFloat(this.get('inputEmployeeDiscountPercentage')));\n    }),\n    actions: {\n      nextStep: function nextStep() {\n        var _this2 = this;\n\n        this.sendAction('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n        if (!isEmpty(this.get('menu.employeeDiscountPercentage'))) {\n          if (!(this.get('menu.employeeDiscountPercentage') > 100 || this.get('menu.employeeDiscountPercentage') < 0) && !/^(100|[0-9]{1,2})(\\.[0-9]{1,2})?$/.test(this.get('menu.employeeDiscountPercentage'))) {\n            isValid = false;\n            this.set('employeeDiscountPercentageError', htmlSafe('has-error alert-danger'));\n            errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFour.employeeDiscount.errors.invalidPercentage'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n        if (this.get('menu.orderSendingType') === null || this.get('menu.orderSendingType.id') === undefined) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFour.transactionSending.errors.transactionTypeNotSelected'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n        // Kitchen display timings. The fields had min=\"1\" and no maximum and nothing checked them\n        // here at all -- the notPositive message existed in the translations and was referenced by\n        // nothing -- so 25 nines was accepted, serialised to the PUT as 1e+25, and came back as a\n        // 403 with no indication which field was at fault (TEST-BRP4105-06).\n        //\n        // The real ceiling is the column: INT, so 2147483647. 86400 is well inside it and is a day,\n        // which for a field measuring one stage of making one order is a guard rail rather than a\n        // business rule. Raise it here and in template.hbs together if a venue ever needs more.\n        KDS_TIMING_FIELDS.forEach(function (field) {\n          var raw = _this2.get('menu.' + field);\n          if (isEmpty(raw)) {\n            return;\n          } // Empty is the default, and is allowed.\n          var value = Number(raw);\n          if (!Number.isInteger(value) || value < 1) {\n            isValid = false;\n            errorMessage = _this2.get('notify').alert(_this2.get('intl').t('menu.builder.steps.stepFour.kdsTiming.errors.notPositive'), { closeAfter: 5000 });\n            _this2.get('errorMessages').addObject(errorMessage);\n          } else if (value > KDS_TIMING_MAX_SECONDS) {\n            isValid = false;\n            errorMessage = _this2.get('notify').alert(_this2.get('intl').t('menu.builder.steps.stepFour.kdsTiming.errors.tooLarge'), { closeAfter: 5000 });\n            _this2.get('errorMessages').addObject(errorMessage);\n          }\n        });\n        this.sendAction('nextStep', isValid);\n      },\n      previousStep: function previousStep() {\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      sendingTypeSelected: function sendingTypeSelected(type) {\n        this.set('menu.changed', true);\n        this.set('menu.orderSendingType', type);\n      },\n      updateCloudTabsEnabled: function updateCloudTabsEnabled() {\n        this.toggleProperty('menu.tabEnabled');\n        if (!this.get('menu.tabEnabled')) {\n          this.set('menu.cloudTabsEnabled', false);\n        }\n      },\n      toggleClerkLock: function toggleClerkLock() {\n        this.toggleProperty('menu.clerkLockEnabled');\n        if (!this.get('menu.clerkLockEnabled')) {\n          this.set('menu.clerkLockCode', null);\n        }\n      },\n      save: function save() {\n        if (!this.get('menu.tipAmountButtonsEnabled')) {\n          this.set('menu.tipButton.buttonOne', 1);\n          this.set('menu.tipButton.buttonTwo', 5);\n          this.set('menu.tipButton.buttonThree', 10);\n        }\n\n        if (!this.get('menu.tipPercentageButtonsEnabled')) {\n          this.set('menu.tipPercentage.percentageOne', 15);\n          this.set('menu.tipPercentage.percentageTwo', 18);\n          this.set('menu.tipPercentage.percentageThree', 20);\n        }\n\n        this.sendAction('save');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/features/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"bk9Q9qXI\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableTabsCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.tabs.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",\\\"enableTabsCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tabEnabled\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updateCloudTabsEnabled\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,12],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group mb-4 bg-gray-light border border-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"bg-gray-light\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.tips.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"tipAmountButtonsCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.tips.tipAmountButtonsEnabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"tipAmountButtonsCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipAmountButtonsEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"tipPercentageButtonsCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.tips.tipPercentageButtonsEnabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"tipPercentageButtonsCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipPercentageButtonsEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"tipManualEntryCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.tips.tipManualEntryEnabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"tipManualEntryCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipManualEntryEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"tipMinusPlusOneButtonsCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.tips.tipMinusPlusOneButtonsEnabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"tipMinusPlusOneButtonsCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipMinusPlusOneButtonsEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row bg-gray-light\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"tipAmountButtonsEnabled\\\"]]],null,10],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"tipPercentageButtonsEnabled\\\"]]],null,9],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"multiplePagesError\\\"]],\\\" mt-4\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enabledMultiplePagesCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.multiplePages.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enabledMultiplePagesCheckBoxDiv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"disabled\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enabledMultiplePagesCheckBox\\\",\\\"false\\\",[\\\"get\\\",[\\\"multiplePagesEnabledOption\\\"]],\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"multiplePagesEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"side\\\",\\\"target\\\",\\\"class\\\",\\\"duration\\\"],[\\\"hover\\\",\\\"right\\\",\\\"#enabledMultiplePagesCheckBoxDiv\\\",\\\"tooltipHelp\\\",6000]],8],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enabledStandaloneCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.standalone.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enabledStandaloneCheckBoxDiv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enabledStandaloneCheckBox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"standaloneEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enabledStandaloneCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.colorButtons.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enabledStandaloneCheckBoxDiv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enabledColorButtonsCheckBox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"buttonColorEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"employeeDiscountPercentageError\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"employeeDiscountField\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.employeeDiscount.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"required\\\",\\\"class\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\"],[\\\"true\\\",\\\"form-control\\\",\\\"100\\\",\\\"0\\\",[\\\"get\\\",[\\\"inputEmployeeDiscountPercentage\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.employeeDiscount.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.transactionSending.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sendingTypes\\\"]],[\\\"get\\\",[\\\"menu\\\",\\\"orderSendingType\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.transactionSending.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendingTypeSelected\\\"],null]]],5],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCustomProductsCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.customProducts.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableCustomProductsCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"customProductEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableDiningPreferenceCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.diningPreference.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableDiningPreferenceCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"diningPreferenceSelectionEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enabledOrderNoteCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.orderNote.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enabledOrderNoteCheckBoxDiv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enabledOrderNoteCheckBox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"orderNoteEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enabledProductImagesCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.productImages.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enabledProductImagesCheckBoxDiv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enabledProductImagesCheckBox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"productImageEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enabledClerkLockCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.clerkLock.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enabledClerkLockCheckBoxDiv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",\\\"enabledClerkLockCheckBox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"clerkLockEnabled\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleClerkLock\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"clerkLockCodeGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"clerkLockCode\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.clerkLock.codeLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"maxlength\\\",\\\"placeholder\\\",\\\"disabled\\\",\\\"class\\\",\\\"value\\\"],[\\\"tel\\\",\\\"clerkLockCode\\\",\\\"5\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.clerkLock.codePlaceholder\\\"],null],[\\\"get\\\",[\\\"clerkLockCodeDisabled\\\"]],\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"clerkLockCode\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"kdsTimingSection\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.sectionLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],4],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"kdsNewToStartMaxSecondsGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"kdsNewToStartMaxSeconds\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.newToStartMax.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"min\\\",\\\"max\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"number\\\",\\\"1\\\",\\\"86400\\\",\\\"kdsNewToStartMaxSeconds\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.blankPlaceholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"kdsNewToStartMaxSeconds\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.seconds\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"kdsStartToReadyMinSecondsGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"kdsStartToReadyMinSeconds\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.startToReadyMin.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"min\\\",\\\"max\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"number\\\",\\\"1\\\",\\\"86400\\\",\\\"kdsStartToReadyMinSeconds\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.noEstimatePlaceholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"kdsStartToReadyMinSeconds\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.seconds\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"kdsStartToReadyMaxSecondsGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"kdsStartToReadyMaxSeconds\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.startToReadyMax.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],1],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"min\\\",\\\"max\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"number\\\",\\\"1\\\",\\\"86400\\\",\\\"kdsStartToReadyMaxSeconds\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.blankPlaceholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"kdsStartToReadyMaxSeconds\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.seconds\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"kdsReadyToPickupMaxSecondsGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"kdsReadyToPickupMaxSeconds\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.readyToPickupMax.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"min\\\",\\\"max\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"number\\\",\\\"1\\\",\\\"86400\\\",\\\"kdsReadyToPickupMaxSeconds\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.blankPlaceholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"kdsReadyToPickupMaxSeconds\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.seconds\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.readyToPickupMax.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.startToReadyMax.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.startToReadyMin.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.newToStartMax.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.kdsTiming.sectionInfoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.multiplePages.deafultTooltip\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.multiplePages.errorTooltip\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"multiplePagesEnabled\\\"]]],null,7,6]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"control-label\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          Percentage buttons\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"tip-percentage\\\"],null,[[\\\"menu\\\"],[[\\\"get\\\",[\\\"menu\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"control-label\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          Cash buttons\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"tip-button\\\"],null,[[\\\"menu\\\"],[[\\\"get\\\",[\\\"menu\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCloudTabsCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.cloudTabs.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableCloudTabsCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"cloudTabsEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h6\\\",[]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"white-space: normal\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.cloudTabs.message\\\"],null],false],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"tabEnabled\\\"]]],null,11]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/features/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/menu-information/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/common-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsCommonMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    //todo get these from server in the future\n    currencies: ['USD'],\n    menuName: '',\n    menuCurrency: '',\n    adminCode: '',\n    cashlessAdminCode: '',\n    voidAdminCode: '',\n    linkLocations: false,\n    selectedLocations: [],\n    availableLocations: computed(function () {\n      return this.get('store').query('location', { companyId: this.get('menu.company.id'), status: true });\n    }),\n    showCashlessCode: false,\n    selectedLocationsCount: computed('menu.menuLocations.length', function () {\n      var locationsCount = 0;\n      if (this.get('menu.menuLocations.length') > 0) {\n        locationsCount += this.get('menu.menuLocations.length');\n      }\n      return locationsCount;\n    }),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      if (this.get('menu.cashlessAdminCode')) {\n        this.set('showCashlessCode', true);\n      }\n\n      if (this.get('availableLocations').then !== undefined) {\n        this.get('availableLocations').then(function (content) {\n          run(function () {\n            _this.set('availableLocations', content);\n          });\n        });\n      } else {\n        this.set('availableLocations', this.get('availableLocations'));\n      }\n    },\n    /**\n     * Method that cycles the menuLocations to get and set the selectedLocations\n     */\n    updateSelectedLocations: function updateSelectedLocations() {\n      var _this2 = this;\n\n      // Initialize variables\n      var currentMenu = this.get('menu');\n      this.get('selectedLocations').clear();\n\n      Logger.debug('setting up data for menuLocation modal');\n      // For each location in the menuLocations, add it to the selectedLocations list\n      currentMenu.get('menuLocations').forEach(function (menuLocation) {\n        var location = _this2.get('availableLocations').findBy('id', menuLocation.get('locationObject.id'));\n        if (location !== undefined) {\n          _this2.get('selectedLocations').addObject(location);\n        }\n      });\n\n      // Sets the selected company from the menu\n      this.set('selectedCompany', currentMenu.get('company'));\n      // Show selected locations modal\n      this.set('linkLocations', true);\n    },\n    actions: {\n      currencySelected: function currencySelected(currency) {\n        this.set('menu.currency', currency);\n      },\n      nextStep: function nextStep() {\n        this.sendAction('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n        if (isEmpty(this.get('menu.name'))) {\n          isValid = false;\n          this.set('menuName', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.emptyName'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isEmpty(this.get('menu.currency'))) {\n          this.set('menuCurrency', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.currencyNotSelected'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          isValid = false;\n        }\n\n        var reg = new RegExp('^\\\\d{5}$');\n\n        if (isEmpty(this.get('menu.adminCode'))) {\n          this.set('adminCode', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.adminCode'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          isValid = false;\n        } else if (!reg.test(this.get('menu.adminCode'))) {\n          this.set('adminCode', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.adminCodeNotNumeric'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          isValid = false;\n        }\n\n        if (this.get('showCashlessCode')) {\n          if (isEmpty(this.get('menu.cashlessAdminCode'))) {\n            this.set('cashlessAdminCode', htmlSafe('has-error alert-danger'));\n            errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.cashlessAdminCode'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n            isValid = false;\n          } else if (!reg.test(this.get('menu.cashlessAdminCode'))) {\n            this.set('cashlessAdminCode', htmlSafe('has-error alert-danger'));\n            errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.cashlessAdminCodeNotNumeric'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n            isValid = false;\n          }\n        }\n\n        if (isEmpty(this.get('menu.voidAdminCode'))) {\n          this.set('voidAdminCode', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.voidAdminCode'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          isValid = false;\n        } else if (!reg.test(this.get('menu.voidAdminCode'))) {\n          this.set('voidAdminCode', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.voidAdminCodeNotNumeric'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          isValid = false;\n        }\n\n        this.sendAction('nextStep', isValid);\n      },\n      previousStep: function previousStep() {\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      save: function save() {\n        this.sendAction('save');\n      },\n      openLocationsSelectors: function openLocationsSelectors() {\n        var _this3 = this;\n\n        //Validate if the availableLocations promise exists\n        // wait for the promise to fulfill and update locations\n        // or just update locations\n        if (this.get('availableLocations').then !== undefined) {\n          this.get('availableLocations').then(function (content) {\n            run(function () {\n              _this3.updateSelectedLocations();\n            });\n          });\n        } else {\n          this.updateSelectedLocations();\n        }\n      },\n      closeLocationsSelectors: function closeLocationsSelectors() {\n        this.set('linkLocations', false);\n      },\n      addLocationSelection: function addLocationSelection() {\n        var _this4 = this;\n\n        var menuLocations = _ember[\"default\"].Map.create();\n        //create and insert into a map a new menuLocation for each selected location\n        this.get('selectedLocations').forEach(function (item) {\n          var newMenuLocation = _this4.get('store').createFragment('menuLocation', { location: item.get('id') });\n          menuLocations.set(item.get('id'), newMenuLocation);\n        });\n\n        //insert old menu locations into the map if they still there\n        this.get('menu.menuLocations').forEach(function (menuLocation) {\n          if (menuLocations.has(menuLocation.get('location'))) {\n            menuLocations.set(menuLocation.get('location'), menuLocation);\n          }\n        });\n\n        //transform map to an array\n        var menuLocationList = [];\n        menuLocations.forEach(function (menuLocation) {\n          menuLocationList.addObject(menuLocation);\n        });\n\n        //set new menuLocations to the selected menu\n        this.set('menu.menuLocations', menuLocationList);\n        this.set('selectedLocationsCount', menuLocationList.length);\n        this.send('closeLocationsSelectors');\n      },\n      showCashlessCodeChanged: function showCashlessCodeChanged(event) {\n        var newVal = event.target.checked;\n        this.set('showCashlessCode', newVal);\n        if (!this.get('showCashlessCode')) {\n          this.set('menu.cashlessAdminCode', '');\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/menu-information/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"zjRIhHQ3\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"menuName\\\"]]]]],[\\\"static-attr\\\",\\\"id\\\",\\\"menuNameGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"menuName\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuName.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"menuName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuName.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-weight: bold; font-size: small\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-weight: bold; font-size: small\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuName.noteLine1\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-weight: bold; font-size: small\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuName.noteLine2\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"menuCurrency\\\"]]]]],[\\\"static-attr\\\",\\\"id\\\",\\\"menuCurrencyGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"menuCurrency\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuCurrency.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"currencies\\\"]],[\\\"get\\\",[\\\"menu\\\",\\\"currency\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuCurrency.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"currencySelected\\\"],null]]],8],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openLocationsSelectors\\\",[\\\"get\\\",[\\\"menuItem\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"isNew\\\"]]],null,7,6],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.locationsCount\\\"],[[\\\"count\\\"],[[\\\"get\\\",[\\\"selectedLocationsCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.menuCodes\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"adminCode\\\"]]]]],[\\\"static-attr\\\",\\\"id\\\",\\\"adminCodeGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"adminCode\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.administratorCode.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"adminCode\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.administratorCode.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"adminCode\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"voidAdminCode\\\"]]]]],[\\\"static-attr\\\",\\\"id\\\",\\\"voidAdminCodeGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"voidAdminCode\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.voidAdministratorCode.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],4],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"voidAdminCode\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.voidAdministratorCode.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"voidAdminCode\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"showPastOrdersManagerCodeRequired\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"pastOrdersManagerCodeRequiredCheckbox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.pastOrdersManagerCodeRequired.checkboxLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"pastOrdersManagerCodeRequiredCheckbox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"pastOrdersManagerCodeRequired\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"side\\\",\\\"target\\\",\\\"class\\\",\\\"duration\\\"],[\\\"hover\\\",\\\"right\\\",\\\"#pastOrdersManagerCodeRequiredCheckbox\\\",\\\"tooltipHelp\\\",7000]],3],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"showCashlessAdminCode\\\"]]]]],[\\\"static-attr\\\",\\\"id\\\",\\\"showCashlessAdminCodeGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"cashlessCodeCheckbox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.cashlessAdministratorCode.checkboxLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",\\\"cashlessCodeCheckbox\\\",\\\"false\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"showCashlessCode\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showCashlessCodeChanged\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCashlessCode\\\"]]],null,2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"linkLocations\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-locations\\\"],null,[[\\\"close\\\",\\\"saveAction\\\",\\\"selectedLocations\\\",\\\"locations\\\"],[\\\"closeLocationsSelectors\\\",\\\"addLocationSelection\\\",[\\\"get\\\",[\\\"selectedLocations\\\"]],[\\\"get\\\",[\\\"availableLocations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.cashlessAdministratorCode.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"cashlessAdminCode\\\"]]]]],[\\\"static-attr\\\",\\\"id\\\",\\\"cashlessAdminCodeGroup\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"cashlessAdminCode\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.cashlessAdministratorCode.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"right\\\"]],1],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"cashlessAdminCode\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.cashlessAdministratorCode.placeholder\\\"],null],[\\\"get\\\",[\\\"showCashlessCode\\\"]],\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"cashlessAdminCode\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.pastOrdersManagerCodeRequired.infoText\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.voidAdministratorCode.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.administratorCode.infoText\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.editLocations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepOne.addLocations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"currency\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"currency\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/menu-information/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/menu-structure/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: computed(function () {\n      return A();\n    }),\n    tabViewSelected: computed(function () {\n      if (this.get('tabViewSelected ') === undefined) {\n        return \"list_view\";\n      } else {\n        return this.get('tabViewSelected');\n      }\n    }),\n    tabCategorySelected: undefined,\n    showModalCategory: false,\n    newCategory: null,\n    saveStepError: '',\n    needRefreshCategory: true,\n    needRefreshPagesTable: true,\n    needRefreshTabletView: true,\n    editing: false,\n    _pageIndex: 0,\n    _page: undefined,\n    init: function init() {\n      this._super.apply(this, arguments);\n      var addCategoryButton = {\n        tag: 'add',\n        label: this.get('intl').t('menu.builder.steps.stepSix.buttons.category.add.label')\n      };\n      this.get('menu.categories').setEach('activeCategoryButton', false);\n      this.get('data').addObjects(this.get('menu.categories')).addObject(addCategoryButton);\n      if (this.get('menu.categories') !== undefined && this.get('menu.categories.length') > 0) {\n        this.set('tabCategorySelected', this.get('menu.categories').objectAt(0));\n        this.set('tabCategorySelected.activeCategoryButton', true);\n        this.set('_page', this.get('tabCategorySelected.pages').objectAt(this.get('_pageIndex')));\n        this.initProductPositions(this.get('_page'));\n      }\n    },\n    initProductPositions: function initProductPositions(page) {\n      //init product positions in case they don't have i.e. position is zero (it's possible that some new imported menus do not a position yet)\n      page.get('products').forEach(function (product, idx) {\n        Logger.debug(\"index: \" + idx + \", product \" + product.get('id') + \", position \" + product.get('position'));\n        if (isEqual(product.get('position'), 0)) {\n          product.set('position', idx + 1);\n        }\n      });\n    },\n    refreshCategory: function refreshCategory() {\n      if (this.get('menu.categories.length') > 0) {\n        this.set('_pageIndex', 0);\n        if (this.get('tabCategorySelected') !== undefined) {\n          this.set('tabCategorySelected.activeCategoryButton', false);\n        }\n        this.set('tabCategorySelected', this.get('menu.categories').objectAt(0));\n        this.set('tabCategorySelected.activeCategoryButton', true);\n        if (this.get('tabCategorySelected.pages.length') > 0) {\n          this.set('_page', this.get('tabCategorySelected.pages').objectAt(this.get('_pageIndex')));\n        }\n      } else {\n        this.set('tabCategorySelected', null);\n      }\n    },\n    setFirstPageSelected: function setFirstPageSelected(category) {\n      this.set('_pageIndex', 0);\n      if (category.get('pages.length') > 0) {\n        this.set('_page', category.get('pages').objectAt(this.get('_pageIndex')));\n      }\n    },\n    refreshPagesTable: function refreshPagesTable(category) {\n      var _this = this;\n\n      this.set('needRefreshPagesTable', false);\n      if (this.get('tabCategorySelected')) {\n        //un-select previous selected category\n        this.set('tabCategorySelected.activeCategoryButton', false);\n      }\n      //assign new selected category\n      this.set('tabCategorySelected', category);\n      //set as active new category\n      this.set('tabCategorySelected.activeCategoryButton', true);\n      if (category.get(\"isNew\")) {\n        this.setFirstPageSelected(category);\n      } else {\n        if (!category.get('pages').includes(this.get('_page'))) {\n          this.setFirstPageSelected(category);\n        }\n      }\n      run.next(function () {\n        _this.set('needRefreshPagesTable', true);\n      });\n    },\n    actions: {\n      nextStep: function nextStep() {\n        this.send('cleanMessages');\n        this.sendAction('nextStep', true);\n      },\n      previousStep: function previousStep() {\n        this.send('cleanMessages');\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      tabCategorySelectedAction: function tabCategorySelectedAction(categorySelected) {\n        this.set('tabCategorySelected.activeCategoryButton', false);\n        this.refreshPagesTable(categorySelected);\n      },\n      addCategory: function addCategory(category) {\n        this.set('menu.changed', true);\n        if (category.get('pages.length') === 0) {\n          var categoryDefaultPage = this.get('store').createRecord('page');\n          category.get('pages').addObject(categoryDefaultPage);\n          this.get('menu').incrementProperty('pagesCounter');\n        }\n        this.get('menu.categories').addObject(category);\n        this.get('data').insertAt(this.get('data').length - 1, category);\n        this.send('closeModal');\n        this.refreshPagesTable(category);\n      },\n      editCategory: function editCategory(category) {\n        this.set('menu.changed', true);\n        this.set('tabCategorySelected', category);\n        this.send('closeModal');\n        this.refreshPagesTable(category);\n      },\n      openModal: function openModal() {\n        this.set('editing', false);\n        this.set('newCategory', this.get('store').createRecord('category'));\n        this.set('showModalCategory', true);\n      },\n      editModal: function editModal() {\n        this.set('editing', true);\n        this.set('newCategory', this.get('tabCategorySelected'));\n        this.set('showModalCategory', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showModalCategory', false);\n      },\n      cancelModal: function cancelModal(newCategory) {\n        if (!newCategory.get('isNew')) {\n          newCategory.rollbackAttributes();\n          this.set('newCategory', newCategory);\n        }\n        this.set('showModalCategory', false);\n      },\n      removeCategory: function removeCategory() {\n        this.set('menu.changed', true);\n        this.get('data').removeObject(this.get('tabCategorySelected'));\n        if (this.get('tabCategorySelected.id') !== null && this.get('tabCategorySelected.id') !== undefined) {\n          this.get('menu.deletedCategories').addObject(this.get('tabCategorySelected.id'));\n        }\n        this.get('menu.categories').removeObject(this.get('tabCategorySelected'));\n        this.refreshCategory();\n      },\n      sortAction: function sortAction(list) {\n        list.forEach(function (item, index) {\n          item.set('position', index + 1);\n        });\n        Logger.debug('sorted list', list);\n        this.set('_page.products', list);\n      },\n      categoryBackAction: function categoryBackAction() {\n        Logger.debug('left pressed!!!');\n        if (this.get('_pageIndex') > 0) {\n          this.decrementProperty('_pageIndex');\n          var page = this.get('tabCategorySelected.pages').objectAt(this.get('_pageIndex'));\n          this.set('_page', page);\n          this.initProductPositions(page);\n        }\n      },\n      categoryNextAction: function categoryNextAction() {\n        Logger.debug('right pressed!!!');\n        if (this.get('_pageIndex') < this.get('tabCategorySelected.pages.length') - 1) {\n          this.incrementProperty('_pageIndex');\n          var page = this.get('tabCategorySelected.pages').objectAt(this.get('_pageIndex'));\n          this.set('_page', page);\n          this.initProductPositions(page);\n        }\n      },\n      onTabClickAction: function onTabClickAction(selectedTab) {\n        var _this2 = this;\n\n        this.get('tabCategorySelected.pages').every(function (page, index) {\n          if (isEqual(page.get('pageId'), selectedTab)) {\n            _this2.set('_page', page);\n            _this2.set('_pageIndex', index);\n            _this2.initProductPositions(page);\n            return false;\n          }\n          return true;\n        });\n      },\n      changePositionAction: function changePositionAction(product, position) {\n        this.set('needRefreshTabletView', false);\n        if (position !== null) {\n          var targetProductAtPosition = null;\n          if (this.get('_page.products').findBy('position', position) !== null && this.get('_page.products').findBy('position', position) !== undefined) {\n            targetProductAtPosition = this.get('_page.products').findBy('position', position);\n          } else {\n            targetProductAtPosition = this.get('_page.productGroups').findBy('position', position);\n          }\n          if (targetProductAtPosition !== undefined) {\n            targetProductAtPosition.set('position', product.get('position'));\n            product.set('position', position);\n          } else {\n            product.set('position', position);\n          }\n        } else {\n          product.set('position', 0);\n        }\n        this.set('needRefreshTabletView', true);\n      },\n      onChangeTabView: function onChangeTabView(selectedTabView) {\n        this.set('tabViewSelected', selectedTabView);\n      },\n      save: function save() {\n        this.send('cleanMessages');\n        this.sendAction('save');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/menu-structure/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"269ltOI/\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"needRefreshCategory\\\"]]],null,9],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveStepError\\\"]]],null,2],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalCategory\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/category-modal\\\"],null,[[\\\"newCategory\\\",\\\"menu\\\",\\\"addModalCategory\\\",\\\"editModalCategory\\\",\\\"cancelCategoryModal\\\",\\\"editing\\\"],[[\\\"get\\\",[\\\"newCategory\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addCategory\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editCategory\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelModal\\\"],null],[\\\"get\\\",[\\\"editing\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.categoryModal.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"alert-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"saveStepError\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/tablet-view\\\"],null,[[\\\"page\\\",\\\"sortAction\\\",\\\"needRefreshTabletView\\\"],[[\\\"get\\\",[\\\"_page\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sortAction\\\"],null],[\\\"get\\\",[\\\"needRefreshTabletView\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/pages-table\\\"],null,[[\\\"selectedPage\\\",\\\"pages\\\",\\\"menu\\\",\\\"onTabClickAction\\\",\\\"changePositionAction\\\"],[[\\\"get\\\",[\\\"_page\\\"]],[\\\"get\\\",[\\\"tabCategorySelected\\\",\\\"pages\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"onTabClickAction\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePositionAction\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"frost-tab\\\"],null,[[\\\"alias\\\",\\\"id\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.listView\\\"],null],\\\"list_view\\\"]],4],[\\\"block\\\",[\\\"frost-tab\\\"],null,[[\\\"alias\\\",\\\"id\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.tabletView\\\"],null],\\\"tablet_view\\\"]],3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"menu/menu-wizard/category-view\\\"],null,[[\\\"onChangeTabView\\\",\\\"viewSelected\\\"],[[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"onChangeTabView\\\"],null],[\\\"get\\\",[\\\"tabViewSelected\\\"]]]],5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"tabCategorySelected\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 5px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeCategory\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 5px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editModal\\\",[\\\"get\\\",[\\\"tabCategorySelected\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"needRefreshPagesTable\\\"]]],null,6]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"select-button\\\"],null,[[\\\"category\\\",\\\"page\\\",\\\"openModal\\\",\\\"tabCategorySelectedAction\\\",\\\"backAction\\\",\\\"nextAction\\\"],[[\\\"get\\\",[\\\"item\\\"]],[\\\"get\\\",[\\\"_page\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModal\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"tabCategorySelectedAction\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"categoryBackAction\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"categoryNextAction\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\",\\\"index\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"category-grid col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0; max-width: 180px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"ember-collection\\\"],null,[[\\\"items\\\",\\\"scroll-left\\\",\\\"cell-layout\\\"],[[\\\"get\\\",[\\\"data\\\"]],0,[\\\"helper\\\",[\\\"fixed-grid-layout\\\"],[180,70],null]]],8],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-10 col-md-10 col-lg-10 page-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pageTable\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"tabCategorySelected\\\"]]],null,7],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/menu-structure/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/menu-wizard/page-view/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var A = _ember['default'].A;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    items: [],\n    sortField: 'position',\n    sortCriteria: computed(function () {\n      var criteria = A();\n      criteria.addObject(this.get('sortField'));\n      return criteria;\n    }),\n    sortedItems: computed.sort('items', 'sortCriteria')\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/page-view/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"81OMtA+4\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"u-pullLeft view-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"sortable-objects\\\"],null,[[\\\"sortableObjectList\\\",\\\"sortEndAction\\\",\\\"enableSort\\\"],[[\\\"get\\\",[\\\"sortedItems\\\"]],\\\"sortAction\\\",false]],5],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"productName\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"b\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"productName\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"b\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",\\\"ProductGroup\\\",false],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"productPrice\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"price\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",[\\\"get\\\",[\\\"item\\\",\\\"productCatalog\\\",\\\"currency\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"productName\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"b\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"productCatalog\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"productCatalog\\\",\\\"name\\\"]]],null,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sortObject\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"concat\\\",[\\\"background-color: \\\",[\\\"unknown\\\",[\\\"item\\\",\\\"buttonColor\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"productPosition\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"small\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"position\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"isProduct\\\"]]],null,2,0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"draggable-object\\\"],null,[[\\\"content\\\",\\\"overrideClass\\\",\\\"isSortable\\\"],[[\\\"get\\\",[\\\"item\\\"]],\\\"u-pullLeft\\\",false]],3]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"sortedItems\\\"]]],null,4]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/page-view/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/pages-table/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    tabPageSelected: computed('selectedPage', function () {\n      return this.get('selectedPage.pageId');\n    }),\n    actions: {\n      changePositionAction: function changePositionAction(product, position) {\n        this.sendAction('changePositionAction', product, position);\n      },\n      deleteProductFromPage: function deleteProductFromPage(itemId) {\n        this.get('selectedPage.deletedProducts').addObject(itemId);\n      },\n      deleteProductGroupFromPage: function deleteProductGroupFromPage(itemId) {\n        this.get('selectedPage.deletedProductGroups').addObject(itemId);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/pages-table/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kbelsxsi\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"list-view-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"frost-tabs\\\"],null,[[\\\"onChange\\\",\\\"selection\\\"],[[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"onTabClickAction\\\"]]],null],[\\\"get\\\",[\\\"tabPageSelected\\\"]]]],2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pageContent\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table\\\"],null,[[\\\"pageDisplayList\\\",\\\"products\\\",\\\"productGroups\\\",\\\"menu\\\",\\\"changePositionAction\\\",\\\"deleteProductFromPage\\\",\\\"deleteProductGroupFromPage\\\"],[[\\\"get\\\",[\\\"pageTab\\\",\\\"pageDisplayList\\\"]],[\\\"get\\\",[\\\"pageTab\\\",\\\"products\\\"]],[\\\"get\\\",[\\\"pageTab\\\",\\\"productGroups\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePositionAction\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteProductFromPage\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteProductGroupFromPage\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"frost-tab\\\"],null,[[\\\"alias\\\",\\\"id\\\"],[[\\\"get\\\",[\\\"pageTab\\\",\\\"name\\\"]],[\\\"get\\\",[\\\"pageTab\\\",\\\"pageId\\\"]]]],0]],\\\"locals\\\":[\\\"pageTab\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"pages\\\"]]],null,1]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/pages-table/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cash-management/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    cashCoinRoundingTypes: computed(function () {\n      return this.get('store').findAll('cashCoinRoundingType');\n    }),\n    cashCoinRoundingModes: computed(function () {\n      return this.get('store').findAll('cashCoinRoundingMode');\n    }),\n    selectedCashCoinRoundingType: computed('menuLocation.cash.cashCoinRoundingType', function () {\n      if (this.get('menuLocation.cash.cashCoinRoundingType') !== undefined) {\n        return this.get('store').findRecord('cashCoinRoundingType', this.get('menuLocation.cash.cashCoinRoundingType'));\n      } else {\n        this.set('menuLocation.cash.cashCoinRoundingType', 0);\n        return this.get('store').findRecord('cashCoinRoundingType', 0);\n      }\n    }),\n    selectedCashCoinRoundingMode: computed('menuLocation.cash.cashCoinRoundingMode', function () {\n      if (this.get('menuLocation.cash.cashCoinRoundingMode') !== undefined) {\n        return this.get('store').findRecord('cashCoinRoundingMode', this.get('menuLocation.cash.cashCoinRoundingMode'));\n      } else {\n        this.set('menuLocation.cash.cashCoinRoundingMode', 0);\n        return this.get('store').findRecord('cashCoinRoundingMode', 0);\n      }\n    }),\n    cashCalculatorDisplayTypes: computed(function () {\n      return this.get('store').findAll('cashCalculatorDisplayType');\n    }),\n    selectedCashCalculatorDisplayType: computed('menuLocation.cash.displayType', function () {\n      if (this.get('menuLocation.cash.displayType') !== undefined) {\n        return this.get('store').findRecord('cashCalculatorDisplayType', this.get('menuLocation.cash.displayType'));\n      } else {\n        this.set('menuLocation.cash.displayType', 0);\n        return this.get('store').findRecord('cashCalculatorDisplayType', 0);\n      }\n    }),\n    actions: {\n      cashCalculatorDisplayTypeSelected: function cashCalculatorDisplayTypeSelected(type) {\n        this.set('menuLocation.cash.displayType', type.id);\n      },\n      cashCoinRoundingTypeSelected: function cashCoinRoundingTypeSelected(type) {\n        this.set('menuLocation.cash.cashCoinRoundingType', type.id);\n      },\n      cashCoinRoundingModeSelected: function cashCoinRoundingModeSelected(type) {\n        this.set('menuLocation.cash.cashCoinRoundingMode', type.id);\n      },\n      updateCashDiscount: function updateCashDiscount() {\n        this.toggleProperty('menuLocation.cash.discountEnabled');\n        if (this.get('menuLocation.cash.discountEnabled')) {\n          this.set('menuLocation.creditCardSurchargeEnabled', false);\n          this.set('menuLocation.creditCardSurchargePercentage', 0);\n          this.set('menuLocation.openLoopSurchargeEnabled', false);\n          this.set('menuLocation.openLoopSurchargePercentage', 0);\n        }\n      },\n      inputKeyUp: function inputKeyUp() {\n        if (this.get('menuLocation.cash.discount') > 100) {\n          this.set('menuLocation.cash.discount', 0);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cash-management/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"1hA5fh6O\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"cashCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"cashCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"enabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"enabled\\\"]]],null,9],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"enabled\\\"]]],null,7],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"enabled\\\"]]],null,4],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"cashCoinRoundingModes\\\"]],[\\\"get\\\",[\\\"selectedCashCoinRoundingMode\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cashCoinRoundingModeSelected\\\"],null]]],0],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"cashCoinRoundingTypes\\\"]],[\\\"get\\\",[\\\"selectedCashCoinRoundingType\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cashCoinRoundingTypeSelected\\\"],null]]],2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"cashCoinRoundingType\\\"]],\\\"0\\\"],null]],null],[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"cashCoinRoundingType\\\"]],0],null]],null]],null]],null,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"cashCoinRoundingCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.cashCoinRounding.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"cashCoinRoundingCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"cashCoinRoundingEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"cashCoinRoundingEnabled\\\"]]],null,3],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCashRoundUpDonation\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.roundUpDonation.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableCashRoundUpDonation\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cashRoundUpDonationEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.discount.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"min\\\",\\\"max\\\",\\\"key-up\\\",\\\"value\\\",\\\"class\\\"],[\\\"number\\\",\\\"true\\\",\\\"0\\\",\\\"100\\\",\\\"inputKeyUp\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"discount\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.discount.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCashDiscount\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.discount.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",\\\"enableCashDiscount\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"discountEnabled\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updateCashDiscount\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"discountEnabled\\\"]]],null,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"fastCashCheckbox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cash.fastCash.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"fastCashCheckbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cash\\\",\\\"fastCashEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,6]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"cashCalculatorDisplayTypes\\\"]],[\\\"get\\\",[\\\"selectedCashCalculatorDisplayType\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cashCalculatorDisplayTypeSelected\\\"],null]]],8],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cash-management/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cashless-management/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    selectedPaypalSubmerchant: undefined,\n    selectedCreditCardSubmerchant: undefined,\n    gatewaySubmerchants: [],\n    paypalSubmerchants: [],\n    creditCardSubmerchants: [],\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      if (this.get('gatewaySubmerchants').then !== undefined) {\n        this.get('gatewaySubmerchants').then(function (content) {\n          run(function () {\n            _this.set('gatewaySubmerchants', content.filterBy('isNew', false));\n            _this.set('paypalSubmerchants', content.filterBy('type', 1).filterBy('isNew', false));\n            _this.set('creditCardSubmerchants', content.filterBy('type', 0).filterBy('isNew', false));\n            if (_this.get('menuLocation.cashless') !== undefined && _this.get('menuLocation.cashless') !== null && _this.get('menuLocation.cashless.enabled')) {\n              if (_this.get('menuLocation.cashless.creditCardSubmerchant') !== 0) {\n                _this.set('selectedCreditCardSubmerchant', _this.get('creditCardSubmerchants').findBy('id', _this.get('menuLocation.cashless.creditCardSubmerchant').toString()));\n              }\n\n              if (_this.get('menuLocation.cashless.paypalSubmerchant') !== 0) {\n                _this.set('selectedPaypalSubmerchant', _this.get('paypalSubmerchants').findBy('id', _this.get('menuLocation.cashless.paypalSubmerchant').toString()));\n              }\n            }\n          });\n        });\n      } else {\n        this.set('paypalSubmerchants', this.get('gatewaySubmerchants').filterBy('type', 1).filterBy('isNew', false));\n        this.set('creditCardSubmerchants', this.get('gatewaySubmerchants').filterBy('type', 0).filterBy('isNew', false));\n\n        if (this.get('menuLocation.cashless') !== undefined && this.get('menuLocation.cashless') !== null && this.get('menuLocation.cashless.enabled')) {\n          if (this.get('menuLocation.cashless.creditCardSubmerchant') !== 0) {\n            this.set('selectedCreditCardSubmerchant', this.get('creditCardSubmerchants').findBy('id', this.get('menuLocation.cashless.creditCardSubmerchant').toString()));\n          }\n\n          if (this.get('menuLocation.cashless.paypalSubmerchant') !== 0) {\n            this.set('selectedPaypalSubmerchant', this.get('paypalSubmerchants').findBy('id', this.get('menuLocation.cashless.paypalSubmerchant').toString()));\n          }\n        }\n      }\n    },\n    actions: {\n      inputKeyUp: function inputKeyUp() {\n        if (this.get('menuLocation.openLoopSurchargePercentage') > 10) {\n          this.set('menuLocation.openLoopSurchargePercentage', 0);\n        }\n      },\n      updateCashlessSurcharge: function updateCashlessSurcharge() {\n        this.toggleProperty('menuLocation.openLoopSurchargeEnabled');\n        if (this.get('menuLocation.openLoopSurchargeEnabled')) {\n          this.set('menuLocation.cash.discountEnabled', false);\n          this.set('menuLocation.cash.discount', 0);\n        }\n      },\n      selectPaypalSubmerchant: function selectPaypalSubmerchant(paypalSubmerchant) {\n        if (paypalSubmerchant !== null && paypalSubmerchant !== undefined) {\n          this.set('menuLocation.cashless.paypalSubmerchant', paypalSubmerchant.id);\n          this.set('selectedPaypalSubmerchant', paypalSubmerchant);\n        } else {\n          this.set('menuLocation.cashless.paypalSubmerchant', 0);\n          this.set('selectedPaypalSubmerchant', null);\n        }\n      },\n      selectCreditCardSubmerchant: function selectCreditCardSubmerchant(creditCardSubmerchant) {\n        if (creditCardSubmerchant !== null && creditCardSubmerchant !== undefined) {\n          this.set('menuLocation.cashless.creditCardSubmerchant', creditCardSubmerchant.id);\n          this.set('selectedCreditCardSubmerchant', creditCardSubmerchant);\n        } else {\n          this.set('menuLocation.cashless.creditCardSubmerchant', 0);\n          this.set('selectedCreditCardSubmerchant', null);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cashless-management/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9+nBrFr9\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableRFIDCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableRFIDCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cashless\\\",\\\"enabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"cashless\\\",\\\"enabled\\\"]]],null,5],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gatewaySubmerchant\\\",\\\"accountId\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gatewaySubmerchant\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gatewaySubmerchant\\\",\\\"accountId\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gatewaySubmerchant\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.subMerchants.paypalSubMerchant.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchField\\\",\\\"placeholder\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"paypalSubmerchants\\\"]],[\\\"get\\\",[\\\"selectedPaypalSubmerchant\\\"]],\\\"accountId\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.subMerchants.placeholder\\\"],null],true,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectPaypalSubmerchant\\\"],null]]],1],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.subMerchants.creditCardSubMerchant.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchField\\\",\\\"placeholder\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"creditCardSubmerchants\\\"]],[\\\"get\\\",[\\\"selectedCreditCardSubmerchant\\\"]],\\\"accountId\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.subMerchants.placeholder\\\"],null],true,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCreditCardSubmerchant\\\"],null]]],0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.surcharge.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"min\\\",\\\"max\\\",\\\"key-up\\\",\\\"value\\\",\\\"class\\\"],[\\\"number\\\",\\\"true\\\",\\\"0\\\",\\\"10\\\",\\\"inputKeyUp\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"openLoopSurchargePercentage\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.surcharge.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCCCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.surcharge.enableSurcharge\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",\\\"enableOpenLoopSurcharge\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"openLoopSurchargeEnabled\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updateCashlessSurcharge\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"openLoopSurchargeEnabled\\\"]]],null,3],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enablePatronLoadedFunds\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.patronLoadedFunds.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enablePatronLoadedFunds\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"patronLoadedFundsEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCashlessRoundUpDonation\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.roundUpDonation.enabled\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableCashlessRoundUpDonation\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cashlessRoundUpDonationEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"locationObject\\\",\\\"brainTreeEnabled\\\"]]],null,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"RfidSignatureCheckbox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.signature\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"RfidSignatureCheckbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cashless\\\",\\\"signatureEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"readerDisableCheckbox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.cashless.reader\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"readerDisableCheckbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"cashless\\\",\\\"readerDisabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,4]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/cashless-management/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    showLocationSelector: false,\n    menuEnabledLocations: [],\n    selectedLocations: [],\n    refreshLocation: true,\n    sortCriteria: ['name'],\n    showTooltip: computed('selectedMenuLocation.noPaymentMethods', 'showLocationSelector', function () {\n      return this.get('selectedMenuLocation.noPaymentMethods') && !this.get('showLocationSelector');\n    }),\n    sortedLocations: computed.sort('locations', 'sortCriteria'),\n    locations: computed(function () {\n      var locations = [];\n      this.get('menu.menuLocations').forEach(function (menuLocation) {\n        if (typeof menuLocation.get === 'function') {\n          locations.addObject(menuLocation.get('locationObject'));\n        }\n      });\n      return locations;\n    }),\n    selectedLocation: computed(function () {\n      if (typeof this.get('menu.menuLocations').get('firstObject').get === 'function') {\n        return this.get('menu.menuLocations').get('firstObject').get('locationObject');\n      }\n    }),\n    selectedMenuLocation: computed('selectedLocation', function () {\n      var menuLocation = undefined;\n      if (this.get('selectedLocation.id') !== undefined) {\n        return menuLocation = this.get('menu.menuLocations').findBy('location', this.get('selectedLocation.id'));\n      } else {\n        menuLocation = this.get('menu.menuLocations').get('firstObject');\n      }\n\n      this.set('selectedGateway', this.get('gateways').findBy('id', menuLocation.get('gateway')));\n      return menuLocation;\n    }),\n    gateways: computed(function () {\n      return this.get('store').query('gateway', { cashless: false, pageSize: -1 });\n    }),\n    gatewaySubmerchants: computed(function () {\n      return this.get('store').findAll('gatewaySubmerchant');\n    }),\n    validationMethods: computed(function () {\n      return this.get('store').findAll('validationMethodType');\n    }),\n    _isLoadingCreditCardInformation: false,\n    _loadGateways: function _loadGateways() {\n      var _this = this;\n\n      if (this.get('gateways').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.set('_isLoadingCreditCardInformation', true);\n        this.get('gateways').then(function (content) {\n          run(function () {\n            Logger.debug(content.get('length') + \" Gateways loaded\");\n            _this.set('gateways', content);\n            _this.set('_isLoadingCreditCardInformation', false);\n          });\n        });\n      }\n    },\n    _promotionColumns: computed(function () {\n      return [{\n        propertyName: 'locationGroupName',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.locationGroupName')\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.name')\n      }, {\n        propertyName: 'type',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.type')\n      }, {\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.enable'),\n        template: \"promotion/actions/enable-action\",\n        className: 'editRow'\n      }];\n    }),\n    _customFeeColumns: computed(function () {\n      return [{\n        propertyName: 'locationGroupName',\n        title: this.get('intl').t('locationGroups.details.promotions.list.table.locationGroupName')\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.name')\n      }, {\n        propertyName: 'value',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.value')\n      }, {\n        propertyName: 'type',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.type')\n      }, {\n        propertyName: 'appliesTo',\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.appliesTo')\n      }, {\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.taxable'),\n        template: \"customFee/actions/taxable-action\",\n        className: 'editRow'\n      }, {\n        title: this.get('intl').t('locationGroups.details.customFees.list.table.enable'),\n        template: \"customFee/actions/enable-action\",\n        className: 'editRow'\n      }];\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._loadGateways();\n    },\n    actions: {\n      nextStep: function nextStep() {\n        this.send('cleanMessages');\n        var isValid = true;\n        this.sendAction('nextStep', isValid);\n      },\n      previousStep: function previousStep() {\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      save: function save() {\n        this.sendAction('save');\n      },\n      changeSelectedLocation: function changeSelectedLocation(location) {\n        var _this2 = this;\n\n        this.set('refreshLocation', false);\n        this.set('selectedLocation', location);\n        run.next(function () {\n          _this2.set('refreshLocation', true);\n        });\n      },\n      enablePromotion: function enablePromotion(promotion) {\n        promotion.set('enabled', true);\n      },\n      disablePromotion: function disablePromotion(promotion) {\n        promotion.set('enabled', false);\n      },\n      enableCustomFee: function enableCustomFee(customFee) {\n        customFee.set('enabled', true);\n      },\n      disableCustomFee: function disableCustomFee(customFee) {\n        customFee.set('enabled', false);\n      },\n      openLocationsSelectors: function openLocationsSelectors() {\n        this.get('menuEnabledLocations').clear();\n        this.get('menuEnabledLocations').addObjects(this.get('menu.menuLocations').mapBy('locationObject'));\n        this.set('showLocationSelector', true);\n      },\n      closeLocationsSelectors: function closeLocationsSelectors() {\n        // Clear the selected locations\n        this.get('selectedLocations').clear();\n        this.set('showLocationSelector', false);\n      },\n      copyConfigurations: function copyConfigurations() {\n        var _this3 = this;\n\n        Logger.info(this.get('selectedLocations'));\n\n        // Check all menu locations\n        this.get('menu.menuLocations').forEach(function (menuLocation) {\n\n          // Compare menuLocations by selected locations\n          var updateMenuLocation = _this3.get('selectedLocations').findBy('id', menuLocation.get('location'));\n\n          // If the menuLocation.location matches a selected location copy all info\n          if (updateMenuLocation) {\n            menuLocation.set('creditCardSurchargeEnabled', _this3.get('selectedMenuLocation.creditCardSurchargeEnabled'));\n            menuLocation.set('patronLoadedFundsEnabled', _this3.get('selectedMenuLocation.patronLoadedFundsEnabled'));\n            menuLocation.set('creditCardSurchargePercentage', _this3.get('selectedMenuLocation.creditCardSurchargePercentage'));\n            menuLocation.set('openLoopSurchargeEnabled', _this3.get('selectedMenuLocation.openLoopSurchargeEnabled'));\n            menuLocation.set('openLoopSurchargePercentage', _this3.get('selectedMenuLocation.openLoopSurchargePercentage'));\n            menuLocation.set('cash', _this3.get('selectedMenuLocation.cash').copy());\n            menuLocation.set('manualCredit', _this3.get('selectedMenuLocation.manualCredit').copy());\n            menuLocation.set('swipeCredit', _this3.get('selectedMenuLocation.swipeCredit').copy());\n            menuLocation.set('chipCredit', _this3.get('selectedMenuLocation.chipCredit').copy());\n            menuLocation.set('cashless', _this3.get('selectedMenuLocation.cashless').copy());\n            menuLocation.set('gateway', _this3.get('selectedMenuLocation.gateway'));\n            menuLocation.set('noGateway', _this3.get('selectedMenuLocation.noGateway'));\n            menuLocation.set('updateCheckpoint', _this3.get('selectedMenuLocation.updateCheckpoint'));\n            menuLocation.set('noPaymentMethods', _this3.get('selectedMenuLocation.noPaymentMethods'));\n            menuLocation.set('customFees', _this3.get('selectedMenuLocation.customFees').copy());\n            menuLocation.set('promotions', _this3.get('selectedMenuLocation.promotions').copy());\n            menuLocation.set('creditEnabled', _this3.get('selectedMenuLocation.creditEnabled'));\n          }\n        });\n\n        // Clear the selected locations\n        this.get('selectedLocations').clear();\n        // Hide locations selector\n        this.set('showLocationSelector', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/credit-card-management/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    gateways: [],\n    validationMethods: [],\n    _sortCriteria: ['name'],\n    _sortedGateway: computed.sort('gateways', '_sortCriteria'),\n    _selectedGateway: undefined,\n    _enableCreditCard: false,\n    _selectedValidationMethod: computed('menuLocation.chipCredit.validationMethod', function () {\n      if (this.get('menuLocation.chipCredit.validationMethod') !== undefined) {\n        return this.get('store').findRecord('validationMethodType', this.get('menuLocation.chipCredit.validationMethod'));\n      } else {\n        this.set('menuLocation.chipCredit.validationMethod', 1);\n        return this.get('store').findRecord('validationMethodType', 1);\n      }\n    }),\n    showNoGatewayError: computed('_enableCreditCard', 'menuLocation.noGateway', function () {\n      return this.get('_enableCreditCard') && this.get('menuLocation.noGateway');\n    }),\n    _setEnableCreditCard: function _setEnableCreditCard() {\n      var enable = false;\n      if (this.get('menuLocation.creditEnabled')) {\n        enable = true;\n      } else if (this.get('menuLocation.manualCredit.enabled') || this.get('menuLocation.swipeCredit.enabled') || this.get('menuLocation.chipCredit.enabled')) {\n        enable = true;\n        this.set('menuLocation.creditEnabled', true);\n      }\n      Logger.debug(\"setting checkbox Enable Credit Card, Enable: \" + enable);\n      this.set('_enableCreditCard', enable);\n    },\n    _setSelectedGateway: function _setSelectedGateway() {\n      Logger.debug(\"setting selected gateway with id \" + this.get('menuLocation.gateway'));\n      this.set('_selectedGateway', this.get('gateways').findBy('id', this.get('menuLocation.gateway')));\n    },\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n      Logger.debug('didReceiveAttrs hook method');\n      this._setEnableCreditCard();\n      this._setSelectedGateway();\n    },\n    actions: {\n      validationMethodSelected: function validationMethodSelected(validationMethod) {\n        this.set('menuLocation.chipCredit.validationMethod', validationMethod.id);\n      },\n      gatewaySelected: function gatewaySelected(gateway) {\n        this.set('menuLocation.gateway', gateway.get('id'));\n        this.set('_selectedGateway', gateway);\n      },\n      enableCreditCardAction: function enableCreditCardAction() {\n        this.set('menuLocation.creditEnabled', !this.get('_enableCreditCard'));\n        this.set('_enableCreditCard', !this.get('_enableCreditCard'));\n        if (!this.get('_enableCreditCard')) {\n          this.set('menuLocation.manualCredit.enabled', false);\n          this.set('menuLocation.manualCredit.signatureEnabled', false);\n          this.set('menuLocation.swipeCredit.enabled', false);\n          this.set('menuLocation.swipeCredit.signatureEnabled', false);\n          this.set('menuLocation.chipCredit.enabled', false);\n          this.set('menuLocation.chipCredit.validationMethods', undefined);\n          this.set('menuLocation.gateway', undefined);\n          this.set('_selectedGateway', undefined);\n        }\n      },\n      inputKeyUp: function inputKeyUp() {\n        if (this.get('menuLocation.creditCardSurchargePercentage') > 10) {\n          this.set('menuLocation.creditCardSurchargePercentage', 0);\n        }\n      },\n      updateCreditSurcharge: function updateCreditSurcharge() {\n        this.toggleProperty('menuLocation.creditCardSurchargeEnabled');\n        if (this.get('menuLocation.creditCardSurchargeEnabled')) {\n          this.set('menuLocation.cash.discountEnabled', false);\n          this.set('menuLocation.cash.discount', 0);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/credit-card-management/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"VWcBWq1m\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCCCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"input\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"checkbox\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"enableCCCheckBox\\\"],[\\\"static-attr\\\",\\\"required\\\",\\\"true\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"menuBuilderCheckBox\\\"],[\\\"dynamic-attr\\\",\\\"checked\\\",[\\\"unknown\\\",[\\\"_enableCreditCard\\\"]],null],[\\\"dynamic-attr\\\",\\\"onchange\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"enableCreditCardAction\\\"],null],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"isShown\\\",\\\"class\\\",\\\"side\\\"],[\\\"none\\\",[\\\"get\\\",[\\\"showNoGatewayError\\\"]],\\\"tooltip-error\\\",\\\"right\\\"]],10],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_enableCreditCard\\\"]]],null,9],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"_selectedGateway\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gateway\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gateway\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedGateway\\\"]],[\\\"get\\\",[\\\"_selectedGateway\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.gateway.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gatewaySelected\\\"],null]]],1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.surcharge.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"min\\\",\\\"max\\\",\\\"key-up\\\",\\\"value\\\",\\\"class\\\"],[\\\"number\\\",\\\"true\\\",\\\"0\\\",\\\"10\\\",\\\"inputKeyUp\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"creditCardSurchargePercentage\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.surcharge.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableCCCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.surcharge.enableSurcharge\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",\\\"enableCreditSurcharge\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"creditCardSurchargeEnabled\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updateCreditSurcharge\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"creditCardSurchargeEnabled\\\"]]],null,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"method\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"method\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"chipValidationMethod\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.emv.validationMethod\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\",\\\"disabled\\\"],[[\\\"get\\\",[\\\"validationMethods\\\"]],[\\\"get\\\",[\\\"_selectedValidationMethod\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.emv.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"validationMethodSelected\\\"],null],true]],5],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"manualSignatureCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.manual.signature\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"manualSignatureCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"manualCredit\\\",\\\"signatureEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"swipeSignatureCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.swipe.signature\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"swipeSignatureCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"swipeCredit\\\",\\\"signatureEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"creditCardError\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableSwipeCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.swipe.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableSwipeCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"swipeCredit\\\",\\\"enabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"swipeCredit\\\",\\\"enabled\\\"]]],null,8],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"creditCardError\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableManualCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.manual.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableManualCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"manualCredit\\\",\\\"enabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"manualCredit\\\",\\\"enabled\\\"]]],null,7],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableChipCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.entryMethods.emv.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableChipCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"chipCredit\\\",\\\"enabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menuLocation\\\",\\\"chipCredit\\\",\\\"enabled\\\"]]],null,6],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,4],[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"enableRoundUpCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.roundUp.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"enableRoundUpCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menuLocation\\\",\\\"creditCardRoundUpDonationEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.gateway.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"chipValidationMethod\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.gateway.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,2,0],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.errors.noGatewaySelected\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/credit-card-management/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6qqPaPlS\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"hasLocations\\\"]]],null,9],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showLocationSelector\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-locations\\\"],null,[[\\\"close\\\",\\\"saveAction\\\",\\\"selectedLocations\\\",\\\"locations\\\"],[\\\"closeLocationsSelectors\\\",\\\"copyConfigurations\\\",[\\\"get\\\",[\\\"selectedLocations\\\"]],[\\\"get\\\",[\\\"menuEnabledLocations\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"No locations added to this menu\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"companyBlock\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useFilteringByColumns\\\",\\\"showComponentFooter\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"enableCustomFee\\\",\\\"disableCustomFee\\\"],[[\\\"get\\\",[\\\"selectedMenuLocation\\\",\\\"customFees\\\"]],[\\\"get\\\",[\\\"_customFeeColumns\\\"]],false,false,false,false,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"enableCustomFee\\\",\\\"disableCustomFee\\\"]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"companyBlock\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useFilteringByColumns\\\",\\\"showComponentFooter\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"enablePromotion\\\",\\\"disablePromotion\\\"],[[\\\"get\\\",[\\\"selectedMenuLocation\\\",\\\"promotions\\\"]],[\\\"get\\\",[\\\"_promotionColumns\\\"]],false,false,false,false,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"enablePromotion\\\",\\\"disablePromotion\\\"]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/payment-information/credit-card-management\\\"],null,[[\\\"menuLocation\\\",\\\"gateways\\\",\\\"validationMethods\\\"],[[\\\"get\\\",[\\\"selectedMenuLocation\\\"]],[\\\"get\\\",[\\\"gateways\\\"]],[\\\"get\\\",[\\\"validationMethods\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isLoadingCreditCardInformation\\\"]]],null,5,4],[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/payment-information/cashless-management\\\"],null,[[\\\"menuLocation\\\",\\\"gatewaySubmerchants\\\"],[[\\\"get\\\",[\\\"selectedMenuLocation\\\"]],[\\\"get\\\",[\\\"gatewaySubmerchants\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/payment-information/cash-management\\\"],null,[[\\\"menuLocation\\\"],[[\\\"get\\\",[\\\"selectedMenuLocation\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,3],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.errors.noPaymentSelected\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Selected location: \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectedLocation\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 5px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openLocationsSelectors\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Apply to other locations\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Location\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchField\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocations\\\"]],[\\\"get\\\",[\\\"selectedLocation\\\"]],\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.gateway.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedLocation\\\"],null]]],8],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"isShown\\\",\\\"class\\\",\\\"side\\\"],[\\\"none\\\",[\\\"get\\\",[\\\"showTooltip\\\"]],\\\"tooltip-error\\\",\\\"right\\\"]],7],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshLocation\\\"]]],null,6,1]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/payment-information/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/utils/menu-positions\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardUtilsMenuPositions) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  var allSettled = _ember[\"default\"].RSVP.allSettled;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    _isLoading: true,\n    disableOk: true,\n    displayProductsList: true,\n    productCatalogsLoaded: false,\n    metaProductCatalogsLoaded: false,\n    data: [],\n    displayClearSearch: false,\n    inputProductSearch: '',\n    columns: computed('filterClass', function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product')\n      }, {\n        propertyName: 'productType.name',\n        title: this.get('intl').t('productCatalog.list.productType')\n      }, {\n        propertyName: 'suggestedPrice',\n        title: this.get('intl').t('productCatalog.list.suggestedPrice'),\n        template: \"product-catalog/suggested-price-cell\",\n        className: 'suggestedPriceRow'\n      }, {\n        propertyName: 'displayClassName',\n        title: this.get('intl').t('productCatalog.list.productCatalogClass'),\n        filterBy: 'displayClassName',\n        filterString: this.get('filterClass'),\n        filterWithSelect: true,\n        predefinedFilterOptions: this.get('productClasses')\n      }];\n    }),\n    _traits: computed(function () {\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          var company = this.get('lockedCompany.id');\n          return this.get('store').query('trait', { companyId: company, pageSize: -1 });\n        } else {\n          return this.get('store').query('trait', { companyId: this.get('menu.company.id'), pageSize: -1 });\n        }\n      } else {\n        var company = this.get('loggedAccount.company.id');\n        return this.get('store').query('trait', { companyId: company, pageSize: -1 });\n      }\n    }),\n    loadReady: computed('productCatalogsLoaded', 'metaProductCatalogsLoaded', function () {\n      return this.get('productCatalogsLoaded') && this.get('metaProductCatalogsLoaded');\n    }),\n    selectedModels: computed('products', 'products.length', function () {\n      var _this = this;\n\n      var catalog = A();\n      this.get('products').forEach(function (product) {\n        var productCatalog = _this.get('data').find(function (catalog) {\n          return catalog.id === product.get('productCatalog.id');\n        });\n        if (!productCatalog) {\n          productCatalog = _this.get('store').peekRecord('productCatalog', product.get('productCatalog.id'));\n        }\n\n        catalog.addObject(productCatalog);\n      });\n      return catalog;\n    }),\n    showModalProducts: false,\n    showModalProductGroups: false,\n    showModalCombos: false,\n    newProductGroup: null,\n    newCombo: null,\n    newProduct: computed(function () {\n      return this.get('store').createRecord('productCatalog', {\n        company: this._getCompany(),\n        currency: 'USD',\n        suggestedPrice: 0,\n        custom: false\n      });\n    }),\n    newProductError: '',\n    positions: computed('products.[]', 'productGroups.[]', function () {\n      return this.createPositions();\n    }),\n    sortCriteria: ['position'],\n    sortedProducts: computed.sort('pageDisplayList', 'sortCriteria'),\n    createPositions: function createPositions() {\n      // BRP-4023: render up to max(100, items.length) positions so the dropdown\n      // grows with the menu and no longer caps at 24. The `positions` computed\n      // depends on `products.[]` and `productGroups.[]` so it re-evaluates on\n      // add/remove -- `pageDisplayList` itself is a non-`.[]`-reactive computed\n      // on the Page model, so we go straight to the raw collections here.\n      return A((0, _fcsDashboardUtilsMenuPositions.positionOptions)(A().addObjects(this.get('products') || []).addObjects(this.get('productGroups') || [])));\n    },\n    _getCompany: function _getCompany() {\n      var companyId = undefined;\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          companyId = this.get('lockedCompany.id');\n        }\n      } else {\n        companyId = this.get('loggedAccount.company.id');\n      }\n      return companyId;\n    },\n    _taxRateTypes: computed(function () {\n      return this.get('store').findAll('taxRateType');\n    }),\n    _modifierActions: computed(function () {\n      return this.get('store').findAll('modifierAction');\n    }),\n    _modifierPlacements: computed(function () {\n      return this.get('store').findAll('modifierPlacement');\n    }),\n    _loadTaxRateTypes: function _loadTaxRateTypes() {\n      var _this2 = this;\n\n      if (this.get('_taxRateTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('_taxRateTypes').then(function (content) {\n          run(function () {\n            _this2.set('_taxRateTypes', content);\n          });\n        });\n      }\n    },\n    _menuProductTypes: [],\n    _loadProductTypes: function _loadProductTypes() {\n      var _this3 = this;\n\n      var promise = [];\n      promise = this.get('menu.menuProductTypes').mapBy('productTypeObject');\n      allSettled(promise).then(function () {\n        _this3.set('_menuProductTypes', promise);\n        _this3.set('_isLoading', false);\n      });\n    },\n    _deleteFromDisplayList: function _deleteFromDisplayList(item) {\n      this.set('displayProductsList', false);\n      this.get('pageDisplayList').removeObject(item);\n      this.set('displayProductsList', true);\n      this.set('positions', this.createPositions());\n    },\n    init: function init() {\n      var _this4 = this;\n\n      this._super.apply(this, arguments);\n      this.get('data').clear();\n      var company = this.get('menu.company.id');\n      Logger.debug(\"COMPANY USER: Getting products from catalog for company \" + company + \".\");\n      this.get('store').query('productCatalog', { companyId: company, loadAttributes: false, archived: false }).then(function (productCatalogs) {\n        _this4.get('data').addObjects(productCatalogs);\n        try {\n          _this4.set('productCatalogsLoaded', true);\n        } catch (e) {}\n      });\n      this.get('store').query('metaProductCatalog', { companyId: company, archived: false }).then(function (templates) {\n        _this4.get('data').addObjects(templates);\n        try {\n          _this4.set('metaProductCatalogsLoaded', true);\n        } catch (e) {}\n      });\n      this._loadTaxRateTypes();\n      this._loadProductTypes();\n    },\n    actions: {\n      clearAllSelected: function clearAllSelected() {\n        var _this5 = this;\n\n        this.set('displayProductsList', false);\n        run.next(function () {\n          _this5.get('selectedModels').clear();\n          _this5.set('displayProductsList', true);\n        });\n      },\n      openModalProducts: function openModalProducts(option) {\n        var _this6 = this;\n\n        if (option === 1) {\n          this.set('filterClass', 'COMBO');\n        } else {\n          this.set('filterClass', '');\n        }\n\n        var catalog = A();\n        this.get('products').forEach(function (product) {\n          var productCatalog = _this6.get('data').find(function (catalog) {\n            return catalog.id === product.get('productCatalog.id');\n          });\n          if (!productCatalog) {\n            productCatalog = _this6.get('store').peekRecord('productCatalog', product.get('productCatalog.id'));\n          }\n\n          catalog.addObject(productCatalog);\n        });\n\n        // Initialize Selected Models if Null or Undefined\n        if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n          this.set('selectedModels', A());\n        }\n        this.get('selectedModels').clear();\n        this.get('selectedModels').addObjects(catalog);\n        this.set('newProduct', this.get('store').createRecord('productCatalog', {\n          companyId: this._getCompany(),\n          currency: 'USD',\n          suggestedPrice: 0,\n          custom: false\n        }));\n        this.set('showModalProducts', true);\n      },\n      openModalProductGroups: function openModalProductGroups(productGroup) {\n        if (productGroup === null || productGroup === undefined) {\n          this.set('displayProductCatalogsList', true);\n          this.set('newProductGroup', this.get('store').createRecord('productGroup'));\n        } else {\n          this.set('displayProductCatalogsList', false);\n          this.set('newProductGroup', productGroup);\n        }\n        this.set('showModalProductGroups', true);\n      },\n      closeModalProducts: function closeModalProducts() {\n        this.send('cleanMessages');\n        this.set('showModalProducts', false);\n      },\n      closeModalProductGroups: function closeModalProductGroups() {\n        this.set('showModalProductGroups', false);\n      },\n      addNewProduct: function addNewProduct(product) {\n        var _this7 = this;\n\n        this.send('cleanMessages');\n        this.set('displayProductsList', false);\n\n        //Trims name before saving\n        var name = product.get('name').trim();\n        product.set('name', name);\n\n        if (product.get('validations.isValid')) {\n          product.save().then(function (newProductCatalog) {\n            _this7.set('newProduct', _this7.get('store').createRecord('productCatalog', {\n              companyId: _this7._getCompany(),\n              currency: 'USD',\n              suggestedPrice: 0,\n              custom: false\n            }));\n            Logger.debug('Getting products from catalog after add a new one.');\n            _this7.get('data').addObject(newProductCatalog);\n            _this7.set('filteredCatalog', _this7.get('data'));\n            _this7.set('displayProductsList', true);\n          })[\"catch\"](function (error) {\n            _this7.set('displayProductsList', true);\n            var errorMessage = _this7.get('notify').alert(_this7.get('intl').t(\"menu.builder.steps.stepSix.errors.\" + error.errors.get(0).detail), { closeAfter: 5000 });\n            _this7.get('errorMessages').addObject(errorMessage);\n          });\n        } else {\n          this.set('displayProductsList', true);\n          product.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this7.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this7.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      addProducts: function addProducts() {\n        var _this8 = this;\n\n        this.send('cleanMessages');\n\n        this._updateSelectedProductsByMetaProducts();\n        // BRP-4023: start at max(existing positions) + 1 across both products\n        // and product groups on this page; increment per add so sequential\n        // additions land at 25, 26, 27, ... with no duplicates.\n        var newPosition = (0, _fcsDashboardUtilsMenuPositions.nextPosition)(A().addObjects(this.get('products') || []).addObjects(this.get('productGroups') || []));\n\n        this.get('selectedModels').forEach(function (item) {\n          var contains = false;\n          _this8.get('products').forEach(function (product) {\n            if (product.get('productCatalog.id') === item.get('id')) {\n              contains = true;\n            }\n          });\n\n          if (!contains) {\n            // BRP-4023: newPosition is computed before the loop and advanced\n            // per add (see end of this block) -- the old position-finding\n            // for-loop is gone.\n            if (item.get('productClass.id') === '1') {\n              (function () {\n                // Add product COMBO\n                var newCombo = _this8.get('store').createRecord('product', {\n                  productCatalog: item,\n                  price: item.get('suggestedPrice'),\n                  taxRate: 0,\n                  productTypeTaxRate: 0,\n                  toppings: [],\n                  allowModifications: false,\n                  taxRateType: _this8.get('_taxRateTypes').findBy('id', '0'),\n                  position: newPosition,\n                  productType: item.get('productType.name'),\n                  productClass: _this8.get('store').peekRecord('productClass', 1)\n                });\n                item.get('comboSelectionCatalogs').forEach(function (selectionCatalog) {\n                  if (selectionCatalog.get('id') !== null && selectionCatalog.get('id') !== undefined) {\n                    (function () {\n                      // Assign newComboSelection values\n                      var newComboSelection = _this8.get('store').createRecord('comboSelection', {\n                        position: selectionCatalog.get('position'),\n                        comboSelectionCatalogId: selectionCatalog.get('id'),\n                        displayText: selectionCatalog.get('displayText'),\n                        deleted: false\n                      });\n                      selectionCatalog.get('comboSelectionProductCatalogList').forEach(function (selectionProductCatalog) {\n                        // Get selectionProductCatalog ProductCatalog\n                        var productCatalog = _this8.get('store').peekRecord('productCatalog', selectionProductCatalog.get('productCatalogId'));\n                        if (productCatalog) {\n                          // Assign newSelectionProduct values\n                          var newSelectionProduct = _this8.get('store').createRecord('product', {\n                            productCatalog: productCatalog,\n                            price: 0,\n                            priceChange: selectionProductCatalog.get('priceChange'),\n                            taxRate: 0,\n                            productTypeTaxRate: 0,\n                            allowModifications: false,\n                            position: 0,\n                            productType: productCatalog.get('productType.name'),\n                            comboSelection: newComboSelection,\n                            productClass: _this8.get('store').peekRecord('productClass', 0)\n                          });\n                          // Add newSelectionProduct to comboSelection products\n                          newComboSelection.get('products').addObject(newSelectionProduct);\n                        }\n                      });\n                      // Add newComboSelection to combo selections\n                      newCombo.get('comboSelections').addObject(newComboSelection);\n                    })();\n                  }\n                });\n                // Add newCombo to the page product list\n                _this8.get('products').addObject(newCombo);\n              })();\n            } else {\n              var productClass = undefined;\n              if (item.get('productClass.id') === '0') {\n                productClass = _this8.get('store').peekRecord('productClass', 0);\n              } else {\n                productClass = _this8.get('store').peekRecord('productClass', 2);\n              }\n              var productTypeTax = _this8.get('menu.menuProductTypes').findBy('productTypeObject.id', item.get('productType.id'));\n\n              var taxRate = 0;\n              var taxRateType = '0';\n              if (!productTypeTax.get('taxNotSet')) {\n                taxRate = parseInt(productTypeTax.get('taxRate'));\n                taxRateType = '1';\n              }\n              // Add product REGULAR or CUSTOM\n              _this8.get('products').addObject(_this8.get('store').createRecord('product', {\n                productCatalog: item,\n                price: item.get('suggestedPrice'),\n                taxRate: taxRate,\n                productTypeTaxRate: 0,\n                allowModifications: false,\n                taxRateType: _this8.get('_taxRateTypes').findBy('id', taxRateType),\n                position: newPosition,\n                productType: item.get('productType.name'),\n                productClass: productClass\n              }));\n            }\n\n            // BRP-4023: advance for the next add in this batch. The\n            // `positions` computed depends on products.[]/productGroups.[],\n            // so the dropdown grows automatically -- no manual addObject.\n            newPosition++;\n          }\n        });\n        this.send('closeModalProducts');\n      },\n      deleteProduct: function deleteProduct(item) {\n        // Initialize Selected Models if Null or Undefined\n        if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n          this.set('selectedModels', A());\n        }\n\n        this.set('menu.changed', true);\n        this.get('products').removeObject(item);\n        var productToRemove = this.get('products').filterBy('id', item.get('productCatalog.id'));\n        this.get('selectedModels').removeObjects(productToRemove);\n        this.set('positions', this.createPositions());\n        this._deleteFromDisplayList(item);\n        if (item.id !== null && item.id !== undefined) {\n          this.sendAction('deleteProductFromPage', item.id);\n        }\n      },\n      deleteGroup: function deleteGroup(item) {\n        this.set('menu.changed', true);\n        this.get('productGroups').removeObject(item);\n        this.set('positions', this.createPositions());\n        this._deleteFromDisplayList(item);\n        if (item.id !== null && item.id !== undefined) {\n          this.sendAction('deleteProductGroupFromPage', item.id);\n        }\n      },\n      changePositionAction: function changePositionAction(product, position) {\n        this.sendAction('changePositionAction', product, position);\n      },\n      selectItem: function selectItem(isNotNewItem) {\n        this.set('disableOk', isNotNewItem);\n      },\n      clearSearchInput: function clearSearchInput() {\n        this.set('inputProductSearch', '');\n        this.send('filterProductsList');\n      },\n      addProductGroup: function addProductGroup(productGroup) {\n        if (productGroup.get('position') === 0) {\n          // BRP-4023: pick next position = max(existing) + 1 across both\n          // products and product groups on this page.\n          productGroup.set('position', (0, _fcsDashboardUtilsMenuPositions.nextPosition)(A().addObjects(this.get('products') || []).addObjects(this.get('productGroups') || [])));\n        }\n\n        this.get('productGroups').addObject(productGroup);\n        this.set('showModalProductGroups', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-modal/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/utils/menu-positions\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardUtilsMenuPositions) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  var allSettled = _ember[\"default\"].RSVP.allSettled;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    productClassesReduced: ['REGULAR', 'TEMPLATE'],\n    productGroupName: computed(function () {\n      if (this.get('productGroup.name') !== null && this.get('productGroup.name') !== undefined && !isEmpty(this.get('productGroup.name'))) {\n        return this.get('productGroup.name');\n      } else {\n        return '';\n      }\n    }),\n    _isLoading: true,\n    displayProductCatalogsList: false,\n    displayProductsList: false,\n    refreshList: true,\n    productCatalogsLoaded: false,\n    metaProductCatalogsLoaded: false,\n    data: [],\n    columns: computed(function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product')\n      }, {\n        propertyName: 'productType.name',\n        title: this.get('intl').t('productCatalog.list.productType')\n      }, {\n        propertyName: 'suggestedPrice',\n        title: this.get('intl').t('productCatalog.list.suggestedPrice'),\n        template: \"product-catalog/suggested-price-cell\",\n        className: 'suggestedPriceRow'\n      }, {\n        propertyName: 'displayClassName',\n        title: this.get('intl').t('productCatalog.list.productCatalogClass'),\n        filterBy: 'displayClassName',\n        filterWithSelect: true,\n        predefinedFilterOptions: this.get('productClassesReduced')\n      }];\n    }),\n    attributeSetsColumns: computed(function () {\n      return [{\n        propertyName: 'attributeSetName',\n        title: this.get('intl').t('metaProductCatalog.modal.attributeSet.name')\n      }, {\n        propertyName: 'priority',\n        title: this.get('intl').t('metaProductCatalog.modal.attributeSet.priority'),\n        template: \"meta-product-catalog/priority-cell\"\n      }];\n    }),\n    loadReady: computed('productCatalogsLoaded', 'metaProductCatalogsLoaded', function () {\n      return this.get('productCatalogsLoaded') && this.get('metaProductCatalogsLoaded');\n    }),\n    selectedModels: A(),\n    showModalProducts: false,\n    newProduct: computed(function () {\n      return this.get('store').createRecord('productCatalog', {\n        company: this._getCompany(),\n        currency: 'USD',\n        suggestedPrice: 0,\n        custom: false\n      });\n    }),\n    positions: computed('productGroup.products.[]', function () {\n      return this.createPositions();\n    }),\n    sortCriteria: ['position'],\n    sortedProducts: computed.sort('productGroup.products', 'sortCriteria'),\n    createPositions: function createPositions() {\n      // BRP-4023: render up to max(100, items.length) positions so the dropdown\n      // grows with the product group and no longer caps at 24. Depends on\n      // `productGroup.products.[]` so it re-evaluates on add/remove.\n      return A((0, _fcsDashboardUtilsMenuPositions.positionOptions)(this.get('productGroup.products') || []));\n    },\n    _getCompany: function _getCompany() {\n      var company = undefined;\n      if (this.get('isBRUser')) {\n        company = this.get('menu.company');\n      } else {\n        company = this.get('loggedAccount.company');\n      }\n      return company;\n    },\n    _taxRateTypes: computed(function () {\n      return this.get('store').findAll('taxRateType');\n    }),\n    _loadTaxRateTypes: function _loadTaxRateTypes() {\n      var _this = this;\n\n      if (this.get('_taxRateTypes').then !== undefined) {\n        // if a promise set the content when it resolves\n        this.get('_taxRateTypes').then(function (content) {\n          run(function () {\n            _this.set('_taxRateTypes', content);\n          });\n        });\n      }\n    },\n    _menuProductTypes: [],\n    _loadProductTypes: function _loadProductTypes() {\n      var _this2 = this;\n\n      var promise = [];\n      promise = this.get('menu.menuProductTypes').mapBy('productTypeObject');\n      allSettled(promise).then(function () {\n        _this2.set('_menuProductTypes', promise);\n        _this2.set('_isLoading', false);\n      });\n    },\n    _updateAttributeSets: function _updateAttributeSets(item) {\n      var _this3 = this;\n\n      if (item.get('metaProductCatalogId') !== null && item.get('metaProductCatalogId') !== undefined) {\n        item.get('attributes').forEach(function (attribute) {\n          var templateAttributeSet = _this3.get('store').findRecord('attributeSet', attribute.get('attributeSetId'));\n          if (templateAttributeSet.then !== undefined) {\n            templateAttributeSet.then(function (content) {\n              run(function () {\n                templateAttributeSet = content;\n                if (_this3.get('productGroup.attributeSets.length') > 0) {\n                  var containsAttributeSet = false;\n                  _this3.get('productGroup.attributeSets').forEach(function (attributeSet) {\n                    if (templateAttributeSet.get('id') === attributeSet.get('attributeSetId')) {\n                      containsAttributeSet = true;\n                    }\n                  });\n\n                  if (!containsAttributeSet) {\n                    _this3.get('productGroup.attributeSets').addObject(_this3.get('store').createFragment('productGroupAttributeSet', {\n                      attributeSetId: templateAttributeSet.get('id'),\n                      attributeSetName: templateAttributeSet.get('name'),\n                      priority: templateAttributeSet.get('priority')\n                    }));\n                  }\n                } else {\n                  _this3.get('productGroup.attributeSets').addObject(_this3.get('store').createFragment('productGroupAttributeSet', {\n                    attributeSetId: templateAttributeSet.get('id'),\n                    attributeSetName: templateAttributeSet.get('name'),\n                    priority: templateAttributeSet.get('priority')\n                  }));\n                }\n              });\n            });\n          } else {\n            if (_this3.get('productGroup.attributeSets.length') > 0) {\n              var containsAttributeSet = false;\n              _this3.get('productGroup.attributeSets').forEach(function (attributeSet) {\n                if (templateAttributeSet.get('id') === attributeSet.get('attributeSetId')) {\n                  containsAttributeSet = true;\n                }\n              });\n\n              if (!containsAttributeSet) {\n                _this3.get('productGroup.attributeSets').addObject(_this3.get('store').createFragment('productGroupAttributeSet', {\n                  attributeSetId: templateAttributeSet.get('id'),\n                  attributeSetName: templateAttributeSet.get('name'),\n                  priority: templateAttributeSet.get('priority')\n                }));\n              }\n            } else {\n              _this3.get('productGroup.attributeSets').addObject(_this3.get('store').createFragment('productGroupAttributeSet', {\n                attributeSetId: templateAttributeSet.get('id'),\n                attributeSetName: templateAttributeSet.get('name'),\n                priority: templateAttributeSet.get('priority')\n              }));\n            }\n          }\n        });\n      }\n    },\n    _initializeSelectedModels: function _initializeSelectedModels() {\n      var _this4 = this;\n\n      // Initialize Selected Models if Null or Undefined\n      if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n        this.set('selectedModels', A());\n      }\n\n      if (this.get('selectedModels.length') === 0) {\n        (function () {\n          var catalog = A();\n          _this4.get('productGroup.products').forEach(function (product) {\n            var productCatalog = _this4.get('data').filterBy('id', product.get('productCatalog.id')).get('firstObject');\n            catalog.addObject(productCatalog);\n          });\n          _this4.get('selectedModels').clear();\n          _this4.get('selectedModels').addObjects(catalog);\n        })();\n      }\n    },\n    imagePreview: computed('productGroup.image', 'productGroup.imageURL', function () {\n      var url = \"\";\n      if (this.get('productGroup.image')) {\n        url = this.get('productGroup.image');\n      } else {\n        url = this.get('productGroup.imageURL');\n      }\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    init: function init() {\n      var _this5 = this;\n\n      this._super.apply(this, arguments);\n      this.set('selectedModels', null);\n      this.get('data').clear();\n\n      var company = this.get('menu.company.id');\n      Logger.debug(\"COMPANY USER: Getting products from catalog for company \" + company + \".\");\n      this.get('store').query('productCatalog', { companyId: company, loadAttributes: true, archived: false }).then(function (productCatalogs) {\n        _this5.get('data').addObjects(productCatalogs.filterBy('productClass.id', '0'));\n        _this5.set('productCatalogsLoaded', true);\n      });\n      this.get('store').query('metaProductCatalog', { companyId: company, archived: false }).then(function (templates) {\n        _this5.get('data').addObjects(templates);\n        _this5.set('metaProductCatalogsLoaded', true);\n      });\n      this._loadTaxRateTypes();\n      this._loadProductTypes();\n    },\n    actions: {\n      clearAllSelected: function clearAllSelected() {\n        var _this6 = this;\n\n        this.set('refreshList', false);\n        run.next(function () {\n          _this6.get('selectedModels').clear();\n          _this6.set('refreshList', true);\n        });\n      },\n      addProducts: function addProducts() {\n        var _this7 = this;\n\n        this.send('cleanMessages');\n\n        this._updateSelectedProductsByMetaProducts();\n\n        this.get('selectedModels').forEach(function (item) {\n          // Adds new attribute sets\n          _this7._updateAttributeSets(item);\n\n          var contains = false;\n\n          _this7.get('productGroup.products').forEach(function (product) {\n            if (product.get('productCatalog.id') === item.get('id')) {\n              contains = true;\n            }\n          });\n\n          if (!contains) {\n            // BRP-4023: position = max(existing positions in this group) + 1.\n            var newPosition = (0, _fcsDashboardUtilsMenuPositions.nextPosition)(_this7.get('productGroup.products'));\n            var productTypeTax = _this7.get('menu.menuProductTypes').findBy('productTypeObject.id', item.get('productType.id'));\n\n            var taxRate = 0;\n            var taxRateType = '0';\n            if (!productTypeTax.get('taxNotSet')) {\n              taxRate = parseInt(productTypeTax.get('taxRate'));\n              taxRateType = '1';\n            }\n\n            _this7.get('productGroup.products').addObject(_this7.get('store').createRecord('product', {\n              productCatalog: item,\n              price: item.get('suggestedPrice'),\n              taxRate: taxRate,\n              productTypeTaxRate: 0,\n              toppings: [],\n              allowModifications: false,\n              taxRateType: _this7.get('_taxRateTypes').findBy('id', taxRateType),\n              position: newPosition,\n              productType: item.get('productType.name')\n            }));\n            // BRP-4023: `positions` computed re-evaluates from\n            // `productGroup.products.[]`, so no manual addObject is needed.\n          }\n        });\n        this.set('displayProductCatalogsList', false);\n      },\n      deleteProduct: function deleteProduct(item) {\n        var _this8 = this;\n\n        this._initializeSelectedModels();\n        this.set('displayProductsList', false);\n        this.get('productGroup.products').removeObject(item);\n        if (item.get('id') !== null && item.get('id') !== undefined && item.get('id') !== 0) {\n          this.get('productGroup.deletedProducts').addObject(item.get('id'));\n        }\n        var productToRemove = this.get('selectedModels').filterBy('id', item.get('productCatalog.id'));\n        this.get('selectedModels').removeObjects(productToRemove);\n\n        var attributesToRemove = A();\n        this.get('productGroup.attributeSets').forEach(function (attributeSet) {\n          var inUse = false;\n          _this8.get('selectedModels').forEach(function (item) {\n            if (item.get('metaProductCatalogId') !== null && item.get('metaProductCatalogId') !== undefined) {\n              item.get('attributes').forEach(function (attribute) {\n                var templateAttributeSet = _this8.get('store').peekRecord('attributeSet', attribute.get('attributeSetId'));\n                if (templateAttributeSet.get('id') === attributeSet.get('attributeSetId')) {\n                  inUse = true;\n                }\n              });\n            }\n          });\n\n          if (!inUse) {\n            attributesToRemove.addObject(attributeSet);\n          }\n        });\n\n        if (attributesToRemove.length > 0) {\n          this.get('productGroup.attributeSets').removeObjects(attributesToRemove);\n        }\n        this.set('displayProductsList', true);\n        this.set('positions', this.createPositions());\n      },\n      closeModalProductGroups: function closeModalProductGroups() {\n        // Initialize Selected Models if Null or Undefined\n        if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n          this.set('selectedModels', A());\n        }\n        this.get('selectedModels').clear();\n        this.sendAction('closeModalProductGroups');\n      },\n      displayProductCatalogs: function displayProductCatalogs() {\n        this._initializeSelectedModels();\n        this.set('displayProductCatalogsList', true);\n      },\n      addProductGroup: function addProductGroup() {\n        var _this9 = this;\n\n        this.set('productGroup.name', this.get('productGroupName'));\n        if (this.get('productGroup.validations.isValid')) {\n          if (this.get('selectedModels') !== null && this.get('selectedModels') !== undefined) {\n            this.get('selectedModels').clear();\n          }\n          this.sendAction('addProductGroup', this.get('productGroup'));\n        } else {\n          this.send('cleanMessages');\n          this.get('productGroup.validations.errors').forEach(function (error) {\n            var errorMessage = _this9.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this9.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      removeImage: function removeImage() {\n        this.set('imageName', null);\n        this.set('productGroup.image', null);\n        this.set('productGroup.imageURL', null);\n        this.set('productGroup.deleteImage', true);\n      },\n      uploadImage: function uploadImage(fileList) {\n        var _this10 = this;\n\n        var re = new RegExp('image/(png|jpeg)');\n        if (fileList[0].size <= 10000000) {\n          if (re.test(fileList[0].type)) {\n            (function () {\n              var that = _this10;\n              _this10.set('imageName', fileList[0].name);\n              var reader = new FileReader();\n\n              reader.onloadend = function () {\n                that.set('productGroup.deleteImage', false);\n                that.set('productGroup.image', reader.result);\n              };\n\n              reader.readAsDataURL(fileList[0]);\n            })();\n          } else {\n            Logger.debug('not an image.');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageFormat'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        } else {\n          Logger.debug('image size max is 10mb.');\n          var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageSize'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9lcV13Ec\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.productGroups.title\\\"],null],\\\"closeModalProductGroups\\\",true,\\\"middle none\\\"]],12]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-row\\\"],null,[[\\\"product\\\",\\\"positions\\\",\\\"menu\\\",\\\"taxRateTypes\\\",\\\"deleteProduct\\\",\\\"showPosition\\\",\\\"showColumns\\\"],[[\\\"get\\\",[\\\"item\\\"]],[\\\"get\\\",[\\\"positions\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"get\\\",[\\\"_taxRateTypes\\\"]],\\\"deleteProduct\\\",false,false]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeImage\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeImage\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"camera-icon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-camera-retro\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"product-image-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"imagePreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"productGroup\\\",\\\"image\\\"]],[\\\"get\\\",[\\\"productGroup\\\",\\\"imageURL\\\"]]],null]],null,3,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: left;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",\\\"Details\\\",false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height justify-content-center text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 logo-wrapper\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin: 10px 5px 0 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\",\\\"accept\\\",\\\"multiple\\\"],[\\\"uploadImage\\\",\\\"image/png, image/jpeg\\\",false]],4],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"productGroup\\\",\\\"image\\\"]],[\\\"get\\\",[\\\"productGroup\\\",\\\"imageURL\\\"]]],null]],null,1],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          Image Recommendations: \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          The recommended image resolution is 300x300px. \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          Only JPG, and PNG file types are able to be uploaded. \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          This feature is currently not supported on YMY10, and YMY17 tablets.\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row col-sm-6 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px;margin-bottom: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 7px; text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.productGroups.productGroupName\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"maxlength\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"productGroupName\\\",\\\"true\\\",\\\"25\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"productGroupName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: left;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",\\\"Products\\\",false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table table-striped product-table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.product\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.price\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.taxRateType\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.productType\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.taxRate\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"sortedProducts\\\"]]],null,0],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"addPage\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px; margin-bottom: 10px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"displayProductCatalogs\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.add.addProduct\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: left;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",\\\"Attribute Sets\\\",false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"useFilteringByColumns\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"productGroup\\\",\\\"attributeSets\\\"]],[\\\"get\\\",[\\\"attributeSetsColumns\\\"]],false,false,false,false,\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering\\\",true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalProductGroups\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProductGroup\\\",[\\\"get\\\",[\\\"productGroup\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isLoading\\\"]]],null,6,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:100px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"preselectedItems\\\",\\\"sendDisplayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],25,[\\\"get\\\",[\\\"selectedModels\\\"]],true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshList\\\"]]],null,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: left;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",\\\"Select Products\\\",false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h6\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearAllSelected\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.clearAllSelected.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times-circle fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            ]\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,10,8],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displayProductCatalogsList\\\"]]],null,11,7]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-row/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  var observer = _ember[\"default\"].observer;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var scheduleOnce = _ember[\"default\"].run.scheduleOnce;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    palette: [[\"#f8f8f8\"], [\"#e06666\", \"#f6b26b\", \"#ffd966\", \"#93c47d\", \"#76a5af\", \"#6fa8dc\", \"#8e7cc3\", \"#c27ba0\"]],\n    tagName: '',\n    toppingSortCriteria: ['name'],\n    toppings: computed(function () {\n      return this.get('store').findAll('topping');\n    }),\n    sortedToppings: computed.sort('toppings', 'toppingSortCriteria'),\n    headersToppings: ['menu.builder.steps.stepSix.productTable.toppingModal.headers.extra', 'menu.builder.steps.stepSix.productTable.toppingModal.headers.price'],\n    taxRateTypeSortCriteria: ['name'],\n    taxRateTypes: [],\n    sortedTaxRateTypes: computed.sort('taxRateTypes', 'taxRateTypeSortCriteria'),\n    selectedToppings: computed.alias('product.toppings'),\n    showModalToppings: false,\n    newTopping: null,\n    newToppingError: '',\n    isProductTaxRate: computed('product.taxRateType', function () {\n      return isEqual(this.get('product.taxRateType.id'), this.get('PRODUCT_TAX_RATE'));\n    }),\n    menuChangedObserver: observer('product.price', 'product.position', 'product.taxRate', 'product.productType', 'product.taxRateType', 'taxRate', function () {\n      if (this.get('product.hasDirtyAttributes')) {\n        this.set('menu.changed', true);\n      }\n    }),\n    inputProductPrice: computed.alias('product.price'),\n    inputTaxRate: computed.alias('product.taxRate'),\n    taxRate: computed('product.taxRateType', 'product.productType', function () {\n      var _this = this;\n\n      var taxRateType = this.get('product.taxRateType.id');\n      Logger.debug(\"tax rate type changed: \" + this.get('product.taxRateType.type'));\n      if (isEqual(taxRateType, this.get('MENU_TAX_RATE'))) {\n        return this.get('menu.menuTaxRate');\n      } else if (isEqual(taxRateType, this.get('PRODUCT_TYPE_TAX_RATE'))) {\n        var taxRate = 0;\n        this.get('menu.menuProductTypes').forEach(function (menuProductType) {\n          if (isEqual(menuProductType.get('productType'), _this.get('product.productCatalog.productType.id'))) {\n            taxRate = menuProductType.get('taxRate');\n          }\n        });\n        return taxRate;\n      }\n    }),\n    didRender: function didRender() {\n      this._super.apply(this, arguments);\n      scheduleOnce('afterRender', this, 'cleanAttributes');\n    },\n    cleanAttributes: function cleanAttributes() {\n      this._checkTaxRateType();\n    },\n    _checkTaxRateType: function _checkTaxRateType() {\n      var _this2 = this;\n\n      //disabled product type tax rate if any product type was selected as available\n      if (this.get('sortedTaxRateTypes.length') > 0) {\n        this.get('sortedTaxRateTypes').forEach(function (item) {\n          if (isEqual(item.get('id'), _this2.get('PRODUCT_TYPE_TAX_RATE')) && _this2.get('productTypes.length') === 0) {\n            if (isEqual(_this2.get('product.taxRateType.id'), _this2.get('PRODUCT_TYPE_TAX_RATE'))) {\n              _this2.set('product.taxRateType', undefined);\n            }\n            item.set('disabled', true);\n          } else {\n            item.set('disabled', false);\n          }\n        });\n      }\n    },\n    actions: {\n      selectTaxRateTypeAction: function selectTaxRateTypeAction(selectedItem) {\n        this.set('menu.changed', true);\n        this.set('product.changed', true);\n        this.set('product.taxRate', 0);\n        this.set('product.taxRateType', selectedItem);\n      },\n      openModalToppings: function openModalToppings() {\n        this.set('showModalToppings', true);\n        this.set('newTopping', this.get('store').createRecord('topping', {\n          price: 0\n        }));\n      },\n      cancelModalToppings: function cancelModalToppings() {\n        this.set('showModalToppings', false);\n      },\n      addNewToppings: function addNewToppings() {\n        var _this3 = this;\n\n        var valid = true;\n        if (isEmpty(this.get('newTopping.name'))) {\n          valid = false;\n          this.set('newToppingError', 'menu.builder.steps.stepSix.productTable.toppingModal.errors.nameEmpty');\n        }\n\n        if (valid) {\n          this.set('newToppingError', '');\n          this.get('newTopping').save().then(function () {\n            _this3.set('newTopping', _this3.get('store').createRecord('topping', {\n              price: 0\n            }));\n            _this3.set('productTypes', _this3.get('store').findAll('productCatalog'));\n          })[\"catch\"](function (error) {\n            _this3.set('newToppingError', error);\n          });\n        }\n      },\n      addToppings: function addToppings() {\n        this.send('cancelModalToppings');\n      },\n      deleteProductGroup: function deleteProductGroup(selectedItem) {\n        this.sendAction('deleteGroup', selectedItem);\n      },\n      editProductGroup: function editProductGroup(selectedItem) {\n        this.sendAction('openModalProductGroups', selectedItem);\n      },\n      positionSelected: function positionSelected(position) {\n        this.sendAction('changePositionAction', this.get('productGroup'), position);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"aZCqxA6u\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.delele.label\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteProductGroup\\\",[\\\"get\\\",[\\\"productGroup\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"product-cell\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"productGroup\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"filler-cell\\\"],[\\\"flush-element\\\"],[\\\"append\\\",\\\"---\\\",false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 85px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"positions\\\"]],[\\\"get\\\",[\\\"productGroup\\\",\\\"position\\\"]],false,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"positionSelected\\\"],null]]],1],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"filler-cell\\\"],[\\\"flush-element\\\"],[\\\"append\\\",\\\"---\\\",false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"filler-cell\\\"],[\\\"flush-element\\\"],[\\\"append\\\",\\\"---\\\",false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"filler-cell\\\"],[\\\"flush-element\\\"],[\\\"append\\\",\\\"---\\\",false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"product-cell\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",\\\"ProductGroup\\\",false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"background: rgba(0,0,0,0.04)\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center; min-width: 30px\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.edit.label\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"editProductGroup\\\",[\\\"get\\\",[\\\"productGroup\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"buttonColorEnabled\\\"]]],null,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 80px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"spectrum-color-picker\\\"],null,[[\\\"color\\\",\\\"preferredFormat\\\",\\\"showPalette\\\",\\\"palette\\\",\\\"showInput\\\",\\\"hideAfterPaletteSelect\\\",\\\"showInitial\\\",\\\"showSelectionPalette\\\"],[[\\\"get\\\",[\\\"productGroup\\\",\\\"buttonColor\\\"]],\\\"hex\\\",true,[\\\"get\\\",[\\\"palette\\\"]],true,true,true,true]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"position\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"position\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-group-row/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/combo-product-modifiers/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    newComboModifiers: [],\n    selectionProduct: null,\n    showModalModifiers: false,\n    columns: computed(function () {\n      return [{\n        title: \" \",\n        propertyName: 'productCatalog.name',\n        className: 'editRow'\n      }, {\n        title: \" \",\n        template: \"product/modifiers-action\",\n        className: 'editRow'\n      }];\n    }),\n    title: computed(function () {\n      return this.get('intl').t('menu.builder.steps.stepSix.productTable.modal.modifiers.title') + \" \" + this.get('product.productCatalog.name');\n    }),\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('newComboModifiers').clear();\n    },\n    actions: {\n      closeModalComboModifiers: function closeModalComboModifiers() {\n        var _this = this;\n\n        this.get('product.comboSelections').forEach(function (comboSelection) {\n          comboSelection.get('products').forEach(function (selectionProduct) {\n            selectionProduct.get('modifiers').removeObjects(_this.get('newComboModifiers'));\n          });\n        });\n        this.sendAction('closeModalComboModifiers');\n      },\n      saveComboModifiers: function saveComboModifiers() {\n        this.sendAction('closeModalComboModifiers');\n      },\n      openModifiers: function openModifiers(record) {\n        this.set('selectionProduct', record);\n        this.set('showModalModifiers', true);\n      },\n      closeModalModifiers: function closeModalModifiers() {\n        this.set('showModalModifiers', false);\n      },\n      addModifiers: function addModifiers() {\n        this.set('showModalModifiers', false);\n      },\n      saveModifiers: function saveModifiers() {\n        this.set('showModalModifiers', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/combo-product-modifiers/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"4a9DU9ML\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"get\\\",[\\\"title\\\"]],\\\"closeModalComboModifiers\\\",false,\\\"middle none\\\"]],2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-row/modifiers\\\"],null,[[\\\"product\\\",\\\"traits\\\",\\\"modifierActions\\\",\\\"modifierPlacements\\\",\\\"menu\\\",\\\"newComboModifiers\\\",\\\"closeModalModifiers\\\",\\\"saveModifiers\\\"],[[\\\"get\\\",[\\\"selectionProduct\\\"]],[\\\"get\\\",[\\\"traits\\\"]],[\\\"get\\\",[\\\"modifierActions\\\"]],[\\\"get\\\",[\\\"modifierPlacements\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"get\\\",[\\\"newComboModifiers\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalModifiers\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveModifiers\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-6 col-sm-6 col-md-6 col-lg-6 d-flex justify-content-center text-center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-4 col-sm-4 col-md-4 col-lg-4 d-flex text-left\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\" Selection Text:\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right: 5px; color: #3d4486;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"displayText\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"showTableFooter\\\",\\\"showComponentFooter\\\",\\\"filteringIgnoreCase\\\",\\\"useFilteringByColumns\\\",\\\"showPageSize\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"rowTemplate\\\",\\\"openModifiers\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"products\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,false,false,true,false,true,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-row\\\",\\\"openModifiers\\\"]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 d-flex justify-content-center text-center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"comboSelections\\\"]]],[[\\\"key\\\"],[\\\"displayText\\\"]],1],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalComboModifiers\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveComboModifiers\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalModifiers\\\"]]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/combo-product-modifiers/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  var observer = _ember[\"default\"].observer;\n  var scheduleOnce = _ember[\"default\"].run.scheduleOnce;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    palette: [[\"#f8f8f8\"], [\"#e06666\", \"#f6b26b\", \"#ffd966\", \"#93c47d\", \"#76a5af\", \"#6fa8dc\", \"#8e7cc3\", \"#c27ba0\"]],\n    showColumns: true,\n    showModalModifiers: false,\n    showModalComboModifiers: false,\n    tagName: '',\n    toppingSortCriteria: ['name'],\n    toppings: computed(function () {\n      return this.get('store').findAll('topping');\n    }),\n    sortedToppings: computed.sort('toppings', 'toppingSortCriteria'),\n    headersToppings: ['menu.builder.steps.stepSix.productTable.toppingModal.headers.extra', 'menu.builder.steps.stepSix.productTable.toppingModal.headers.price'],\n    taxRateTypeSortCriteria: ['name'],\n    taxRateTypes: [],\n    sortedTaxRateTypes: computed.sort('taxRateTypes', 'taxRateTypeSortCriteria'),\n    selectedToppings: computed.alias('product.toppings'),\n    showModalToppings: false,\n    newTopping: null,\n    newToppingError: '',\n    isProductTaxRate: computed('product.taxRateType', function () {\n      return isEqual(this.get('product.taxRateType.id'), this.get('PRODUCT_TAX_RATE'));\n    }),\n    menuChangedObserver: observer('product.price', 'product.position', 'product.taxRate', 'product.productType', 'product.taxRateType', 'taxRate', function () {\n      if (this.get('product.hasDirtyAttributes')) {\n        this.set('menu.changed', true);\n      }\n    }),\n    inputProductPrice: computed.alias('product.price'),\n    inputTaxRate: computed.alias('product.taxRate'),\n    taxRate: computed('product.taxRateType', 'product.productType', function () {\n      var _this = this;\n\n      var taxRateType = this.get('product.taxRateType.id');\n      Logger.debug(\"tax rate type changed: \" + this.get('product.taxRateType.type'));\n      if (isEqual(taxRateType, this.get('MENU_TAX_RATE'))) {\n        return this.get('menu.menuTaxRate');\n      } else if (isEqual(taxRateType, this.get('PRODUCT_TYPE_TAX_RATE'))) {\n        var taxRate = 0;\n        this.get('menu.menuProductTypes').forEach(function (menuProductType) {\n          if (isEqual(menuProductType.get('productType'), _this.get('product.productCatalog.productType.id'))) {\n            taxRate = menuProductType.get('taxRate');\n          }\n        });\n        return taxRate;\n      }\n    }),\n    didRender: function didRender() {\n      this._super.apply(this, arguments);\n      scheduleOnce('afterRender', this, 'cleanAttributes');\n    },\n    cleanAttributes: function cleanAttributes() {\n      this._checkTaxRateType();\n    },\n    _checkTaxRateType: function _checkTaxRateType() {\n      var _this2 = this;\n\n      //disabled product type tax rate if any product type was selected as available\n      if (this.get('sortedTaxRateTypes.length') > 0) {\n        this.get('sortedTaxRateTypes').forEach(function (item) {\n          if (isEqual(item.get('id'), _this2.get('PRODUCT_TYPE_TAX_RATE')) && _this2.get('productTypes.length') === 0) {\n            if (isEqual(_this2.get('product.taxRateType.id'), _this2.get('PRODUCT_TYPE_TAX_RATE'))) {\n              _this2.set('product.taxRateType', undefined);\n            }\n            item.set('disabled', true);\n          } else {\n            item.set('disabled', false);\n          }\n        });\n      }\n    },\n    actions: {\n      selectTaxRateTypeAction: function selectTaxRateTypeAction(selectedItem) {\n        this.set('menu.changed', true);\n        this.set('product.changed', true);\n        this.set('product.taxRate', 0);\n        this.set('product.taxRateType', selectedItem);\n      },\n      deleteProduct: function deleteProduct(selectedItem) {\n        this.sendAction('deleteProduct', selectedItem);\n      },\n      positionSelected: function positionSelected(position) {\n        this.sendAction('changePositionAction', this.get('product'), position);\n      },\n      openProductModifiers: function openProductModifiers() {\n        if (this.get('product.productClass.id') === '1') {\n          this.set('showModalComboModifiers', true);\n        } else {\n          this.set('showModalModifiers', true);\n        }\n      },\n      closeModalModifiers: function closeModalModifiers() {\n        this.set('showModalModifiers', false);\n      },\n      saveModifiers: function saveModifiers() {\n        this.set('showModalModifiers', false);\n      },\n      closeModalComboModifiers: function closeModalComboModifiers() {\n        this.set('showModalComboModifiers', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/modifiers/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isBlank = _ember[\"default\"].isBlank;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    traitList: [],\n    refreshInput: true,\n    traitName: '',\n    newComboModifiers: null,\n    newModifiers: [],\n    selectedColumns: computed(function () {\n      return [{\n        title: \" \",\n        template: \"modifier/delete-action\"\n      }, {\n        propertyName: 'description',\n        title: \" \"\n      }, {\n        propertyName: 'price',\n        title: \" \"\n      }];\n    }),\n    availableColumns: computed(function () {\n      return [{\n        title: \" \",\n        template: \"modifier/add-action\"\n      }, {\n        propertyName: 'description',\n        title: \" \"\n      }, {\n        propertyName: 'price',\n        title: \" \"\n      }];\n    }),\n    title: computed(function () {\n      return this.get('intl').t('menu.builder.steps.stepSix.productTable.modal.modifiers.title') + \" \" + this.get('product.productCatalog.name');\n    }),\n    selectedAction: null,\n    selectedPlacement: null,\n    selectedTrait: null,\n    modifierPrice: 0,\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.get('traitList').addObjects(this.get('traits'));\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('newModifiers').clear();\n      this.get('traitList').clear();\n    },\n    _saveModifier: function _saveModifier(trait) {\n      var _this = this;\n\n      var modifier = this.get('store').createRecord('modifier', {\n        action: this.get('selectedAction'),\n        placement: this.get('selectedPlacement'),\n        trait: trait,\n        price: this.get('modifierPrice'),\n        menuId: this.get('menu.id')\n      });\n      var isValid = true;\n      if (!modifier.get('validations.isValid')) {\n        isValid = false;\n        modifier.get('validations.errors').forEach(function (error) {\n          var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n        });\n      }\n      if (isValid) {\n        this.set('refreshInput', false);\n        if (this.get('newComboModifiers') !== null) {\n          this.get('newComboModifiers').addObject(modifier);\n        }\n        this.get('newModifiers').addObject(modifier);\n        this.get('product.modifiers').addObject(modifier);\n        this.get('menu.modifiers').addObject(modifier);\n        this.set('traitName', '');\n        this.set('selectedTrait', null);\n        this.set('refreshInput', true);\n      }\n    },\n    actions: {\n      closeModalModifiers: function closeModalModifiers() {\n        this.get('product.modifiers').removeObjects(this.get('newModifiers'));\n        this.set('showModalModifiers', false);\n        this.sendAction('closeModalModifiers');\n      },\n      selectTrait: function selectTrait(selectedTrait) {\n        this.set('selectedTrait', selectedTrait);\n      },\n      addNewModifier: function addNewModifier() {\n        var _this2 = this;\n\n        // If the trait is new save it before creating the modifier\n        var newTrait = undefined;\n        if (this.get('selectedTrait') !== null && this.get('selectedTrait') !== undefined) {\n          // Get trait from selection\n          newTrait = this.get('selectedTrait');\n          // Create modifier using an existing trait\n          this._saveModifier(newTrait);\n        } else {\n          // Verified trait name is not blank\n          if (!isBlank(this.get('traitName'))) {\n            newTrait = this.get('store').createRecord('trait', {\n              name: this.get('traitName'),\n              company: this.get('menu.company')\n            });\n            newTrait.save().then(function (trait) {\n              // Add new trait to traits list\n              _this2.get('traitList').addObject(trait);\n              // Save modifier with new trait\n              _this2._saveModifier(trait);\n            });\n          } else {\n            var errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepSix.productTable.modal.modifiers.error.nameBlank'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n      },\n      deleteModifier: function deleteModifier(modifier) {\n        // Remove modifiers\n        this.get('newModifiers').removeObject(modifier);\n        this.get('product.modifiers').removeObject(modifier);\n        if (!modifier.get('isNew')) {\n          this.get('product.deletedModifiers').addObject(modifier.get('id'));\n        }\n      },\n      addModifier: function addModifier(modifier) {\n        if (this.get('newComboModifiers') !== null) {\n          this.get('newComboModifiers').addObject(modifier);\n        }\n        this.get('newModifiers').addObject(modifier);\n        this.get('product.modifiers').addObject(modifier);\n      },\n      saveModifiers: function saveModifiers() {\n        this.sendAction('saveModifiers');\n      },\n      updateTraitName: function updateTraitName(name) {\n        this.set('traitName', name);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/modifiers/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"T9objsKG\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"get\\\",[\\\"title\\\"]],\\\"closeModalModifiers\\\",false,\\\"middle none\\\"]],3]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"placement\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"placement\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"autocomplete-input\\\"],null,[[\\\"items\\\",\\\"addNewItem\\\",\\\"selectItem\\\",\\\"sendTraitName\\\",\\\"placeholder\\\"],[[\\\"get\\\",[\\\"traitList\\\"]],\\\"addNewModifier\\\",\\\"selectTrait\\\",\\\"updateTraitName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.trait.placeholder\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"action\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"action\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"showTableFooter\\\",\\\"showComponentFooter\\\",\\\"filteringIgnoreCase\\\",\\\"useFilteringByColumns\\\",\\\"showPageSize\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"rowTemplate\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"modifiers\\\"]],[\\\"get\\\",[\\\"selectedColumns\\\"]],false,false,false,false,false,true,false,true,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-row\\\",\\\"deleteModifier\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 7px; margin-bottom: 7px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-6 col-sm-6 col-md-6 col-lg-6 separator\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #9b9b9b\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.labels.addNew\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 3px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #9b9b9b\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.action.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"placeholder\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"modifierActions\\\"]],[\\\"get\\\",[\\\"selectedAction\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.action.label\\\"],null],false,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedAction\\\"]]],null]],null]]],2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #9b9b9b\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.trait.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshInput\\\"]]],null,1],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 3px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #9b9b9b\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.placement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"placeholder\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"modifierPlacements\\\"]],[\\\"get\\\",[\\\"selectedPlacement\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.placement.label\\\"],null],false,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedPlacement\\\"]]],null]],null]]],0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #9b9b9b\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.price.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"modifierPrice\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0; margin-top: 25px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addNewModifier\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"trait.details.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 7px; margin-bottom: 7px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-6 col-sm-6 col-md-6 col-lg-6 separator\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #9b9b9b\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.modifiers.labels.addExisting\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"showTableFooter\\\",\\\"showComponentFooter\\\",\\\"filteringIgnoreCase\\\",\\\"useFilteringByColumns\\\",\\\"showPageSize\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"add\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"modifiers\\\"]],[\\\"get\\\",[\\\"availableColumns\\\"]],false,false,false,false,false,true,false,false,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"addModifier\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalModifiers\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveModifiers\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/modifiers/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"jKnSo91G\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.delele.label\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteProduct\\\",[\\\"get\\\",[\\\"product\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"product-cell\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productCatalog\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none; width: 120px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"value\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"inputProductPrice\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPosition\\\"]]],null,12],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 175px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedTaxRateTypes\\\"]],[\\\"get\\\",[\\\"product\\\",\\\"taxRateType\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.taxRateType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectTaxRateTypeAction\\\"],null]]],10],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 175px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productType\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isProductTaxRate\\\"]]],null,9,8],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showColumns\\\"]]],null,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"buttonColorEnabled\\\"]]],null,2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalModifiers\\\"]]],null,1],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalComboModifiers\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-row/combo-product-modifiers\\\"],null,[[\\\"product\\\",\\\"traits\\\",\\\"modifierActions\\\",\\\"modifierPlacements\\\",\\\"menu\\\",\\\"closeModalComboModifiers\\\"],[[\\\"get\\\",[\\\"product\\\"]],[\\\"get\\\",[\\\"traits\\\"]],[\\\"get\\\",[\\\"modifierActions\\\"]],[\\\"get\\\",[\\\"modifierPlacements\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalComboModifiers\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-row/modifiers\\\"],null,[[\\\"product\\\",\\\"traits\\\",\\\"modifierActions\\\",\\\"modifierPlacements\\\",\\\"menu\\\",\\\"closeModalModifiers\\\",\\\"saveModifiers\\\"],[[\\\"get\\\",[\\\"product\\\"]],[\\\"get\\\",[\\\"traits\\\"]],[\\\"get\\\",[\\\"modifierActions\\\"]],[\\\"get\\\",[\\\"modifierPlacements\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalModifiers\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveModifiers\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 80px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"spectrum-color-picker\\\"],null,[[\\\"color\\\",\\\"preferredFormat\\\",\\\"showPalette\\\",\\\"palette\\\",\\\"showInput\\\",\\\"hideAfterPaletteSelect\\\",\\\"showInitial\\\",\\\"showSelectionPalette\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"buttonColor\\\"]],\\\"hex\\\",true,[\\\"get\\\",[\\\"palette\\\"]],true,true,true,true]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-xs\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openProductModifiers\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.addModifiers.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-xs\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.addModifiers.messageDisabled\\\"],null],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.addModifiers.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 175px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productCatalog\\\",\\\"displayClassName\\\"]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"productClass\\\",\\\"id\\\"]],\\\"2\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"productCatalog\\\",\\\"productClass\\\",\\\"id\\\"]],\\\"2\\\"],null]],null]],null,4,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none; width: 100px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"taxRate\\\"]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none; width: 100px; border: solid #d9534f; border-radius: 25px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.taxRateNotSet\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"taxRateType\\\",\\\"id\\\"]],\\\"1\\\"],null],[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"taxRate\\\"]],null],null]],null]],null,7,6]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"max\\\",\\\"min\\\",\\\"decimals\\\",\\\"value\\\",\\\"class\\\"],[\\\"100\\\",\\\"0\\\",3,[\\\"get\\\",[\\\"inputTaxRate\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"position\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"position\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"float: none;width: 85px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"positions\\\"]],[\\\"get\\\",[\\\"product\\\",\\\"position\\\"]],false,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"positionSelected\\\"],null]]],11],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/products-table/product-row/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/products-table/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"XFIvi2B5\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isLoading\\\"]]],null,11,10],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalProducts\\\"]]],null,5],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalProductGroups\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-group-modal\\\"],null,[[\\\"productGroup\\\",\\\"menu\\\",\\\"taxRateTypes\\\",\\\"addProductGroup\\\",\\\"changePositionAction\\\",\\\"closeModalProductGroups\\\",\\\"displayProductCatalogsList\\\"],[[\\\"get\\\",[\\\"newProductGroup\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"get\\\",[\\\"_taxRateTypes\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProductGroup\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePositionAction\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalProductGroups\\\"],null],[\\\"get\\\",[\\\"displayProductCatalogsList\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:100px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"preselectedItems\\\",\\\"sendDisplayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],10,[\\\"get\\\",[\\\"selectedModels\\\"]],true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/quick-add\\\"],null,[[\\\"product\\\",\\\"products\\\",\\\"productAction\\\",\\\"error\\\"],[[\\\"get\\\",[\\\"newProduct\\\"]],[\\\"get\\\",[\\\"data\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addNewProduct\\\"],null],[\\\"get\\\",[\\\"newProductError\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displayProductsList\\\"]]],null,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"h6\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearAllSelected\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.clearAllSelected.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times-circle fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      ]\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,3,1],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"clearAllSelected\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.title\\\"],null],\\\"closeModalProducts\\\",\\\"clearAllSelected\\\",true,\\\"middle none\\\"]],4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-group-row\\\"],null,[[\\\"productGroup\\\",\\\"positions\\\",\\\"menu\\\",\\\"taxRateTypes\\\",\\\"traits\\\",\\\"deleteGroup\\\",\\\"changePositionAction\\\",\\\"openModalProductGroups\\\",\\\"showPosition\\\"],[[\\\"get\\\",[\\\"item\\\"]],[\\\"get\\\",[\\\"positions\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"get\\\",[\\\"_taxRateTypes\\\"]],[\\\"get\\\",[\\\"_traits\\\"]],\\\"deleteGroup\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePositionAction\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModalProductGroups\\\"],null],true]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/products-table/product-row\\\"],null,[[\\\"product\\\",\\\"positions\\\",\\\"menu\\\",\\\"taxRateTypes\\\",\\\"modifierActions\\\",\\\"modifierPlacements\\\",\\\"traits\\\",\\\"deleteProduct\\\",\\\"changePositionAction\\\",\\\"showPosition\\\"],[[\\\"get\\\",[\\\"item\\\"]],[\\\"get\\\",[\\\"positions\\\"]],[\\\"get\\\",[\\\"menu\\\"]],[\\\"get\\\",[\\\"_taxRateTypes\\\"]],[\\\"get\\\",[\\\"_modifierActions\\\"]],[\\\"get\\\",[\\\"_modifierPlacements\\\"]],[\\\"get\\\",[\\\"_traits\\\"]],\\\"deleteProduct\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changePositionAction\\\"],null],true]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"isProduct\\\"]]],null,7,6]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.buttonColor\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"addPage\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModalProducts\\\",0]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.add.addProduct\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"addProductGroup\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModalProductGroups\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.add.addProductGroup\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"addCombo\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModalProducts\\\",1]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.add.addCombo\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table-responsive\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table table-striped product-table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.product\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.price\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.position\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.taxRateType\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.productType\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.taxRate\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.class\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.headers.edit\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"buttonColorEnabled\\\"]]],null,9],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"sortedProducts\\\"]]],null,8],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/products-table/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/menu-wizard/receipt-options/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/common-mixin'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsCommonMixin) {\n  exports['default'] = _ember['default'].Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsCommonMixin['default'], {\n    availableTenders: _ember['default'].computed(function () {\n      return this.get('store').peekAll('tenderType');\n    }),\n    selectedPrintableTenders: _ember['default'].computed('menu.receipt.printableTendersModels', function () {\n      if (this.get('menu.receipt.printableTenders')) {\n        return this.get('menu.receipt.printableTendersModels');\n      }\n    }),\n    selectedOpenCashDrawerTenders: _ember['default'].computed('menu.openCashDrawerTenders', function () {\n      if (this.get('menu.openCashDrawerTenders')) {\n        return this.get('menu.openCashDrawerTenders');\n      }\n    }),\n    selectedOpenCashDrawerTendersObserver: _ember['default'].observer('selectedOpenCashDrawerTenders', function () {\n      this.set('menu.changed', true);\n      this.get('menu.openCashDrawerTenders').clear();\n      this.get('menu.openCashDrawerTenders').addObjects(this.get('selectedOpenCashDrawerTenders'));\n    }),\n    selectedPrintableTendersObserver: _ember['default'].observer('selectedPrintableTenders', function () {\n      var _this = this;\n\n      this.set('menu.changed', true);\n      this.set('menu.receipt.printableTendersModels', this.get('selectedPrintableTenders'));\n      this.get('menu.receipt.printableTenders').clear();\n      this.get('menu.receipt.printableTendersModels').forEach(function (selectedTender) {\n        _this.get('menu.receipt.printableTenders').addObject(selectedTender.get('id'));\n      });\n    }),\n    allSelectedObserver: _ember['default'].observer('selectedOpenCashDrawerTenders', function () {\n      this.set('allSelected', _ember['default'].isEqual(this.get('availableTenders.length'), this.get('selectedOpenCashDrawerTenders.length')));\n    }),\n    defaultReceiptTypes: _ember['default'].computed(function () {\n      return this.get('store').findAll('receiptType');\n    }),\n    selectedDefaultReceiptTender: _ember['default'].computed('menu.receipt.defaultReceiptType', function () {\n      if (this.get('menu.receipt.defaultReceiptType') !== undefined) {\n        return this.get('store').findRecord('receiptType', this.get('menu.receipt.defaultReceiptType'));\n      }\n    }),\n    logoName: _ember['default'].computed('menu.receipt.logo', function () {\n      return this.get('menu.receipt.logo') ? 'logo' : null;\n    }),\n    logoPreview: _ember['default'].computed('menu.receipt.logo', function () {\n      var url = this.get('menu.receipt.logo');\n      return _ember['default'].String.htmlSafe('background-image: url(\"' + url + '\")');\n    }),\n    showPrintOptions: _ember['default'].computed('selectedPrintableTenders', function () {\n      var availableTenders = this.get('availableTenders.length');\n      var selectedTenders = this.get('selectedPrintableTenders.length');\n      return availableTenders === selectedTenders;\n    }),\n    inputCustomerCopies: _ember['default'].computed(function () {\n      return this.get('menu.receipt.customerCopies');\n    }),\n    inputCustomerCopiesObserver: _ember['default'].observer('inputCustomerCopies', function () {\n      this.set('menu.receipt.customerCopies', parseInt(this.get('inputCustomerCopies')));\n    }),\n    inputMerchantCopies: _ember['default'].computed(function () {\n      return this.get('menu.receipt.merchantCopies');\n    }),\n    inputMerchantCopiesObserver: _ember['default'].observer('inputMerchantCopies', function () {\n      this.set('menu.receipt.merchantCopies', parseInt(this.get('inputMerchantCopies')));\n    }),\n    inputBarPrinterCopies: _ember['default'].computed(function () {\n      return this.get('menu.receipt.barPrinterCopies');\n    }),\n    inputBarPrinterCopiesObserver: _ember['default'].observer('inputBarPrinterCopies', function () {\n      this.set('menu.receipt.barPrinterCopies', parseInt(this.get('inputBarPrinterCopies')));\n    }),\n    inputKitchenPrinterCopies: _ember['default'].computed(function () {\n      return this.get('menu.receipt.kitchenPrinterCopies');\n    }),\n    inputKitchenPrinterCopiesObserver: _ember['default'].observer('inputKitchenPrinterCopies', function () {\n      this.set('menu.receipt.kitchenPrinterCopies', parseInt(this.get('inputKitchenPrinterCopies')));\n    }),\n    allSelected: false,\n    headerError: '',\n    footerError: '',\n    address1Error: '',\n    address2Error: '',\n    defaultReceiptTypeError: '',\n    actions: {\n      nextStep: function nextStep() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n        if (this.get('menu.receipt.enabled')) {\n          if (this.get('menu.receipt.validations.isValid')) {\n            if (_ember['default'].isEmpty(this.get('menu.receipt.header'))) {\n              isValid = false;\n              this.set('headerError', _ember['default'].String.htmlSafe('has-error alert-danger'));\n              errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFive.design.errors.missingHeader'), { closeAfter: 5000 });\n              this.get('errorMessages').addObject(errorMessage);\n            }\n            if (_ember['default'].isEmpty(this.get('menu.receipt.footer'))) {\n              isValid = false;\n              this.set('footerError', _ember['default'].String.htmlSafe('has-error alert-danger'));\n              errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFive.design.errors.missingFooter'), { closeAfter: 5000 });\n              this.get('errorMessages').addObject(errorMessage);\n            }\n            if (_ember['default'].isEmpty(this.get('menu.receipt.address1'))) {\n              isValid = false;\n              this.set('address1Error', _ember['default'].String.htmlSafe('has-error alert-danger'));\n              errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFive.design.errors.missingAddress1'), { closeAfter: 5000 });\n              this.get('errorMessages').addObject(errorMessage);\n            }\n            if (_ember['default'].isEmpty(this.get('menu.receipt.address2'))) {\n              isValid = false;\n              this.set('address2Error', _ember['default'].String.htmlSafe('has-error alert-danger'));\n              errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFive.design.errors.missingAddress2'), { closeAfter: 5000 });\n              this.get('errorMessages').addObject(errorMessage);\n            }\n            if (this.get('menu.receipt.defaultReceiptType') === undefined) {\n              isValid = false;\n              this.set('defaultReceiptTypeError', _ember['default'].String.htmlSafe('has-error alert-danger'));\n              errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepFive.defaultReceiptTender.errors.anyOptionSelected'), { closeAfter: 5000 });\n              this.get('errorMessages').addObject(errorMessage);\n            }\n          } else {\n            isValid = false;\n            this.send('displayErrorMessages', this.get('menu.receipt.validations.errors'));\n          }\n        }\n        this.sendAction('nextStep', isValid);\n      },\n      previousStep: function previousStep() {\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      printReceiptAllTendersChanged: function printReceiptAllTendersChanged(value) {\n        this.set('showPrintOptions', value);\n        if (value) {\n          this.set('selectedPrintableTenders', this.get('availableTenders'));\n        } else {\n          this.set('selectedPrintableTenders', []);\n        }\n      },\n      defaultReceiptTendersSelected: function defaultReceiptTendersSelected(receiptType) {\n        this.set('menu.receipt.defaultReceiptType', receiptType.get('id'));\n      },\n      uploadLogo: function uploadLogo(fileList) {\n        var _this2 = this;\n\n        var re = new RegExp('image/*');\n        if (re.test(fileList[0].type)) {\n          (function () {\n            var that = _this2;\n            _this2.set('logoName', fileList[0].name);\n            var reader = new FileReader();\n\n            reader.onloadend = function () {\n              that.set('menu.receipt.logo', reader.result);\n            };\n\n            reader.readAsDataURL(fileList[0]);\n          })();\n        } else {\n          _ember['default'].Logger.debug('not an image.');\n        }\n      },\n      removeLogo: function removeLogo() {\n        this.set('logoName', null);\n        this.set('menu.receipt.logo', null);\n      },\n      selectAllOpenDrawerTypes: function selectAllOpenDrawerTypes() {\n        if (this.get('allSelected')) {\n          this.set('selectedOpenCashDrawerTenders', []);\n        } else {\n          this.set('selectedOpenCashDrawerTenders', this.get('availableTenders'));\n        }\n      },\n      updateOpenCashDrawerTendersSelection: function updateOpenCashDrawerTendersSelection(newSelection) {\n        this.set('selectedOpenCashDrawerTenders', newSelection);\n      },\n      updatePrintableTendersSelection: function updatePrintableTendersSelection(newSelection) {\n        this.set('selectedPrintableTenders', newSelection);\n      },\n      save: function save() {\n        this.sendAction('save');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/receipt-options/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"uDqLAQ/2\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printReceipt.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"enabled\\\"]]]],10],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"enabled\\\"]]]],9],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"enabled\\\"]]],null,8]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.printReceipt.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group printOptionsCheckboxes\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"multiselect-checkboxes\\\"],null,[[\\\"options\\\",\\\"labelProperty\\\",\\\"onchange\\\",\\\"updateSelectionValue\\\",\\\"selection\\\"],[[\\\"get\\\",[\\\"availableTenders\\\"]],\\\"name\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updatePrintableTendersSelection\\\"],null],false,[\\\"get\\\",[\\\"selectedPrintableTenders\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.receiptsAllTenders.radios.false\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.receiptsAllTenders.radios.true\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeLogo\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeLogo\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"camera-icon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-camera-retro\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"logoPreview\\\"]],null],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-preview\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-name\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"logoName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"logoName\\\"]]],null,6,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group  \\\",[\\\"unknown\\\",[\\\"headerError\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"header\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.header.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"header\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.header.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"header\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"footerError\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"footer\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.footer.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"footer\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.footer.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"footer\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"address1Error\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"address1\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.address1.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"address1\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.address1.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"address1\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"address2Error\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"address2\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.address2.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"address2\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.address2.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"receipt\\\",\\\"address2\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"logo\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.logo.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"x-file-input\\\"],null,[[\\\"class\\\",\\\"alt\\\",\\\"action\\\"],[\\\"uploadButton\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.design.logo.button\\\"],null],\\\"uploadLogo\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"logo-wrapper\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\"],[\\\"uploadLogo\\\"]],7],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"logoName\\\"]]],null,4],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 0; text-align: left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.receiptsAllTenders.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\",\\\"changed\\\"],[true,[\\\"get\\\",[\\\"showPrintOptions\\\"]],\\\"printReceiptAllTendersChanged\\\"]],3],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\",\\\"changed\\\"],[false,[\\\"get\\\",[\\\"showPrintOptions\\\"]],\\\"printReceiptAllTendersChanged\\\"]],2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"showPrintOptions\\\"]]],null,1],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.customerCopies.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"class\\\",\\\"value\\\"],[\\\"true\\\",\\\"100\\\",\\\"0\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"inputCustomerCopies\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.merchandCopies.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"class\\\",\\\"value\\\"],[\\\"true\\\",\\\"100\\\",\\\"0\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"inputMerchantCopies\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.barPrinterCopies.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"class\\\",\\\"value\\\"],[\\\"true\\\",\\\"100\\\",\\\"0\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"inputBarPrinterCopies\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printOptions.kitchenPrinterCopies.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"class\\\",\\\"value\\\"],[\\\"true\\\",\\\"100\\\",\\\"0\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"inputKitchenPrinterCopies\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"defaultReceiptTypeError\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top: 20; text-align: left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.defaultReceiptTender.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"defaultReceiptTypes\\\"]],[\\\"get\\\",[\\\"selectedDefaultReceiptTender\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.defaultReceiptTender.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"defaultReceiptTendersSelected\\\"],null]]],0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.cashDrawer.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"checked\\\",\\\"change\\\"],[\\\"checkbox\\\",[\\\"get\\\",[\\\"allSelected\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectAllOpenDrawerTypes\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.cashDrawer.allCheckBoxLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n       \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group cashDrawerCheckboxes\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"multiselect-checkboxes\\\"],null,[[\\\"options\\\",\\\"labelProperty\\\",\\\"selection\\\",\\\"onchange\\\",\\\"updateSelectionValue\\\"],[[\\\"get\\\",[\\\"availableTenders\\\"]],\\\"name\\\",[\\\"get\\\",[\\\"selectedOpenCashDrawerTenders\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"updateOpenCashDrawerTendersSelection\\\"],null],false]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printReceipt.radios.false\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFive.printReceipt.radios.true\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/receipt-options/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/tablet-view/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    page: undefined,\n    productsSorting: ['position'],\n    sortedProducts: computed.sort('page.pageDisplayList', 'productsSorting'),\n    emptyProducts: [],\n    didReceiveAttrs: function didReceiveAttrs() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      var currentPosition = 1;\n      this.get('sortedProducts').forEach(function (product) {\n        if (!isEqual(product.get('position'), currentPosition)) {\n          for (var i = currentPosition; i < product.get('position'); i++) {\n            var emptyProduct = _this.get('store').createRecord('product');\n            emptyProduct.set('position', i);\n            _this.get('sortedProducts').addObject(emptyProduct);\n          }\n        }\n        currentPosition = product.get('position') + 1;\n      });\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/tablet-view/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"93Ttf/Bt\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"needRefreshTabletView\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"page\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/page-view\\\"],null,[[\\\"items\\\",\\\"sortAction\\\"],[[\\\"get\\\",[\\\"sortedProducts\\\"]],\\\"sortAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/tablet-view/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/taxes/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var run = _ember[\"default\"].run;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    productTypeTaxes: A(),\n    displayTaxesOptions: false,\n    showTaxInclusiveRate: computed.alias('menu.taxInclusive'),\n    showServiceFeeRate: computed.alias('menu.serviceFeeEnabled'),\n    showProductTypeSelector: false,\n    headers: ['menu.builder.steps.stepTwo.productTypes.headers.name', 'menu.builder.steps.stepTwo.productTypes.headers.taxRate'],\n    menuProductTypes: computed.alias('menu.menuProductTypes'),\n    menuCategories: computed.alias('menu.categories'),\n    selectedProductTypes: [],\n    productTypeCount: computed.alias('menu.menuProductTypes.length'),\n    menuTaxRate: '',\n    inputMenuTaxRate: computed(function () {\n      return this.get('menu.menuTaxRate');\n    }),\n    inputMenuTaxRateObserver: observer('inputMenuTaxRate', function () {\n      this.set('menu.menuTaxRate', parseFloat(this.get('inputMenuTaxRate')));\n    }),\n    inputServiceFeeTaxRate: computed(function () {\n      return this.get('menu.serviceFeeTaxRate');\n    }),\n    inputServiceFeeTaxRateObserver: observer('inputServiceFeeTaxRate', function () {\n      this.set('menu.serviceFeeTaxRate', parseFloat(this.get('inputServiceFeeTaxRate')));\n    }),\n    taxTypes: computed(function () {\n      return this.get('store').query('taxType', { cashless: false });\n    }),\n    menuTaxTypes: [],\n    serviceFeeRate: '',\n    _loadTaxTypesLists: function _loadTaxTypesLists() {\n      var _this = this;\n\n      this.get('taxTypes').forEach(function (taxType) {\n        _this.get('menuTaxTypes').addObject(taxType);\n      });\n    },\n    init: function init() {\n      var _this2 = this;\n\n      this._super.apply(this, arguments);\n      if (this.get('showProductTypeSelector')) {\n        this.get('menuProductTypes').forEach(function (menuProductTypeTax) {\n          var productTypeTax = _this2.get('store').createFragment('menuProductType', {\n            productType: menuProductTypeTax.get('productType'),\n            taxRate: menuProductTypeTax.get('taxRate'),\n            taxNotSet: menuProductTypeTax.get('taxNotSet')\n          });\n          _this2.get('productTypeTaxes').addObject(productTypeTax);\n        });\n      }\n\n      if (this.get('taxTypes').then !== undefined) {\n        this.get('taxTypes').then(function (content) {\n          run(function () {\n            _this2.set('taxTypes', content);\n            _this2._loadTaxTypesLists();\n            _this2.set('displayTaxesOptions', true);\n          });\n        });\n      } else {\n        this._loadTaxTypesLists();\n        this.set('displayTaxesOptions', true);\n      }\n      if (this.get('menu.isNew')) {\n        this.set('menu.taxInclusive', true);\n      }\n    },\n    actions: {\n      nextStep: function nextStep() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        if (isEmpty(this.get('menu.menuTaxRate'))) {\n          isValid = false;\n          this.set('menuTaxRate', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepTwo.menuTaxes.errors.empty'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        } else if (!(this.get('menu.menuTaxRate') > 100 || this.get('menu.menuTaxRate') < 0) && !/^(100|[0-9]{1,2})(\\.[0-9]{1,3})?$/.test(this.get('menu.menuTaxRate'))) {\n          isValid = false;\n          this.set('menuTaxRate', htmlSafe('has-error alert-danger'));\n          errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepTwo.menuTaxes.errors.invalidPercentage'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('menu.serviceFeeEnabled')) {\n          if (isEmpty(this.get('menu.serviceFeeTaxRate'))) {\n            isValid = false;\n            this.set('serviceFeeRate', htmlSafe('has-error alert-danger'));\n            errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepTwo.serviceFee.errors.empty'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          } else if (!(this.get('menu.serviceFeeTaxRate') > 100 || this.get('menu.serviceFeeTaxRate') < 0) && !/^(100|[0-9]{1,2})(\\.[0-9]{1,2})?$/.test(this.get('menu.serviceFeeTaxRate'))) {\n            isValid = false;\n            this.set('serviceFeeRate', htmlSafe('has-error alert-danger'));\n            errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepTwo.serviceFee.errors.invalidPercentage'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n\n        this.sendAction('nextStep', isValid);\n      },\n      previousStep: function previousStep() {\n        this.sendAction('previousStep');\n      },\n      showMenuList: function showMenuList() {\n        this.sendAction('showMenuList');\n      },\n      save: function save() {\n        this.sendAction('save');\n      },\n      openProductTypeSelector: function openProductTypeSelector() {\n        var _this3 = this;\n\n        this.get('menuProductTypes').forEach(function (menuProductTypeTax) {\n          var productTypeTax = _this3.get('store').createFragment('menuProductType', {\n            productType: menuProductTypeTax.get('productType'),\n            taxRate: menuProductTypeTax.get('taxRate'),\n            taxNotSet: menuProductTypeTax.get('taxNotSet')\n          });\n          _this3.get('productTypeTaxes').addObject(productTypeTax);\n        });\n        this.set('showProductTypeSelector', true);\n      },\n      closeProductTypeSelector: function closeProductTypeSelector() {\n        this.send('cleanMessages');\n        this.get('productTypeTaxes').clear();\n        this.set('showProductTypeSelector', false);\n      },\n      acceptProductTypeSelector: function acceptProductTypeSelector(menuProductTypes) {\n        var _this4 = this;\n\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n        menuProductTypes.forEach(function (productType) {\n          if (productType.get('taxRate') !== null) {\n            if (!(productType.get('taxRate') > 100 || productType.get('taxRate') < 0) && !/^(100|[0-9]{1,2})(\\.[0-9]{1,2})?$/.test(productType.get('taxRate'))) {\n              errorMessage = _this4.get('notify').alert(_this4.get('intl').t('menu.builder.steps.stepTwo.productTypes.errors.invalidPercentage', { productType: productType.get('productTypeObject.name') }), { closeAfter: 5000 });\n              _this4.get('errorMessages').addObject(errorMessage);\n              isValid = false;\n            }\n          }\n        });\n        if (isValid) {\n          this.get('menuProductTypes').clear();\n          this.get('menuProductTypes').addObjects(menuProductTypes);\n          this.set('productTypeCount', menuProductTypes.get('length'));\n          this.get('productTypeTaxes').clear();\n          this.set('showProductTypeSelector', false);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/taxes/product-type-editor/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    menuCategories: [],\n    _columns: computed(function () {\n      return [{\n        propertyName: 'productTypeObject.name',\n        title: this.get('intl').t('menu.builder.steps.stepTwo.productTypes.headers.name')\n      }, {\n        title: this.get('intl').t('menu.builder.steps.stepTwo.productTypes.headers.taxRate'),\n        template: \"menu/actions/product-type-tax\",\n        className: 'productTypeTable-tax-input'\n      }, {\n        template: \"menu/actions/product-type-tax-set-action\",\n        className: 'changePasswordRow'\n      }];\n    }),\n    menuProductTypes: [],\n    actions: {\n      setTaxRate: function setTaxRate(record) {\n        record.set('taxRate', 0);\n        record.set('taxNotSet', false);\n      },\n      clearTaxRate: function clearTaxRate(record) {\n        var productUsingTypeTaxCount = '0';\n        this.get('menuCategories').forEach(function (category) {\n          category.get('pages').forEach(function (page) {\n            var products = page.get('products').filterBy('productCatalog.productType.id', record.get('productType'));\n            products.forEach(function (product) {\n              if (product.get('taxRateType.id') === '1') {\n                productUsingTypeTaxCount++;\n              }\n            });\n\n            page.get('productGroups').forEach(function (productGroup) {\n              var products = productGroup.get('products').filterBy('productCatalog.productType.id', record.get('productType'));\n              products.forEach(function (product) {\n                if (product.get('taxRateType.id') === '1') {\n                  productUsingTypeTaxCount++;\n                }\n              });\n            });\n          });\n        });\n\n        if (productUsingTypeTaxCount > 0) {\n          this.get('notify').alert(record.get('productTypeObject.name') + \" tax is being used by \" + productUsingTypeTaxCount + \" product(s)\", { closeAfter: 5000 });\n        } else {\n          record.set('taxRate', null);\n          record.set('taxNotSet', true);\n        }\n      },\n      cancelAction: function cancelAction() {\n        this.send('cleanMessages');\n        this.get('menuProductTypes').clear();\n        this.sendAction('closeProductTypeSelector', this.get('menuProductTypes'));\n      },\n      acceptProductTypeSelector: function acceptProductTypeSelector() {\n        this.sendAction('acceptProductTypeSelector', this.get('menuProductTypes'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/taxes/product-type-editor/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"G7FotkV3\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.productTypes.modalTitle\\\"],null],\\\"cancelAction\\\",true,\\\"middle none\\\"]],0],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useFilteringByColumns\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"clearTaxRate\\\",\\\"setTaxRate\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"menuProductTypes\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,false,\\\"application/table-pagination\\\",\\\"clearTaxRate\\\",\\\"setTaxRate\\\",10,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\",[\\\"get\\\",[\\\"menuProductTypes\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.productTypes.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"acceptProductTypeSelector\\\",[\\\"get\\\",[\\\"menuProductTypes\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.productTypes.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/taxes/product-type-editor/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/taxes/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+LQJ/54I\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"menuTaxRate\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"taxInclusiveRate\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"decimals\\\",\\\"value\\\",\\\"class\\\"],[\\\"taxInclusiveRate\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.placeholder\\\"],null],\\\"true\\\",\\\"100\\\",\\\"0\\\",3,[\\\"get\\\",[\\\"inputMenuTaxRate\\\"]],\\\"form-control menuTaxRateInput\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"side\\\",\\\"target\\\",\\\"class\\\",\\\"duration\\\"],[\\\"hover\\\",\\\"right\\\",\\\"#taxInclusiveRate\\\",\\\"tooltipHelp\\\",6000]],5],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.employeeDiscount.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displayTaxesOptions\\\"]]],null,4],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.productTypes.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.productTypes.description\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openProductTypeSelector\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.productTypes.buttons.setup\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.serviceFee.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"serviceFeeCheckBox\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.serviceFee.enable\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"serviceFeeCheckBox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"menu\\\",\\\"serviceFeeEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.serviceFee.description\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showServiceFeeRate\\\"]]],null,2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showProductTypeSelector\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/taxes/product-type-editor\\\"],null,[[\\\"menuProductTypes\\\",\\\"menuCategories\\\",\\\"closeProductTypeSelector\\\",\\\"acceptProductTypeSelector\\\"],[[\\\"get\\\",[\\\"productTypeTaxes\\\"]],[\\\"get\\\",[\\\"menuCategories\\\"]],\\\"closeProductTypeSelector\\\",\\\"acceptProductTypeSelector\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.serviceFee.details\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"form-group \\\",[\\\"unknown\\\",[\\\"serviceFeeRate\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"serviceFeeRate\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.serviceFee.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"max\\\",\\\"min\\\",\\\"value\\\",\\\"class\\\"],[\\\"serviceFeeRate\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.serviceFee.placeholder\\\"],null],\\\"true\\\",\\\"100\\\",\\\"0\\\",[\\\"get\\\",[\\\"inputServiceFeeTaxRate\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"side\\\",\\\"target\\\",\\\"class\\\",\\\"duration\\\"],[\\\"hover\\\",\\\"right\\\",\\\"#serviceFeeRate\\\",\\\"tooltipHelp\\\",6000]],1],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepFour.employeeDiscount.percentage\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.menuTaxType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"menuTaxTypes\\\"]],[\\\"get\\\",[\\\"menu\\\",\\\"menuTaxType\\\"]],false,[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.menuTaxType.placeHolder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"menuTaxType\\\"]]],null]],null]]],3],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.menuTaxType.description\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.details\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/taxes/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/menu-wizard/topping-row/component', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend({\n    tagName: '',\n    rowSelected: _ember['default'].computed('selections', function () {\n      var _this = this;\n\n      var selected = '';\n      this.get('selections').forEach(function (item) {\n        if (item.get('id') === _this.get('item.id')) {\n          selected = _ember['default'].String.htmlSafe('row-selected');\n        }\n      });\n      return selected;\n    }),\n    actions: {\n      selectedItem: function selectedItem(item) {\n        if (!this.get('rowDisabled')) {\n          if (this.get('selections').includes(this.get('item'))) {\n            this.get('selections').removeObject(item);\n            this.set('rowSelected', _ember['default'].String.htmlSafe(''));\n          } else {\n            this.get('selections').addObject(item);\n            this.set('rowSelected', _ember['default'].String.htmlSafe('row-selected'));\n          }\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/topping-row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"glC96ohq\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"rowSelected\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectedItem\\\",[\\\"get\\\",[\\\"item\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"price\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",[\\\"get\\\",[\\\"currency\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/topping-row/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/menu-wizard/wizard-base/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/common-mixin'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsCommonMixin) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var Object = _ember['default'].Object;\n  var A = _ember['default'].A;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsCommonMixin['default'], {\n    productTypeTaxNotSelectedCount: '0',\n    productGroupTypeTaxNotSelectedCount: '0',\n    productTypeTaxNotSelected: A(),\n    productGroupTypeTaxNotSelected: A(),\n    showProductTypeTaxNotSelectedModal: false,\n\n    productTypeTaxNotSetCount: '0',\n    productGroupTypeTaxNotSetCount: '0',\n    productTypeTaxNotSet: A(),\n    productGroupTypeTaxNotSet: A(),\n    showProductTypeTaxNotSetModal: false,\n\n    showProductTypeSelector: false,\n    showModal: false,\n    stepName: computed.alias('currentStep.label'),\n    currentStep: null,\n    wizardComponentName: 'menu/menu-wizard/menu-information',\n    nextStepButtonState: true,\n    previousStepButtonState: false,\n    isWizardComplete: computed('menu.isNew', function () {\n      return !this.get('menu.isNew');\n    }),\n    activeBreadcrumbs: computed('menu', function () {\n      return !this.get('menu.isNew');\n    }),\n    crumbsList: computed(function () {\n      var step1 = Object.create({\n        label: 'menu.builder.steps.menuInfo.title',\n        isActive: true,\n        isEnabled: this.get('activeBreadcrumbs'),\n        nextStep: 1,\n        previousStep: null,\n        componentName: 'menu/menu-wizard/menu-information',\n        display: true\n      });\n      var step2 = Object.create({\n        label: 'menu.builder.steps.taxes.title',\n        isActive: this.get('activeBreadcrumbs'),\n        isEnabled: this.get('activeBreadcrumbs'),\n        nextStep: 2,\n        previousStep: 0,\n        componentName: 'menu/menu-wizard/taxes',\n        display: true\n      });\n      var step3 = Object.create({\n        label: 'menu.builder.steps.paymentInfo.title',\n        isActive: this.get('activeBreadcrumbs'),\n        isEnabled: this.get('activeBreadcrumbs'),\n        nextStep: 3,\n        previousStep: 1,\n        componentName: 'menu/menu-wizard/payment-information',\n        display: true\n      });\n      var step4 = Object.create({\n        label: 'menu.builder.steps.features.title',\n        isActive: this.get('activeBreadcrumbs'),\n        isEnabled: this.get('activeBreadcrumbs'),\n        nextStep: 4,\n        previousStep: 2,\n        componentName: 'menu/menu-wizard/features',\n        display: true\n      });\n      var step5 = Object.create({\n        label: 'menu.builder.steps.receiptOpts.title',\n        isActive: this.get('activeBreadcrumbs'),\n        isEnabled: this.get('activeBreadcrumbs'),\n        nextStep: 5,\n        previousStep: 3,\n        componentName: 'menu/menu-wizard/receipt-options',\n        display: true\n      });\n      var step6 = Object.create({\n        label: 'menu.builder.steps.menuStructure.title',\n        isActive: this.get('activeBreadcrumbs'),\n        isEnabled: this.get('activeBreadcrumbs'),\n        nextStep: null,\n        previousStep: 4,\n        componentName: 'menu/menu-wizard/menu-structure',\n        display: true\n      });\n      this.set('currentStep', step1);\n      return [step1, step2, step3, step4, step5, step6];\n    }),\n    actions: {\n      goToCrumb: function goToCrumb(nextCrumbStep) {\n        this.send('cleanMessages');\n        this.set('currentStep.isActive', true);\n        this.set('currentStep.isEnabled', true);\n        this.set('currentStep', nextCrumbStep);\n        this.set('wizardComponentName', nextCrumbStep.componentName);\n        this.set('currentStep.isActive', true);\n        this.set('currentStep.isEnabled', false);\n\n        var currentStepNextStep = this.get('currentStep.nextStep');\n        var previousStepIndex = this.get('currentStep.previousStep');\n        if (!currentStepNextStep) {\n          this.set('isWizardComplete', true);\n          this.set('nextStepButtonState', false);\n        } else if (this.get('menu.isNew')) {\n          this.set('isWizardComplete', false);\n          this.set('nextStepButtonState', true);\n        } else {\n          this.set('isWizardComplete', true);\n          this.set('nextStepButtonState', true);\n        }\n\n        if (previousStepIndex !== null) {\n          this.set('previousStepButtonState', true);\n        } else {\n          this.set('previousStepButtonState', false);\n        }\n      },\n      nextStep: function nextStep() {\n        if (this.get('currentStep.nextStep') !== null) {\n          this.send('cleanMessages');\n          var nextStepIndex = this.get('currentStep.nextStep');\n          if (nextStepIndex) {\n            var nextStep = this.get('crumbsList')[nextStepIndex];\n            this.set('currentStep.isEnabled', true);\n            this.set('currentStep', nextStep);\n            if (!nextStep.display) {\n              this.send('nextStep');\n              return;\n            }\n            this.set('wizardComponentName', nextStep.componentName);\n            this.set('currentStep.isActive', true);\n            this.set('currentStep.isEnabled', false);\n            this.set('previousStepButtonState', true);\n            var currentStepNextStep = this.get('currentStep.nextStep');\n            if (!currentStepNextStep) {\n              this.set('isWizardComplete', true);\n              this.set('nextStepButtonState', false);\n            }\n          } else {\n            this.set('nextStepButtonState', false);\n          }\n        }\n      },\n      previousStep: function previousStep() {\n        var previousStepIndex = this.get('currentStep.previousStep');\n        if (previousStepIndex !== null) {\n          this.send('cleanMessages');\n          if (this.get('menu.isNew')) {\n            this.set('isWizardComplete', false);\n          }\n          var previousStep = this.get('crumbsList')[previousStepIndex];\n          this.set('currentStep.isActive', true);\n          this.set('currentStep.isEnabled', true);\n          this.set('wizardComponentName', previousStep.componentName);\n          if (!this.get('currentStep.previousStep')) {\n            this.set('previousStepButtonState', false);\n          }\n          this.set('currentStep', previousStep);\n          if (!previousStep.display) {\n            this.send('previousStep');\n            return;\n          }\n          this.set('nextStepButtonState', true);\n          this.set('currentStep.isActive', true);\n          this.set('currentStep.isEnabled', false);\n        }\n      },\n      showMenuList: function showMenuList() {\n        this.set('showModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showModal', false);\n      },\n      returnToMenuList: function returnToMenuList() {\n        this.send('cleanMessages');\n        this.sendAction('cancel', this.get('menu'));\n      },\n      save: function save() {\n        var _this = this;\n\n        var productTypeTaxNotSelectedCount = '0';\n        var productGroupTypeTaxNotSelectedCount = '0';\n        var productTypeTaxNotSelected = A();\n        var productGroupTypeTaxNotSelected = A();\n\n        var productTypeTaxNotSetCount = '0';\n        var productGroupTypeTaxNotSetCount = '0';\n        var productTypeTaxNotSet = A();\n        var productGroupTypeTaxNotSet = A();\n        var isValid = true;\n        var errorMessage = undefined;\n        if (this.get('menu.categories') && this.get('menu.categories.length') > 0) {\n          this.get('menu.categories').forEach(function (category) {\n            if (category.get('validations.isValid')) {\n              if (category.get('pages') && category.get('pages.length') > 0) {\n                category.get('pages').forEach(function (page) {\n                  var totalItems = page.get('products.length') + page.get('productGroups.length');\n                  if (totalItems > 0) {\n                    (function () {\n                      if (category.get('pages.length') > 1) {\n                        if (isEmpty(page.get('name'))) {\n                          isValid = false;\n                          errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.nameEmptyMultiplePages'), { closeAfter: 5000 });\n                          _this.get('errorMessages').addObject(errorMessage);\n                        }\n                      }\n                      // Create positions array to check for duplicates\n                      var positions = A();\n\n                      // Set page name if it's blank\n                      var pageName = undefined;\n                      if (isEmpty(page.get('name')) || page.get('name') === undefined) {\n                        pageName = \"Unnamed Page\";\n                      } else {\n                        pageName = page.get('name');\n                      }\n\n                      // Validate products\n                      page.get('products').forEach(function (product) {\n\n                        var productTypeId = product.get('productCatalog.productType.id');\n\n                        var productTypeTax = _this.get('menu.menuProductTypes').findBy('productType', productTypeId);\n\n                        if (product.get('taxRateType.id') === '1' && productTypeTax.get('taxNotSet')) {\n                          var _pageName = page.get('name') ? page.get('name') : \"Page1\";\n\n                          var message = Object.create({\n                            message: category.get('name') + \" -> \" + _pageName + \" -> \",\n                            productName: product.get('productCatalog.name')\n                          });\n\n                          productTypeTaxNotSet.addObject(message);\n                          productTypeTaxNotSetCount++;\n                        } else {\n                          if (!productTypeTax.get('taxNotSet') && product.get('taxRateType.id') !== '1') {\n                            var _pageName2 = page.get('name') ? page.get('name') : \"Page1\";\n\n                            var message = Object.create({\n                              message: category.get('name') + \" -> \" + _pageName2 + \" -> \",\n                              productName: product.get('productCatalog.name')\n                            });\n\n                            productTypeTaxNotSelected.addObject(message);\n                            productTypeTaxNotSelectedCount++;\n                          }\n                        }\n\n                        if (product.get('validations.isValid')) {\n                          product.set('changed', product.get('hasDirtyAttributes'));\n                          if (product.get('taxRateType.id') === undefined) {\n                            isValid = false;\n                            errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.taxRateTypeError', {\n                              product: product.get('productCatalog.name'),\n                              category: category.get('name'),\n                              page: page.get('name')\n                            }), { closeAfter: 5000 });\n                            _this.get('errorMessages').addObject(errorMessage);\n                          }\n\n                          // Validate that the product position is not duplicated\n                          if (positions.includes(product.get('position'))) {\n                            isValid = false;\n                            errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.duplicatedPosition', { page: pageName, position: product.get('position') }), { closeAfter: 5000 });\n                            _this.get('errorMessages').addObject(errorMessage);\n                          } else {\n                            positions.addObject(product.get('position'));\n                          }\n\n                          if (!product.get('position')) {\n                            isValid = false;\n                            errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.positionEmpty', { product: product.get('productCatalog.name'), page: pageName }), { closeAfter: 5000 });\n                            _this.get('errorMessages').addObject(errorMessage);\n                          }\n                        } else {\n                          isValid = false;\n                          _this.send('displayErrorMessages', product.get('validations.errors'));\n                        }\n                      });\n\n                      // Validate product groups\n                      page.get('productGroups').forEach(function (productGroup) {\n                        if (productGroup.get('validations.isValid')) {\n\n                          // Validate that the product group position is not duplicated\n                          if (positions.includes(productGroup.get('position'))) {\n                            isValid = false;\n                            errorMessage = _this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.duplicatedPosition', { page: pageName, position: productGroup.get('position') }), { closeAfter: 5000 });\n                            _this.get('errorMessages').addObject(errorMessage);\n                          } else {\n                            positions.addObject(productGroup.get('position'));\n                          }\n\n                          productGroup.get('products').forEach(function (product) {\n\n                            var productTypeId = product.get('productCatalog.productType.id');\n\n                            var productTypeTax = _this.get('menu.menuProductTypes').findBy('productType', productTypeId);\n\n                            if (product.get('taxRateType.id') === '1' && productTypeTax.get('taxNotSet')) {\n                              var _pageName3 = page.get('name') ? page.get('name') : \"Page1\";\n\n                              var message = Object.create({\n                                message: category.get('name') + \" -> \" + _pageName3 + \" -> \" + productGroup.get('name') + \" -> \",\n                                productName: product.get('productCatalog.name')\n                              });\n\n                              productGroupTypeTaxNotSet.addObject(message);\n                              productGroupTypeTaxNotSetCount++;\n                            } else {\n                              if (!productTypeTax.get('taxNotSet') && product.get('taxRateType.id') !== '1') {\n                                var _pageName4 = page.get('name') ? page.get('name') : \"Page1\";\n\n                                var message = Object.create({\n                                  message: category.get('name') + \" -> \" + _pageName4 + \" -> \" + productGroup.get('name') + \" -> \",\n                                  productName: product.get('productCatalog.name')\n                                });\n\n                                productGroupTypeTaxNotSelected.addObject(message);\n                                productGroupTypeTaxNotSelectedCount++;\n                              }\n                            }\n                          });\n                        } else {\n                          isValid = false;\n                          _this.send('displayErrorMessages', productGroup.get('validations.errors'));\n                        }\n                      });\n                    })();\n                  }\n                });\n              }\n            } else {\n              isValid = false;\n              _this.send('displayErrorMessages', category.get('validations.errors'));\n            }\n          });\n        }\n\n        if (isValid) {\n          if (productTypeTaxNotSetCount > 0 || productGroupTypeTaxNotSetCount > 0) {\n            this.set('productTypeTaxNotSetCount', productTypeTaxNotSetCount);\n            this.set('productGroupTypeTaxNotSetCount', productGroupTypeTaxNotSetCount);\n            this.get('productTypeTaxNotSet').addObjects(productTypeTaxNotSet);\n            this.get('productGroupTypeTaxNotSet').addObjects(productGroupTypeTaxNotSet);\n            this.set('showProductTypeTaxNotSetModal', true);\n          } else {\n            if (productTypeTaxNotSelectedCount > 0 || productGroupTypeTaxNotSelectedCount > 0) {\n              this.set('productTypeTaxNotSelectedCount', productTypeTaxNotSelectedCount);\n              this.set('productGroupTypeTaxNotSelectedCount', productGroupTypeTaxNotSelectedCount);\n              this.get('productTypeTaxNotSelected').addObjects(productTypeTaxNotSelected);\n              this.get('productGroupTypeTaxNotSelected').addObjects(productGroupTypeTaxNotSelected);\n              this.set('showProductTypeTaxNotSelectedModal', true);\n            } else {\n              this.set('menu.changed', this.get('menu.hasDirtyAttributes'));\n              this.sendAction('save', this.get('menu'), false, true);\n            }\n          }\n        } else {\n          this.set('saveEnabled', true);\n        }\n      },\n      saveFromTypeTaxModal: function saveFromTypeTaxModal() {\n        this.sendAction('save', this.get('menu'), false, true);\n      },\n      closeModalTypeTaxModal: function closeModalTypeTaxModal() {\n        this.get('productTypeTaxNotSelected').clear();\n        this.get('productGroupTypeTaxNotSelected').clear();\n        this.set('saveEnabled', true);\n        this.set('showProductTypeTaxNotSelectedModal', false);\n      },\n      closeTypeTaxNotSetModal: function closeTypeTaxNotSetModal() {\n        this.get('productTypeTaxNotSet').clear();\n        this.get('productGroupTypeTaxNotSet').clear();\n        this.set('saveEnabled', true);\n        this.set('showProductTypeTaxNotSetModal', false);\n      },\n      navigateToMenuStructure: function navigateToMenuStructure() {\n        this.get('productTypeTaxNotSelected').clear();\n        this.get('productTypeTaxNotSet').clear();\n        this.get('productGroupTypeTaxNotSelected').clear();\n        this.get('productGroupTypeTaxNotSet').clear();\n        this.send('goToCrumb', this.get('crumbsList').findBy('nextStep', null));\n        this.set('showProductTypeTaxNotSetModal', false);\n        this.set('showProductTypeTaxNotSelectedModal', false);\n        this.set('saveEnabled', true);\n      },\n      navigateToTaxesStep: function navigateToTaxesStep() {\n        this.set('showProductTypeSelector', true);\n        this.get('productTypeTaxNotSet').clear();\n        this.get('productGroupTypeTaxNotSet').clear();\n        this.send('goToCrumb', this.get('crumbsList').findBy('componentName', 'menu/menu-wizard/taxes'));\n        this.set('showProductTypeTaxNotSetModal', false);\n        this.set('saveEnabled', true);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/menu-wizard/wizard-base/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"87+blXNJ\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"breadcrumbs-path\\\"],null,[[\\\"menuName\\\",\\\"crumbs\\\",\\\"crumbAction\\\"],[[\\\"get\\\",[\\\"menu\\\",\\\"name\\\"]],[\\\"get\\\",[\\\"crumbsList\\\"]],\\\"goToCrumb\\\"]],17],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModal\\\"]]],null,16],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showProductTypeTaxNotSelectedModal\\\"]]],null,14],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showProductTypeTaxNotSetModal\\\"]]],null,7],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"navigateToMenuStructure\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.buttons.navigateToMenuStructure\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"navigateToTaxesStep\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.buttons.navigateToProductTypeTax\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"message\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: red\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"product\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.message2\\\"],[[\\\"productGroupTypeTaxNotSetCount\\\"],[[\\\"get\\\",[\\\"productGroupTypeTaxNotSetCount\\\"]]]]],false],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"productGroupTypeTaxNotSet\\\"]]],null,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"message\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: red\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"product\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.message1\\\"],[[\\\"productTypeTaxNotSetCount\\\"],[[\\\"get\\\",[\\\"productTypeTaxNotSetCount\\\"]]]]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"productTypeTaxNotSet\\\"]]],null,4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"productTypeTaxNotSetCount\\\"]],0],null]],null,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"productGroupTypeTaxNotSetCount\\\"]],0],null]],null,3],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.message3\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"currentStep\\\",\\\"componentName\\\"]],\\\"menu/menu-wizard/taxes\\\"],null]],null]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"currentStep\\\",\\\"nextStep\\\"]],null],null]],null]],null,0],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeTypeTaxNotSetModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.buttons.close\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxTypeNotSet.title\\\"],null],\\\"closeTypeTaxNotSetModal\\\",true]],6]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"navigateToMenuStructure\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          Navigate to Menu Structure\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"message\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: red\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"product\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxType.message2\\\"],[[\\\"productGroupTypeTaxNotSelectedCount\\\"],[[\\\"get\\\",[\\\"productGroupTypeTaxNotSelectedCount\\\"]]]]],false],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"productGroupTypeTaxNotSelected\\\"]]],null,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"message\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: red\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"product\\\",\\\"productName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"product\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxType.message1\\\"],[[\\\"productTypeTaxNotSelectedCount\\\"],[[\\\"get\\\",[\\\"productTypeTaxNotSelectedCount\\\"]]]]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"productTypeTaxNotSelected\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"productTypeTaxNotSelectedCount\\\"]],0],null]],null,12],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"productGroupTypeTaxNotSelectedCount\\\"]],0],null]],null,10],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxType.message3\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalTypeTaxModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxType.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveFromTypeTaxModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxType.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"currentStep\\\",\\\"nextStep\\\"]],null],null]],null]],null,8],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.productTaxType.title\\\"],null],\\\"closeModalTypeTaxModal\\\",true]],13]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/cancel-modal\\\"],null,[[\\\"showModal\\\",\\\"leave\\\",\\\"cancel\\\",\\\"message\\\"],[[\\\"get\\\",[\\\"showModal\\\"]],\\\"returnToMenuList\\\",\\\"closeModal\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.saveChanges.leaveNewMessage\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.saveChanges.title\\\"],null],\\\"closeModal\\\"]],15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"currentStep\\\",\\\"label\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-horizontal\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[\\\"wizardComponentName\\\"]]],[[\\\"menu\\\",\\\"showMenuList\\\",\\\"showProductTypeSelector\\\"],[[\\\"get\\\",[\\\"menu\\\"]],\\\"showMenuList\\\",[\\\"get\\\",[\\\"showProductTypeSelector\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/action-buttons\\\"],null,[[\\\"nextStep\\\",\\\"previousStep\\\",\\\"showMenuList\\\",\\\"saveAction\\\",\\\"saveEnabled\\\",\\\"nextStepButtonState\\\",\\\"previousStepButtonState\\\",\\\"isWizardComplete\\\",\\\"isMenuChanged\\\"],[\\\"nextStep\\\",\\\"previousStep\\\",\\\"showMenuList\\\",\\\"save\\\",[\\\"get\\\",[\\\"saveEnabled\\\"]],[\\\"get\\\",[\\\"nextStepButtonState\\\"]],[\\\"get\\\",[\\\"previousStepButtonState\\\"]],[\\\"get\\\",[\\\"isWizardComplete\\\"]],[\\\"get\\\",[\\\"menu\\\",\\\"hasDirtyAttributes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/menu-wizard/wizard-base/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/menu/save-modal/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      leave: function leave() {\n        this.set('showModal', false);\n        this.sendAction('leave', this.get('menu'), this.get('transition'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/menu/save-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"BZa+UAwR\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"message\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"leave\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.buttons.leave\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/menu/save-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/models-table-server-paginated/component', ['exports', 'ember', 'ember-models-table/components/models-table-server-paginated', 'ember-models-table/components/models-table'], function (exports, _ember, _emberModelsTableComponentsModelsTableServerPaginated, _emberModelsTableComponentsModelsTable) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  var get = _ember['default'].get;\n  var setProperties = _ember['default'].setProperties;\n  var computed = _ember['default'].computed;\n  var observer = _ember['default'].observer;\n  var A = _ember['default'].A;\n  var extend = _ember['default'].$.extend;\n  var warn = _ember['default'].Logger.warn;\n  exports['default'] = _emberModelsTableComponentsModelsTableServerPaginated['default'].extend({\n\n    multipleColumnsSorting: false, // defaults to `false`\n    multiSortParameter: 'multiSort',\n\n    observedProperties: ['currentPageNumber', 'sortProperties.[]', 'pageSize'],\n    //'filterString', 'processedColumns.@each.filterString'\n\n    willInsertElement: function willInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      var observedProperties = get(this, 'observedProperties');\n      observedProperties.forEach(function (propertyName) {\n        return _this.addObserver(propertyName, _this._addPropertyObserver);\n      });\n    },\n\n    columnsLastIndex: computed('processedColumns', function () {\n      var columns = get(this, 'processedColumns');\n      return columns.length - 1;\n    }),\n\n    _loadData: function _loadData() {\n      var _this2 = this;\n\n      var data = get(this, 'data');\n      var currentPageNumber = get(this, 'currentPageNumber');\n      var pageSize = get(this, 'pageSize');\n      var columns = get(this, 'processedColumns');\n      var sortProperties = get(this, 'sortProperties');\n      var filterString = get(this, 'filterString');\n\n      if (!get(data, 'query')) {\n        warn('You must use http://emberjs.com/api/data/classes/DS.Store.html#method_query for loading data');\n        return;\n      }\n      var query = extend({}, get(data, 'query'));\n      var store = get(data, 'store');\n      var modelName = get(data, 'type.modelName');\n\n      // Add pagination information\n      query[get(this, 'filterQueryParameters.page')] = currentPageNumber;\n      query[get(this, 'filterQueryParameters.pageSize')] = pageSize;\n\n      // Add sorting information\n      if (get(this, 'multipleColumnsSorting')) {\n        console.log(sortProperties); // ['companyName:asc', 'name:desc']\n        if (sortProperties && sortProperties.length > 0) {\n          query[this.multiSortParameter] = sortProperties.join(','); // 'companyName:asc,name:desc'\n        }\n\n        delete query[[get(this, 'filterQueryParameters.sort')]];\n        delete query[[get(this, 'filterQueryParameters.sortDirection')]];\n      } else {\n        var sort = sortProperties && get(sortProperties, 'firstObject');\n        if (sort) {\n          var _sort$split = sort.split(':');\n\n          var _sort$split2 = _slicedToArray(_sort$split, 2);\n\n          var sortBy = _sort$split2[0];\n          var sortDirection = _sort$split2[1];\n\n          query = this.sortingWrapper(query, sortBy, sortDirection.toUpperCase());\n        } else {\n          delete query[[get(this, 'filterQueryParameters.sort')]];\n          delete query[[get(this, 'filterQueryParameters.sortDirection')]];\n        }\n      }\n\n      // Add global filter\n      var globalFilter = get(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 (get(this, 'useFilteringByColumns')) {\n        columns.forEach(function (column) {\n          var filter = get(column, 'filterString');\n          var filterTitle = _this2.getCustomFilterTitle(column);\n          _this2._setQueryFilter(query, column, filterTitle, filter);\n        });\n      }\n\n      setProperties(this, { isLoading: true, isError: false });\n\n      var promise = store.query(modelName, query);\n      promise.then(function (newData) {\n        if (_this2.isDestroyed || _this2.isDestroying) {\n          return;\n        }\n        setProperties(_this2, {\n          isLoading: false,\n          isError: false,\n          filteredContent: newData\n        });\n      })['catch'](function () {\n        if (_this2.isDestroyed || _this2.isDestroying) {\n          return;\n        }\n        setProperties(_this2, {\n          isLoading: false,\n          isError: true\n        });\n      });\n      return promise;\n    },\n\n    /**\n     * BRP-3543: id-based predicate for whether every currently-visible row\n     * is in `_selectedItems`. Used by the header checkbox/label to decide\n     * whether to render \"Select All\" or \"Deselect All\". Under server-side\n     * pagination, `filteredContent` is the current page; we fall back to\n     * `data` when the consumer uses client-side data.\n     */\n    isAllCurrentPageSelected: computed('_selectedItems.[]', 'filteredContent.[]', 'data.[]', function () {\n      var sel = get(this, '_selectedItems') || A();\n      var page = get(this, 'filteredContent') || get(this, 'data') || A();\n      if (get(page, 'length') === 0) {\n        return false;\n      }\n      var selIds = sel.map(function (s) {\n        return get(s, 'id');\n      });\n      return page.toArray().every(function (item) {\n        return selIds.indexOf(get(item, 'id')) !== -1;\n      });\n    }),\n\n    /**\n     * BRP-3543 (Defect A/B): when the server-paginated `_loadData` re-fetches\n     * the current page, every record arrives as a NEW Ember.Model reference\n     * even when the underlying record id is unchanged. The addon stores\n     * `_selectedItems` by reference, so without this observer the addon's\n     * `exists-in` helper would no longer recognize re-fetched records as\n     * selected. Swap the stale reference in `_selectedItems` for the new\n     * one whenever a current-page record's id matches.\n     */\n    _refreshSelectedItemReferences: observer('filteredContent.[]', function () {\n      var sel = get(this, '_selectedItems');\n      var page = get(this, 'filteredContent');\n      if (!sel || !page || get(page, 'length') === 0) {\n        return;\n      }\n      var pageById = {};\n      page.forEach(function (item) {\n        pageById[get(item, 'id')] = item;\n      });\n      var len = get(sel, 'length');\n      for (var i = 0; i < len; i++) {\n        var old = sel.objectAt(i);\n        var fresh = pageById[get(old, 'id')];\n        if (fresh && fresh !== old) {\n          sel.replace(i, 1, [fresh]);\n        }\n      }\n    }),\n\n    actions: {\n      filter: function filter() {\n        this._loadData();\n      },\n      sort: function sort(column) {\n        console.log('multipleColumnsSorting', get(this, 'multipleColumnsSorting'));\n        _emberModelsTableComponentsModelsTable['default'].prototype.actions.sort.call(this, column);\n      },\n\n      /**\n       * BRP-3543 (Defect A): override the addon's `toggleAllSelection` (from\n       * ember-models-table 1.13.0) which snapshots `data` via\n       * `set(this, '_selectedItems', A(data.slice()))`. Under server-side\n       * pagination the snapshot mismatches the visible rows after the next\n       * page-size change.\n       *\n       * Replacement semantics:\n       *  - The header acts on the **currently-visible page** (intuitive UX:\n       *    \"select what I can see\"). Selections on other pages are preserved.\n       *  - When every visible row is in `_selectedItems`, click clears those\n       *    rows from selection (header reads \"Deselect All\").\n       *  - Otherwise, click adds every visible row's id to selection,\n       *    skipping any already present.\n       *  - State is mutated **in place** with `pushObject` / `clear`; no\n       *    `set(this, '_selectedItems', ...)` reassignment that would\n       *    desynchronize observers.\n       */\n      toggleAllSelection: function toggleAllSelection() {\n        var sel = get(this, '_selectedItems');\n        var page = get(this, 'filteredContent') || get(this, 'data') || A();\n        if (get(page, 'length') === 0) {\n          return;\n        }\n\n        if (get(this, 'isAllCurrentPageSelected')) {\n          (function () {\n            // Remove only the current-page items; keep selections from other pages.\n            var pageIds = page.toArray().map(function (p) {\n              return get(p, 'id');\n            });\n            var survivors = sel.toArray().filter(function (s) {\n              return pageIds.indexOf(get(s, 'id')) === -1;\n            });\n            sel.clear();\n            survivors.forEach(function (s) {\n              return sel.pushObject(s);\n            });\n          })();\n        } else {\n          (function () {\n            // Add every visible row to selection, deduplicating by id.\n            var selIds = sel.map(function (s) {\n              return get(s, 'id');\n            });\n            page.forEach(function (item) {\n              if (selIds.indexOf(get(item, 'id')) === -1) {\n                sel.pushObject(item);\n                selIds.push(get(item, 'id'));\n              }\n            });\n          })();\n        }\n        this.userInteractionObserver();\n      },\n\n      /**\n       * BRP-3543 (Defect B): override the addon's `clickOnRow` which mixes\n       * `set(this, '_selectedItems', selectedItems.without(dataItem))` with\n       * `pushObject(...)`. The reassignment in the deselect branch\n       * desynchronizes observers; reference-equality `.includes(dataItem)`\n       * breaks after a server re-fetch.\n       *\n       * Replacement: match the existing entry by `id`, then mutate\n       * `_selectedItems` in place via `removeObject` or `pushObject`.\n       */\n      clickOnRow: function clickOnRow(index, dataItem) {\n        var sel = get(this, '_selectedItems');\n        var id = get(dataItem, 'id');\n        var existing = sel.find(function (s) {\n          return get(s, 'id') === id;\n        });\n        if (existing) {\n          sel.removeObject(existing);\n        } else {\n          sel.pushObject(dataItem);\n        }\n        this.userInteractionObserver();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/models-table-server-paginated/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+GMxJSs0\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"models-table-wrapper \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"outerTableWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"globalFilterDropdownWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showGlobalFilter\\\"]]],null,9],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showColumnsDropdown\\\"]]],null,8],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"comment\\\",\\\" Div needed by Firefox to reset floating positioning \\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"models-table-clear\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"innerTableWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"table\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noHeaderFilteringAndSorting\\\"]],\\\"table-header-no-filtering-and-sorting\\\"],null],\\\" \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"thead\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"groupedHeaders\\\",\\\"length\\\"]]],null,7],[\\\"text\\\",\\\"        \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"headerSortingRowTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"useFilteringByColumns\\\"]]],null,6],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"allColumnsAreHidden\\\"]]],null,5,4],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"tfoot\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"tableFooterTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showComponentFooter\\\"]]],null,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"componentFooterTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"noDataShowTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"rowTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"record\\\",\\\"index\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"visibleContent\\\"]]],null,2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"visibleContent\\\",\\\"length\\\"]]],null,3,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"allColumnsHiddenTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"headerFilteringRowTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"headerGroupedRowsTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"columnsDropdownTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"globalFilterTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/models-table-server-paginated/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/online-ordering-link/edit-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var on = _ember['default'].on;\n\n  /**\n   * Changing the code on a published link (BRP-4200).\n   *\n   * <p><b>The only path that frees a code.</b> Retiring keeps a code spent for good, so an old sign\n   * can never be pointed at a different window. A rename leaves the old string unused and therefore\n   * publishable again, which is why the warning is unconditional rather than shown on a condition.\n   */\n  exports['default'] = Component.extend({\n    row: null,\n    code: '',\n\n    _seed: on('init', function () {\n      this.set('code', this.get('row.code') || '');\n    }),\n\n    confusable: computed('code', function () {\n      return (/[O0I1L]/.test((this.get('code') || '').toUpperCase())\n      );\n    }),\n\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      confirm: function confirm() {\n        this.sendAction('confirm', (this.get('code') || '').toUpperCase().replace(/[^A-Z0-9]/g, ''));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/online-ordering-link/edit-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+WGIEJ9i\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.editModal.message\\\"],[[\\\"code\\\",\\\"name\\\"],[[\\\"get\\\",[\\\"row\\\",\\\"code\\\"]],[\\\"get\\\",[\\\"row\\\",\\\"locationName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"ooLinkNewCode\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.editModal.codeLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"value\\\",\\\"maxlength\\\",\\\"class\\\"],[\\\"text\\\",\\\"ooLinkNewCode\\\",[\\\"get\\\",[\\\"code\\\"]],\\\"12\\\",\\\"form-control linkCode\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.editModal.warning\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"confusable\\\"]]],null,0],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.editModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirm\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.editModal.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.confusable\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/online-ordering-link/edit-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/online-ordering-link/list/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/table-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var EmberObject = _ember['default'].Object;\n  var A = _ember['default'].A;\n  var service = _ember['default'].inject.service;\n  var Logger = _ember['default'].Logger;\n\n  /**\n   * Online-ordering links for one event (BRP-4200).\n   *\n   * <p>One table for the whole screen. Every (location, menu) pair at the event is a row, whether it\n   * has a code or not, so publishing is picking a row rather than filling in three cascading pickers\n   * and guessing which combinations exist.\n   */\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsTableComponent['default'], {\n    session: service(),\n    notify: service(),\n    intl: service(),\n    tagName: '',\n\n    /** Events a link can be published for, passed down from the route. */\n    events: null,\n    /** Every link in use, across every event. The screen opens on these. */\n    links: null,\n\n    _selectedEvent: null,\n    _rows: A(),\n    _loading: false,\n    _showRetireModal: false,\n    _showPublishModal: false,\n    _showEditModal: false,\n    _pendingRow: null,\n    _liveRows: A(),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('_liveRows', this._toLiveRows(this.get('links')));\n    },\n\n    /**\n     * Every link, every event, marking the codes that span more than one (BRP-4224).\n     *\n     * <p>A code is unique per event rather than globally, so one printed sign can cover a festival\n     * configured as several events -- ACL is WK 1 and WK 2 sharing one set of locations, and the\n     * signage cannot be changed between the weekends. Such a code appears once per event in this\n     * table, which without a marker reads as somebody having published the same code twice by\n     * mistake. The marker says it is deliberate, and retiring one is retiring the sign everywhere.\n     */\n    _toLiveRows: function _toLiveRows(links) {\n      var _this = this;\n\n      var rows = A((links || []).map(function (row) {\n        return _this._toRow(row);\n      }));\n      var eventsByCode = {};\n      rows.forEach(function (row) {\n        var code = row.get('code');\n        if (!code) {\n          return;\n        }\n        eventsByCode[code] = eventsByCode[code] || A();\n        eventsByCode[code].addObject(row.get('groupId'));\n      });\n      rows.forEach(function (row) {\n        var code = row.get('code');\n        row.set('sharedAcrossEvents', !!code && eventsByCode[code].get('length') > 1);\n      });\n      return rows;\n    },\n\n    /**\n     * Existing links, every event in one table.\n     *\n     * <p>Separate columns from the publish table below: this one leads with the event, because an\n     * operator arriving here is looking for a code and knows which show it belongs to.\n     */\n    _liveColumns: computed(function () {\n      return [{\n        propertyName: 'groupName',\n        filteredBy: 'groupName',\n        filterPlaceholder: this.get('intl').t('onlineOrderingLink.live.filterPlaceholder'),\n        title: this.get('intl').t('onlineOrderingLink.list.event.label'),\n        className: 'ooLinkEventRow'\n      }, {\n        propertyName: 'locationName',\n        title: this.get('intl').t('onlineOrderingLink.list.location'),\n        className: 'ooLinkLocationRow'\n      }, {\n        title: this.get('intl').t('onlineOrderingLink.list.code'),\n        template: \"onlineOrderingLink/actions/code-cell\",\n        className: 'ooLinkCodeRow'\n      }, {\n        title: this.get('intl').t('onlineOrderingLink.list.statusHeader'),\n        template: \"onlineOrderingLink/actions/status-cell\",\n        className: 'ooLinkStatusRow'\n      }, {\n        title: this.get('intl').t('onlineOrderingLink.list.takingHeader'),\n        template: \"onlineOrderingLink/actions/taking-orders-cell\",\n        className: 'ooLinkTakingRow'\n      }, {\n        title: '',\n        template: \"onlineOrderingLink/actions/edit-action\",\n        className: 'ooLinkActionRow'\n      }];\n    }),\n\n    _columns: computed(function () {\n      return [{\n        propertyName: 'locationName',\n        filteredBy: 'locationName',\n        filterPlaceholder: this.get('intl').t('onlineOrderingLink.list.filterPlaceholder'),\n        title: this.get('intl').t('onlineOrderingLink.list.location'),\n        className: 'ooLinkLocationRow'\n      }, {\n        propertyName: 'menuName',\n        title: this.get('intl').t('onlineOrderingLink.list.menu'),\n        className: 'ooLinkMenuRow'\n      }, {\n        title: this.get('intl').t('onlineOrderingLink.list.code'),\n        template: \"onlineOrderingLink/actions/code-cell\",\n        className: 'ooLinkCodeRow'\n      }, {\n        title: this.get('intl').t('onlineOrderingLink.list.statusHeader'),\n        template: \"onlineOrderingLink/actions/status-cell\",\n        className: 'ooLinkStatusRow'\n      }, {\n        title: this.get('intl').t('onlineOrderingLink.list.takingHeader'),\n        template: \"onlineOrderingLink/actions/taking-orders-cell\",\n        className: 'ooLinkTakingRow'\n      }, {\n        title: '',\n        template: \"onlineOrderingLink/actions/publish-action\",\n        className: 'ooLinkActionRow'\n      }];\n    }),\n\n    _hasSelection: computed.bool('_selectedEvent'),\n\n    /** Rows for the selected event. Always a full re-read after a write. */\n    _load: function _load() {\n      var _this2 = this;\n\n      var event = this.get('_selectedEvent');\n      if (!event) {\n        this.set('_rows', A());\n        return;\n      }\n      var authToken = this.get('session.data.authenticated.access_token');\n      this.set('_loading', true);\n      _ember['default'].$.ajax({\n        url: '/api/v1/onlineOrderingLinks/candidates?locationGroupId=' + _ember['default'].get(event, 'id'),\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (rows) {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        _this2.set('_rows', A((rows || []).map(function (row) {\n          return _this2._toRow(row);\n        })));\n        _this2.set('_loading', false);\n      }, function () {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        _this2.set('_loading', false);\n        _this2._alert('onlineOrderingLink.list.errors.loadFailed');\n      });\n    },\n\n    /**\n     * One API row as the table wants it.\n     *\n     * <p>The reason is translated here rather than in the template so an unrecognised value from a\n     * newer server renders as itself instead of as a blank cell. A blank status is the one thing\n     * this screen must never show.\n     */\n    _toRow: function _toRow(row) {\n      var key = 'onlineOrderingLink.list.reasons.' + row.reason;\n      var intl = this.get('intl');\n      return EmberObject.create({\n        code: row.code,\n        guestUrl: row.guestUrl,\n        locationId: row.locationId,\n        locationName: row.locationName,\n        menuId: row.menuId,\n        menuName: row.menuName,\n        groupId: row.groupId,\n        published: row.published,\n        active: row.active,\n        resolves: row.resolves,\n        reason: row.reason,\n        reasonText: intl.exists(key) ? intl.t(key) : row.reason,\n        // Only the three enablement flags are fixable from here. A location taken out of an event,\n        // a menu no longer served there, an inactive location or a retired link are all somebody\n        // else's screen or somebody's deliberate decision, and offering a Fix that quietly reverses\n        // one of those would be worse than offering none.\n        fixable: ['event_not_enabled', 'menu_not_enabled', 'menu_location_not_enabled'].indexOf(row.reason) >= 0,\n        // Whether a guest can order at this second, which is not the same question as whether the\n        // link is set up right. Changed on the KDS Stations screen, never here.\n        takingOrders: row.takingOrders,\n        takingOrdersText: intl.exists('onlineOrderingLink.list.taking.reasons.' + row.takingOrdersReason) ? intl.t('onlineOrderingLink.list.taking.reasons.' + row.takingOrdersReason) : row.takingOrdersReason\n      });\n    },\n\n    _write: function _write(url, successKey, row, chosenCode) {\n      var _this3 = this;\n\n      var authToken = this.get('session.data.authenticated.access_token');\n      return _ember['default'].$.ajax({\n        url: url,\n        type: 'POST',\n        contentType: 'application/json',\n        data: JSON.stringify(url.indexOf('/enable') > 0 ? {} : url.indexOf('/rename') > 0 ? { code: chosenCode } : {\n          locationGroupId: row.get('groupId') || _ember['default'].get(this.get('_selectedEvent') || {}, 'id'),\n          locationId: row.get('locationId'),\n          menuId: row.get('menuId'),\n          // Omitted rather than sent empty, so the server mints one.\n          code: chosenCode || undefined\n        }),\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (result) {\n        if (_this3.get('isDestroyed') || _this3.get('isDestroying')) {\n          return;\n        }\n        _this3.get('notify').success(_this3.get('intl').t(successKey, {\n          name: row.get('locationName'),\n          code: result && result.code || row.get('code')\n        }));\n        _this3._load();\n        _this3._loadLive();\n      }, function (xhr) {\n        if (_this3.get('isDestroyed') || _this3.get('isDestroying')) {\n          return;\n        }\n        // The server's own words, but only when they are words. This controller answers with plain\n        // strings -- \"The code TESTBAR1 is already in use\" is the whole answer, and a generic\n        // failure would send an operator guessing at a code that can never work. A JSON error body\n        // is Spring's own, not ours, and putting a serialised stack frame in front of an operator\n        // tells them nothing they can act on.\n        var detail = xhr && xhr.responseText ? String(xhr.responseText).trim() : '';\n        if (detail.charAt(0) === '{' || detail.charAt(0) === '<') {\n          detail = '';\n        }\n        if (detail && detail.length < 300) {\n          var message = _this3.get('notify').alert(detail, { closeAfter: 8000 });\n          _this3.get('errorMessages').addObject(message);\n        } else {\n          _this3._alert('onlineOrderingLink.list.errors.writeFailed', { name: row.get('locationName') });\n        }\n        // Re-read anyway: the write may have landed and the response been lost, and a stale screen\n        // about which stands a guest can reach is worse than one more request.\n        _this3._load();\n      });\n    },\n\n    /** The live table, re-read after any write so the two blocks cannot disagree. */\n    _loadLive: function _loadLive() {\n      var _this4 = this;\n\n      var authToken = this.get('session.data.authenticated.access_token');\n      _ember['default'].$.ajax({\n        url: '/api/v1/onlineOrderingLinks',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (rows) {\n        if (_this4.get('isDestroyed') || _this4.get('isDestroying')) {\n          return;\n        }\n        // _toLiveRows, not a bare map: this runs after every write, and rebuilding without the\n        // shared-across-events marker would drop it the first time an operator publishes anything.\n        _this4.set('_liveRows', _this4._toLiveRows(rows));\n      });\n    },\n\n    _alert: function _alert(key, params) {\n      var message = this.get('notify').alert(this.get('intl').t(key, params || {}), { closeAfter: 5000 });\n      this.get('errorMessages').addObject(message);\n    },\n\n    actions: {\n      changeSelectedEvent: function changeSelectedEvent(event) {\n        Logger.debug('BR-links: event changed for link management');\n        this.set('_selectedEvent', event);\n        this._load();\n      },\n\n      /**\n       * Publishing is safe and reversible, so it goes straight through.\n       *\n       * <p>Publishing a triple that already has a code returns the code it had and reactivates it,\n       * which is also how Restore works. There is deliberately no second code.\n       */\n      publishPair: function publishPair(row) {\n        if (row.get('published')) {\n          // Restore. The code already exists and must not change, so there is nothing to ask.\n          this._write('/api/v1/onlineOrderingLinks', 'onlineOrderingLink.list.success.restored', row);\n          return;\n        }\n        this.set('_pendingRow', row);\n        this.set('_showPublishModal', true);\n      },\n\n      cancelPublish: function cancelPublish() {\n        this.set('_showPublishModal', false);\n        this.set('_pendingRow', null);\n      },\n\n      /** Blank generates one; anything typed is used as given, once the server accepts it. */\n      publishWithCode: function publishWithCode(code) {\n        var row = this.get('_pendingRow');\n        this.set('_showPublishModal', false);\n        this.set('_pendingRow', null);\n        this._write('/api/v1/onlineOrderingLinks', 'onlineOrderingLink.list.success.published', row, code);\n      },\n\n      /** Retiring kills a printed sign, so it asks first. */\n      confirmRetire: function confirmRetire(row) {\n        this.set('_pendingRow', row);\n        this.set('_showRetireModal', true);\n      },\n\n      cancelRetire: function cancelRetire() {\n        this.set('_showRetireModal', false);\n        this.set('_pendingRow', null);\n      },\n\n      retireLink: function retireLink() {\n        var row = this.get('_pendingRow');\n        this.set('_showRetireModal', false);\n        this.set('_pendingRow', null);\n        this._write('/api/v1/onlineOrderingLinks/' + row.get('code') + '/retire', 'onlineOrderingLink.list.success.retired', row);\n      },\n\n      /** Editing a code. The warning lives in the modal, because this is the one path that frees a\n          string for reuse and kills a printed sign in the same click. */\n      editCode: function editCode(row) {\n        this.set('_pendingRow', row);\n        this.set('_showEditModal', true);\n      },\n\n      cancelEdit: function cancelEdit() {\n        this.set('_showEditModal', false);\n        this.set('_pendingRow', null);\n      },\n\n      renameCode: function renameCode(newCode) {\n        var row = this.get('_pendingRow');\n        this.set('_showEditModal', false);\n        this.set('_pendingRow', null);\n        this._write('/api/v1/onlineOrderingLinks/' + row.get('code') + '/rename', 'onlineOrderingLink.list.success.renamed', row, newCode);\n      },\n\n      /** Switch on all three enablement flags. All three, because they are ANDed: one at a time\n          means fixing a fault, reloading, and finding the next one waiting. */\n      enableLink: function enableLink(row) {\n        this._write('/api/v1/onlineOrderingLinks/' + row.get('code') + '/enable', 'onlineOrderingLink.list.success.enabled', row);\n      },\n\n      refreshRows: function refreshRows() {\n        this._load();\n        this._loadLive();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/online-ordering-link/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"TsRkcLEn\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.live.heading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_liveRows\\\",\\\"length\\\"]]],null,14,13],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"hr\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.add.heading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.add.help\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"height: 35px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.event.label\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-9 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"allowClear\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"events\\\"]],[\\\"get\\\",[\\\"_selectedEvent\\\"]],false,true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.event.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"changeSelectedEvent\\\"],null]]],12],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_hasSelection\\\"]]],null,11,6],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showEditModal\\\"]]],null,5],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showPublishModal\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showRetireModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"online-ordering-link/retire-modal\\\"],null,[[\\\"row\\\",\\\"cancel\\\",\\\"confirm\\\"],[[\\\"get\\\",[\\\"_pendingRow\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelRetire\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"retireLink\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.retireModal.title\\\"],null],\\\"cancelRetire\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"online-ordering-link/publish-modal\\\"],null,[[\\\"row\\\",\\\"cancel\\\",\\\"confirm\\\"],[[\\\"get\\\",[\\\"_pendingRow\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelPublish\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"publishWithCode\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.title\\\"],null],\\\"cancelPublish\\\"]],2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"online-ordering-link/edit-modal\\\"],null,[[\\\"row\\\",\\\"cancel\\\",\\\"confirm\\\"],[[\\\"get\\\",[\\\"_pendingRow\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelEdit\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"renameCode\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.editModal.title\\\"],null],\\\"cancelEdit\\\"]],4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.chooseEvent\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.noPairs\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"_loading\\\"]]],null,7]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"publishPair\\\",\\\"confirmRetire\\\"],[[\\\"get\\\",[\\\"_rows\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],25,\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\",\\\"publishPair\\\",\\\"confirmRetire\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshRows\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-refresh\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.refresh\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_loading\\\"]]],null,10],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_rows\\\",\\\"length\\\"]]],null,9,8]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"event\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"event\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.live.none\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"editCode\\\",\\\"enableLink\\\",\\\"confirmRetire\\\",\\\"publishPair\\\"],[[\\\"get\\\",[\\\"_liveRows\\\"]],[\\\"get\\\",[\\\"_liveColumns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],25,\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\",\\\"editCode\\\",\\\"enableLink\\\",\\\"confirmRetire\\\",\\\"publishPair\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/online-ordering-link/list/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/online-ordering-link/publish-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n\n  /**\n   * Choosing the code for a new link (BRP-4200).\n   *\n   * <p>Blank generates one. A typed code is the norm rather than the exception: every code in use is\n   * hand-chosen -- ACLVIP, BAR01, FOOD01, MERCH01, ESCO01 -- because an operator reads it off a sign\n   * and says it over a radio.\n   *\n   * <p>The field is deliberately permissive. Ten of the twelve codes in use contain a character the\n   * generator's alphabet excludes, so rejecting those would refuse almost every code the business\n   * runs on. The confusable glyphs are warned about instead, because FOOD01 already contains both an\n   * O and a zero and one day somebody will type the wrong one.\n   */\n  exports['default'] = Component.extend({\n    row: null,\n    code: '',\n\n    /** Warned about, never blocked. Mirrors the server, which also only warns. */\n    confusable: computed('code', function () {\n      var code = (this.get('code') || '').toUpperCase();\n      return (/[O0I1L]/.test(code)\n      );\n    }),\n\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      confirm: function confirm() {\n        // Normalised here as well as on the server, so what the operator sees accepted is what the\n        // server stores rather than something quietly different.\n        var code = (this.get('code') || '').toUpperCase().replace(/[^A-Z0-9]/g, '');\n        this.sendAction('confirm', code);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/online-ordering-link/publish-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"QRRge6tc\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.message\\\"],[[\\\"name\\\",\\\"menu\\\"],[[\\\"get\\\",[\\\"row\\\",\\\"locationName\\\"]],[\\\"get\\\",[\\\"row\\\",\\\"menuName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"ooLinkCode\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.codeLabel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"value\\\",\\\"maxlength\\\",\\\"class\\\",\\\"placeholder\\\"],[\\\"text\\\",\\\"ooLinkCode\\\",[\\\"get\\\",[\\\"code\\\"]],\\\"12\\\",\\\"form-control linkCode\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.codePlaceholder\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.codeHelp\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"confusable\\\"]]],null,0],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirm\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.buttons.publish\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.publishModal.confusable\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/online-ordering-link/publish-modal/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/online-ordering-link/retire-modal/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n\n  /**\n   * Confirmation before retiring a link (BRP-4200).\n   *\n   * <p>A code is printed on a sign bolted to a stand. Retiring it makes that sign resolve to\n   * nothing, and the code is spent for good: it is never reissued, so the sign cannot be brought\n   * back by publishing a different window. Publishing has no such step, being reversible.\n   */\n  exports['default'] = Component.extend({\n    row: null,\n    actions: {\n      cancel: function cancel() {\n        this.sendAction('cancel');\n      },\n      confirm: function confirm() {\n        this.sendAction('confirm');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/online-ordering-link/retire-modal/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"uDFfzvKl\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"form\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"form\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.retireModal.message\\\"],[[\\\"code\\\",\\\"name\\\"],[[\\\"get\\\",[\\\"row\\\",\\\"code\\\"]],[\\\"get\\\",[\\\"row\\\",\\\"locationName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.retireModal.detail\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.retireModal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"confirm\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.retireModal.buttons.retire\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/online-ordering-link/retire-modal/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/payment-result/report-result/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({});\n});","define(\"fcs-dashboard/pods/components/payment-result/report-result/report-items-by-company/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        className: 'payment-report-category-cell',\n        propertyName: 'event',\n        disableSorting: true\n      }, {\n        className: 'payment-report-category-cell',\n        propertyName: 'company',\n        disableSorting: true\n      }, {\n        className: 'payment-report-category-cell',\n        propertyName: 'gateway',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.approvedCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'approvedCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.approvedAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'approvedAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.compsDueToDeclineCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'compsDueToDeclineCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.compsDueToDeclineAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'compsDueToDeclineAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeDeclinesCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'realTimeDeclinesCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeDeclinesAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'realTimeDeclinesAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.batchedErrorsCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'batchedErrorsCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.batchedErrorsAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'batchedErrorsAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeErrorsCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'realTimeErrorsCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeErrorsAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'realTimeErrorsAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.voidCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'voidCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.voidAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'voidAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.refundCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'refundCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.refundAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'refundAmount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/payment-result/report-result/report-items-by-company/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yJVl+SEf\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/payment-result/report-result/report-items-by-company/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/payment-result/report-result/report-items-by-day/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        className: 'payment-report-category-cell',\n        propertyName: 'date',\n        disableSorting: true\n      }, {\n        className: 'payment-report-category-cell',\n        propertyName: 'event',\n        disableSorting: true\n      }, {\n        className: 'payment-report-category-cell',\n        propertyName: 'company',\n        disableSorting: true\n      }, {\n        className: 'payment-report-category-cell',\n        propertyName: 'gateway',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.approvedCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'approvedCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.approvedAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'approvedAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.compsDueToDeclineCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'compsDueToDeclineCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.compsDueToDeclineAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'compsDueToDeclineAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeDeclinesCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'realTimeDeclinesCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeDeclinesAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'realTimeDeclinesAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.batchedErrorsCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'batchedErrorsCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.batchedErrorsAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'batchedErrorsAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeErrorsCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'realTimeErrorsCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.realTimeErrorsAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'realTimeErrorsAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.voidCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'voidCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.voidAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'voidAmount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.refundCount'),\n        className: 'payment-report-quantity-cell',\n        propertyName: 'refundCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.paymentResultReport.headers.refundAmount'),\n        className: 'payment-report-quantity-cell',\n        template: 'paymentResultReport/amountCell',\n        propertyName: 'refundAmount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/payment-result/report-result/report-items-by-day/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"dV+N/E84\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/payment-result/report-result/report-items-by-day/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/payment-result/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kvkgGLK4\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.paymentResultReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"payment-result/report-result/report-items-by-company\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"reportItemsByCompany\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"payment-result/report-result/report-items-by-day\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"reportItemsByDay\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/payment-result/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/payment-result/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('paymentResultReportFilter');\n    }),\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Payment Result Report');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Payment Result Report');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/payment-result/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"nQmt9uhF\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:12px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],7],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/payment-result/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/pmix-with-combos/pmix-with-combos-result/component', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend({});\n});","define(\"fcs-dashboard/pods/components/pmix-with-combos/pmix-with-combos-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"65gWC4nd\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"script\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"text/javascript\\\"],[\\\"static-attr\\\",\\\"src\\\",\\\"https://reporting.bestringpos.com/javascripts/api/viz_v1.js\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tableauPlaceholder\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 1650px; height: 986px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"object\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tableauViz\\\"],[\\\"static-attr\\\",\\\"width\\\",\\\"1650\\\"],[\\\"static-attr\\\",\\\"height\\\",\\\"986\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display:none;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"host_url\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"hostUrl\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"embed_code_version\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"data\\\",\\\"embedCodeVersion\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"site_root\\\"],[\\\"static-attr\\\",\\\"value\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"name\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"reportName\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"tabs\\\"],[\\\"static-attr\\\",\\\"value\\\",\\\"no\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"toolbar\\\"],[\\\"static-attr\\\",\\\"value\\\",\\\"no\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"ticket\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"token\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterCompanies\\\"]]],null,3],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterLocations\\\"]]],null,2],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterMenus\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"filterLocationGroups\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"Start%20DateTime=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"startDate\\\"]]],null],\\\"\\\\n           &End%20DateTime=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"endDate\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(LOCATION_GROUP)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"locationGroups\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(MENU)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"menus\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(LOCATION)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"locations\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"param\\\",[]],[\\\"static-attr\\\",\\\"name\\\",\\\"filter\\\"],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"concat\\\",[\\\"id_(COMPANY)=\\\",[\\\"helper\\\",[\\\"url-encode\\\"],[[\\\"get\\\",[\\\"params\\\",\\\"vendor\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/pmix-with-combos/pmix-with-combos-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/pmix-with-combos/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    _scheduledReport: undefined,\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    isBrAdmin: computed.alias('isBRUser'),\n    token: '',\n    _summarizeByTypes: computed(function () {\n      return [{ id: 0, name: 'Event/Venue' }, { id: 1, name: 'Menu' }, { id: 2, name: 'Company' }, { id: 3, name: 'Location' }];\n    }),\n    _summarizeByTimes: computed(function () {\n      return [{ id: 0, name: 'None' }, { id: 1, name: 'Day' }, { id: 2, name: 'Hour' }, { id: 3, name: 'Hour Blocked' }];\n    }),\n    summarizeByType: computed.alias('reportOptions.summarizeByType'),\n    summarizeByTime: computed.alias('reportOptions.summarizeByTime'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('financialReportFilter');\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n\n      this.set('summarizeByType', { id: 1, name: 'Menu' });\n      this.set('summarizeByTime', { id: 0, name: 'None' });\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Daily Close Out');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      summarizeByTypeChanged: function summarizeByTypeChanged(type) {\n        this.set('summarizeByType', type);\n      },\n      summarizeByTimeChanged: function summarizeByTimeChanged(time) {\n        this.set('summarizeByTime', time);\n      },\n      searchReport: function searchReport() {\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        this.set('showScheduleModal', false);\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (isValid) {\n          if (!this.get('isBRUser')) {\n            if (this.get('selectedLocationGroup.length') === undefined || this.get('selectedLocationGroup.length') === 0) {\n              if (this.get('selectedLocationGroup.length') === undefined) {\n                this.set('selectedLocationGroup', A());\n              }\n              this.get('reportOptions.selectedLocationGroup').addObjects(this.get('sortedLocationGroups'));\n            }\n\n            if (this.get('selectedVendor.length') === undefined) {\n              this.set('selectedVendor', A());\n            }\n            this.get('reportOptions.vendors').addObject(this.get('loggedAccount.company.id'));\n          }\n          if (this.get('selectedLocations.length') === 0) {\n            this.get('reportOptions.locations').addObjects(this.get('_locations'));\n          }\n          if (this.get('selectedMenus.length') === 0) {\n            this.get('reportOptions.menus').addObjects(this.get('_menus'));\n          }\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/pmix-with-combos/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"SusvvRrd\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"showScheduleModal\\\"]]],null]],null,22],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"multipleLocationGroupSelection\\\"],null]]],18],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,17],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,13],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],8],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],7],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],6],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showScheduleModal\\\"]]],null,5,4],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"display: none;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showScheduleModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.scheduledReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,3],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBrAdmin\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"scheduled-report/schedule-details\\\"],null,[[\\\"reportOptions\\\",\\\"scheduledReport\\\",\\\"cancelScheduleReport\\\",\\\"saveScheduleReport\\\",\\\"newScheduledReport\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"_scheduledReport\\\"]],\\\"cancelScheduleReport\\\",\\\"saveScheduleReport\\\",false]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],11],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],10],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,12]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],15],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.allField\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],14],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,16]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],21],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],20],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/pmix-with-combos/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/pos-token/timer/component\", [\"exports\", \"ember\", \"moment\"], function (exports, _ember, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend({\n    delta: 0,\n    expirationTime: null,\n    _interval: null,\n    timer: computed('delta', function () {\n      var that = this;\n      if (this._interval === null) {\n        this._interval = setInterval(function () {\n          var currentTime = (0, _moment[\"default\"])();\n          that.set('delta', that.get('expirationTime').diff(currentTime, 'minutes'));\n        }, 1000);\n      }\n      if (this.get('delta') > 60 || this.get('delta') < 0) {\n        this.send('refreshToken');\n        return this.get('delta');\n      } else {\n        return this.get('delta');\n      }\n    }),\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      clearInterval(this.get('_interval'));\n    },\n    actions: {\n      refreshToken: function refreshToken() {\n        this.sendAction('refreshToken');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/pos-token/timer/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"OTNUjnJG\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"timer\\\"]],0],null]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"posToken.expiredMessage\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"timer\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"posToken.messageMinutes\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"posToken.expiredToken\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/pos-token/timer/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    comboSelectionProductCatalogColumns: computed(function () {\n      return [{\n        title: '',\n        template: \"combo-selection-product-catalog/delete-action\",\n        className: 'deleteRow'\n      }, {\n        title: this.get('intl').t('comboSelectionProductCatalog.list.productCatalogName'),\n        propertyName: 'productCatalogName',\n        className: 'comboSelectionProductRow'\n      }, {\n        title: this.get('intl').t('comboSelectionProductCatalog.list.priceChange'),\n        propertyName: 'priceChange',\n        template: \"combo-selection-product-catalog/suggested-price-cell\",\n        className: 'comboSelectionProductRow'\n      }];\n    }),\n    columns: computed(function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product'),\n        filteredBy: 'catalogName'\n      }, {\n        propertyName: 'productType.name',\n        title: this.get('intl').t('productCatalog.list.productType'),\n        filteredBy: 'typeName'\n      }, {\n        propertyName: 'suggestedPrice',\n        title: this.get('intl').t('productCatalog.list.suggestedPrice'),\n        filteredBy: 'suggestedPrice',\n        template: \"product-catalog/suggested-price-cell\",\n        className: 'suggestedPriceRow'\n      }, {\n        propertyName: 'productCatalogTemplate',\n        title: this.get('intl').t('productCatalog.list.productCatalogTemplate'),\n        filterWithSelect: true,\n        predefinedFilterOptions: this.get('productCatalogType'),\n        template: 'product-catalog/meta-product-catalog-flag'\n      }];\n    }),\n    selectedModels: computed('comboSelectionCatalog.comboSelectionProductCatalogList', 'comboSelectionCatalog.comboSelectionProductCatalogList.length', function () {\n      return A();\n    }),\n    _getCompany: function _getCompany() {\n      var company = undefined;\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          company = this.get('lockedCompany');\n        }\n      } else {\n        company = this.get('loggedAccount.company');\n      }\n      return company;\n    },\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      this.set('company', company);\n\n      var params = {\n        companyId: company,\n        loadAttributes: false,\n        productClass: 'REGULAR',\n        page: 1,\n        pageSize: 10,\n        archived: false\n      };\n\n      var temp = this.get('store').query('productCatalog', params);\n      if (temp.then !== undefined) {\n        temp.then(function (content) {\n          _this.set('catalogs', content);\n        });\n      }\n    },\n    actions: {\n      refreshComboSelectionList: function refreshComboSelectionList(comboSelectionCatalog, direction) {\n        this.sendAction('refreshComboSelectionList', comboSelectionCatalog, direction);\n      },\n      deleteComboSelectionProduct: function deleteComboSelectionProduct(comboSelectionProductCatalog) {\n        // Remove comboSelectionProductCatalog\n        this.get('comboSelectionCatalog.comboSelectionProductCatalogList').removeObject(comboSelectionProductCatalog);\n        if (!comboSelectionProductCatalog.get('isNew')) {\n          this.get('comboSelectionCatalog.deletedComboSelectionProductCatalogList').addObject(comboSelectionProductCatalog.get('comboSelectionProductCatalogId'));\n        } else {\n          comboSelectionProductCatalog.rollbackAttributes();\n        }\n      },\n      deleteComboSelection: function deleteComboSelection(comboSelectionCatalog) {\n        this.sendAction('deleteComboSelection', comboSelectionCatalog);\n      },\n      openModalProducts: function openModalProducts() {\n        var _this2 = this;\n\n        // Initialize Selected Models if Null or Undefined\n        if (this.get('selectedModels') === null || this.get('selectedModels') === undefined) {\n          this.set('selectedModels', A());\n        }\n\n        var catalog = A();\n\n        var promises = this.get('comboSelectionCatalog.comboSelectionProductCatalogList').map(function (product) {\n          var temp = _this2.get('store').findRecord('productCatalog', product.get('productCatalogId').toString());\n          if (temp.then !== undefined) {\n            temp.then(function (content) {\n              return catalog.addObject(content);\n            });\n          }\n          return temp;\n        });\n\n        window.Promise.all(promises).then(function () {\n          _this2.get('selectedModels').clear();\n          _this2.get('selectedModels').addObjects(catalog);\n          _this2.set('showModalProducts', true);\n        });\n      },\n      addComboSelectionProducts: function addComboSelectionProducts() {\n        var _this3 = this;\n\n        this.send('cleanMessages');\n\n        this.get('selectedModels').forEach(function (item) {\n          var contains = false;\n          _this3.get('comboSelectionCatalog.comboSelectionProductCatalogList').forEach(function (product) {\n            if (product.get('productCatalogId').toString() === item.get('id')) {\n              contains = true;\n            }\n          });\n\n          if (!contains) {\n            _this3.get('comboSelectionCatalog.comboSelectionProductCatalogList').addObject(_this3.get('store').createFragment('comboSelectionProductCatalog', {\n              productCatalogId: item.get('id'),\n              productCatalogName: item.get('name'),\n              priceChange: 0\n            }));\n          }\n        });\n        this.send('closeModalProducts');\n      },\n      closeModalProducts: function closeModalProducts() {\n        this.send('cleanMessages');\n        this.set('showModalProducts', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/details/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  var isEmpty = _ember['default'].isEmpty;\n  var isBlank = _ember['default'].isBlank;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    actions: {\n      closeComboSelectionModal: function closeComboSelectionModal() {\n        this.sendAction('closeComboSelectionModal', this.get('comboSelectionCatalog'));\n      },\n      addComboSelection: function addComboSelection() {\n        if (isEmpty(this.get('comboSelectionCatalog.displayText')) || isBlank(this.get('comboSelectionCatalog.displayText'))) {\n          this.get('notify').alert(this.get('intl').t('comboSelectionProductCatalog.list.errors.blankComboSelectionCatalogError'), { closeAfter: 5000 });\n        } else {\n          this.sendAction('addComboSelection', this.get('comboSelectionCatalog'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"C1eYADll\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"comboSelectionName\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionCatalog.modal.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\",\\\"enter\\\"],[\\\"text\\\",\\\"comboSelectionName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionCatalog.modal.name.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"comboSelectionCatalog\\\",\\\"displayText\\\"]],\\\"addComboSelection\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeComboSelectionModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionCatalog.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addComboSelection\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionCatalog.modal.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"7AZCF4a6\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-3 col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-6 col-sm-6 col-md-6 col-lg-6 d-flex justify-content-center text-center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-4 col-sm-4 col-md-4 col-lg-4 d-flex text-left\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\" Selection Text:\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right: 5px; color: #3d4486;\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"comboSelectionCatalog\\\",\\\"displayText\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-4 col-sm-4 col-md-4 col-lg-4 d-flex justify-content-center text-center\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteComboSelection\\\",[\\\"get\\\",[\\\"comboSelectionCatalog\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"comboSelectionCatalog\\\",\\\"position\\\"]],1],null]],null,3,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-4 col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm btn\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModalProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionProductCatalog.list.buttons.addProducts\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"showTableFooter\\\",\\\"showComponentFooter\\\",\\\"filteringIgnoreCase\\\",\\\"useFilteringByColumns\\\",\\\"showPageSize\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"rowTemplate\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"comboSelectionCatalog\\\",\\\"comboSelectionProductCatalogList\\\"]],[\\\"get\\\",[\\\"comboSelectionProductCatalogColumns\\\"]],false,false,false,false,false,true,false,true,100,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-row\\\",\\\"deleteComboSelectionProduct\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModalProducts\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"h6\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearAllSelected\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.clearAllSelected.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times-circle fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      ]\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"pageSize\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"preselectedItems\\\",\\\"sendDisplayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"catalogs\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,10,\\\"total\\\",\\\"pages\\\",false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],[\\\"get\\\",[\\\"selectedModels\\\"]],true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModalProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addComboSelectionProducts\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"clearAllSelected\\\",\\\"isLargeSize\\\",\\\"targetAttachment\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.modal.title\\\"],null],\\\"closeModalProducts\\\",\\\"clearAllSelected\\\",true,\\\"middle none\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-arrow-down\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshComboSelectionList\\\",[\\\"get\\\",[\\\"comboSelectionCatalog\\\"]],\\\"DOWN\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-arrow-up\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshComboSelectionList\\\",[\\\"get\\\",[\\\"comboSelectionCatalog\\\"]],\\\"UP\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-arrow-down\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshComboSelectionList\\\",[\\\"get\\\",[\\\"comboSelectionCatalog\\\"]],\\\"DOWN\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/combo-selection-catalog/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/common-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsCommonMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var sort = _ember[\"default\"].computed.sort;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    productClasses: [],\n    showComboSelectionModal: false,\n    belongsToTemplate: false,\n    customEnabled: false,\n    showComboSelections: true,\n    _sortCriteria: ['name'],\n    _comboSelectionsSortCriteria: ['position'],\n    _sortedCompanies: sort('_companies', '_sortCriteria'),\n    imageName: computed('product.image', 'product.imageURL', function () {\n      return this.get('product.image') ? 'image' : null;\n    }),\n    imagePreview: computed('product.image', 'product.imageURL', function () {\n      var url = \"\";\n      if (this.get('product.image')) {\n        url = this.get('product.image');\n      } else {\n        url = this.get('product.imageURL');\n      }\n      return htmlSafe(\"background-image: url(\\\"\" + url + \"\\\")\");\n    }),\n    _companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    _showCompanies: computed(function () {\n      return this.get('product.isNew') && this.get('isBRUser') && this.get('lockedCompany') === undefined && this.get('product.companyId') === undefined;\n    }),\n    _showProductType: computed('product.companyId', function () {\n      return this.get('product.companyId') !== undefined;\n    }),\n    _productTypes: computed('product.companyId', function () {\n      if (this.get('product.companyId')) {\n        return this.get('store').query('productType', { companyId: this.get('product.companyId'), pageSize: -1 });\n      }\n    }),\n    _sortedProductTypes: sort('_productTypes', '_sortCriteria'),\n    _sortedComboSelections: sort('product.comboSelectionCatalogs', '_comboSelectionsSortCriteria'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      if (this.get('product.metaProductCatalogId') !== undefined && this.get('product.metaProductCatalogId') !== null) {\n        this.set('belongsToTemplate', true);\n      }\n    },\n    actions: {\n      refreshComboSelectionList: function refreshComboSelectionList(comboSelectionCatalog, direction) {\n        this.set('showComboSelections', false);\n        var newPosition = undefined;\n        if (direction === \"DOWN\") {\n          if (comboSelectionCatalog.get('position') < this.get('product.comboSelectionCatalogs.length')) {\n            newPosition = comboSelectionCatalog.get('position') + 1;\n            var comboSelectionSecond = this.get('product.comboSelectionCatalogs').filterBy('position', newPosition).get('firstObject');\n            comboSelectionSecond.set('position', comboSelectionCatalog.get('position'));\n            comboSelectionCatalog.set('position', newPosition);\n          }\n        } else {\n          if (comboSelectionCatalog.get('position') > 1) {\n            newPosition = comboSelectionCatalog.get('position') - 1;\n            var comboSelectionSecond = this.get('product.comboSelectionCatalogs').filterBy('position', newPosition).get('firstObject');\n            comboSelectionSecond.set('position', comboSelectionCatalog.get('position'));\n            comboSelectionCatalog.set('position', newPosition);\n          }\n        }\n        this.set('showComboSelections', true);\n      },\n      deleteComboSelection: function deleteComboSelection(comboSelectionCatalog) {\n        this.set('showComboSelections', false);\n        var position = 1;\n\n        // Remove comboSelectionCatalog\n        this.get('product.comboSelectionCatalogs').removeObject(comboSelectionCatalog);\n        if (!comboSelectionCatalog.get('isNew')) {\n          this.get('product.deletedComboSelectionCatalogs').addObject(comboSelectionCatalog.get('id'));\n        } else {\n          comboSelectionCatalog.rollbackAttributes();\n        }\n\n        // Reset positions for all selections\n        this.get('product.comboSelectionCatalogs').forEach(function (comboSelectionCatalog) {\n          comboSelectionCatalog.set('position', position);\n          position++;\n        });\n        this.set('showComboSelections', true);\n      },\n      openComboSelectionCatalogModal: function openComboSelectionCatalogModal() {\n        this.set('comboSelectionCatalog', this.get('store').createRecord('comboSelectionCatalog', {\n          productCatalogId: this.get('product.id')\n        }));\n        this.set('showComboSelectionModal', true);\n      },\n      closeComboSelectionModal: function closeComboSelectionModal(comboSelectionCatalog) {\n        comboSelectionCatalog.rollbackAttributes();\n        this.set('showComboSelectionModal', false);\n      },\n      addComboSelection: function addComboSelection(comboSelectionCatalog) {\n        var filteredSelectionsByNames = this.get('product.comboSelectionCatalogs').filterBy('displayText', comboSelectionCatalog.get('displayText'));\n        if (filteredSelectionsByNames.length > 0) {\n          this.get('notify').alert(this.get('intl').t('comboSelectionProductCatalog.list.errors.duplicatedComboSelectionCatalogNameError'), { closeAfter: 5000 });\n        } else {\n          comboSelectionCatalog.set('position', this.get('product.comboSelectionCatalogs.length') + 1);\n          this.get('product.comboSelectionCatalogs').addObject(comboSelectionCatalog);\n          this.set('showComboSelectionModal', false);\n        }\n      },\n      selectCompany: function selectCompany(company) {\n        this.get('product').set('companyId', company.get('id'));\n        this.get('product').set('companyName', company.get('name'));\n        this.set('selectedCompany', company);\n      },\n      uploadImage: function uploadImage(fileList) {\n        var _this = this;\n\n        var re = new RegExp('image/(png|jpeg)');\n        if (fileList[0].size <= 10000000) {\n          if (re.test(fileList[0].type)) {\n            (function () {\n              var that = _this;\n              _this.set('imageName', fileList[0].name);\n              var reader = new FileReader();\n\n              reader.onloadend = function () {\n                that.set('product.deleteImage', false);\n                that.set('product.image', reader.result);\n              };\n\n              reader.readAsDataURL(fileList[0]);\n            })();\n          } else {\n            Logger.debug('not an image.');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageFormat'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        } else {\n          Logger.debug('image size max is 10mb.');\n          var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageSize'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n      },\n      removeImage: function removeImage() {\n        this.set('imageName', null);\n        this.set('product.image', null);\n        this.set('product.imageURL', null);\n        this.set('product.deleteImage', true);\n      }\n    }\n\n  });\n});","define(\"fcs-dashboard/pods/components/product-catalog/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"bEtGILbg\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showCompanies\\\"]]],null,13],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height justify-content-center text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 logo-wrapper\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin: 10px 5px 0 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\",\\\"accept\\\",\\\"multiple\\\"],[\\\"uploadImage\\\",\\\"image/png, image/jpeg\\\",false]],11],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"image\\\"]],[\\\"get\\\",[\\\"product\\\",\\\"imageURL\\\"]]],null]],null,8],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Image Recommendations: \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      The recommended image resolution is 300x300px. \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      Only JPG, and PNG file types are able to be uploaded. \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      This feature is currently not supported on YMY10, and YMY17 tablets.\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"productName\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"productName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.name.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"product\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"productPrice\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.price.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"productPrice\\\",\\\"0\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"product\\\",\\\"suggestedPrice\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showProductType\\\"]]],null,7],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-8 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.productClass.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"productClasses\\\"]],[\\\"get\\\",[\\\"product\\\",\\\"productClass\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.productClass.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"productClass\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"productClass\\\",\\\"id\\\"]],\\\"1\\\"],null]],null]],null,4],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"productDescription\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.sku.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"productSku\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.sku.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"product\\\",\\\"sku\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"productClass\\\",\\\"id\\\"]],\\\"1\\\"],null]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showComboSelectionModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/combo-selection-catalog/details\\\"],null,[[\\\"comboSelectionCatalog\\\",\\\"closeComboSelectionModal\\\",\\\"addComboSelection\\\"],[[\\\"get\\\",[\\\"comboSelectionCatalog\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeComboSelectionModal\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addComboSelection\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionCatalog.modal.title\\\"],null],\\\"closeComboSelectionModal\\\",false]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/combo-selection-catalog\\\"],null,[[\\\"comboSelectionCatalog\\\",\\\"refreshComboSelectionList\\\",\\\"deleteComboSelection\\\",\\\"productCatalogs\\\"],[[\\\"get\\\",[\\\"item\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshComboSelectionList\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deleteComboSelection\\\"],null],[\\\"get\\\",[\\\"productCatalogs\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 5px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.comboSelection.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 d-flex justify-content-center text-center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm btn\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openComboSelectionCatalogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"comboSelectionCatalog.list.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"_sortedComboSelections\\\"]]],[[\\\"key\\\"],[\\\"displayText\\\"]],2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"productDescription\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.brand.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"productDescription\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.brand.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"product\\\",\\\"description\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"productClass\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"productClass\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"productType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"productType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-8 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.productType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedProductTypes\\\"]],[\\\"get\\\",[\\\"product\\\",\\\"productType\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.productType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"productType\\\"]]],null]],null]]],6],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeImage\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeImage\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"camera-icon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-camera-retro\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"product-image-preview\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"imagePreview\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"product\\\",\\\"image\\\"]],[\\\"get\\\",[\\\"product\\\",\\\"imageURL\\\"]]],null]],null,10,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"selectedCompany\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.company.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCompany\\\"],null]]],12],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/product-catalog-mixin\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsProductCatalogMixin, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var isArray = _ember[\"default\"].isArray;\n  var run = _ember[\"default\"].run;\n  var A = _ember[\"default\"].A;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsProductCatalogMixin[\"default\"], {\n    saveDisabled: false,\n    tagName: '',\n    selectedModels: A(),\n    selectedCount: computed('selectedModels.length', function () {\n      return this.get('selectedModels.length') || '0';\n    }),\n    columns: computed(function () {\n      var hideCompanyColumn = !this.get('isBRUser');\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        title: '',\n        template: \"product-catalog/edit-action\",\n        className: 'editRow'\n      }, {\n        title: '',\n        template: \"product-catalog/archive-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product'),\n        filteredBy: 'catalogName'\n      }, {\n        propertyName: 'productType.name',\n        title: this.get('intl').t('productCatalog.list.productType'),\n        filteredBy: 'typeName'\n      }, {\n        propertyName: 'suggestedPrice',\n        title: this.get('intl').t('productCatalog.list.suggestedPrice'),\n        filteredBy: 'suggestedPrice',\n        template: \"product-catalog/suggested-price-cell\",\n        className: 'suggestedPriceRow'\n      }, {\n        propertyName: 'translatedStatus',\n        title: this.get('intl').t('menu.list.table.status.header'),\n        filterWithSelect: true,\n        predefinedFilterOptions: this.get('catalogStatuses'),\n        filterString: 'Active',\n        className: 'stateRow',\n        filterFunction: function filterFunction(cell, neededStr, obj) {\n          return isEqual(obj.get('translatedStatus').toLowerCase(), neededStr);\n        }\n      }, {\n        propertyName: 'companyName',\n        title: this.get('intl').t('productCatalog.list.company'),\n        filteredBy: 'companyName',\n        isHidden: hideCompanyColumn\n      }, {\n        propertyName: 'displayClassName',\n        title: this.get('intl').t('productCatalog.list.productCatalogClass'),\n        filteredBy: 'productClass',\n        filterWithSelect: true,\n        predefinedFilterOptions: this.get('productClasses')\n      }, {\n        propertyName: 'sku',\n        title: this.get('intl').t('productCatalog.list.productCatalogSku'),\n        filteredBy: 'sku'\n      }, {\n        title: '',\n        template: \"product-catalog/delete-action\",\n        className: 'editRow'\n      }];\n    }),\n    _attributeSets: computed(function () {\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n\n          var company = this.get('lockedCompany.id');\n          return this.get('store').query('attributeSet', { companyId: company });\n        } else {\n\n          return this.get('store').query('attributeSet', {});\n        }\n      } else {\n        var company = this.get('loggedAccount.company.id');\n        return this.get('store').query('attributeSet', { companyId: company });\n      }\n    }),\n    _productClasses: computed(function () {\n      return this.get('store').findAll('productClass');\n    }),\n    showEditModal: false,\n    showMetaProductCatalogModal: false,\n    currentProduct: undefined,\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.set('selectedModels', null);\n\n      var company = this.get('isBRUser') && this.get('lockedCompany') !== undefined ? this.get('lockedCompany') : this.get('loggedAccount.company');\n\n      var params = {\n        page: 1,\n        pageSize: 10,\n        translatedStatus: 'Active', // default selection\n        companyId: company.id\n      };\n\n      var temp = this.get('store').query('combinedProductCatalog', params);\n      if (temp.then !== undefined) {\n        temp.then(function (content) {\n          _this.set('catalogs', content);\n          _this.set('loadReady', true);\n        });\n      }\n    },\n    actions: {\n      deactivateProduct: function deactivateProduct(record) {\n        this.send('toggleArchive', [record], true);\n      },\n      activateProduct: function activateProduct(record) {\n        this.send('toggleArchive', [record], false);\n      },\n      deactivateBulk: function deactivateBulk() {\n        var records = this.get('selectedModels');\n        this.send('toggleArchive', records, true);\n      },\n      activateBulk: function activateBulk() {\n        var records = this.get('selectedModels');\n        this.send('toggleArchive', records, false);\n      },\n      toggleArchive: function toggleArchive(records, archive) {\n        var _this2 = this;\n\n        console.log('toggleArchive', records, archive);\n\n        var request = function request(endpoint, ids) {\n          return new Promise(function (resolve, reject) {\n            if (ids.length === 0) {\n              return resolve();\n            }\n\n            var options = {\n              url: endpoint,\n              type: 'POST',\n              data: {\n                ids: ids,\n                archive: archive\n              }\n            };\n\n            var token = _this2.get('session.data.authenticated.access_token');\n            options.beforeSend = function (xhr) {\n              return xhr.setRequestHeader('Authorization', \"Bearer \" + token);\n            };\n\n            options.success = function () {\n              return resolve();\n            };\n            options.error = function () {\n              return reject();\n            };\n\n            // noinspection JSUnresolvedReference\n            _ember[\"default\"].$.ajax(options);\n          });\n        };\n\n        var nonTplIDs = [];\n        var tplIDs = [];\n\n        var _iteratorNormalCompletion = true;\n        var _didIteratorError = false;\n        var _iteratorError = undefined;\n\n        try {\n          for (var _iterator = records[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n            var record = _step.value;\n\n            if (record.get('productCatalogTemplate')) {\n              tplIDs.push(record.get('id'));\n            } else {\n              nonTplIDs.push(record.get('id'));\n            }\n          }\n        } catch (err) {\n          _didIteratorError = true;\n          _iteratorError = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion && _iterator[\"return\"]) {\n              _iterator[\"return\"]();\n            }\n          } finally {\n            if (_didIteratorError) {\n              throw _iteratorError;\n            }\n          }\n        }\n\n        console.log('nonTplIDs', nonTplIDs);\n        console.log('tplIDs', tplIDs);\n\n        Promise.all([request('/api/v1/productCatalogs/toggleArchive', nonTplIDs), request('/api/v1/metaProductCatalogs/toggleArchive', tplIDs)]).then(function () {\n          Logger.debug('Toggled');\n          _this2.sendAction('refreshAction');\n        })[\"catch\"](function () {\n          var msg = _this2.get('intl').t('productCatalog.list.errors.toggleArchiveError');\n          _this2.get('errorMessages').addObject(_this2.get('notify').alert(msg, { closeAfter: 5000 }));\n        });\n      },\n      addProduct: function addProduct() {\n        this.set('saveDisabled', false);\n        var companyId = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            companyId = this.get('lockedCompany.id');\n          }\n        } else {\n          companyId = this.get('loggedAccount.company.id');\n        }\n\n        this.set('currentProduct', this.get('store').createRecord('productCatalog', {\n          companyId: companyId,\n          disableValidateCompany: false\n        }));\n        this.set('showEditModal', true);\n      },\n      editProduct: function editProduct(item) {\n        var _this3 = this;\n\n        console.log('deleteProduct', item);\n        this.set('saveDisabled', false);\n\n        if (item.get('productCatalogTemplate')) {\n          (function () {\n            // meta product catalog\n            item = _this3.get('store').findRecord('metaProductCatalog', item.get('id'));\n\n            var handler = function handler(record) {\n              run(function () {\n                if (isArray(record.get('attributeSets'))) {\n                  _this3.set('currentMetaProductCatalog', record);\n                  _this3.set('showMetaProductCatalogModal', true);\n                }\n              });\n              // jQuery('#j-table-filter-button').trigger('click')\n            };\n\n            if (item.then) {\n              item.then(function (record) {\n                return handler(record);\n              });\n            } else {\n              handler(item);\n            }\n          })();\n        } else {\n          (function () {\n            // product catalog\n            item = _this3.get('store').findRecord('productCatalog', item.get('id'));\n\n            var handler = function handler(record) {\n              run(function () {\n                _this3.set('currentProduct', record);\n                _this3.set('showEditModal', true);\n              });\n              // jQuery('#j-table-filter-button').trigger('click')\n            };\n\n            if (item.then) {\n              item.then(function (record) {\n                return handler(record);\n              });\n            } else {\n              handler(item);\n            }\n          })();\n        }\n      },\n      closeModal: function closeModal() {\n        if (!this.get('saveDisabled')) {\n          this.send('cleanMessages');\n          this.set('showEditModal', false);\n          this.get('currentProduct.comboSelectionCatalogs').forEach(function (selection) {\n            selection.get('comboSelectionProductCatalogList').forEach(function (selectionProduct) {\n              selectionProduct.rollbackAttributes();\n            });\n            selection.rollbackAttributes();\n          });\n          this.get('currentProduct').rollbackAttributes();\n        }\n      },\n      closeMetaProductCatalogModal: function closeMetaProductCatalogModal() {\n        if (!this.get('saveDisabled')) {\n          this.send('cleanMessages');\n          this.set('showMetaProductCatalogModal', false);\n          this.get('currentMetaProductCatalog').rollbackAttributes();\n        }\n      },\n      accept: function accept() {\n        var _this4 = this;\n\n        var isValid = true;\n        if (this.get('currentProduct.comboSelectionCatalogs.length') > 0) {\n          this.get('currentProduct.comboSelectionCatalogs').forEach(function (selection) {\n            if (selection.get('comboSelectionProductCatalogList.length') === 0) {\n              isValid = false;\n            }\n          });\n        }\n\n        if (isValid) {\n          if (this.get('currentProduct.validations.isValid')) {\n            this.set('saveDisabled', true);\n\n            //Trims name before saving\n            var _name = this.get('currentProduct.name').trim();\n            this.set('currentProduct.name', _name);\n\n            this.sendAction('save', this.get('currentProduct'));\n          } else {\n            this.send('cleanMessages');\n            this.get('currentProduct.validations.errors').forEach(function (error) {\n              var errorMessage = _this4.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this4.get('errorMessages').addObject(errorMessage);\n            });\n            this.set('saveDisabled', false);\n          }\n        } else {\n          this.get('notify').alert(\"Combo selections must contain at least 1 product\", { closeAfter: 5000 });\n        }\n      },\n      deleteProduct: function deleteProduct(item) {\n        var _this5 = this;\n\n        console.log('deleteProduct', item);\n\n        if (item.get('productCatalogTemplate')) {\n          // meta product catalog\n          item = this.get('store').findRecord('metaProductCatalog', item.get('id'));\n        } else {\n          // product catalog\n          item = this.get('store').findRecord('productCatalog', item.get('id'));\n        }\n\n        var sendRequest = function sendRequest(content) {\n          return content.destroyRecord().then(function () {\n            _this5.send('cleanMessages');\n            _this5.get('notify').success(_this5.get('intl').t('productCatalog.list.errors.deleteSuccess'));\n            // this.refreshAction();\n          })[\"catch\"](function (error) {\n            var message = 'productCatalog.list.errors.deletingError';\n            if (error !== undefined) {\n              message = \"productCatalog.list.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this5.get('notify').alert(_this5.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n            _this5.get('errorMessages').addObject(errorMessage);\n            content.rollbackAttributes();\n          })[\"finally\"](function () {\n            jQuery('#j-table-filter-button').trigger('click');\n          });\n        };\n\n        if (item.then) {\n          item.then(function (content) {\n            return sendRequest(content);\n          });\n        } else {\n          sendRequest(item);\n        }\n      },\n      addMetaProductCatalog: function addMetaProductCatalog() {\n        this.set('saveDisabled', false);\n        var companyId = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            companyId = this.get('lockedCompany.id');\n          }\n        } else {\n          companyId = this.get('loggedAccount.company.id');\n        }\n\n        this.set('currentMetaProductCatalog', this.get('store').createRecord('metaProductCatalog', {\n          companyId: companyId\n        }));\n        this.set('showMetaProductCatalogModal', true);\n      },\n      refreshAction: function refreshAction() {\n        this.set('showMetaProductCatalogModal', false);\n        this.sendAction('refreshAction');\n      }\n    }\n  });\n});\n/* eslint-disable no-undef */","define(\"fcs-dashboard/pods/components/product-catalog/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"PTNQnizn\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"loadReady\\\"]]],null,7,6],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showEditModal\\\"]]],null,5],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showMetaProductCatalogModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/meta-product-catalog/details\\\"],null,[[\\\"metaProductCatalog\\\",\\\"data\\\",\\\"selectedAttibuteSets\\\",\\\"closeMetaProductCatalogModal\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"currentMetaProductCatalog\\\"]],[\\\"get\\\",[\\\"_attributeSets\\\"]],[\\\"get\\\",[\\\"currentMetaProductCatalog\\\",\\\"attributeSets\\\"]],\\\"closeMetaProductCatalogModal\\\",\\\"refreshAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.title\\\"],null],\\\"closeMetaProductCatalogModal\\\",false]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.buttons.cancel.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"accept\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.buttons.accept.save.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.buttons.cancel.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"accept\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.buttons.accept.saving.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/details\\\"],null,[[\\\"product\\\",\\\"customEnabled\\\",\\\"productCatalogs\\\",\\\"productClasses\\\"],[[\\\"get\\\",[\\\"currentProduct\\\"]],true,[\\\"get\\\",[\\\"products\\\"]],[\\\"get\\\",[\\\"_productClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveDisabled\\\"]]],null,3,2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.title\\\"],null],\\\"closeModal\\\",true]],4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 50px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProduct\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.new\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-left: 10px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addMetaProductCatalog\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.metaProductCatalog\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:right;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"deactivateBulk\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.deactivateBulk\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:20px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"activateBulk\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.activateBulk\\\"],[[\\\"selectedCount\\\"],[[\\\"get\\\",[\\\"selectedCount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleSelect\\\",\\\"multipleColumnsSorting\\\",\\\"pageSize\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"sendDisplayDataChangedAction\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"showFilterButton\\\",\\\"activateProduct\\\",\\\"deactivateProduct\\\",\\\"edit\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"catalogs\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,true,10,\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-row\\\",\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",true,\\\"activateProduct\\\",\\\"deactivateProduct\\\",\\\"editProduct\\\",\\\"deleteProduct\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/meta-product-catalog/details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var sort = _ember[\"default\"].computed.sort;\n  var A = _ember[\"default\"].A;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    columns: computed(function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('metaProductCatalog.modal.attributeSet.name')\n      }, {\n        propertyName: 'content',\n        filteredBy: 'content',\n        title: this.get('intl').t('metaProductCatalog.modal.attributeSet.attributes')\n      }];\n    }),\n    isLoading: true,\n    generatedProductCatalogs: A(),\n    selectedModels: A(),\n    data: [],\n    displayAttributeSetList: false,\n    customEnabled: false,\n    _showGeneratedOptions: false,\n    _sortCriteria: ['name'],\n    _sortedCompanies: sort('_companies', '_sortCriteria'),\n    _companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    _showCompanies: computed(function () {\n      return this.get('metaProductCatalog.isNew') && this.get('isBRUser') && this.get('lockedCompany') === undefined && this.get('metaProductCatalog.companyId') === undefined;\n    }),\n    _showProductType: computed('metaProductCatalog.companyId', function () {\n      return this.get('metaProductCatalog.companyId') !== undefined;\n    }),\n    _productTypes: computed('metaProductCatalog.companyId', function () {\n      if (this.get('metaProductCatalog.companyId')) {\n        return this.get('store').query('productType', { companyId: this.get('metaProductCatalog.companyId'), pageSize: -1 });\n      }\n    }),\n    _sortedProductTypes: sort('_productTypes', '_sortCriteria'),\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.set('selectedModels', null);\n\n      //initialize attributeSets\n      if (this.get('data').then === undefined) {\n        // no promise, lets load the data\n        this.set('data', this.get('data'));\n        this.set('displayAttributeSetList', true);\n      } else {\n        // if a promise set the content when it resolves\n        this.get('data').then(function (content) {\n          run(function () {\n            _this.set('data', content);\n            _this.set('displayAttributeSetList', true);\n          });\n        });\n      }\n    },\n    actions: {\n      clearAllSelected: function clearAllSelected() {\n        var _this2 = this;\n\n        this.set('displayAttributeSetList', false);\n        run.next(function () {\n          _this2.get('selectedModels').clear();\n          _this2.set('displayAttributeSetList', true);\n        });\n      },\n      generateProductCatalogs: function generateProductCatalogs() {\n        var _this3 = this;\n\n        this.get('metaProductCatalog.attributeSets').clear();\n        this.get('metaProductCatalog.attributeSets').addObjects(this.get('selectedModels'));\n        if (this.get('metaProductCatalog.validations.isValid')) {\n          this.get('metaProductCatalog').save().then(function (metaProduct) {\n            _this3.set('metaProductCatalog', metaProduct);\n            _this3.set('isLoading', false);\n            _this3.set('_showGeneratedOptions', true);\n          })[\"catch\"](function (error) {\n            var message = 'metaProductCatalog.modal.errors.savingError';\n            if (error !== undefined) {\n              message = \"metaProductCatalog.modal.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this3.get('notify').alert(_this3.get('intl').t(message, { name: _this3.get('metaProductCatalog.name') }), { closeAfter: 5000 });\n            _this3.get('errorMessages').addObject(errorMessage);\n            _this3.get('metaProductCatalog').rollbackAttributes();\n            _this3.refresh();\n          });\n        } else {\n          this.send('cleanMessages');\n          this.get('metaProductCatalog.validations.errors').forEach(function (error) {\n            var errorMessage = _this3.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this3.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      closeMetaProductCatalogModal: function closeMetaProductCatalogModal() {\n        this.sendAction('closeMetaProductCatalogModal');\n      },\n      acceptMetaProductCatalogModal: function acceptMetaProductCatalogModal(selectedProductCatalogs) {\n        var _this4 = this;\n\n        this.get('metaProductCatalog.generatedProductCatalogs').clear();\n        var newProductCatalogs = [];\n        selectedProductCatalogs.forEach(function (productCatalog) {\n          var newProductCatalog = _this4.get('store').createRecord('productCatalog');\n          newProductCatalog.set('name', productCatalog.get('name'));\n          newProductCatalog.set('suggestedPrice', productCatalog.get('suggestedPrice'));\n          newProductCatalog.set('productType', productCatalog.get('productType'));\n          newProductCatalog.set('attributes', productCatalog.get('attributes'));\n          newProductCatalog.set('company', productCatalog.get('company'));\n          newProductCatalogs.addObject(newProductCatalog);\n        });\n        this.set('metaProductCatalog.generatedProductCatalogs', newProductCatalogs);\n        this.get('metaProductCatalog').save().then(function () {\n          _this4.get('notify').success(_this4.get('intl').t('productCatalog.modal.errors.successSave', { name: _this4.get('metaProductCatalog.name') }));\n          _this4.sendAction('refreshAction');\n        })[\"catch\"](function (error) {\n          var message = 'productCatalog.modal.errors.savingError';\n          if (error !== undefined) {\n            message = \"productCatalog.modal.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this4.get('notify').alert(_this4.get('intl').t(message, { name: _this4.get('metaProductCatalog.name') }), { closeAfter: 5000 });\n          _this4.get('errorMessages').addObject(errorMessage);\n          _this4.get('metaProductCatalog').rollbackAttributes();\n          _this4.refresh();\n        });\n      },\n      selectCompany: function selectCompany(company) {\n        this.get('metaProductCatalog').set('companyId', company.get('id'));\n        this.get('metaProductCatalog').set('companyName', company.get('name'));\n        this.set('selectedCompany', company);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-catalog/meta-product-catalog/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"lZqH9+R/\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"_showGeneratedOptions\\\"]]],null]],null,11],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showGeneratedOptions\\\"]]],null,2],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/meta-product-catalog/product-catalog-selection\\\"],null,[[\\\"data\\\",\\\"productCatalogs\\\",\\\"closeMetaProductCatalogModal\\\",\\\"acceptMetaProductCatalogModal\\\"],[[\\\"get\\\",[\\\"metaProductCatalog\\\",\\\"generatedProductCatalogs\\\"]],[\\\"get\\\",[\\\"metaProductCatalog\\\",\\\"productCatalogs\\\"]],\\\"closeMetaProductCatalogModal\\\",\\\"acceptMetaProductCatalogModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Generating Products\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMetaProductCatalogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.cancel.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"generateProductCatalogs\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.accept.save.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMetaProductCatalogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.cancel.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"generateProductCatalogs\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.accept.saving.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"preselectedItems\\\",\\\"sendDisplayDataChangedAction\\\",\\\"multipleSelect\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],[\\\"get\\\",[\\\"selectedModels\\\"]],true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"productType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"productType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-8 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.productType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedProductTypes\\\"]],[\\\"get\\\",[\\\"metaProductCatalog\\\",\\\"productType\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.productType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"metaProductCatalog\\\",\\\"productType\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6 \\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"selectedCompany\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.company.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCompany\\\"],null]]],9],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showCompanies\\\"]]],null,10],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showProductType\\\"]]],null,8],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"metaProductCatalogName\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"metaProductCatalogName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.name.placeholder\\\"],null],\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"metaProductCatalog\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"metaProductCatalogPrice\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.price.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"metaProductCatalogPrice\\\",\\\"0\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"metaProductCatalog\\\",\\\"suggestedPrice\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Select Attribute Sets\\\\n        \\\"],[\\\"open-element\\\",\\\"h6\\\",[]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearAllSelected\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.clearAllSelected.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times-circle fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          ]\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"displayAttributeSetList\\\"]]],null,6,5],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveDisabled\\\"]]],null,4,3],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/meta-product-catalog/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/meta-product-catalog/product-catalog-selection/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    selectedModels: A(),\n    columns: computed(function () {\n      return [{\n        template: \"meta-product-catalog/actions/row-select-checkbox\",\n        useFilter: false,\n        mayBeHidden: false,\n        templateForSortCell: \"meta-product-catalog/actions/row-select-all-checkbox\"\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product'),\n        template: \"meta-product-catalog/name-cell\"\n      }, {\n        propertyName: 'suggestedPrice',\n        title: this.get('intl').t('productCatalog.list.suggestedPrice'),\n        template: \"meta-product-catalog/suggested-price-cell\",\n        className: 'editRow'\n      }, {\n        propertyName: 'attributesNames',\n        title: this.get('intl').t('attributeSet.list.attributes')\n      }];\n    }),\n\n    productCatalogsColumns: computed(function () {\n      return [{\n        propertyName: 'name',\n        title: this.get('intl').t('productCatalog.list.product'),\n        template: \"meta-product-catalog/name-cell\"\n      }, {\n        propertyName: 'suggestedPrice',\n        title: this.get('intl').t('productCatalog.list.suggestedPrice'),\n        template: \"meta-product-catalog/suggested-price-cell\",\n        className: 'editRow'\n      }, {\n        propertyName: 'attributesNames',\n        title: this.get('intl').t('attributeSet.list.attributes')\n      }];\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedModels', null);\n    },\n    actions: {\n      closeMetaProductCatalogModal: function closeMetaProductCatalogModal() {\n        this.sendAction('closeMetaProductCatalogModal');\n      },\n      acceptMetaProductCatalogModal: function acceptMetaProductCatalogModal() {\n        var _this = this;\n\n        if (this.get('productCatalogs.length') > 0 || this.get('selectedModels.length') > 0) {\n          (function () {\n            var isDuplicatedName = false;\n            var productCatalogName = \"\";\n\n            // Create new list with all existing and selected product catalogs\n            var allTemplateProductCatalogs = A();\n            allTemplateProductCatalogs.addObjects(_this.get('productCatalogs'));\n            allTemplateProductCatalogs.addObjects(_this.get('selectedModels'));\n\n            // Verify that there are no duplicates\n            allTemplateProductCatalogs.forEach(function (productCatalog) {\n              if (allTemplateProductCatalogs.filterBy('name', productCatalog.get('name')).length > 1) {\n                productCatalogName = productCatalog.get('name');\n                isDuplicatedName = true;\n              }\n            });\n\n            if (isDuplicatedName) {\n              _this.get('notify').alert(_this.get('intl').t('metaProductCatalog.modal.errors.duplicatedName', { name: productCatalogName }), { closeAfter: 5000 });\n            } else {\n              _this.sendAction('acceptMetaProductCatalogModal', _this.get('selectedModels'));\n            }\n          })();\n        } else {\n          this.get('notify').alert(this.get('intl').t('metaProductCatalog.modal.errors.noGeneratedProductCatalogsSelected'), { closeAfter: 5000 });\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-catalog/meta-product-catalog/product-catalog-selection/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"nQrV+jmf\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px; margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"productCatalogs\\\",\\\"length\\\"]],0],null]],null,4,1],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeMetaProductCatalogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"metaProductCatalog.modal.buttons.cancel.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"acceptMetaProductCatalogModal\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    Save (\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectedModels\\\",\\\"length\\\"]],false],[\\\"text\\\",\\\") Selected Items\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"              Select the items you want to create\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Generated Products\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"class\\\",\\\"side\\\"],[\\\"tooltip-info\\\",\\\"right\\\"]],0],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"multipleSelect\\\",\\\"sendDisplayDataChangedAction\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],10,true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                        Edit existing items\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                        Select the items you want to create\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default panel-order-search\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"generatedProducts\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Generated Products\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"class\\\",\\\"side\\\"],[\\\"tooltip-info\\\",\\\"right\\\"]],3],[\\\"text\\\",\\\"                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"pageSize\\\",\\\"multipleSelect\\\",\\\"sendDisplayDataChangedAction\\\",\\\"rowTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"generatedProductClasses\\\"]],10,true,true,\\\"application/table-row\\\",\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\"]]],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default panel-order-search\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"existingProducts\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Existing Products\\\\n                    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"class\\\",\\\"side\\\"],[\\\"tooltip-info\\\",\\\"right\\\"]],2],[\\\"text\\\",\\\"                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"productCatalogs\\\"]],[\\\"get\\\",[\\\"productCatalogsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering\\\",true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/meta-product-catalog/product-catalog-selection/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-catalog/quick-add/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    _productClasses: computed(function () {\n      return this.get('store').findAll('productClass');\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/product-catalog/quick-add/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"HatGYBst\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 15px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"New Product\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/details\\\"],null,[[\\\"productCatalogs\\\",\\\"product\\\",\\\"showCompanies\\\",\\\"productClasses\\\"],[[\\\"get\\\",[\\\"products\\\"]],[\\\"get\\\",[\\\"product\\\"]],false,[\\\"get\\\",[\\\"_productClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 27px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"productAction\\\"]],[\\\"get\\\",[\\\"product\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.modal.buttons.create.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"error\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"alert-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"error\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-catalog/quick-add/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/product-mix-result/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({\n    actions: {\n      onFilterChanged: function onFilterChanged(value) {\n        this.sendAction('onFilterChanged', value);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-locations/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var isEmpty = _ember['default'].isEmpty;\n  exports['default'] = Component.extend({\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    actions: {\n      onFilterChanged: function onFilterChanged(value) {\n        this.sendAction('onFilterChanged', value);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-locations/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EdZyplZ5\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/product-mix-result/pmix-by-products\\\"],null,[[\\\"data\\\",\\\"dataName\\\",\\\"summarizeBy\\\",\\\"onFilterChanged\\\"],[[\\\"get\\\",[\\\"datum\\\",\\\"productMixes\\\"]],[\\\"get\\\",[\\\"datum\\\",\\\"location\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"onFilterChanged\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"datum\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"data\\\"]]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-locations/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-products/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/company-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsCompanyMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsCompanyMixin[\"default\"], {\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    data: null,\n    hideProductColumn: computed(function () {\n      return this.get('summarizeBy') === \"1\" || this.get('summarizeBy') === \"3\" || this.get('summarizeBy') === \"7\";\n    }),\n    didRender: function didRender() {\n      this._super.apply(this, arguments);\n\n      var val = this.get('summarizeBy');\n      var colNum = 2;\n      if (val === \"1\" || val === \"3\" || val === \"7\") {\n        colNum = 1;\n      }\n\n      jQuery('.table tr').each(function () {\n        var val = jQuery(this).children().eq(colNum).html().trim();\n        if (val === 'Total') {\n          jQuery(this).css('font-weight', 'bold');\n          var col1 = jQuery(this).children().eq(0).html().trim();\n          jQuery(this).children().eq(0).html(\"Total - \" + col1);\n          jQuery(this).children().eq(colNum).html(\"\");\n        }\n        if (val === 'Total - Total') {\n          jQuery(this).css('font-weight', 'bold');\n          jQuery(this).children().eq(0).html(\"Total - Total\");\n          jQuery(this).children().eq(colNum).html(\"\");\n        }\n      });\n    },\n    _productMixesColumns: computed(function () {\n      var _this = this;\n\n      var columns = [{\n        title: this.get('intl').t('report.result.productDescription'),\n        propertyName: 'productCatalogName',\n        isHidden: this.get('hideProductColumn'),\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'productCatalogName',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.productType'),\n        propertyName: 'productTypeName',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'productTypeName',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.itemState'),\n        propertyName: 'productStatus',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'productStatus',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }];\n      var tenderColumns = [{\n        title: this.get('intl').t('report.result.productMix.productsByTenderType.cashPayment'),\n        propertyName: 'cashPayment',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'cashPayment',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.productMix.productsByTenderType.creditPayment'),\n        propertyName: 'creditPayment',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'creditPayment',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.productMix.productsByTenderType.cashlessPayment'),\n        propertyName: 'cashlessPayment',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'cashlessPayment',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }];\n\n      var otherColumns = [{\n        title: this.get('intl').t('report.result.totalWithTax'),\n        propertyName: 'totalWithTax',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'totalWithTax',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.amountModified'),\n        propertyName: 'amount',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'amount',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.totalCount'),\n        propertyName: 'productQuantity',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'productQuantity',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.percentOfItem'),\n        propertyName: 'percentageOfProduct',\n        template: 'productMixReport/percentageCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'percentageOfProduct',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }];\n\n      var productPlusLocationPlusHour = [{\n        title: this.get('intl').t('report.result.date'),\n        propertyName: 'dateString',\n        sortedBy: 'dateSortString',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'dateString',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }].concat(columns, [{\n        title: this.get('intl').t('report.result.totalWithTax'),\n        propertyName: 'totalWithTax',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'totalWithTax',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.amountModified'),\n        propertyName: 'amount',\n        template: 'productMixReport/amountCell',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'amount',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }, {\n        title: this.get('intl').t('report.result.totalCount'),\n        propertyName: 'productQuantity',\n        filterFunction: function filterFunction(cell, filterString) {\n          _this.sendAction('onFilterChanged', {\n            propertyName: 'productQuantity',\n            filterString: filterString\n          });\n          return new RegExp(filterString, 'i').test(cell);\n        }\n      }]);\n\n      if (this.get('summarizeBy') === '6' || this.get('summarizeBy') === '7') {\n        return productPlusLocationPlusHour;\n      } else if (this.get('summarizeBy') === '4' || this.get('summarizeBy') === '5') {\n        return [].concat(columns, tenderColumns, otherColumns);\n      } else {\n        return [].concat(columns, otherColumns);\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-products/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"cgR5PAUW\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.productMix.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.productMix.productsByLocation.location\\\"],[[\\\"location\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"dataName\\\"]]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"pageSize\\\",\\\"multipleColumnsSorting\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_productMixesColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",true,[\\\"get\\\",[\\\"icons\\\"]],50,false,[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-mix-report/product-mix-result/pmix-by-products/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/product-mix-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"bTe4qTYy\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"comment\\\",\\\"Product Mix\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/product-mix-result/pmix-by-products\\\"],null,[[\\\"data\\\",\\\"summarizeBy\\\",\\\"onFilterChanged\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"productMixes\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"onFilterChanged\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"comment\\\",\\\"Product Mix Location\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/product-mix-result/pmix-by-locations\\\"],null,[[\\\"data\\\",\\\"summarizeBy\\\",\\\"onFilterChanged\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"productMixLocations\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"onFilterChanged\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-mix-report/product-mix-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('salesReportByProductFilter');\n    }),\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.get('selectedMenus').clear();\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Simple Sales rpt');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-mix-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"srLuhlW0\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],23],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],22],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],21],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBrAdmin\\\"]]],null,20,18],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,16],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,12],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],13],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],17]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],19]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-mix-report/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-type/details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  var run = _ember[\"default\"].run;\n  var sort = _ember[\"default\"].computed.sort;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    palette: [[\"#f8f8f8\"], [\"#e06666\", \"#f6b26b\", \"#ffd966\", \"#93c47d\", \"#76a5af\", \"#6fa8dc\", \"#8e7cc3\", \"#c27ba0\"]],\n    productType: undefined,\n    _sortCriteria: ['name'],\n    _sortedCompanies: sort('_companies', '_sortCriteria'),\n    _selectedPrinterType: null,\n    printerTypes: computed(function () {\n      return this.get('store').findAll('printerType');\n    }),\n    _companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    _showCompanies: computed(function () {\n      return this.get('productType.isNew') && this.get('isBRUser') && this.get('lockedCompany') === undefined;\n    }),\n    /**\n     * Ember's hook method\n     */\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._initializePrinterTypes();\n    },\n    _initializePrinterTypes: function _initializePrinterTypes() {\n      var _this = this;\n\n      Logger.debug('Loading Printer Types');\n      if (this.get('printerTypes').then !== undefined) {\n        this.get('printerTypes').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded Printer Types');\n            _this.set('printerTypes', content);\n            if (_this.get('productType.printerType.id') !== null && _this.get('productType.printerType.id') !== undefined) {\n              _this.set('_selectedPrinterType', _this.get('productType.printerType'));\n            } else {\n              // Set default Printer Type 'None' = 1\n              var defaultPrinterType = _this.get('printerTypes').filterBy('id', '1');\n              _this.set('productType.printerType', defaultPrinterType.get(0));\n              _this.set('_selectedPrinterType', defaultPrinterType.get(0));\n            }\n          });\n        });\n      }\n    },\n    actions: {\n      saveAction: function saveAction() {\n        this.sendAction('saveAction', this.get('productType'));\n      },\n      cancelAction: function cancelAction() {\n        this.sendAction('cancelAction', this.get('productType'));\n      },\n      selectType: function selectType(item) {\n        this.set('productType.printerType', item);\n        this.set('_selectedPrinterType', item);\n      },\n      selectCompany: function selectCompany(company) {\n        this.get('productType').set('companyId', company.get('id'));\n        this.get('productType').set('companyName', company.get('name'));\n        this.set('selectedCompany', company);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-type/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"KR452niM\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"productTypeName\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"class\\\",\\\"required\\\",\\\"value\\\"],[\\\"text\\\",\\\"productTypeName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.name.placeholder\\\"],null],\\\"form-control\\\",\\\"true\\\",[\\\"get\\\",[\\\"productType\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.printerType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"printerTypes\\\"]],[\\\"get\\\",[\\\"_selectedPrinterType\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.printerType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectType\\\"],null]]],2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttonColor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"controls\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"spectrum-color-picker\\\"],null,[[\\\"color\\\",\\\"preferredFormat\\\",\\\"showPalette\\\",\\\"palette\\\",\\\"showInput\\\",\\\"hideAfterPaletteSelect\\\",\\\"showInitial\\\",\\\"showSelectionPalette\\\"],[[\\\"get\\\",[\\\"productType\\\",\\\"buttonColor\\\"]],\\\"hex\\\",true,[\\\"get\\\",[\\\"palette\\\"]],true,true,true,true]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showCompanies\\\"]]],null,1],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-10 col-md-10 col-lg-10\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"locationType\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"selectedCompany\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.company.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.company.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectCompany\\\"],null]]],0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-type/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/product-type/list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    columns: computed(function () {\n      var hideCompanyColumn = !this.get('isBRUser');\n      return [{\n        title: '',\n        template: \"product-type/edit-cell\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('productType.list.name')\n      }, {\n        propertyName: 'productsCount',\n        filteredBy: 'productsCount',\n        title: this.get('intl').t('productType.list.productsCount'),\n        className: 'productsCountRow'\n      }, {\n        propertyName: 'companyName',\n        filteredBy: 'companyName',\n        title: this.get('intl').t('productType.list.company'),\n        isHidden: hideCompanyColumn,\n        className: 'companyNameRow'\n      }, {\n        title: '',\n        template: \"product-type/delete-cell\",\n        className: 'editRow'\n      }];\n    }),\n    showEditModal: false,\n    currentType: undefined,\n    tableProductTypes: _ember[\"default\"].computed('productTypes', function () {\n      return this.get('productTypes');\n    }),\n    actions: {\n      addProductType: function addProductType() {\n        var companyId = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            companyId = this.get('lockedCompany.id');\n          }\n        } else {\n          companyId = this.get('loggedAccount.company.id');\n        }\n\n        this.set('currentType', this.get('store').createRecord('productType', { companyId: companyId }));\n        this.set('showEditModal', true);\n      },\n      editProductType: function editProductType(item) {\n        this.set('currentType', item);\n        this.set('showEditModal', true);\n      },\n      closeModal: function closeModal(item) {\n        this.send('cleanMessages');\n        this.set('showEditModal', false);\n        item.rollbackAttributes();\n      },\n      accept: function accept(item) {\n        var _this = this;\n\n        if (item.get('validations.isValid')) {\n          this.set('showEditModal', false);\n          this.sendAction('save', item);\n        } else {\n          this.send('cleanMessages');\n          item.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      deleteProductType: function deleteProductType(item) {\n        this.sendAction('delete', item);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/product-type/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8urcGm04\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addProductType\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.list.buttons.new\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"edit\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"productTypes\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",\\\"editProductType\\\",\\\"deleteProductType\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showEditModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-type/details\\\"],null,[[\\\"productType\\\",\\\"saveAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"currentType\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/product-type/list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/promotions-audit-report/report-result/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    data: [],\n    _showData: computed('data', function () {\n      return this.get('data') !== null && !isEmpty(this.get('data'));\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.promotionsAuditReport.headers.menu'),\n        className: 'promotions-audit-report-cell-max-width',\n        propertyName: 'menu'\n      }, {\n        title: this.get('intl').t('report.result.promotionsAuditReport.headers.location'),\n        className: 'promotions-audit-report-cell-max-width',\n        propertyName: 'location'\n      }, {\n        title: this.get('intl').t('report.result.promotionsAuditReport.headers.promotion'),\n        className: 'promotions-audit-report-cell-medium-width',\n        propertyName: 'promotion'\n      }, {\n        title: this.get('intl').t('report.result.promotionsAuditReport.headers.type'),\n        className: 'promotions-audit-report-cell-max-width',\n        propertyName: 'type'\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/promotions-audit-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yapS8T/6\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,2,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.promotionsAuditReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showData\\\"]]],null,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/promotions-audit-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/promotions-audit-report/search-criteria/component\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._initializeLocationGroups();\n      this._initializeReportExportParameters();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept() {\n        this.set('showExportModal', false);\n        this.send('search', this.get('reportOptions'));\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/promotions-audit-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EDZnfxPS\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],3],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/promotions-audit-report/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/report-export-option/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var computed = _ember['default'].computed;\n  exports['default'] = _ember['default'].Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    reportOptions: undefined,\n    showEmailAdd: false,\n    emails: computed.alias('reportOptions.emails'),\n    reportOutput: computed.alias('reportOptions.reportOutput'),\n    isEmailDelivery: computed.alias('reportOptions.isEmailDelivery'),\n    isExport: computed.alias('reportOptions.isExport'),\n    actions: {\n      cancelAction: function cancelAction() {\n        this.sendAction('cancelAction');\n      },\n      okAction: function okAction() {\n        this.send('cleanMessages');\n        var isValid = true;\n        if (this.get('reportOutput') === undefined || this.get('reportOutput') === null) {\n          var errorMessage = this.get('notify').alert(this.get('intl').t('report.dialog.errors.reportOutput'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          isValid = false;\n        }\n        if (this.get('isEmailDelivery')) {\n          if (this.get('emails') === '') {\n            var errorMessage = this.get('notify').alert(this.get('intl').t('report.dialog.errors.emailAdd'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n            isValid = false;\n          } else {\n            if (this.get('emails').indexOf(',') > -1) {\n              var cleanEmails = [];\n              var validEmail = true;\n              var emails = this.get('emails').trim().split(/\\s*,\\s*/);\n              var regex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/;\n              for (var x = 0; x < emails.length; x++) {\n                if (emails[x] !== \"\") {\n                  if (regex.test(emails[x])) {\n                    cleanEmails.push(emails[x]);\n                  } else {\n                    validEmail = false;\n                  }\n                }\n              }\n              if (cleanEmails.length > 5) {\n                var errorMessage = this.get('notify').alert(this.get('intl').t('report.dialog.errors.invalidEmailAddNumber'), { closeAfter: 5000 });\n                this.get('errorMessages').addObject(errorMessage);\n                isValid = false;\n              } else {\n                if (!validEmail) {\n                  var errorMessage = this.get('notify').alert(this.get('intl').t('report.dialog.errors.invalidEmailAdd'), { closeAfter: 5000 });\n                  this.get('errorMessages').addObject(errorMessage);\n                  isValid = false;\n                }\n              }\n            }\n          }\n        }\n        if (isValid) {\n          this.set('isExport', true);\n          this.sendAction('okAction', this.get('reportOptions'));\n        }\n      },\n      toggleShowEmailAdd: function toggleShowEmailAdd(choice) {\n        if (choice) {\n          this.set('showEmailAdd', true);\n        } else {\n          this.set('showEmailAdd', false);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/report-export-option/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"IlhyQ6tJ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.reportFormat\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[\\\"CSV\\\",[\\\"get\\\",[\\\"reportOutput\\\"]]]],4],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[\\\"PDF\\\",[\\\"get\\\",[\\\"reportOutput\\\"]]]],3],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportDelivery.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\",\\\"changed\\\"],[false,[\\\"get\\\",[\\\"isEmailDelivery\\\"]],\\\"toggleShowEmailAdd\\\"]],2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\",\\\"changed\\\"],[true,[\\\"get\\\",[\\\"isEmailDelivery\\\"]],\\\"toggleShowEmailAdd\\\"]],1],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showEmailAdd\\\"]]],null,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"okAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.buttons.ok\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"multiple\\\",\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"email\\\",[\\\"get\\\",[\\\"multiple\\\"]],\\\"emails\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"emails\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"font-size:8pt;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.note\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportDelivery.options.email\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportDelivery.options.download\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportOutput.options.pdf\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportOutput.options.csv\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/report-export-option/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/report/sales-report-result/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    data: null,\n    _deductionsTableColumns: computed(function () {\n      return [{\n        className: 'deductions-category-cell',\n        propertyName: 'category',\n        disableSorting: true\n      }, {\n        className: 'deductions-total-cell',\n        propertyName: 'total',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }];\n    }),\n    _nonCashTableColumns: computed(function () {\n      return [{\n        className: 'non-cash-category-cell',\n        propertyName: 'type',\n        disableSorting: true\n      }, {\n        className: 'non-cash-quantity-cell',\n        propertyName: 'quantity',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        title: 'Amount',\n        template: 'salesReport/amountCell',\n        propertyName: 'total',\n        disableSorting: true\n      }];\n    }),\n    _salesByCategoryTableColumns: computed(function () {\n      return [{\n        className: 'sales-by-category-cell',\n        propertyName: 'category',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'netSales',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'comps',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'voids',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'spills',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'declined',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'taxes',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-category-cell',\n        propertyName: 'grossSales',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/report/sales-report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"a9IXWCK6\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,2,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"deduction\\\",\\\"deductionLabel\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"showTableFooter\\\",\\\"useFilteringByColumns\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"deduction\\\",\\\"items\\\"]],[\\\"get\\\",[\\\"_deductionsTableColumns\\\"]],false,false,false,false,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-deductions\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-deductions-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.total\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"deduction\\\",\\\"total\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"deduction\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.grossSales\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"grossSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.grossSalesWithoutVoids\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"grossSalesWithoutVoids\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.netSales\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"netSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"deductions\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.taxes.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.total\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"taxes\\\"]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.coupon.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.total\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"couponDiscount\\\"]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.nonCash.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"showTableFooter\\\",\\\"useFilteringByColumns\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"nonCashPayment\\\",\\\"items\\\"]],[\\\"get\\\",[\\\"_nonCashTableColumns\\\"]],false,false,false,false,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-non-cash\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-non-cash-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.total\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"quantity-non-cash-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"data\\\",\\\"nonCashPayment\\\",\\\"quantity\\\"]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"nonCashPayment\\\",\\\"total\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.salesByCategory.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"showTableFooter\\\",\\\"useFilteringByColumns\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"items\\\"]],[\\\"get\\\",[\\\"_salesByCategoryTableColumns\\\"]],false,false,false,false,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.total\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalNetSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalComps\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalVoids\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalSpills\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalDeclined\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalTaxes\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"total-sales-by-category-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"salesByCategory\\\",\\\"totalGrossSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.salesByCategory.note\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.cash\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"cashDeposit\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/report/sales-report-result/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/report/search-criteria/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var run = _ember['default'].run;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    //*******************search options\n    _locationGroups: [],\n    _menus: [],\n    selectedLocationGroup: computed.alias('reportOptions.selectedLocationGroup'),\n    selectedMenu: computed.alias('reportOptions.selectedMenu'),\n    fromDate: computed.alias('reportOptions.fromDate'),\n    toDate: computed.alias('reportOptions.toDate'),\n    isTimestampOccurrence: computed.alias('reportOptions.isTimestampOccurrence'),\n    isEmailDelivery: computed.alias('reportOptions.isEmailDelivery'),\n    isCsvOutput: computed.alias('reportOptions.isCsvOutput'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.initializeLocationGroups();\n    },\n    initializeLocationGroups: function initializeLocationGroups() {\n      var _this = this;\n\n      this.get('store').findAll('locationGroup').then(function (content) {\n        run(function () {\n          _this.set('_locationGroups', content);\n        });\n      });\n    },\n    actions: {\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n        if (this.get('fromDate') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.emptyFromDate'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('toDate') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.emptyToDate'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n        if (isValid) {\n          this.set('page', 0);\n          this.set('_canLoadMore', true);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      apply: function apply(startDate, endDate) {\n        this.set('fromDate', startDate);\n        this.set('toDate', endDate);\n      },\n      locationGroupSelection: function locationGroupSelection(locationGroup) {\n        var _this2 = this;\n\n        this.get('store').query('menu', { locationGroup: locationGroup.get('id') }).then(function (menus) {\n          _this2.set('selectedLocationGroup', locationGroup);\n          _this2.set('_menus', menus);\n        });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"b+w3E1Fy\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.rangeDates.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-9 col-lg-9\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"date-range-picker\\\"],null,[[\\\"start\\\",\\\"end\\\",\\\"timePicker\\\",\\\"serverFormat\\\",\\\"format\\\",\\\"classNames\\\",\\\"applyAction\\\",\\\"hideAction\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],[\\\"get\\\",[\\\"toDate\\\"]],true,\\\"MM/DD/YYYY hh:mm:ss\\\",\\\"MM/DD/YYYY h:mm A\\\",\\\"report_datepicker\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"apply\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"apply\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_locationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],7],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_menus\\\"]],[\\\"get\\\",[\\\"selectedMenu\\\"]],true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenu\\\"]]],null]],null]]],6],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary dropdown-toggle\\\"],[\\\"static-attr\\\",\\\"data-toggle\\\",\\\"collapse\\\"],[\\\"static-attr\\\",\\\"data-target\\\",\\\"#options\\\"],[\\\"static-attr\\\",\\\"aria-expanded\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.more\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"caret\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"search\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default collapse\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"options\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 extra-options\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"timestamp type (processed, occurrence)\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.transactionTimestamp.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"isTimestampOccurrence\\\"]]]],5],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"isTimestampOccurrence\\\"]]]],4],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"output (html, csv)\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportOutput.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-8 col-md-8 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"isCsvOutput\\\"]]]],3],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"isCsvOutput\\\"]]]],2],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\"delivery (browser, email)\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportDelivery.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"isEmailDelivery\\\"]]]],1],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"isEmailDelivery\\\"]]]],0],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"comment\\\",\\\"space for more search options\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportDelivery.options.email\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportDelivery.options.browser\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportOutput.options.csv\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.reportOutput.options.html\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.transactionTimestamp.options.occurrence\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.transactionTimestamp.options.processed\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"type\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/report/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/sales-report/sales-report-result/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    data: null,\n    digitalTipsDeductionsEnabled: computed(function () {\n      var dat = this.get('data').data;\n      return dat.digitalTipsDeductionsEnabled;\n    }),\n    _cashDepositData: computed(function () {\n      var dat = this.get('data').data;\n      var dep = dat.cashDepositReport;\n      return [dep];\n    }),\n    customClasses: {\n      tfooterWrapper: \"hidden\"\n    },\n    _voidsColumns: computed(function () {\n      return [{\n        title: 'Product Type',\n        className: 'product-type-cell',\n        propertyName: 'productTypeName',\n        disableSorting: true\n      }, {\n        title: 'Total',\n        className: 'total-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'total',\n        disableSorting: true\n      }];\n    }),\n    _paymentsColumns: computed(function () {\n      return [{\n        title: 'Type',\n        className: 'type-cell',\n        propertyName: 'creditCardTypeName',\n        disableSorting: true\n      }, {\n        title: 'Qty',\n        className: 'quantity-cell',\n        propertyName: 'quantity',\n        disableSorting: true\n      }, {\n        title: 'Amount (minus tips)',\n        className: 'amount-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'salesWithoutTips',\n        disableSorting: true\n      }, {\n        title: 'Tips',\n        className: 'amount-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'tips',\n        disableSorting: true\n      }, {\n        title: 'Surcharge',\n        className: 'amount-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'surcharge',\n        disableSorting: true\n      }];\n    }),\n    _closedLoopColumns: computed(function () {\n      return [{\n        title: 'Type',\n        className: 'type-cell',\n        propertyName: 'paymentTypeName',\n        disableSorting: true\n      }, {\n        title: 'Qty',\n        className: 'quantity-cell',\n        propertyName: 'count',\n        disableSorting: true\n      }, {\n        title: 'Amount Spent',\n        className: 'amount-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'amountSpent',\n        disableSorting: true\n      }];\n    }),\n    _nonCashTableColumns: computed(function () {\n      return [{\n        className: 'non-cash-category-cell',\n        propertyName: 'paymentType',\n        disableSorting: true\n      }, {\n        title: 'Non Cash Total',\n        className: 'non-cash-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'bankTotal',\n        disableSorting: true\n      }, {\n        className: 'non-cash-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'discounts',\n        disableSorting: true\n      }, {\n        className: 'non-cash-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'comps',\n        disableSorting: true\n      }, {\n        className: 'non-cash-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        className: 'non-cash-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'tips',\n        disableSorting: true\n      }, {\n        className: 'non-cash-total-cell',\n        title: 'Non Cash Gross Sales',\n        template: 'salesReport/amountCell',\n        propertyName: 'grossSales',\n        disableSorting: true\n      }];\n    }),\n    _salesByProductTableColumns: computed(function () {\n      return [{\n        className: 'sales-by-product-cell',\n        propertyName: 'productTypeName',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'netSales',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'taxes',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        title: 'Comps Due to Decline',\n        className: 'sales-by-product-cell',\n        propertyName: 'declines',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'discounts',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'coupons',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'comps',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'spills',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'grossSales',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }, {\n        className: 'sales-by-product-cell',\n        propertyName: 'voids',\n        template: 'salesReport/amountCell',\n        disableSorting: true\n      }];\n    }),\n    _cashDepositTableColumns: computed(function () {\n      return [{\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'cashDeposit',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'creditCardPayments',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'rfidPayments',\n        disableSorting: true\n      }, {\n        title: 'Coupon Discounts',\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'couponDiscount',\n        disableSorting: true\n      }, {\n        title: 'Employee Discounts',\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'employeeDiscount',\n        disableSorting: true\n      }, {\n        title: 'Multi-Product Discount',\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'multiProductDiscount',\n        disableSorting: true\n      }, {\n        title: 'Gift with Purchase Discount',\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'giftWithPurchaseDiscount',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'voids',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'comps',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'spills',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'refunds',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'digitalTips',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'grossSales',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'customFeesAmount',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'coinRoundedDelta',\n        disableSorting: true\n      }, {\n        className: 'cash-deposit-quantity-cell',\n        template: 'salesReport/amountCell',\n        propertyName: 'cashDiscountedAmount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/sales-report/sales-report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kgtNUuAa\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,3,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.cashDepositWithoutDigitalTips\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.cashDeposit\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.salesReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.grossSales\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"grossSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.grossSalesWithoutVoids\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"grossSalesWithoutVoids\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.netSales\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"netSales\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.totalTaxes\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"taxes\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.voids.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"voids\\\"]],[\\\"get\\\",[\\\"_voidsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.comps.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"comps\\\"]],[\\\"get\\\",[\\\"_voidsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.spills.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"spills\\\"]],[\\\"get\\\",[\\\"_voidsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.refunds.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"refunds\\\"]],[\\\"get\\\",[\\\"_voidsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.creditCardPayments.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"creditCardPayments\\\"]],[\\\"get\\\",[\\\"_paymentsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.openLoop.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"openLoopCashlessPayments\\\"]],[\\\"get\\\",[\\\"_paymentsColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h2\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sections.closedLoop.legend\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"closedLoopCashlessPayments\\\"]],[\\\"get\\\",[\\\"_closedLoopColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"digitalTipsDeductionsEnabled\\\"]]],null,1,0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"_cashDepositData\\\"]],[\\\"get\\\",[\\\"_cashDepositTableColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"comment\\\",\\\"product types\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result/product-types\\\"],null,[[\\\"data\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"productTypes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/sales-report/sales-report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/sales-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/sales-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"WBLaKUJq\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom:12px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],18],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],17],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],16],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],15],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,14],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,10],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],7],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,9]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],12],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],11],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,13]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/sales-report/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/saved-network/saved-network-details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var isBlank = _ember[\"default\"].isBlank;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    savedNetwork: undefined,\n    actions: {\n      saveAction: function saveAction() {\n        if (!isEmpty(this.get('savedNetwork.ssid')) || !isEmpty(this.get('savedNetwork.password')) || !isBlank(this.get('savedNetwork.ssid')) || !isBlank(this.get('savedNetwork.password'))) {\n          this.sendAction('saveAction', this.get('savedNetwork'));\n        } else {\n          this.get('notify').alert(this.get('intl').t('savedNetwork.list.errors.blankValues'), { closeAfter: 3000 });\n        }\n      },\n      cancelAction: function cancelAction() {\n        this.sendAction('cancelAction', this.get('savedNetwork'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/saved-network/saved-network-details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"xZ43ZMPJ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2 d-flex justify-content-end text-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.ssid.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"value\\\",\\\"key-up\\\",\\\"enter\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.ssid.placeholder\\\"],null],\\\"true\\\",[\\\"get\\\",[\\\"savedNetwork\\\",\\\"ssid\\\"]],\\\"inputSsidUp\\\",\\\"saveAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2 d-flex justify-content-end text-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.password.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"placeholder\\\",\\\"required\\\",\\\"value\\\",\\\"key-up\\\",\\\"enter\\\"],[\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.password.placeholder\\\"],null],\\\"true\\\",[\\\"get\\\",[\\\"savedNetwork\\\",\\\"password\\\"]],\\\"inputPasswordUp\\\",\\\"saveAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/saved-network/saved-network-details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/saved-network/saved-network-list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var isBlank = _ember[\"default\"].isBlank;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    refreshList: true,\n    currentSavedNetwork: undefined,\n    ssid: '',\n    password: '',\n    columns: computed(function () {\n      return [{\n        title: '',\n        template: \"saved-network/edit-cell\",\n        className: 'editRow'\n      }, {\n        propertyName: 'ssid',\n        title: this.get('intl').t('savedNetwork.list.ssid')\n      }, {\n        propertyName: 'password',\n        title: this.get('intl').t('savedNetwork.list.password')\n      }, {\n        title: '',\n        template: \"saved-network/delete-cell\",\n        className: 'editRow'\n      }];\n    }),\n    actions: {\n      deleteSavedNetwork: function deleteSavedNetwork(item) {\n        item.set('deleted', true);\n        this.sendAction('save', item);\n      },\n      openEditModal: function openEditModal(item) {\n        this.set('currentSavedNetwork', item);\n        this.set('showEditModal', true);\n      },\n      saveAction: function saveAction() {\n        if (!isEmpty(this.get('ssid')) || !isEmpty(this.get('password')) || !isBlank(this.get('ssid')) || !isBlank(this.get('password'))) {\n          var savedNetwork = this.get('store').createRecord('savedNetwork', {\n            ssid: this.get('ssid'),\n            password: this.get('password')\n          });\n          this.set('ssid', '');\n          this.set('password', '');\n          this.sendAction('save', savedNetwork);\n        } else {\n          this.get('notify').alert(this.get('intl').t('savedNetwork.list.errors.blankValues'), { closeAfter: 3000 });\n        }\n      },\n      editAction: function editAction(savedNetwork) {\n        this.sendAction('save', savedNetwork);\n      },\n      inputSsidUp: function inputSsidUp(value) {\n        this.set('ssid', value);\n      },\n      inputPasswordUp: function inputPasswordUp(value) {\n        this.set('password', value);\n      },\n      closeModal: function closeModal(item) {\n        this.send('cleanMessages');\n        this.set('showEditModal', false);\n        item.rollbackAttributes();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/saved-network/saved-network-list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"eGuCUu0Z\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-7 col-md-7 col-lg-7 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2 d-flex justify-content-end text-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.ssid.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"value\\\",\\\"key-up\\\",\\\"enter\\\"],[\\\"text\\\",\\\"ssid\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.ssid.placeholder\\\"],null],\\\"true\\\",[\\\"get\\\",[\\\"ssid\\\"]],\\\"inputSsidUp\\\",\\\"saveAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2 d-flex justify-content-end text-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.password.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"value\\\",\\\"key-up\\\",\\\"enter\\\"],[\\\"text\\\",\\\"traitName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.password.placeholder\\\"],null],\\\"true\\\",[\\\"get\\\",[\\\"password\\\"]],\\\"inputPasswordUp\\\",\\\"saveAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0; padding-left: 5px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshList\\\"]]],null,2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showEditModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"saved-network/saved-network-details\\\"],null,[[\\\"savedNetwork\\\",\\\"saveAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"currentSavedNetwork\\\"]],\\\"editAction\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"savedNetwork.details.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"delete\\\",\\\"edit\\\"],[[\\\"get\\\",[\\\"savedNetworks\\\"]],[\\\"get\\\",[\\\"columns\\\"]],false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-header-row-filtering\\\",\\\"application/table-pagination\\\",\\\"deleteSavedNetwork\\\",\\\"openEditModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/saved-network/saved-network-list/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/search/amount-cell/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend({});\n});","define(\"fcs-dashboard/pods/components/search/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"w8T95XHS\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"value\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/search/amount-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/search/detail-cell/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var Logger = _ember[\"default\"].Logger;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    _showModal: false,\n    _isLoading: false,\n    _waitingResponse: false,\n    _order: null,\n    actions: {\n      closeModal: function closeModal() {\n        this.send('cleanMessages');\n        this.set('_showModal', false);\n        this.set('_isLoading', false);\n        this.set('_paymentEmail', '');\n      },\n      orderAction: function orderAction(action, order, payment, email) {\n        var _this = this;\n\n        this.send('cleanMessages');\n        // set action value in order model\n        order.set('action', action);\n        //if orderAction is EMAIL, add and validate email\n        var isValidEmail = true;\n        if (isEqual(action, 'EMAIL')) {\n          order.set('emailToSend', email);\n          if (!order.get('validations.isValid')) {\n            isValidEmail = false;\n            order.get('validations.errors').forEach(function (error) {\n              var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            });\n          }\n        }\n\n        if (isValidEmail) {\n          // send PUT request to server, so, it can execute the action\n          order.save().then(function () {\n            var message = undefined;\n            Logger.debug(action + \" result for order \" + order.get('id') + \" is \" + order.get('actionResult.paymentResult') + \" - \" + order.get('actionResult.resultMessage'));\n\n            var notification = undefined;\n            if (isEqual(order.get('actionResult.paymentResultId'), 0)) {\n              //approved\n              message = _this.get('intl').t('search.errors.successActionSent', { action: action });\n              notification = _this.get('notify').success(message, { closeAfter: 5000 });\n            } else {\n              message = _this.get('intl').t('search.errors.errorResultSendingAction', { action: action, result: order.get('actionResult.paymentResult'), message: order.get('actionResult.resultMessage') });\n              notification = _this.get('notify').alert(message, { closeAfter: 5000 });\n            }\n\n            _this.get('errorMessages').addObject(notification);\n            _this.get('store').findRecord('orderPayment', payment.get('id'), { reload: true });\n            _this.get('store').findRecord('order', order.get('id'), { reload: true });\n            _this.set('_waitingResponse', false);\n          })[\"catch\"](function (error) {\n            var message = 'search.errors.errorSendingAction';\n            if (error !== undefined) {\n              message = \"search.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this.get('notify').alert(_this.get('intl').t(message));\n            _this.get('errorMessages').addObject(errorMessage);\n            _this.set('_waitingResponse', false);\n          });\n        }\n      },\n      openModal: function openModal(value) {\n        var _this2 = this;\n\n        this.set('_showModal', true);\n        this.set('_isLoading', true);\n        this.set('_paymentEmail', '');\n        this.get('store').findRecord('order', value, { reload: true }).then(function (record) {\n          record.get('items').then(function () {\n            record.get('payments').then(function () {\n              _this2.set('_isLoading', false);\n              _this2.set('_order', record);\n            });\n          });\n        });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/search/detail-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"TznWs5Js\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"openModal\\\",[\\\"get\\\",[\\\"value\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.details\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"components/search/order-details\\\"],null,[[\\\"order\\\",\\\"showModal\\\",\\\"isLoading\\\",\\\"waitingResponse\\\",\\\"_paymentEmail\\\",\\\"closeModal\\\",\\\"orderAction\\\"],[[\\\"get\\\",[\\\"_order\\\"]],[\\\"get\\\",[\\\"_showModal\\\"]],[\\\"get\\\",[\\\"_isLoading\\\"]],[\\\"get\\\",[\\\"_waitingResponse\\\"]],[\\\"get\\\",[\\\"_paymentEmail\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"orderAction\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/search/detail-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/search/order-details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    showModal: false,\n    isLoading: false,\n    waitingResponse: false,\n    /**\n     * The guest texts this order produced, ready to render.\n     *\n     * The server sends the enum names it stores, RECEIVED and OPTED_OUT and so on, because the column\n     * is the storage format and translating it server-side would put English in the API. They become\n     * translation keys here rather than in the template, so a value the server adds later renders a\n     * missing key in one place instead of silently falling through a chain of conditionals.\n     */\n    _guestMessages: computed('order.guestMessages', function () {\n      var messages = this.get('order.guestMessages') || [];\n      return messages.map(function (message) {\n        return {\n          kindKey: \"search.details.modal.guestMessages.kind.\" + (message.kind || 'unknown').toLowerCase(),\n          outcomeKey: \"search.details.modal.guestMessages.outcome.\" + (message.outcome || 'unknown').toLowerCase(),\n          destinationPhone: message.destinationPhone,\n          occurredAt: message.occurredAt,\n          detail: message.detail\n        };\n      });\n    }),\n    _isPaymentEmailsEmpty: computed('order.emails', function () {\n      return this.get('order.emails.lenght') === 1 || isEmpty(this.get('order.emails.lenght'));\n    }),\n    _paymentEmail: computed(function () {\n      return this.get('order.emails').get(0);\n    }),\n    _disableSendEmailButton: computed('_paymentEmail', function () {\n      return isEmpty(this.get('_paymentEmail'));\n    }),\n    _disableUnlockTabButton: computed('order.tabName', function () {\n      return this.get('order.tabName') === null || this.get('order.tabName') === undefined || isEmpty(this.get('order.tabName'));\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/search/order-details/payment-detail/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  var isEqual = _ember[\"default\"].isEqual;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    message: '',\n    _showVoidAction: computed('payment.status', function () {\n      return isEqual(this.get('payment.status'), 'APPROVED');\n    }),\n    _showChargeAction: computed('payment.status', function () {\n      return this.get('payment.isCashless') || isEqual(this.get('payment.status'), 'VOIDED');\n    }),\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n      Logger.debug('didReceiveAttrs');\n    },\n    actions: {\n      orderAction: function orderAction(actionType) {\n        if (isEqual(\"CHARGE\", actionType)) {\n          this.set('message', this.get('intl').t('search.details.modal.chargingOrder.label'));\n        } else if (isEqual(\"VOID\", actionType)) {\n          this.set('message', this.get('intl').t('search.details.modal.voidingOrder.label'));\n        }\n        this.set('_waitingResponse', true);\n        this.sendAction('orderAction', actionType, this.get('order'), this.get('payment'));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/search/order-details/payment-detail/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"1F5czjKD\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row order-details\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"order-table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.paymentDate\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"formattedDate\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.paymentType\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"tenderType\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"payment\\\",\\\"isCashless\\\"]],[\\\"get\\\",[\\\"payment\\\",\\\"isCreditCard\\\"]]],null]],null,6],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.amount\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"formattedAmount\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"payment\\\",\\\"isCashless\\\"]]],null,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"payment\\\",\\\"isCreditCard\\\"]]],null,4],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.paymentStatus\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"status\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_waitingResponse\\\"]]],null,3,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"orderAction\\\",\\\"VOID\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.void\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"orderAction\\\",\\\"CHARGE\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.charge\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showChargeAction\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_showVoidAction\\\"]]],null,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-2x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"message\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.creditCard\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-credit-card-alt\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"creditCardType\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"lastFour\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"lastName\\\"]],false],[\\\"text\\\",\\\"\\\\n            (\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"entryMethod\\\"]],false],[\\\"text\\\",\\\")\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.cashlessTag\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"uid\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.authCode\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"payment\\\",\\\"authCode\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/search/order-details/payment-detail/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/search/order-details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"2fvMRBUq\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModal\\\"]]],null,21]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"orderAction\\\"]],\\\"UNLOCK_TAB\\\",[\\\"get\\\",[\\\"order\\\"]],null,[\\\"get\\\",[\\\"_paymentEmail\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.unlockTab\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-8\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-1 email-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"vertical-align: middle\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.orderEmail\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-10 col-md-10 col-lg-10\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"value\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"_paymentEmail\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"components/search/order-details/payment-detail\\\"],null,[[\\\"payment\\\",\\\"order\\\",\\\"_waitingResponse\\\",\\\"orderAction\\\"],[[\\\"get\\\",[\\\"payment\\\"]],[\\\"get\\\",[\\\"order\\\"]],[\\\"get\\\",[\\\"waitingResponse\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"orderAction\\\"]]],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"payment\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-indent: 15px\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"orderItemModifier\\\",\\\"description\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"orderItemModifier\\\",\\\"formattedPrice\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"orderItemModifier\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"comment\\\",\\\"<td style=\\\\\\\"text-indent: 10px; font-weight: bold; font-size: small\\\\\\\">Modifiers</td>\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"orderItemModifiers\\\"]]],null,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                          \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-indent: 30px\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"orderItemModifier\\\",\\\"description\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                            \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"orderItemModifier\\\",\\\"formattedPrice\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"orderItemModifier\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                        \\\"],[\\\"comment\\\",\\\"<td style=\\\\\\\"text-indent: 20px; font-weight: bold; font-size: small\\\\\\\">Modifiers</td>\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"subOrderItem\\\",\\\"orderItemModifiers\\\"]]],null,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                      \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-indent: 15px\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"subOrderItem\\\",\\\"productName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"---\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                        \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"subOrderItem\\\",\\\"formattedTotalPrice\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"subOrderItem\\\",\\\"orderItemModifiers\\\",\\\"length\\\"]],0],null]],null,6]],\\\"locals\\\":[\\\"subOrderItem\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"comment\\\",\\\"<td style=\\\\\\\"text-indent: 10px; font-weight: bold; font-size: small\\\\\\\">Combo Items</td>\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"subOrderItems\\\"]]],null,7]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"productName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"status\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"quantity\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"formattedPrice\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"formattedTotalPrice\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"subOrderItems\\\",\\\"length\\\"]],0],null]],null,8],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"orderItemModifiers\\\",\\\"length\\\"]],0],null]],null,4]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"message\\\",\\\"kindKey\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"message\\\",\\\"outcomeKey\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"                      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"message\\\",\\\"destinationPhone\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-date\\\"],[[\\\"get\\\",[\\\"message\\\",\\\"occurredAt\\\"]]],[[\\\"hour\\\",\\\"minute\\\",\\\"hour12\\\"],[\\\"numeric\\\",\\\"numeric\\\",false]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"message\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.guestMessages.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row order-details\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"order-table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"_guestMessages\\\"]]],null,10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"orderFee\\\",\\\"customFeeName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"orderFee\\\",\\\"appliedAmount\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"orderFee\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"orderFees\\\"]]],null,12]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.multiProductDiscount\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"multiProductDiscount\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.surcharge\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"surcharge\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.destination\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"destination\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.orderCode\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"orderCode\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.orderGeneral\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row order-details\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"order-table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.orderStatus\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"orderStatus\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.tabStatus\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"tabStatus\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.occurenceDate\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-date\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"formattedDate\\\"]]],[[\\\"day\\\",\\\"month\\\",\\\"year\\\",\\\"hour\\\",\\\"minute\\\",\\\"hour12\\\",\\\"timeZoneName\\\"],[\\\"numeric\\\",\\\"long\\\",\\\"numeric\\\",\\\"numeric\\\",\\\"numeric\\\",false,\\\"short\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.clerk\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"user\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.locationGroup\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"locationGroup\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.location\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"location\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"orderCode\\\"]]],null,17],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"destination\\\"]]],null,16],[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.menu\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"menu\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.orderNote\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"orderNote\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.tabName\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"order\\\",\\\"tabName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.subtotal\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"subtotal\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"surcharge\\\"]],0],null]],null,15],[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.tips\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"tip\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"multiProductDiscount\\\"]],0],null]],null,14],[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.serviceFee\\\"],[[\\\"rate\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"serviceFeeRate\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"serviceFee\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"orderFees\\\",\\\"length\\\"]],0],null]],null,13],[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.totalTaxes\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"taxesTotal\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.roundUpDonation\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"roundUpDonationTotal\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.grandTotal\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"grandTotal\\\"]]],[[\\\"format\\\"],[\\\"USD\\\"]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_guestMessages\\\",\\\"length\\\"]]],null,11],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.itemsTitle\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row order-details\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"order-table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.product\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.status\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.quantity\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.price\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.totalPrice\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"items\\\"]]],null,9],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.paymentTitle\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"payments\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"_isPaymentEmailsEmpty\\\"]]],null,1],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger modals-button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"closeModal\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.close\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success modals-button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"_disableSendEmailButton\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"orderAction\\\"]],\\\"EMAIL\\\",[\\\"get\\\",[\\\"order\\\"]],null,[\\\"get\\\",[\\\"_paymentEmail\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.sendEmail\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]],[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"_disableUnlockTabButton\\\"]]],null]],null]],null,0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"order-details-spinner\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,19,18]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"containerClass\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.modal.title\\\"],[[\\\"tabletGeneratedId\\\"],[[\\\"get\\\",[\\\"order\\\",\\\"tabletGeneratedId\\\"]]]]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"closeModal\\\"]]],null],\\\"modal-dialog modal-lg modal-position\\\"]],20]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/search/order-details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/search/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var Logger = _ember[\"default\"].Logger;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    tagName: '',\n    //*******************search options aliases\n    searchText: computed.alias('searchOptions.searchText'),\n    orderId: computed.alias('searchOptions.orderId'),\n    orderNote: computed.alias('searchOptions.orderNote'),\n    cashUid: computed.alias('searchOptions.cashUid'),\n    accessLevel: computed.alias('searchOptions.accessLevel'),\n    reference: computed.alias('searchOptions.reference'),\n    authCode: computed.alias('searchOptions.authCode'),\n    product: computed.alias('searchOptions.product'),\n    serviceFee: computed.alias('searchOptions.serviceFee'),\n    tips: computed.alias('searchOptions.tips'),\n    fromDate: computed.alias('searchOptions.fromDate'),\n    toDate: computed.alias('searchOptions.toDate'),\n    lastName: computed.alias('searchOptions.lastName'),\n    lastFour: computed.alias('searchOptions.lastFour'),\n    ccExpiration: computed.alias('searchOptions.ccExpiration'),\n    tabName: computed.alias('searchOptions.tabName'),\n    selectedTenders: computed.alias('searchOptions.selectedTenders'),\n    selectedCCTypes: computed.alias('searchOptions.selectedCCTypes'),\n    users: computed.alias('searchOptions.users'),\n    userProfiles: computed.alias('searchOptions.userProfiles'),\n    locationGroups: computed.alias('searchOptions.locationGroups'),\n    locations: computed.alias('searchOptions.locations'),\n    vendors: computed.alias('searchOptions.vendors'),\n    menus: computed.alias('searchOptions.menus'),\n    productTypes: computed.alias('searchOptions.productTypes'),\n    priceStatuses: computed.alias('searchOptions.priceStatuses'),\n    tabStatuses: computed.alias('searchOptions.tabStatuses'),\n    paymentStatuses: computed.alias('searchOptions.paymentStatuses'),\n    orderStatuses: computed.alias('searchOptions.orderStatuses'),\n    paymentModes: computed.alias('searchOptions.paymentModes'),\n    gateways: computed.alias('searchOptions.gateways'),\n    selectedOrderStatus: computed.alias('searchOptions.selectedOrderStatus'),\n    selectedGratuities: [],\n    // BRP-4063: the in-flight user store.query promise (set by _loadUsers).\n    allUsers: [],\n    // BRP-4063: plain, resolved + guarded copy of the user list that the\n    // _filteredUsers computed derives from. Kept as a settled array (never a\n    // promise) so the dropdown never renders stale rows under a loading message.\n    _resolvedUsers: [],\n    // BRP-4063: monotonic request id; only the latest user query is allowed to\n    // write _resolvedUsers, so an out-of-order resolution cannot clobber it.\n    _userRequestSeq: 0,\n    // BRP-4063: true while a user query is in flight. Drives the User dropdown's\n    // \"waiting data from server...\" message (see _usersNoMatchesMessage); needed\n    // because we feed power-select a resolved array, not a promise, so its\n    // built-in loadingMessage (which only fires for a pending promise) never shows.\n    usersLoading: false,\n    // BRP-4063: backing list for the User Profile dropdown. Seeded with the full\n    // (unscoped) list and re-scoped to the selected vendor's company on change.\n    filteredUserProfiles: [],\n    selectedEntityOrderStatus: null,\n    showExportModal: false,\n\n    // Get all options for dropdowns\n    tenderTypes: computed(function () {\n      return this.get('store').findAll('tenderType');\n    }),\n    _availableTenders: [],\n    availableCreditCardTypes: computed(function () {\n      return this.get('store').findAll('creditCardType');\n    }),\n    _ccTypes: [],\n    availableOrderStatuses: computed(function () {\n      return this.get('store').findAll('orderStatus');\n    }),\n    availableUserProfiles: computed(function () {\n      return this.get('store').findAll('userProfile');\n    }),\n    availableGateways: computed(function () {\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          Logger.debug('BR-user (locked to a company): Getting all gateways from locked company.');\n          var company = this.get('lockedCompany.id');\n          return this.get('store').query('gateway', { companyId: company, pageSize: -1 });\n        } else {\n          Logger.debug('BR-user: Getting all gateways.');\n          return this.get('store').query('gateway', { pageSize: -1 });\n        }\n      } else {\n        Logger.debug('Company user: Getting gateways from company.');\n        var company = this.get('loggedAccount.company.id');\n        return this.get('store').query('gateway', { companyId: company, pageSize: -1 });\n      }\n    }),\n    availableProductsTypes: computed(function () {\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          Logger.debug('BR-user (locked to a company): Getting all productType from locked company.');\n          var company = this.get('lockedCompany.id');\n          return this.get('store').query('productType', { companyId: company, pageSize: -1 });\n        } else {\n          Logger.debug('BR-user: Getting all productType.');\n          return this.get('store').query('productType', { pageSize: -1 });\n        }\n      } else {\n        Logger.debug('Company user: Getting productType from company.');\n        var company = this.get('loggedAccount.company.id');\n        return this.get('store').query('productType', { companyId: company, pageSize: -1 });\n      }\n    }),\n\n    // Static options for dropdowns\n    _priceStatuses: [{ id: 0, name: 'Complementary' }, { id: 1, name: 'Voided' }, { id: 2, name: 'Employee Discount' }, {\n      id: 3,\n      name: 'Spilled'\n    }, { id: 4, name: 'Tab Discounted' }, { id: 5, name: 'Regular Price' }, { id: 6, name: 'Automatic Cancel' }, {\n      id: 7,\n      name: 'Deleted'\n    }, { id: 8, name: 'Buy-One-Get-One' }],\n    _gratuities: [{ id: 0, name: 'Tips' }, { id: 1, name: 'Service Fee' }],\n    _orderPaymentStatuses: [{ id: 0, name: 'Approved' }, { id: 1, name: 'Declined' }, { id: 2, name: 'Partial' }],\n    _paymentStatuses: [{ id: 0, name: 'Created' }, { id: 1, name: 'Error' }, { id: 2, name: 'Approved' }, {\n      id: 3,\n      name: 'Declined'\n    }, { id: 4, name: 'Settled' }, { id: 5, name: 'Held' }, { id: 6, name: 'Voided' }, {\n      id: 7,\n      name: 'Automatic Cancel'\n    }, { id: 8, name: 'Deleted' }],\n    _paymentModes: [{ id: 0, name: 'Real Time' }, { id: 1, name: 'Batch' }],\n    _tabStatuses: [{ id: 0, name: 'Regular Price' }, { id: 1, name: 'Discounted' }, { id: 2, name: 'Complementary' }, {\n      id: 3,\n      name: 'Spilled'\n    }, { id: 4, name: 'Voided' }, { id: 5, name: 'Walked' }, { id: 6, name: 'Paid' }, { id: 7, name: 'Deleted' }],\n    _orderStatus: [],\n    endDate: new Date(),\n    sortDefinition: ['name'],\n    sortedLocationGroups: computed.sort('_locationGroups', 'sortDefinition'),\n    // Get locationGroups according to company and lock status\n    _locationGroups: computed(function () {\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          Logger.debug('BR-user (locked to a company): Getting all location groups from locked company.');\n          var company = this.get('lockedCompany.id');\n          return this.get('store').query('locationGroup', { companyId: company, pageSize: -1 });\n        } else {\n          Logger.debug('BR-user: Getting all location groups.');\n          var cachedRecords = this.get('store').peekAll('locationGroup');\n          if (!isEmpty(cachedRecords)) {\n            this.get('store').query('locationGroup', { pageSize: -1 });\n            return cachedRecords;\n          }\n          return this.get('store').query('locationGroup', { pageSize: -1 });\n        }\n      } else {\n        Logger.debug('Company user: Getting location groups from company.');\n        var company = this.get('loggedAccount.company.id');\n        return this.get('store').query('locationGroup', { companyId: company, pageSize: -1 });\n      }\n    }),\n    _vendorCompanies: [],\n\n    // Filter VMCs\n    _filteredVendorCompanies: computed('_vendorCompanies', 'locationGroups', 'vendors', function () {\n      var vendorCompanies = this.get('_vendorCompanies');\n      if (!vendorCompanies) {\n        return [];\n      }\n      return vendorCompanies.sortBy('companyName');\n    }),\n    // Get all menus according to company and lock status\n    _menus: computed(function () {\n      var locationGroupId = null;\n      if (this._getSingleSelectedLocationGroup(null) !== null && this._getSingleSelectedLocationGroup(null) !== undefined) {\n        locationGroupId = this._getSingleSelectedLocationGroup(null).id;\n      }\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          Logger.debug('BR-user (locked to a company): Getting all menus from locked company.');\n          var companyId = this.get('lockedCompany.id');\n          return this.get('store').query('menuNameFilter', { companyId: companyId, locationGroupId: locationGroupId });\n        } else {\n          Logger.debug('BR-user: Getting all menus.');\n          return this.get('store').query('menuNameFilter', {});\n        }\n      } else {\n        Logger.debug('Company user: Getting menus from company.');\n        var companyId = this.get('loggedAccount.company.id');\n\n        return this.get('store').query('menuNameFilter', { companyId: companyId, locationGroupId: locationGroupId });\n      }\n    }),\n    // Filter menus list when one of the next attributes changes: 'sortedMenus', 'locations', 'vendors', '_filteredLocations', 'locationGroups'\n    _filteredMenus: computed('sortedMenus', 'locations', 'vendors', '_filteredLocations', 'locationGroups', function () {\n      var _this = this;\n\n      var locations = this.get('locations');\n      // Handle null or undefined locations\n      if (locations && locations.length > 0) {\n        var _ret = (function () {\n          var filteredMenus = [];\n          _this.get('_sortedMenus').forEach(function (menu) {\n            var belongsToLocation = [];\n            menu.get('locations').forEach(function (location) {\n              if (locations && locations.filterBy('id', location).length > 0) {\n                belongsToLocation.addObject(locations.filterBy('id', location));\n              }\n            });\n            if (belongsToLocation.length > 0) {\n              filteredMenus.addObject(menu);\n            }\n          });\n          return {\n            v: filteredMenus.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret === \"object\") return _ret.v;\n      } else if (this.get('vendors') !== null || this.get('selectedVendorManagement') !== null) {\n        var _ret2 = (function () {\n          var filteredMenus = [];\n          if (_this.get('_filteredLocations.length') > 0) {\n            _this.get('_sortedMenus').forEach(function (menu) {\n              var belongsToLocation = [];\n              menu.get('locations').forEach(function (location) {\n                if (_this.get('_filteredLocations').filterBy('id', location).length > 0) {\n                  belongsToLocation.addObject(_this.get('_filteredLocations').filterBy('id', location));\n                }\n              });\n              if (belongsToLocation.length > 0) {\n                filteredMenus.addObject(menu);\n              }\n            });\n          }\n          return {\n            v: filteredMenus.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret2 === \"object\") return _ret2.v;\n      } else {\n        var _ret3 = (function () {\n          var filteredMenus = [];\n          if (_this.get('_filteredLocations.length') > 0) {\n            _this.get('_sortedMenus').forEach(function (menu) {\n              var belongsToLocation = [];\n              menu.get('locations').forEach(function (location) {\n                if (_this.get('_filteredLocations').filterBy('id', location).length > 0) {\n                  belongsToLocation.addObject(_this.get('_filteredLocations').filterBy('id', location));\n                }\n              });\n              if (belongsToLocation.length > 0) {\n                filteredMenus.addObject(menu);\n              }\n            });\n            return {\n              v: filteredMenus.sortBy('name')\n            };\n          } else {\n            return {\n              v: _this.get('_sortedMenus')\n            };\n          }\n        })();\n\n        if (typeof _ret3 === \"object\") return _ret3.v;\n      }\n    }),\n    // Filter locations list when one of the next attributes changes: 'vendors', 'selectedVendorManagement', '_locations', '_vendorCompanies'\n    _filteredLocations: computed('vendors', 'selectedVendorManagement', '_locations', '_vendorCompanies', function () {\n      var _this2 = this;\n\n      var locations = this.get('_locations');\n      // Handle null or undefined - convert to empty array to prevent errors\n      if (!locations || !Array.isArray(locations)) {\n        return [];\n      }\n      if (this.get('vendors') !== null) {\n        var _ret4 = (function () {\n          var filteredLocations = [];\n          locations.forEach(function (location) {\n            if (isEqual(location.companyId.toString(), _this2.get('vendors.companyId'))) {\n              filteredLocations.addObject(location);\n            }\n          });\n          return {\n            v: filteredLocations.sortBy('name')\n          };\n        })();\n\n        if (typeof _ret4 === \"object\") return _ret4.v;\n      } else {\n        return locations.sortBy('name');\n      }\n    }),\n    _locations: [],\n    // Initialize component values\n    init: function init() {\n      this._super.apply(this, arguments);\n      if (this.get('searchOptions.fromDate') === undefined) {\n        this.set('searchOptions.fromDate', (0, _moment[\"default\"])().format('MM/DD/YYYY'));\n      }\n\n      if (this.get('searchOptions.toDate') === undefined) {\n        this.set('searchOptions.toDate', (0, _moment[\"default\"])().format('MM/DD/YYYY'));\n      }\n      this.clearSearchCriteria();\n      this.initializeTenderTypes();\n      this.initializeCreditCardTypes();\n      this.initializeOrderStatuses();\n      this._initializeReportExportParameters();\n      this._initializeUsers();\n      this._initializeUserProfiles();\n    },\n    //Initialize users available to be filtered later on\n    _initializeUsers: function _initializeUsers() {\n      var query = undefined;\n      if (this.get('isBRUser')) {\n        if (this.get('lockedCompany') !== undefined) {\n          query = this.get('store').query('user', { companyId: this.get('lockedCompany.id'), pageSize: -1 });\n        } else {\n          query = this.get('store').query('user', { pageSize: -1, includeCompany: false });\n        }\n      } else {\n        query = this.get('store').query('user', { companyId: this.get('loggedAccount.company.id'), pageSize: -1 });\n      }\n      this._loadUsers(query);\n    },\n    /**\n     * BRP-4063: resolve a user store.query into the plain _resolvedUsers array\n     * instead of handing the promise to power-select. A monotonic request id\n     * guards against out-of-order resolution (a stale vendor query can no longer\n     * overwrite a newer result), and _resolvedUsers is cleared up front so the\n     * previously scoped rows disappear immediately rather than lingering under\n     * the loading placeholder while the new query is in flight.\n     *\n     * @param promise the store.query('user', ...) promise to resolve\n     */\n    _loadUsers: function _loadUsers(promise) {\n      var _this3 = this;\n\n      var seq = this.incrementProperty('_userRequestSeq');\n      this.set('allUsers', promise);\n      this.set('_resolvedUsers', []);\n      this.set('usersLoading', true);\n      _ember[\"default\"].RSVP.resolve(promise).then(function (users) {\n        if (_this3.get('isDestroyed') || _this3.get('isDestroying') || seq !== _this3.get('_userRequestSeq')) {\n          return;\n        }\n        run(function () {\n          _this3.set('_resolvedUsers', users ? users.toArray() : []);\n          _this3.set('usersLoading', false);\n        });\n      })[\"catch\"](function () {\n        // A superseded request is ignored; only the latest clears the flag.\n        if (_this3.get('isDestroyed') || _this3.get('isDestroying') || seq !== _this3.get('_userRequestSeq')) {\n          return;\n        }\n        run(function () {\n          _this3.set('usersLoading', false);\n        });\n      });\n    },\n    /**\n     * BRP-4063: message shown by the User dropdown when its option list is empty.\n     * While a query is in flight we show the standard \"waiting data from\n     * server...\" text; otherwise undefined, which lets power-select fall back to\n     * its default no-results message (noMatchesMessage uses fallbackIfUndefined).\n     */\n    _usersNoMatchesMessage: computed('usersLoading', function () {\n      return this.get('usersLoading') ? this.get('intl').t('general.loadingMessage') : undefined;\n    }),\n    // BRP-4063: seed the User Profile dropdown with the full (unscoped) list.\n    // Replaces the previous direct availableUserProfiles binding so the list can\n    // be re-scoped to a selected vendor's company (see _scopeUserListsToVendor).\n    _initializeUserProfiles: function _initializeUserProfiles() {\n      this.set('filteredUserProfiles', this.get('store').findAll('userProfile'));\n    },\n    /**\n     * BRP-4063: re-scope the User and User Profile dropdowns to the selected\n     * vendor's company. The lists are re-queried rather than filtered in memory\n     * because the UserProfile model carries no company field and BR users load\n     * the user list with includeCompany:false, so the loaded records are not\n     * reliably company-tagged on the client. Mirrors the re-query approach the\n     * locations/menus lists already use when a vendor is selected. When the\n     * vendor is cleared, the unscoped defaults are restored.\n     */\n    _scopeUserListsToVendor: function _scopeUserListsToVendor() {\n      var companyId = this.get('vendors.companyId');\n      if (companyId) {\n        this._loadUsers(this.get('store').query('user', { companyId: companyId, pageSize: -1 }));\n        this.set('filteredUserProfiles', this.get('store').query('userProfile', { company: companyId }));\n      } else {\n        this._initializeUsers();\n        this._initializeUserProfiles();\n      }\n    },\n    /**\n     * BRP-4063: clear the User and User Profile selections. A vendor change\n     * re-scopes both option lists, so a previously-picked user/profile may no\n     * longer be valid. Uses the array's own clear() when available so the\n     * aliased searchOptions array identity is preserved (mirrors the idiom in\n     * clearSearchCriteria), falling back to a fresh empty array.\n     */\n    _clearUserSelections: function _clearUserSelections() {\n      var users = this.get('users');\n      if (users && users.clear) {\n        users.clear();\n      } else {\n        this.set('users', []);\n      }\n      var userProfiles = this.get('userProfiles');\n      if (userProfiles && userProfiles.clear) {\n        userProfiles.clear();\n      } else {\n        this.set('userProfiles', []);\n      }\n    },\n    /**\n     * BRP-4063: options for the User dropdown, derived from the settled\n     * _resolvedUsers array and any active User Profile selection. Because\n     * _resolvedUsers is always a resolved plain array (see _loadUsers), sortBy is\n     * safe here and the dropdown never shows stale rows under a loading message;\n     * and because the request-id guard in _loadUsers only lets the latest query\n     * write _resolvedUsers, an out-of-order vendor resolution cannot clobber it.\n     * Mirrors the _filteredLocations / _filteredMenus computed pattern.\n     *\n     * NOTE: depends on the PLAIN '_resolvedUsers' key (as _filteredLocations\n     * depends on '_locations'), because _loadUsers REASSIGNS _resolvedUsers to a\n     * new array via set(). A '.[]'-only dependency tracks in-place mutations but\n     * does not reliably invalidate on reassignment in this Ember version, which\n     * left the dropdown stuck on the pre-resolution empty array. '.[]' on\n     * userProfiles is kept for the in-place clear() in _clearUserSelections.\n     */\n    _filteredUsers: computed('_resolvedUsers', '_resolvedUsers.[]', 'userProfiles', 'userProfiles.[]', function () {\n      var users = this.get('_resolvedUsers');\n      var selectedProfiles = this.get('userProfiles');\n      if (selectedProfiles && selectedProfiles.length > 0) {\n        var _ret5 = (function () {\n          var tempUsers = [];\n          selectedProfiles.forEach(function (userProfile) {\n            tempUsers.addObjects(users.filterBy('userProfile.id', userProfile.id));\n          });\n          return {\n            v: tempUsers.sortBy('dropDownName')\n          };\n        })();\n\n        if (typeof _ret5 === \"object\") return _ret5.v;\n      }\n      return users.sortBy('dropDownName');\n    }),\n    // Initialize available tender types list\n    initializeTenderTypes: function initializeTenderTypes() {\n      var _this4 = this;\n\n      //initialize locationGroups\n      if (this.get('tenderTypes').then === undefined) {\n        // no promise, lets load the data\n        this.set('_availableTenders', this.get('tenderTypes'));\n      } else {\n        // if a promise set the content when it resolves\n        this.get('tenderTypes').then(function (content) {\n          run(function () {\n            _this4.set('_availableTenders', content);\n          });\n        });\n      }\n    },\n    // Initialize available cc types list\n    initializeCreditCardTypes: function initializeCreditCardTypes() {\n      var _this5 = this;\n\n      //initialize locationGroups\n      if (this.get('availableCreditCardTypes').then === undefined) {\n        // no promise, lets load the data\n        this.set('_ccTypes', this.get('availableCreditCardTypes'));\n      } else {\n        // if a promise set the content when it resolves\n        this.get('availableCreditCardTypes').then(function (content) {\n          run(function () {\n            _this5.set('_ccTypes', content);\n          });\n        });\n      }\n    },\n    // Initialize order statuses list\n    initializeOrderStatuses: function initializeOrderStatuses() {\n      var _this6 = this;\n\n      //initialize locationGroups\n      if (this.get('availableOrderStatuses').then === undefined) {\n        // no promise, lets load the data\n        this.set('_orderStatus', this.get('availableOrderStatuses'));\n        this.set('selectedEntityOrderStatus', this.get('_orderStatus').findBy('id', this.get('selectedOrderStatus')));\n      } else {\n        // if a promise set the content when it resolves\n        this.get('availableOrderStatuses').then(function (content) {\n          run(function () {\n            _this6.set('_orderStatus', content);\n            _this6.set('selectedEntityOrderStatus', _this6.get('_orderStatus').findBy('id', _this6.get('selectedOrderStatus')));\n          });\n        });\n      }\n    },\n    // Set export parameters default values\n    _initializeReportExportParameters: function _initializeReportExportParameters() {\n      this.set('searchOptions.reportOutput', this.get('intl').t('report.searchCriteria.reportOutput.options.csv'));\n      this.set('searchOptions.isEmailDelivery', false);\n      this.set('searchOptions.emails', this.get('loggedAccount.data.email'));\n      this.set('searchOptions.isExport', false);\n    },\n    // Validate de value of the expiration date\n    _validateExpirationDate: function _validateExpirationDate(expiration, isValid) {\n      var errorMessage = undefined;\n      var expirationArray = expiration.replace(/ /g, '').split('/');\n      var year = expirationArray[1];\n      if (year.length !== 2) {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.errorInvalidExpirationDate'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      }\n      var month = parseInt(expirationArray[0]);\n      if (month < 1 || month > 12) {\n        isValid = false;\n        errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.errorInvalidMonth'), { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n      }\n      return isValid;\n    },\n    // Validate last four value\n    _validateLastFour: function _validateLastFour(lastFourEntry, isValid) {\n      var errorMessage = undefined;\n      if (lastFourEntry || !isEmpty(lastFourEntry)) {\n        if (lastFourEntry.length !== 4) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.errorInvalidLastFour'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n      }\n      return isValid;\n    },\n    // Get the selected locationGroup value\n    _getSingleSelectedLocationGroup: function _getSingleSelectedLocationGroup(locationGroup) {\n      if (locationGroup !== null) {\n        if (locationGroup.id !== undefined && locationGroup.id !== null) {\n          return locationGroup;\n        } else if (locationGroup.length !== undefined && locationGroup.length === 1) {\n          return locationGroup.objectAt(0);\n        } else {\n          return null;\n        }\n      } else {\n        if (this.get('locationGroups.id') !== undefined && this.get('locationGroups.id') !== null) {\n          return this.get('locationGroups');\n        } else if (this.get('locationGroups.length') !== undefined && this.get('locationGroups.length') === 1) {\n          return this.get('locationGroups[0]');\n        } else {\n          return null;\n        }\n      }\n    },\n    clearSearchCriteria: function clearSearchCriteria() {\n      this.set('locationGroups', null);\n      // Ensure locations is an array before calling clear()\n      var locations = this.get('locations');\n      if (locations && locations.clear) {\n        this.get('locations').clear();\n      } else {\n        this.set('locations', []);\n      }\n      var menus = this.get('menus');\n      if (menus && menus.clear) {\n        this.get('menus').clear();\n      } else {\n        this.set('menus', []);\n      }\n      this.set('vendors', null);\n    },\n    actions: {\n      /**\n       * This method get the values according to the selected locationGroup\n       *\n       * @param locationGroup selected location groups list\n       */\n      locationGroupSelection: function locationGroupSelection(locationGroup) {\n        var _this7 = this;\n\n        this.set('locationGroups', locationGroup);\n        // Ensure locations is an array before calling clear()\n        var locations = this.get('locations');\n        if (locations && locations.clear) {\n          this.get('locations').clear();\n        } else {\n          this.set('locations', []);\n        }\n        var menus = this.get('menus');\n        if (menus && menus.clear) {\n          this.get('menus').clear();\n        } else {\n          this.set('menus', []);\n        }\n        this.set('vendors', null);\n        this.get('_vendorCompanies').clear();\n        if (locationGroup !== null && locationGroup !== undefined) {\n          (function () {\n            var locationGroupId = locationGroup.get('id');\n            var company = null;\n            if (_this7.get('isBRUser')) {\n              if (_this7.get('lockedCompany') !== undefined) {\n                company = _this7.get('lockedCompany.id');\n              }\n            } else {\n              company = _this7.get('loggedAccount.company.id');\n            }\n            var companyRole = null;\n            locationGroup.get('companiesRoles').forEach(function (role) {\n              if (isEqual(role.get('companyId'), company)) {\n                companyRole = role.get('roleId');\n              }\n            });\n            _this7.get('store').query('menuNameFilter', {\n              companyId: company,\n              roleId: companyRole,\n              locationGroupId: locationGroupId\n            }).then(function (content) {\n              run(function () {\n                _this7.set('_sortedMenus', content);\n              });\n            });\n\n            _this7.get('store').queryRecord('reportsLocationGroup', {\n              companyId: company,\n              roleId: companyRole,\n              locationGroupId: locationGroupId\n            }).then(function (content) {\n              run(function () {\n\n                if (content.get('vendorCompanies.length') > 0) {\n                  _this7.set('hasVendors', true);\n                  _this7.set('_vendorCompanies', content.get('vendorCompanies').sortBy('companyName'));\n                }\n\n                if (content.get('vendorManagementCompanies.length') > 0) {\n                  _this7.set('hasVendorManagements', true);\n                  _this7.set('_vendorManagementCompanies', content.get('vendorManagementCompanies').sortBy('companyName'));\n                }\n\n                // Handle null locations from API - convert to empty array to prevent errors\n                var locations = content.get('locations');\n                _this7.set('_locations', locations || []);\n                _this7.set('producerOwner', content.get('producer'));\n              });\n            });\n          })();\n        } else {\n          this.get('_vendorCompanies').clear();\n          this.get('_filteredMenus').clear();\n          this.get('_filteredLocations').clear();\n          this.get('_filteredVendorCompanies').clear();\n          // Ensure _locations is an array before calling clear()\n          if (this.get('_locations') && this.get('_locations').clear) {\n            this.get('_locations').clear();\n          } else {\n            this.set('_locations', []);\n          }\n          this.set('producerOwner', null);\n        }\n      },\n      vendorSelection: function vendorSelection(vendor) {\n        this.set('vendors', vendor);\n        // BRP-4063: a vendor change re-scopes the User and User Profile option\n        // lists, so clear any now-possibly-invalid selections before re-scoping.\n        this._clearUserSelections();\n        this._scopeUserListsToVendor();\n      },\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n        this._initializeReportExportParameters();\n      },\n      orderStatusSelection: function orderStatusSelection(selection) {\n        this.set('selectedEntityOrderStatus', selection);\n        if (selection) {\n          this.set('selectedOrderStatus', selection.get('id'));\n        } else {\n          this.set('selectedOrderStatus', undefined);\n        }\n      },\n      userProfileOnChange: function userProfileOnChange(selectedUserProfile) {\n        // BRP-4063: just update the selection; the _filteredUsers computed\n        // reacts to userProfiles and rebuilds the User dropdown options.\n        this.set('userProfiles', selectedUserProfile && selectedUserProfile.length > 0 ? selectedUserProfile : []);\n      },\n      search: function search() {\n        var _this8 = this;\n\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n        if (this.get('fromDate') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.emptyFromDate'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('toDate') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.emptyToDate'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        // Set gratuities false before checking the gratuities selected\n        this.set('searchOptions.tips', false);\n        this.set('searchOptions.serviceFee', false);\n\n        // Set selected gratuities values\n        if (this.get('selectedGratuities.length') > 0) {\n          this.get('selectedGratuities').forEach(function (gratuity) {\n            if (gratuity === 0) {\n              _this8.set('searchOptions.tips', true);\n            } else {\n              _this8.set('searchOptions.serviceFee', true);\n            }\n          });\n        }\n\n        if (isValid) {\n          if (this.get('ccExpiration') || !isEmpty(this.get('ccExpiration'))) {\n            this.get('ccExpiration').format('MM/YY');\n            isValid = this._validateExpirationDate(this.get('ccExpiration').format('MM/YY'), isValid);\n          }\n        }\n\n        if (isValid) {\n          isValid = this._validateLastFour(this.get('lastFour'), isValid);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.set('_canLoadMore', true);\n          this.sendAction('search', this.get('searchOptions'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/search/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NbxPViMG\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 30px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group margin-bottom-sm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group-addon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-search\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"class\\\",\\\"type\\\",\\\"placeholder\\\",\\\"value\\\"],[\\\"form-control form-control-search\\\",\\\"text\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.searchText.placeholder\\\"],null],[\\\"get\\\",[\\\"searchText\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.dateRange.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"date-range-picker\\\"],null,[[\\\"start\\\",\\\"end\\\",\\\"serverFormat\\\",\\\"format\\\",\\\"alwaysShowCalendars\\\",\\\"ranges\\\",\\\"linkedCalendars\\\",\\\"autoApply\\\",\\\"classNames\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY\\\",\\\"MM/DD/YYYY\\\",true,\\\"\\\",true,true,\\\"report_datepicker\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary dropdown-toggle\\\"],[\\\"static-attr\\\",\\\"data-toggle\\\",\\\"collapse\\\"],[\\\"static-attr\\\",\\\"data-target\\\",\\\"#options\\\"],[\\\"static-attr\\\",\\\"aria-expanded\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.more\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"caret\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"search\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,41],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default panel-order-search collapse\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"options\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.sections.general\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation no-separator\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],40],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"locationGroups\\\"]],true,\\\"name\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],39],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],38],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"vendors\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],37],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.location.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],36],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"locations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.location.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"locations\\\"]]],null]],null]]],35],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],34],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"menus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"menus\\\"]]],null]],null]]],33],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.userProfile.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],32],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"filteredUserProfiles\\\"]],[\\\"get\\\",[\\\"userProfiles\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.userProfile.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"userProfileOnChange\\\"],null]]],31],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.user.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],30],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"noMatchesMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredUsers\\\"]],[\\\"get\\\",[\\\"users\\\"]],true,\\\"dropDownName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"get\\\",[\\\"_usersNoMatchesMessage\\\"]],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.user.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"users\\\"]]],null]],null]]],29],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderId.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],28],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"orderId\\\",\\\"orderId\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderId.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"orderId\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderStatus.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],27],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"availableOrderStatuses\\\"]],[\\\"get\\\",[\\\"orderStatuses\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderStatus.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"orderStatuses\\\"]]],null]],null]]],26],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.tab.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],25],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"tabName\\\",\\\"tabName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.tab.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"tabName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.tabStatus.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],24],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_tabStatuses\\\"]],[\\\"get\\\",[\\\"tabStatuses\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.tabStatus.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"tabStatuses\\\"]]],null]],null]]],23],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderNote.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],22],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-9 col-md-9 col-lg-5\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"orderNote\\\",\\\"orderNote\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderNote.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"orderNote\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\"space for more search options\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.sections.payments\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation no-separator\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-12 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentMethods.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],21],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-12 col-lg-11 payment-options\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"multiselect-checkboxes\\\"],null,[[\\\"options\\\",\\\"labelProperty\\\",\\\"valueProperty\\\",\\\"selection\\\"],[[\\\"get\\\",[\\\"_availableTenders\\\"]],\\\"name\\\",\\\"id\\\",[\\\"get\\\",[\\\"selectedTenders\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentStatus.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],20],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_paymentStatuses\\\"]],[\\\"get\\\",[\\\"paymentStatuses\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderPaymentStatus.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"paymentStatuses\\\"]]],null]],null]]],19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentMode.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],18],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_paymentModes\\\"]],[\\\"get\\\",[\\\"paymentModes\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentMode.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"paymentModes\\\"]]],null]],null]]],17],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.cashlessUID.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],16],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"cashlessUID\\\",\\\"cashlessUID\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.cashlessUID.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"cashUid\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.lastName.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],15],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"lastName\\\",\\\"lastName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.lastName.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"lastName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.lastFour.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad col-md-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"lastFour\\\",\\\"lastFour\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.lastFour.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"lastFour\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.expiration.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],13],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"ccExpiration\\\"]],\\\"MM/YY\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"ccExpiration\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.creditCardType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],12],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-9 col-md-9 col-lg-9 card-type-options\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"multiselect-checkboxes\\\"],null,[[\\\"options\\\",\\\"valueProperty\\\",\\\"labelProperty\\\",\\\"selection\\\"],[[\\\"get\\\",[\\\"_ccTypes\\\"]],\\\"id\\\",\\\"name\\\",[\\\"get\\\",[\\\"selectedCCTypes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.gateway.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],11],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"availableGateways\\\"]],[\\\"get\\\",[\\\"gateways\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.gateway.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"gateways\\\"]]],null]],null]]],10],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.authCode.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],9],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"authCode\\\",\\\"authCode\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.authCode.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"authCode\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.surcharge.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"searchOptions\\\",\\\"surcharge\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.roundUpDonation.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],7],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"class\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"true\\\",\\\"menuBuilderCheckBox\\\",[\\\"get\\\",[\\\"searchOptions\\\",\\\"roundUpDonationEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"comment\\\",\\\"space for more search options\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.sections.products\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation no-separator\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.product.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"product\\\",\\\"product\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.product.placeholder\\\"],null],\\\"form-control form-control-search\\\",[\\\"get\\\",[\\\"product\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.productType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],5],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-6 col-md-3 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"availableProductsTypes\\\"]],[\\\"get\\\",[\\\"productTypes\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.productType.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"productTypes\\\"]]],null]],null]]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.priceStatus.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],3],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-11 col-lg-11 card-type-options\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"multiselect-checkboxes\\\"],null,[[\\\"options\\\",\\\"valueProperty\\\",\\\"labelProperty\\\",\\\"selection\\\"],[[\\\"get\\\",[\\\"_priceStatuses\\\"]],\\\"id\\\",\\\"name\\\",[\\\"get\\\",[\\\"priceStatuses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-right: 0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.gratuity.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],2],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-11 col-lg-11 card-type-options\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"multiselect-checkboxes\\\"],null,[[\\\"options\\\",\\\"valueProperty\\\",\\\"labelProperty\\\",\\\"selection\\\"],[[\\\"get\\\",[\\\"_gratuities\\\"]],\\\"id\\\",\\\"name\\\",[\\\"get\\\",[\\\"selectedGratuities\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"searchOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.gratuity.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.priceStatus.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"productType\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"productType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.productType.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.product.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.roundUpDonation.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.surcharge.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.authCode.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"gateway\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"gateway\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.gateway.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.creditCardType.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.expiration.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.lastFour.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.lastName.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.cashlessUID.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"paymentMode\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"paymentMode\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentMode.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"paymentStatus\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"paymentStatus\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentStatus.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.paymentMethods.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderNote.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"tabStatus\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"tabStatus\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.tabStatus.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.tab.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"orderStatus\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"orderStatus\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderStatus.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.orderId.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"user\\\",\\\"dropDownName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"user\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.user.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"userProfile\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"userProfile\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.userProfile.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.menu.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.location.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.vendor.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.locationGroup.info\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/search/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/search/search-result/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"ember-light-table\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _emberLightTable) {\n  var Component = _ember[\"default\"].Component;\n  var isEqual = _ember[\"default\"].isEqual;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var computed = _ember[\"default\"].computed;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    tagName: '',\n    data: [],\n    isLoading: false,\n    _canLoadMore: false,\n    _searchResults: [],\n    _sortCriteria: ['tabletGeneratedId:desc'],\n    _sortedResults: computed.sort('_searchResults', '_sortCriteria'),\n    _showModal: false,\n    _isLoading: false,\n    _waitingResponse: false,\n    _order: null,\n    _columns: computed(function () {\n      return [{\n        propertyName: 'tabletGeneratedId',\n        title: this.get('intl').t('search.list.orderId')\n      }, {\n        propertyName: 'locationGroupName',\n        title: this.get('intl').t('search.list.eventVenue')\n      }, {\n        propertyName: 'amount',\n        template: \"search-order/amount-cell\",\n        title: this.get('intl').t('search.list.amount')\n      }, {\n        propertyName: 'status',\n        title: this.get('intl').t('search.list.status')\n      }, {\n        propertyName: 'tabStatus',\n        title: this.get('intl').t('search.list.tabStatus')\n      }, {\n        propertyName: 'formattedDate',\n        title: this.get('intl').t('search.list.date')\n      }, {\n        propertyName: '',\n        title: '',\n        template: \"search-order/detail-cell\"\n      }];\n    }),\n    _totalResults: 0,\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('_canLoadMore', false);\n      this.set('_table', new _emberLightTable[\"default\"](this.get('_columns')));\n    },\n    getRecords: function getRecords() {\n      //get more records\n      this.sendAction('fetchRecords', this.get('searchOptions'));\n    },\n    actions: {\n      closeModal: function closeModal() {\n        this.send('cleanMessages');\n        this.set('_showModal', false);\n        this.set('_isLoading', false);\n        this.set('_paymentEmail', '');\n      },\n      orderAction: function orderAction(action, order, payment, email) {\n        var _this = this;\n\n        this.send('cleanMessages');\n        // set action value in order model\n        order.set('action', action);\n        //if orderAction is EMAIL, add and validate email\n        var isValid = true;\n        if (isEqual(action, 'EMAIL')) {\n          order.set('emailToSend', email);\n          if (!order.get('validations.isValid')) {\n            isValid = false;\n            order.get('validations.errors').forEach(function (error) {\n              var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            });\n          }\n        }\n\n        if (isEqual(action, 'UNLOCK_TAB')) {\n          if (order.get('tabName') === null || order.get('tabName') === undefined || isEmpty(order.get('tabName'))) {\n            isValid = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('search.errors.noTab', { action: action }), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n\n        if (isValid) {\n          // send PUT request to server, so, it can execute the action\n          order.save().then(function () {\n            var message = undefined;\n            Logger.debug(action + \" result for order \" + order.get('id') + \" is \" + order.get('actionResult.paymentResult') + \" - \" + order.get('actionResult.resultMessage'));\n\n            var notification = undefined;\n            if (isEqual(order.get('actionResult.paymentResultId'), 0)) {\n              //approved\n              message = _this.get('intl').t('search.errors.successActionSent', { action: action });\n              notification = _this.get('notify').success(message, { closeAfter: 5000 });\n            } else {\n              message = _this.get('intl').t('search.errors.errorResultSendingAction', { action: action, result: order.get('actionResult.paymentResult'), message: order.get('actionResult.resultMessage') });\n              notification = _this.get('notify').alert(message, { closeAfter: 5000 });\n            }\n\n            _this.get('errorMessages').addObject(notification);\n            _this.get('store').findRecord('orderPayment', payment.get('id'), { reload: true });\n            _this.get('store').findRecord('order', order.get('id'), { reload: true });\n            _this.set('_waitingResponse', false);\n          })[\"catch\"](function (error) {\n            var message = 'search.errors.errorSendingAction';\n            if (error !== undefined) {\n              message = \"search.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this.get('notify').alert(_this.get('intl').t(message));\n            _this.get('errorMessages').addObject(errorMessage);\n            _this.set('_waitingResponse', false);\n          });\n        }\n      },\n      openModal: function openModal(value) {\n        var _this2 = this;\n\n        this.set('_showModal', true);\n        this.set('_isLoading', true);\n        this.set('_paymentEmail', '');\n        this.get('store').findRecord('order', value.id, { reload: true }).then(function (record) {\n          record.get('items').then(function () {\n            record.get('payments').then(function () {\n              _this2.set('_isLoading', false);\n              _this2.set('_order', record);\n            });\n          });\n        });\n      },\n      onColumnClick: function onColumnClick(column) {\n        if (column.sorted) {\n          var dir = column.ascending ? 'asc' : 'desc';\n          var sortCriteria = column.valuePath + \":\" + dir;\n          this.set('_sortCriteria', [sortCriteria]);\n          Logger.debug('cleaning table.');\n          this.get('_table.rows').clear();\n          Logger.debug('adding sorted data.');\n          this.get('_table').setRows(this.get('_sortedResults'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/search/search-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Irw37iyi\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"gt\\\"],[[\\\"get\\\",[\\\"totalAmount\\\"]],0],null]],null,3],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0],[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"components/search/order-details\\\"],null,[[\\\"order\\\",\\\"showModal\\\",\\\"isLoading\\\",\\\"waitingResponse\\\",\\\"_paymentEmail\\\",\\\"closeModal\\\",\\\"orderAction\\\"],[[\\\"get\\\",[\\\"_order\\\"]],[\\\"get\\\",[\\\"_showModal\\\"]],[\\\"get\\\",[\\\"_isLoading\\\"]],[\\\"get\\\",[\\\"_waitingResponse\\\"]],[\\\"get\\\",[\\\"_paymentEmail\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"closeModal\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"orderAction\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"openModal\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],true,\\\"total\\\",\\\"pages\\\",true,false,false,false,\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering-new\\\",[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"openModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-separation\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.summary.title\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.total\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"totalResults\\\"]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.summary.totalAmount\\\"],null],false],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"totalAmount\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null]],null,2]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/search/search-result/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/select-button/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var observer = _ember['default'].observer;\n  var computed = _ember['default'].computed;\n  var htmlSafe = _ember['default'].String.htmlSafe;\n  exports['default'] = Component.extend({\n    active: computed('category.activeCategoryButton', function () {\n      var activeValue = false;\n      if (this.get('category') !== undefined && this.get('category.activeCategoryButton') !== undefined && this.get('category.activeCategoryButton')) {\n        activeValue = true;\n      }\n      return activeValue;\n    }),\n    _disabledClass: null,\n    _activeClass: null,\n    _checkButtonState: observer('category.activeCategoryButton', function () {\n      this._setButtonState(this.get('category.activeCategoryButton'));\n    }),\n    _setButtonState: function _setButtonState(isButtonActive) {\n      if (isButtonActive) {\n        this.set('_activeClass', htmlSafe('active'));\n        this.set('_disabledClass', false);\n      } else {\n        this.set('_activeClass', htmlSafe(''));\n        this.set('_disabledClass', true);\n      }\n    },\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._setButtonState(this.get('active'));\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/select-button/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9Q+dhlwV\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"category\\\",\\\"name\\\"]]],null,4],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"category\\\",\\\"tag\\\"]],\\\"add\\\"],null]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"openModal\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"category\\\",\\\"label\\\"]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"category-group btn btn-primary dropdown-toggle right-button\\\"],[\\\"static-attr\\\",\\\"aria-expanded\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"_disabledClass\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"nextAction\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"glyphicon glyphicon-menu-right\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"pageName\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"page\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"category-group btn btn-primary left-button\\\"],[\\\"static-attr\\\",\\\"aria-expanded\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"_disabledClass\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"backAction\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"glyphicon glyphicon-menu-left\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"category\\\",\\\"hasPages\\\"]]],null,3],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"category-group btn btn-primary category-button \\\",[\\\"unknown\\\",[\\\"_activeClass\\\"]]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"get\\\",[\\\"tabCategorySelectedAction\\\"]],[\\\"get\\\",[\\\"category\\\"]]],null]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"id\\\",\\\"categoryName\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"category\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"and\\\"],[[\\\"get\\\",[\\\"category\\\",\\\"multiplePagesEnabled\\\"]],[\\\"get\\\",[\\\"active\\\"]]],null]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"category\\\",\\\"hasPages\\\"]]],null,1],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/select-button/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/selectable-table/component\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend({\n    tagName: ''\n  });\n});","define('fcs-dashboard/pods/components/selectable-table/row/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var htmlSafe = _ember['default'].String.htmlSafe;\n  var isEqual = _ember['default'].isEqual;\n  exports['default'] = Component.extend({\n    tagName: '',\n    rowSelected: '',\n    originalProducts: [],\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.get('selections').forEach(function (item) {\n        if (item.get('id') === _this.get('item.id')) {\n          _this.set('rowSelected', htmlSafe('row-selected'));\n        }\n      });\n      this.get('originalProducts').clear();\n      this.get('originalProducts').addObjects(this.get('selections'));\n    },\n    actions: {\n      selectedItem: function selectedItem(item) {\n        var _this2 = this;\n\n        var includesItem = false;\n        var noNewProducts = true;\n        var productToRemove = undefined;\n\n        if (!this.get('originalProducts').any(function (originalProduct) {\n          return isEqual(originalProduct.get('id'), item.id);\n        })) {\n\n          // Check if the selected item needs to be added or removed from the selections list\n          this.get('selections').forEach(function (product) {\n            if (isEqual(product.get('id'), item.get('id'))) {\n              includesItem = true;\n              //if the item needs to be removed, se the product to remove value\n              productToRemove = product;\n            }\n          });\n\n          // Add or remove the selected item\n          if (includesItem) {\n            this.get('selections').removeObject(productToRemove);\n            this.set('rowSelected', htmlSafe(''));\n          } else {\n            this.get('selections').addObject(item);\n            this.set('rowSelected', htmlSafe('row-selected'));\n          }\n\n          // Define if the selections list includes new items, and enable or disable the Ok button on the modal\n          if (this.get('selections').length > this.get('originalProducts').length) {\n            noNewProducts = false;\n          } else {\n            this.get('selections').forEach(function (product) {\n              if (!_this2.get('originalProducts').any(function (originalProduct) {\n                return isEqual(originalProduct.get('id'), product.get('id'));\n              })) {\n                noNewProducts = false;\n              }\n            });\n          }\n          this.selectItem(noNewProducts);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/selectable-table/row/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"UDce+w6o\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"rowSelected\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectedItem\\\",[\\\"get\\\",[\\\"item\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"productType\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"suggestedPrice\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",[\\\"get\\\",[\\\"item\\\",\\\"currency\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/selectable-table/row/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/selectable-table/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"IUUnTCRD\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"table\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"thead\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"headers\\\"]]],null,1],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"tbody\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"items\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"yield\\\",\\\"default\\\",[[\\\"get\\\",[\\\"item\\\"]]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[[\\\"get\\\",[\\\"header\\\"]]],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"header\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/selectable-table/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/simple-report-by-product/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('salesReportByProductFilter');\n    }),\n    isBrAdmin: computed.alias('isBRUser'),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Simple Sales rpt');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/simple-report-by-product/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kDUO0RIP\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],23],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],22],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],21],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBrAdmin\\\"]]],null,20,18],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,16],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,12],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],13],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],17]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],19]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/simple-report-by-product/search-criteria/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/simple-report-by-product/simple-report-result/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/company-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsCompanyMixin) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsCompanyMixin[\"default\"], {\n    data: null,\n    hideProductColumn: false,\n    _salesTableColumns: computed(function () {\n      return [{\n        title: this.get('intl').t('report.result.itemDescription'),\n        propertyName: 'product',\n        isHidden: this.get('hideProductColumn')\n      }, {\n        title: this.get('intl').t('report.result.productType'),\n        propertyName: 'productType'\n      }, {\n        className: 'sales-cell',\n        propertyName: 'regPriceSales',\n        template: 'simpleReportByProduct/amountCell'\n      }, {\n        title: this.get('intl').t('report.result.grossSales'),\n        className: 'sales-cell',\n        propertyName: 'grossSales',\n        template: 'simpleReportByProduct/amountCell'\n      }, {\n        className: 'sales-cell',\n        propertyName: 'cashGrossSales',\n        template: 'simpleReportByProduct/amountCell'\n      }, {\n        className: 'sales-cell',\n        propertyName: 'creditGrossSales',\n        template: 'simpleReportByProduct/amountCell'\n      }, {\n        title: this.get('intl').t('report.result.rfidGrossSales'),\n        className: 'sales-cell',\n        propertyName: 'openLoopGrossSales',\n        template: 'simpleReportByProduct/amountCell'\n      }, {\n        title: this.get('intl').t('report.result.percentageTotal'),\n        className: 'sales-percentage-total-cell',\n        propertyName: 'percentageTotal',\n        template: 'simpleReportByProduct/percentageCell'\n      }, {\n        title: this.get('intl').t('report.result.itemsQuantity'),\n        className: 'sales-orders-quantity-cell',\n        propertyName: 'itemsSold'\n      }, {\n        title: this.get('intl').t('report.result.dolarsPerItem'),\n        className: 'sales-dolars-per-order-cell',\n        propertyName: 'avgPrice',\n        template: 'simpleReportByProduct/amountCell'\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/simple-report-by-product/simple-report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/vdqSd/l\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.simpleReportByProduct\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"pageSize\\\",\\\"multipleColumnsSorting\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_salesTableColumns\\\"]],false,false,false,\\\"application/table-pagination\\\",true,[\\\"get\\\",[\\\"icons\\\"]],50,false,[\\\"get\\\",[\\\"classes\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-separation-without-border\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/simple-report-by-product/simple-report-result/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/report-result/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], {\n    data: null,\n    dateMenuColumnTitle: computed(function () {\n      var d = this.data;\n      var summarizeBy = d['summarizeBy'];\n      if (summarizeBy === '3' || summarizeBy === '4') {\n        return 'Menu';\n      } else if (summarizeBy === '5' || summarizeBy === '6') {\n        return 'Location';\n      } else {\n        return 'Date';\n      }\n    }),\n    _columns: computed(function () {\n      return [{\n        title: this.get('dateMenuColumnTitle'),\n        className: 'centerContent',\n        propertyName: 'summarizeBy',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.sponsorLoadedFundUsageReport.headers.sponsorLoadedFundName'),\n        className: 'centerContent',\n        propertyName: 'sponsorLoadedFundName',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.sponsorLoadedFundUsageReport.headers.amountSpent'),\n        className: 'amount-cell',\n        template: 'sponsorLoadedFundUsageReport/amountCell',\n        propertyName: 'amountSpent',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.sponsorLoadedFundUsageReport.headers.paymentCount'),\n        className: 'centerContent',\n        propertyName: 'paymentCount',\n        disableSorting: true\n      }, {\n        title: this.get('intl').t('report.result.sponsorLoadedFundUsageReport.headers.wristbandsUsedCount'),\n        className: 'centerContent',\n        propertyName: 'wristbandsUsedCount',\n        disableSorting: true\n      }];\n    })\n  });\n});","define(\"fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/report-result/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"65FcewKG\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"noResults\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sponsorLoadedFundUsageReport.overviewSection.label\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sponsorLoadedFundUsageReport.overviewSection.amountLoaded\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"amountLoaded\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sponsorLoadedFundUsageReport.overviewSection.wristbandsUsedCount\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"wristbandsLoadedCount\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sponsorLoadedFundUsageReport.overviewSection.amountSpent\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"amountSpent\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sponsorLoadedFundUsageReport.overviewSection.paymentCount\\\"],null],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"paymentCount\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.sponsorLoadedFundUsageReport.name\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"simplePaginationTemplate\\\",\\\"useFilteringByColumns\\\",\\\"pageSize\\\",\\\"customIcons\\\",\\\"customClasses\\\"],[[\\\"get\\\",[\\\"data\\\",\\\"sponsorLoadedFundUsageReportItemList\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],false,false,false,\\\"application/table-pagination\\\",false,50,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"customClasses\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.result.errors.noResultsForQuery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/report-result/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/search-criteria/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/report-mixin\", \"moment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsReportMixin, _moment) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var run = _ember[\"default\"].run;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsReportMixin[\"default\"], {\n    sortedReportFilters: computed.sort('_reportFilters', 'sortDefinition'),\n    summarizeBy: computed.alias('reportOptions.summarizeBy'),\n    isBrAdmin: computed.alias('isBRUser'),\n    _reportFilters: computed(function () {\n      return this.get('store').findAll('financialReportFilter');\n    }),\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('isFinancialReport', true);\n      this.set('selectedVendor', null);\n      this.set('selectedVendorManagement', null);\n      this.get('selectedLocations').clear();\n      this._initializeLocationGroups();\n      this._initializeReportFilters();\n      this._initializeReportExportParameters();\n      this._initializeMenus();\n\n      var stime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var fdate = (0, _moment[\"default\"])(this.get('fromDate')).set({\n        'hour': stime.get('hour'),\n        'minute': stime.get('minute')\n      });\n      this.set('fromDate', fdate);\n\n      var etime = (0, _moment[\"default\"])('05:00 AM', \"hh:mm a\");\n      var tdate = (0, _moment[\"default\"])(this.get('toDate')).set({\n        'hour': etime.get('hour'),\n        'minute': etime.get('minute')\n      });\n      this.set('toDate', tdate);\n    },\n    didRender: function didRender() {\n      this._super();\n      var evt = document.createEvent('Event');\n      evt.initEvent('load', false, false);\n      window.dispatchEvent(evt);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (!this.get('selectedLocationGroup.isDestroyed') || this.get('selectedLocationGroup.isDestroying')) {\n        this.set('selectedLocationGroup', null);\n      }\n      this.set('summarizeBy', null);\n    },\n    _initializeReportFilters: function _initializeReportFilters() {\n      var _this = this;\n\n      Logger.debug('Loading ReportFilters for Daily Close Out');\n      if (this.get('_reportFilters').then !== undefined) {\n        this.get('_reportFilters').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded ReportFilters for Daily Close Out');\n            _this.set('_reportFilters', content);\n          });\n        });\n      }\n    },\n    actions: {\n      showExportModal: function showExportModal() {\n        this._initializeReportExportParameters();\n        this.set('showExportModal', true);\n      },\n      closeModal: function closeModal() {\n        this.set('showExportModal', false);\n      },\n      accept: function accept(item) {\n        this.set('showExportModal', false);\n        this.sendAction('search', item);\n      },\n      searchReport: function searchReport() {\n        this._initializeReportExportParameters();\n        this.set('isShowExportButton', false);\n        this.send('search');\n      },\n      search: function search() {\n        this.send('cleanMessages');\n        this.set('showScheduleModal', false);\n        var isValid = true;\n        var errorMessage = undefined;\n\n        this._setDefaultFilters(isValid, errorMessage);\n\n        if (this.get('summarizeBy') === undefined || this.get('summarizeBy') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noSummarizeFilterError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (this.get('selectedLocationGroup') === undefined || this.get('selectedLocationGroup') === null) {\n          isValid = false;\n          errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n\n        if (isValid) {\n          this.set('page', 0);\n          this.sendAction('search', this.get('reportOptions'));\n        }\n      },\n      reportFilterSelection: function reportFilterSelection(filter) {\n        this.set('summarizeBy', filter);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/search-criteria/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"xYIbAdFz\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box box-primary\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-header\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-title\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Report Filter\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-tools pull-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-box-tool\\\"],[\\\"static-attr\\\",\\\"data-widget\\\",\\\"collapse\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"box-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.fromDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],20],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"fromDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /From Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" To Date \\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label date-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.toDate.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],19],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"bs-datetimepicker\\\"],null,[[\\\"date\\\",\\\"format\\\",\\\"updateDate\\\"],[[\\\"get\\\",[\\\"toDate\\\"]],\\\"MM/DD/YYYY hh:mm a\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"toDate\\\"]]],null]],null]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"comment\\\",\\\" /To Date \\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],18],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedLocationGroups\\\"]],[\\\"get\\\",[\\\"selectedLocationGroup\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locationGroup.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"locationGroupSelection\\\"],null]]],17],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]]],null]],null,16],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"vendorDisabled\\\"]]],null]],null,12],[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredLocations\\\"]],[\\\"get\\\",[\\\"selectedLocations\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.locations.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedLocations\\\"]]],null]],null]]],7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],6],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredMenus\\\"]],[\\\"get\\\",[\\\"selectedMenus\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.menu.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"selectedMenus\\\"]]],null]],null]]],5],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 16px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],4],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"sortedReportFilters\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.summarizeBy.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"reportFilterSelection\\\"],null]]],3],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchReport\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.search\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-3 col-md-2 col-lg-2 col-xs-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isShowExportButton\\\"]]],null,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showExportModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"report-export-option\\\"],null,[[\\\"reportOptions\\\",\\\"okAction\\\",\\\"cancelAction\\\"],[[\\\"get\\\",[\\\"reportOptions\\\"]],\\\"accept\\\",\\\"closeModal\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"report.dialog.exportOption\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"width: 100%\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showExportModal\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.export\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"salesReportByProductFilter\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"salesReportByProductFilter\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Summarize data entries by this field\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"menu\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"menu\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific menus\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"location\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"location\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific locations\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vendor\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vendor\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendors\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],10],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4 col-sm-pad\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"searchField\\\",\\\"allowClear\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_filteredVendorCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendor\\\"]],true,[\\\"get\\\",[\\\"vendorDisabled\\\"]],\\\"companyName\\\",true,[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendor.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorSelection\\\"],null]]],9],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendors\\\"]]],null,11]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"vmc\\\",\\\"companyName\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"vmc\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                    \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific vendor management\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-21 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-info-circle info-bubble\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"side\\\"],[\\\"top\\\"]],14],[\\\"text\\\",\\\"                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-xs-12 col-sm-12 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"disabled\\\",\\\"allowClear\\\",\\\"searchField\\\",\\\"loadingMessage\\\",\\\"searchPlaceholder\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_vendorManagementCompanies\\\"]],[\\\"get\\\",[\\\"selectedVendorManagement\\\"]],true,[\\\"get\\\",[\\\"vendorManagementDisabled\\\"]],true,\\\"companyName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.dropdownSearchFilter\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"report.searchCriteria.vendorManagement.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"vendorManagementSelection\\\"],null]]],13],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"hasVendorManagements\\\"]]],null,15]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Filter by specific event/venue\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"End date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Start date for report\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/sponsor-loaded-fund-usage-report/search-criteria/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/table-header-row-filtering/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    tagName: '',\n    filterString: '',\n    filterOptions: [],\n    filter: null,\n    options: computed('filterOptions', function () {\n      return this.get('filterOptions').mapBy('label');\n    }),\n    actions: {\n      optionChange: function optionChange(option) {\n        if (option === null) {\n          option = '';\n        }\n        this.set('filterString', option);\n        this.filter && this.filter();\n      }\n    }\n  });\n});\n/**\n * Component definition for the table-header-row-filtering component\n */","define(\"fcs-dashboard/pods/components/table-header-row-filtering/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6K4Ab9Za\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"triggerClass\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"options\\\"]],[\\\"get\\\",[\\\"filterString\\\"]],false,true,\\\"changeFilterForColumn form-control stateRow\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"optionChange\\\"],null]]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"option\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"option\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/table-header-row-filtering/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/tags-input/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    classNames: ['tags-input'],\n\n    newTag: '',\n    tags: computed.alias('value'),\n    placeholder: 'Add a tag...',\n\n    actions: {\n      addTag: function addTag() {\n        var newTag = this.get('newTag').trim();\n        if (newTag && !this.get('tags').includes(newTag)) {\n          this.get('tags').pushObject({ name: newTag });\n          this.set('newTag', '');\n        }\n      },\n\n      removeTag: function removeTag(tag) {\n        this.get('tags').removeObject(tag);\n      },\n\n      keyPress: function keyPress(event) {\n        if (event.keyCode === 13) {\n          event.preventDefault();\n          this.send('addTag');\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/tags-input/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"T3cSk3Om\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tags-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"placeholder\\\",\\\"value\\\",\\\"keyPress\\\"],[\\\"text\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"placeholder\\\"]],[\\\"get\\\",[\\\"newTag\\\"]],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"keyPress\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group-btn\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"addTag\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-plus\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tags-list\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 10px; line-height: 32px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"tags\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tag label label-primary\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"font-size: 16px; margin-right: 5px; margin-bottom: 5px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tag-text\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"tag\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tag-remove\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeTag\\\",[\\\"get\\\",[\\\"tag\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"tag\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/tags-input/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/tags-selector/component', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var inject = _ember['default'].inject;\n  exports['default'] = Component.extend({\n    classNames: ['tags-selector'],\n    store: inject.service(),\n\n    selectedTags: computed.alias('value'),\n    availableTags: [],\n    selectedTag: null,\n    companyId: null,\n\n    // Filter out already selected tags from available options\n    availableOptions: computed('availableTags.[]', 'selectedTags.[]', function () {\n      var availableTags = this.get('availableTags') || [];\n      var selectedTags = this.get('selectedTags') || [];\n      var selectedTagNames = selectedTags.map(function (tag) {\n        return tag.name;\n      });\n      console.log(availableTags);\n\n      return availableTags.filter(function (tag) {\n        return !selectedTagNames.includes(tag.name);\n      });\n    }),\n\n    // Watch for companyId changes and load tags\n    companyIdObserver: _ember['default'].observer('companyId', function () {\n      var companyId = this.get('companyId');\n      if (companyId) {\n        this.loadCompanyTags(companyId);\n      } else {\n        this.set('availableTags', []);\n      }\n    }),\n\n    // Initialize tags when component is created\n    init: function init() {\n      this._super.apply(this, arguments);\n      var companyId = this.get('companyId');\n      if (companyId) {\n        this.loadCompanyTags(companyId);\n      }\n    },\n\n    loadCompanyTags: function loadCompanyTags(companyId) {\n      var _this = this;\n\n      this.get('store').findRecord('company', companyId).then(function (company) {\n        console.log('Company tags:', company.get('tags'));\n        var tags = company.get('tags') || [];\n        // Convert string tags to objects with id and name\n        var tagObjects = tags.filter(function (tag) {\n          return tag.id;\n        });\n        _this.set('availableTags', tagObjects);\n      })['catch'](function () {\n        _this.set('availableTags', []);\n      });\n    },\n\n    actions: {\n      selectTag: function selectTag(tag) {\n        if (tag) {\n          var selectedTags = this.get('selectedTags') || [];\n          var tagId = tag.id;\n\n          // Check if tag is already selected\n          if (!selectedTags.findBy('id', tagId)) {\n            this.get('selectedTags').pushObject(tag);\n          }\n\n          // Clear the selection\n          this.set('selectedTag', null);\n        }\n      },\n\n      removeTag: function removeTag(tag) {\n        var selectedTags = this.get('selectedTags') || [];\n        var tagToRemove = undefined;\n\n        if (typeof tag === 'string') {\n          tagToRemove = selectedTags.findBy('name', tag);\n        } else if (tag.id) {\n          tagToRemove = selectedTags.findBy('id', tag.id);\n        } else {\n          tagToRemove = selectedTags.findBy('name', tag.name);\n        }\n\n        if (tagToRemove) {\n          this.get('selectedTags').removeObject(tagToRemove);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/tags-selector/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ir6EnzpH\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tags-selector-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"available-tags\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"availableOptions\\\"]],[\\\"get\\\",[\\\"selectedTag\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.tags.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectTag\\\"],null]]],2],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"selected-tags\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 15px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tags-list\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"selectedTags\\\"]]],null,1,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.detail.tags.noTagsSelected\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tag label label-primary\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right: 5px; margin-bottom: 5px; display: inline-block; font-size: 16px;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tag-text\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"tag\\\",\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"tag-remove\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeTag\\\",[\\\"get\\\",[\\\"tag\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-times\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"tag\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"tag\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"tag\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/tags-selector/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/tip-button/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"aqokMn8Q\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"buttonOne\\\",\\\"0\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipButton\\\",\\\"buttonOne\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"buttonTwo\\\",\\\"0\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipButton\\\",\\\"buttonTwo\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"buttonThree\\\",\\\"0\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipButton\\\",\\\"buttonThree\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/tip-button/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/tip-percentage/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"L67NHlpB\", \"block\": \"{\\\"statements\\\":[[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"max\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"percentageOne\\\",\\\"0\\\",\\\"100\\\",\\\"true\\\",\\\"form-control input-holder\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipPercentage\\\",\\\"percentageOne\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"max\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"percentagTwo\\\",\\\"0\\\",\\\"100\\\",\\\"true\\\",\\\"form-control input-holder\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipPercentage\\\",\\\"percentageTwo\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-4\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"id\\\",\\\"min\\\",\\\"max\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"percentageThree\\\",\\\"0\\\",\\\"100\\\",\\\"true\\\",\\\"form-control input-holder\\\",[\\\"get\\\",[\\\"menu\\\",\\\"tipPercentage\\\",\\\"percentageThree\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/tip-percentage/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/trait/trait-list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent) {\n  var Component = _ember[\"default\"].Component;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var Logger = _ember[\"default\"].Logger;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    refreshList: true,\n    traitName: '',\n    _disableAddAction: computed('lockedCompany', function () {\n      return this.get('isBRUser') && this.get('lockedCompany') === undefined;\n    }),\n    columns: computed(function () {\n      var hideCompanyColumn = !this.get('isBRUser');\n      return [{\n        propertyName: 'name',\n        filteredBy: 'name',\n        title: this.get('intl').t('trait.list.name')\n      }, {\n        propertyName: 'companyName',\n        filteredBy: 'companyName',\n        title: this.get('intl').t('trait.list.company'),\n        isHidden: hideCompanyColumn,\n        className: 'companyNameRow'\n      }, {\n        title: '',\n        template: \"trait/delete-cell\",\n        className: 'editRow'\n      }];\n    }),\n    _filteredData: [],\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    actions: {\n      deleteTrait: function deleteTrait(item) {\n        item.set('deleted', true);\n        this.sendAction('save', item);\n      },\n      saveAction: function saveAction() {\n        var companyId = undefined;\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            companyId = this.get('lockedCompany.id');\n          }\n        } else {\n          companyId = this.get('loggedAccount.company.id');\n        }\n\n        if (companyId !== undefined && companyId !== null) {\n          if (this.get('_filteredData').filterBy('name', this.get('traitName')).length > 0) {\n            this.get('notify').alert(this.get('intl').t('trait.list.errors.duplicatedTraitName', { name: this.get('traitName') }), { closeAfter: 5000 });\n          } else {\n            if (!isEmpty(this.get('traitName')) && this.get('traitName').trim().length > 0) {\n              var trait = this.get('store').createRecord('trait', { name: this.get('traitName').trim(), companyId: companyId });\n              this.set('traitName', '');\n              this.sendAction('save', trait);\n            } else {\n              this.get('notify').alert(this.get('intl').t('trait.list.errors.blankTraitError'), { closeAfter: 3000 });\n            }\n          }\n        } else {\n          this.get('notify').alert(this.get('intl').t('trait.list.errors.notLockedToCompanyError'), { closeAfter: 3000 });\n        }\n      },\n      inputKeyUp: function inputKeyUp(value) {\n        this.set('traitName', value);\n        this.set('_filteredData', this._filterData(this.get('traits')));\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/trait/trait-list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EO4GQTtC\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6 row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-2 d-flex justify-content-end text-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"trait.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"placeholder\\\",\\\"required\\\",\\\"value\\\",\\\"key-up\\\",\\\"enter\\\"],[\\\"text\\\",\\\"traitName\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"trait.details.name.placeholder\\\"],null],\\\"true\\\",[\\\"get\\\",[\\\"traitName\\\"]],\\\"inputKeyUp\\\",\\\"saveAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success btn-sm\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"line-height: 24px; padding-top: 0; padding-bottom: 0;\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"_disableAddAction\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"trait.details.buttons.add\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"refreshList\\\"]]],null,0],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"multipleColumnsSorting\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showFilterButton\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"headerFilteringRowTemplate\\\",\\\"simplePaginationTemplate\\\",\\\"delete\\\"],[[\\\"get\\\",[\\\"traits\\\"]],[\\\"get\\\",[\\\"columns\\\"]],true,\\\"total\\\",\\\"pages\\\",true,false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-header-row-filtering-new\\\",\\\"application/table-pagination\\\",\\\"deleteTrait\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/trait/trait-list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/user-mng/account-details/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent) {\n  var Component = _ember[\"default\"].Component;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], {\n    passwordConfirmation: '',\n    showCompanySection: false,\n    _showCompanyFeatures: function _showCompanyFeatures() {\n      return Number(this.get('accountSession.account.userType.id')) === this.get('BR_USERTYPE') && this.get('lockedCompany') !== undefined;\n    },\n    _showUnlockedBRUserFeatures: function _showUnlockedBRUserFeatures() {\n      return Number(this.get('loggedAccount.userType.id')) === this.get('BR_USERTYPE') && this.get('lockedCompany') === undefined;\n    },\n    init: function init() {\n      this._super.apply(this, arguments);\n      if (Number(this.get('accountSession.account.userType.id')) === this.get('COMPANY_USERTYPE')) {\n        this.set('model.company', this.get('accountSession.account.company'));\n      } else if (Number(this.get('accountSession.account.userType.id')) === this.get('BR_USERTYPE') && this.get('lockedCompany') !== undefined) {\n        this.set('model.company', this.get('lockedCompany'));\n      }\n      this.set('showUserType', this._showUnlockedBRUserFeatures());\n      this.showCompanyFeatures();\n    },\n    showCompanyFeatures: function showCompanyFeatures() {\n      this.set('showCompany', this._showUnlockedBRUserFeatures());\n      this.set('showCompanySection', Number(this.get('model.userType.id')) === this.get('COMPANY_USERTYPE'));\n    },\n    actions: {\n      saveAction: function saveAction(user, password) {\n        this.sendAction('save', user, password);\n      },\n      cancelAction: function cancelAction(user) {\n        this.sendAction('cancel', user);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/user-mng/account-details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"koCowhoO\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.editTitle\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.userInformation\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"name\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"name\\\",\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.name.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"lastname\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.lastName.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"lastname\\\",\\\"lastname\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.lastName.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"lastName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"email\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.email.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"style\\\",\\\"value\\\"],[\\\"text\\\",\\\"email\\\",\\\"email\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.email.placeholder\\\"],null],\\\"form-control\\\",\\\"width: 280px\\\",[\\\"get\\\",[\\\"model\\\",\\\"email\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"username\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.username.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\",\\\"readonly\\\"],[\\\"text\\\",\\\"username\\\",\\\"username\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.username.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"username\\\"]],true]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.password.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"password\\\",\\\"password\\\",\\\"password\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.password.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"password\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password_confirm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.passwordConfirmation.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"password\\\",\\\"password_confirm\\\",\\\"password_confirm\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.passwordConfirmation.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"passwordConfirmation\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompanySection\\\"]]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\",[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"passwordConfirmation\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"isNew\\\"]]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.buttons.cancel\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.buttons.register\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-bottom: 4%;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.companyInformation\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.tabletLogin.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"model\\\",\\\"company\\\",\\\"tabletLogin\\\"]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.companyPassword.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"model\\\",\\\"company\\\",\\\"decryptedPassword\\\"]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/user-mng/account-details/template.hbs\" } });\n});","define('fcs-dashboard/pods/components/user-mng/details/component', ['exports', 'ember', 'fcs-dashboard/mixins/base-component', 'fcs-dashboard/mixins/user-mixin'], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsUserMixin) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var Logger = _ember['default'].Logger;\n  var RSVP = _ember['default'].RSVP;\n  var run = _ember['default'].run;\n\n  // BRP-4240: how many events the Events/Venues picker asks for, both for the list it opens with\n  // and for each search. The endpoint's own default is ten (BaseQueryDto), which on Test is ten of\n  // 1375 in ascending id order: 2015-era test groups, with no live event among them.\n  var EVENT_PAGE_SIZE = 50;\n  // BRP-4240: power-select calls its search action on every keystroke. Waiting for the typing to\n  // settle makes one word one request instead of six.\n  var EVENT_SEARCH_DEBOUNCE_MS = 300;\n  // BRP-4240: one letter matches most of the estate and tells nobody anything.\n  var EVENT_SEARCH_MIN_CHARS = 2;\n\n  exports['default'] = Component.extend(_fcsDashboardMixinsBaseComponent['default'], _fcsDashboardMixinsUserMixin['default'], {\n    passwordConfirmation: '',\n    showUserType: false,\n    showCompany: false,\n    // A cashless admin at a non-cashless event is meaningless, so that filter is right for them.\n    // It is wrong for everyone else: 709 of 835 location groups on Dev are non-cashless, and a KDS\n    // clerk can be assigned to any event the company runs.\n    _locationGroups: computed('model.userType.id', function () {\n      Logger.debug('BR-user: Getting selectable location groups for event access.');\n      return this.get('store').query('locationGroup', this._locationGroupQuery());\n    }),\n    showProfiles: computed('model.company', function () {\n      return this.get('model.company') !== undefined && this.get('model.company.id') !== undefined;\n    }),\n    isCashlessUser: computed('model.userType.id', function () {\n      return Number(this.get('model.userType.id')) === this.get('CASHLESS_USERTYPE');\n    }),\n\n    isCompanyUser: computed('model.userType.id', function () {\n      return Number(this.get('model.userType.id')) === this.get('COMPANY_USERTYPE');\n    }),\n\n    // Which events this user may work at. LOCATION_GROUP_USER arrived with the cashless user type\n    // in V1_142 and the UI still only knew about that one consumer, but the KDS reads the same\n    // table to decide where a clerk may sign in, and every KDS clerk is a company user. Both types\n    // need the picker.\n    showEventAccess: computed.or('isCashlessUser', 'isCompanyUser'),\n    showCompanySection: false,\n    userTypes: computed(function () {\n      return this.get('store').findAll('userType');\n    }),\n    companyProfiles: computed('model.company', function () {\n      if (this.get('model.company.id')) {\n        return this.get('store').query('userProfile', { company: this.get('model.company.id') });\n      }\n    }),\n    companies: computed(function () {\n      return this.get('store').query('company', { pageSize: -1 });\n    }),\n    _sortingCriteria: ['name'],\n    _sortedCompanies: computed.sort('companies', '_sortingCriteria'),\n    _showUnlockedBRUserFeatures: function _showUnlockedBRUserFeatures() {\n      return Number(this.get('loggedAccount.userType.id')) === this.get('BR_USERTYPE') && this.get('lockedCompany') === undefined;\n    },\n    _showCompanyFeatures: function _showCompanyFeatures() {\n      return Number(this.get('accountSession.account.userType.id')) === this.get('BR_USERTYPE') && this.get('lockedCompany') !== undefined;\n    },\n    _initializeLocationGroups: function _initializeLocationGroups() {\n      var _this = this;\n\n      Logger.debug('Loading LocationGroups for Simple Sales rpt');\n      if (this.get('_locationGroups').then !== undefined) {\n        this.get('_locationGroups').then(function (content) {\n          run(function () {\n            Logger.debug('Loaded LocationGroups for Simple Sales rpt');\n            _this.set('_locationGroups', content);\n          });\n        });\n      }\n    },\n    /**\n     * BRP-4240: query parameters for the Events/Venues picker, for both the opening list and each\n     * search.\n     *\n     * <p>Sorted by name and given an explicit page size because the endpoint's defaults are ten\n     * rows in database order, which filled the picker with the oldest groups on the instance and\n     * offered no way to reach a current event.\n     *\n     * <p>A term is sent as <code>name</code>, which the server matches case-insensitively as a\n     * contains (LocationGroupController.buildQuery). A blank term is omitted rather than sent\n     * empty: <code>name=</code> becomes LIKE '%%', which scans the table to match everything.\n     *\n     * <p>The cashless filter is sent as <code>translatedIsCashless</code>, not <code>isCashless</code>.\n     * They are not two spellings of one parameter: LocationGroupController declares a second mapping\n     * on this URL for <code>params = {\"isCashless\"}</code>, which calls findByIsCashless and returns\n     * every cashless group with no paging, no sort and no name filter. Locally that is 214 groups,\n     * 1.45MB and 48 seconds, against 165ms for the paged handler, and a typed term is discarded.\n     * <code>translatedIsCashless</code> is the paged handler's own parameter and filters identically.\n     *\n     * @param {String} [term] text typed into the picker; omitted for the opening list\n     * @returns {Object} parameters for store.query('locationGroup', ...)\n     */\n    _locationGroupQuery: function _locationGroupQuery(term) {\n      var query = { sort: 'name', sortDirection: 'asc', pageSize: EVENT_PAGE_SIZE };\n      if (this.get('isCashlessUser')) {\n        query.translatedIsCashless = 'Yes';\n      }\n      if (term) {\n        query.name = term;\n      }\n      return query;\n    },\n\n    /**\n     * BRP-4240: run one Events/Venues search, once the typing has settled.\n     *\n     * <p>Ordering is power-select's concern rather than ours: its handleAsyncSearchTask is\n     * restartable, so a slow early search is cancelled when a later one starts and cannot write\n     * stale results over newer ones.\n     *\n     * @param {String} term the settled search text\n     * @param {Function} resolve resolves the promise handed back to power-select\n     * @param {Function} reject rejects it, leaving the dropdown's own no-results message\n     */\n    _searchLocationGroups: function _searchLocationGroups(term, resolve, reject) {\n      Logger.debug('BR-user: Searching location groups for event access.');\n      this.get('store').query('locationGroup', this._locationGroupQuery(term)).then(resolve, reject);\n    },\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._initializeLocationGroups();\n      if (Number(this.get('accountSession.account.userType.id')) === this.get('COMPANY_USERTYPE')) {\n        this.set('model.company', this.get('accountSession.account.company'));\n      } else if (Number(this.get('accountSession.account.userType.id')) === this.get('BR_USERTYPE') && this.get('lockedCompany') !== undefined) {\n        this.set('model.company', this.get('lockedCompany'));\n      }\n      this.set('showUserType', this._showUnlockedBRUserFeatures());\n      this.showCompanyFeatures();\n    },\n    showCompanyFeatures: function showCompanyFeatures() {\n      this.set('showCompany', this._showUnlockedBRUserFeatures());\n      this.set('showCompanySection', Number(this.get('model.userType.id')) === this.get('COMPANY_USERTYPE'));\n    },\n    actions: {\n      /**\n       * BRP-4240: server-side search for the Events/Venues picker.\n       *\n       * <p>Without it the control filters whichever page it was handed, so typing the name of a\n       * real event offers nothing and a clerk cannot be assigned to a current show from the\n       * dashboard at all.\n       *\n       * <p>Below the minimum term length the opening list is returned unchanged, which is also what\n       * appears when the box is cleared.\n       *\n       * @param {String} term text typed into the picker\n       * @returns {Object|Promise} the options to offer\n       */\n      searchLocationGroups: function searchLocationGroups(term) {\n        var _this2 = this;\n\n        var trimmed = (term || '').trim();\n        if (trimmed.length < EVENT_SEARCH_MIN_CHARS) {\n          return this.get('_locationGroups');\n        }\n        return new RSVP.Promise(function (resolve, reject) {\n          run.debounce(_this2, _this2._searchLocationGroups, trimmed, resolve, reject, EVENT_SEARCH_DEBOUNCE_MS);\n        });\n      },\n      userTypeSelected: function userTypeSelected(selection) {\n        if (selection) {\n          this.set('model.userType', selection);\n          this.set('model.company', undefined);\n          this.set('model.userProfile', undefined);\n          this.showCompanyFeatures();\n        }\n      },\n      companySelected: function companySelected(selection) {\n        if (selection) {\n          this.set('showProfiles', true);\n          this.set('model.company', selection);\n          this.set('model.userProfile', undefined);\n        }\n      },\n      stateSelected: function stateSelected(selection) {\n        this.set('model.state', selection.toLowerCase());\n      },\n      cancelAction: function cancelAction(user) {\n        this.sendAction('cancel', user);\n      },\n      saveAction: function saveAction(user, password) {\n        this.sendAction('save', user, password);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/user-mng/details/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"E9+XycpP\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.userInformation\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"name\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.name.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"name\\\",\\\"name\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.name.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"name\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"lastname\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.lastName.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"lastname\\\",\\\"lastname\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.lastName.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"lastName\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"for\\\",\\\"email\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.email.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"style\\\",\\\"value\\\"],[\\\"text\\\",\\\"email\\\",\\\"email\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.email.placeholder\\\"],null],\\\"form-control\\\",\\\"width: 280px\\\",[\\\"get\\\",[\\\"model\\\",\\\"email\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"username\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.username.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"username\\\",\\\"username\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.username.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"username\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.state.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"statuses\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"translatedState\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"stateSelected\\\"],null]]],11],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"isNew\\\"]]],null,10],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showUserType\\\"]]],null,9],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompanySection\\\"]]],null,7],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showEventAccess\\\"]]],null,2],[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"saveAction\\\",[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"passwordConfirmation\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.buttons.save\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancelAction\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.buttons.cancel\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"help-block text-warning\\\"],[\\\"static-attr\\\",\\\"id\\\",\\\"eventAccessEmptyWarning\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-exclamation-triangle\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.eventAccess.noneAssigned\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"locationGroup\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"locationGroup\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.eventAccess.legend\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"username\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.eventAccess.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select-multiple\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"search\\\",\\\"loadingMessage\\\",\\\"placeholder\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_locationGroups\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"locationGroups\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"searchLocationGroups\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"general.loadingMessage\\\"],null],[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.eventAccess.placeholder\\\"],null],[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"locationGroups\\\"]]],null]],null]]],1],[\\\"text\\\",\\\"          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"locationGroups\\\",\\\"length\\\"]]],null,0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"userProfile\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"userProfile\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.userProfile.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"companyProfiles\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"userProfile\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"userProfile\\\"]]],null]],null]]],3],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"company\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"company\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.company.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"searchField\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"_sortedCompanies\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"company\\\"]],true,\\\"name\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"companySelected\\\"],null]]],5],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"fieldset\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.companyInformation\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showCompany\\\"]]],null,6],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showProfiles\\\"]]],null,4],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"userType\\\",\\\"translatedType\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"userType\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.userType.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"userTypes\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"userType\\\"]],false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"userTypeSelected\\\"],null]]],8],[\\\"text\\\",\\\"            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields left-align\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.password.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"password\\\",\\\"password\\\",\\\"password\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.password.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"model\\\",\\\"password\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-4 col-md-4 col-lg-3 stretch-fields\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"static-attr\\\",\\\"for\\\",\\\"password_confirm\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n                \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.passwordConfirmation.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"id\\\",\\\"name\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\"],[\\\"password\\\",\\\"password_confirm\\\",\\\"password_confirm\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.details.passwordConfirmation.placeholder\\\"],null],\\\"form-control\\\",[\\\"get\\\",[\\\"passwordConfirmation\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"state\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"state\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/user-mng/details/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/user-mng/import-user-list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/config/environment\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardConfigEnvironment) {\n  var Component = _ember[\"default\"].Component;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], {\n    disableImportUsersButton: false,\n    importedObjects: 0,\n    errors: 0,\n    newUsers: 0,\n    updatedUsers: 0,\n    csvFile: null,\n    usersOption: false,\n    showResponse: false,\n    actions: {\n      importUsersSuccess: function importUsersSuccess() {\n        this.sendAction('importUsersSuccess');\n      },\n      uploadFile: function uploadFile(fileList) {\n        var re = new RegExp('text/csv');\n        if (fileList[0].size <= 10000000) {\n          if (re.test(fileList[0].type)) {\n            var that = this;\n            that.set('csvFile', fileList[0]);\n          } else {\n            Logger.debug('not a csv.');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageFormat'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        } else {\n          Logger.debug('image size max is 10mb.');\n          var errorMessage = this.get('notify').alert(this.get('intl').t('productCatalog.modal.errors.invalidImageSize'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n      },\n      removeFile: function removeFile() {\n        this.set('csvFile', null);\n      },\n      importUsers: function importUsers() {\n        var _this = this;\n\n        this.set('disableImportUsersButton', true);\n        if (this.get('csvFile') !== null && this.get('csvFile') !== undefined) {\n          (function () {\n            var endpoint = \"https://usermanagementapi-\" + _fcsDashboardConfigEnvironment[\"default\"].APP.stage + \".bestringpos.com/bulkCreation/usersOption/\" + _this.get('usersOption');\n            var apiKey = _fcsDashboardConfigEnvironment[\"default\"].APP.userApiKey;\n            var options = {\n              contentType: false,\n              processData: false,\n              url: endpoint,\n              type: 'POST',\n              data: _this.get('csvFile')\n            };\n            options.beforeSend = function (xhr) {\n              xhr.setRequestHeader('x-api-key', apiKey);\n            };\n            options.success = function (response) {\n              var totalObjects = response.newUsers.length + response.updatedUsers.length;\n              _this.set('importedObjects', totalObjects.toString());\n              _this.set('newUsers', response.newUsers.length.toString());\n              _this.set('updatedUsers', response.updatedUsers.length.toString());\n              _this.set('errors', response.errorUsers.length.toString());\n              _this.set('disableImportUsersButton', false);\n              _this.set('showResponse', true);\n            };\n            options.error = function (e) {\n              Logger.debug('got error response: ' + e);\n              var errorMessage = undefined;\n              // Catch error and return proper error message\n              errorMessage = _this.get('notify').alert(_this.get('intl').t('user.modal.errors.errorUploading'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n              _this.set('disableImportUsersButton', false);\n            };\n            _ember[\"default\"].$.ajax(options);\n          })();\n        } else {\n          this.get('notify').alert(\"Please select a file\", { closeAfter: 5000 });\n          this.set('disableImportUsersButton', false);\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/user-mng/import-user-list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"DzbCuAfp\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showResponse\\\"]]],null,5,4]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.importSettings.option2\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.importSettings.option1\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"csvFile\\\",\\\"name\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.removeImage\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"removeFile\\\"]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"camera-icon\\\"],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-file-text\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row justify-content-center text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.uploadCSV\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Please select a valid csv file to upload. You can download the template \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"/usersTemplate.csv\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"HERE\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height justify-content-center text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3 logo-wrapper\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin: 5px 5px 0 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"x-file-input\\\"],null,[[\\\"action\\\",\\\"accept\\\",\\\"multiple\\\"],[\\\"uploadFile\\\",\\\"text/csv\\\",false]],3],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"csvFile\\\"]]],null,2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height justify-content-center text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.importSettings.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row justify-content-center text-left\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 12px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          Based on your import settings selection, you may choose to update or \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          ignore usernames that already exist. Review your data \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          thoroughly is you decide to update existing usernames.\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[false,[\\\"get\\\",[\\\"usersOption\\\"]]]],1],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"radio-button\\\"],null,[[\\\"value\\\",\\\"groupValue\\\"],[true,[\\\"get\\\",[\\\"usersOption\\\"]]]],0],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height justify-content-center text-left\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disableImportUsersButton\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"importUsers\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.list.buttons.importUsers\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row row-height\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row justify-content-center text-center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"legend\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.results.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"p\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"font-weight: bold;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.results.importedObjects\\\"],[[\\\"objects\\\"],[[\\\"get\\\",[\\\"importedObjects\\\"]]]]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.results.newUsers\\\"],[[\\\"newUsers\\\"],[[\\\"get\\\",[\\\"newUsers\\\"]]]]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.results.updatedUsers\\\"],[[\\\"updatedUsers\\\"],[[\\\"get\\\",[\\\"updatedUsers\\\"]]]]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.results.errors\\\"],[[\\\"errors\\\"],[[\\\"get\\\",[\\\"errors\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12 row-height justify-content-center text-center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"importUsersSuccess\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        Ok\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/user-mng/import-user-list/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/components/user-mng/list/component\", [\"exports\", \"ember\", \"fcs-dashboard/mixins/base-component\", \"fcs-dashboard/mixins/table-component\", \"fcs-dashboard/mixins/user-mixin\", \"fcs-dashboard/mixins/common-mixin\"], function (exports, _ember, _fcsDashboardMixinsBaseComponent, _fcsDashboardMixinsTableComponent, _fcsDashboardMixinsUserMixin, _fcsDashboardMixinsCommonMixin) {\n  var Component = _ember[\"default\"].Component;\n  var isEqual = _ember[\"default\"].isEqual;\n  var computed = _ember[\"default\"].computed;\n  var observer = _ember[\"default\"].observer;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Component.extend(_fcsDashboardMixinsBaseComponent[\"default\"], _fcsDashboardMixinsTableComponent[\"default\"], _fcsDashboardMixinsUserMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    metaItemsCountProperty: 'total',\n    data: [],\n    showUserListModal: false,\n    showPasswordModal: false,\n    _record: null,\n    _columns: computed(function () {\n      var hideCompanyColumn = !this.get('isBRUser');\n      var availableStatuses = this.get('statuses');\n      var availableUserProfiles = undefined;\n      if (this.get('isBRUser')) {\n        availableUserProfiles = this.get('bradminUserProfiles');\n      } else {\n        availableUserProfiles = this.get('userProfiles');\n      }\n\n      return [{\n        title: '',\n        template: \"user/edit-action\",\n        className: 'editRow'\n      }, {\n        propertyName: 'name',\n        title: this.get('intl').t('user.list.table.name')\n      }, {\n        propertyName: 'lastName',\n        title: this.get('intl').t('user.list.table.lastName')\n      }, {\n        propertyName: 'username',\n        filteredBy: 'sUsername',\n        title: this.get('intl').t('user.list.table.username')\n      }, {\n        propertyName: 'email',\n        title: this.get('intl').t('user.list.table.email')\n      }, {\n        propertyName: 'userProfile.name',\n        filteredBy: 'userProfileName',\n        title: this.get('intl').t('user.list.table.userProfile'),\n        className: 'userProfileRow',\n        filterWithSelect: true,\n        predefinedFilterOptions: availableUserProfiles\n      }, {\n        propertyName: 'translatedState',\n        filteredBy: 'state',\n        title: this.get('intl').t('user.list.table.state'),\n        filterWithSelect: true,\n        predefinedFilterOptions: availableStatuses,\n        className: 'stateRow',\n        filterFunction: function filterFunction(cell, neededStr, obj) {\n          return isEqual(obj.get('translatedState').toLowerCase(), neededStr);\n        }\n      }, {\n        propertyName: 'company.name',\n        filteredBy: 'companyName',\n        title: this.get('intl').t('user.list.table.company'),\n        isHidden: hideCompanyColumn\n      }, {\n        title: '',\n        template: \"user/reset-password-email-action\",\n        className: 'changePasswordRow'\n      }, {\n        title: '',\n        template: \"user/change-password-action\",\n        className: 'changePasswordRow'\n      }];\n    }),\n    _checkCompanyLock: observer('lockedCompany', function () {\n      Logger.debug('calling refresh');\n      this.sendAction('refreshAction');\n    }),\n    actions: {\n      showChangePasswordModal: function showChangePasswordModal(record) {\n        this.set('_record', record);\n        this.set('showPasswordModal', true);\n      },\n      changePassword: function changePassword(model, password) {\n        model.set('password', password);\n        this.set('showPasswordModal', false);\n        this.sendAction('save', model);\n      },\n      closeModal: function closeModal() {\n        this.set('showPasswordModal', false);\n      },\n      resetPasswordEmail: function resetPasswordEmail(record) {\n        var _this = this;\n\n        var userInfo = {\n          username: record.get('username'),\n          email: record.get('email')\n        };\n\n        var path = '/api/v1/passwordResets/forgotPassword';\n        var _window$location = window.location;\n        var protocol = _window$location.protocol;\n        var host = _window$location.host;\n\n        var url = protocol + \"//\" + host + path;\n        var options = {\n          data: userInfo,\n          url: url,\n          type: 'POST'\n        };\n        options.success = function () {\n          var errorMessage = _this.get('notify').success(_this.get('intl').t('user.list.messages.passwordResetEmailSent'), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n        };\n        options.error = function () {\n          console.log('error');\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n      showImportUserList: function showImportUserList() {\n        this.set('showUserListModal', true);\n      },\n      closeImportUsersModal: function closeImportUsersModal() {\n        this.set('showUserListModal', false);\n      },\n      importUsersSuccess: function importUsersSuccess() {\n        this.set('showUserListModal', false);\n        this.sendAction('refreshAction');\n      },\n      gotoFirst: function gotoFirst() {\n        // console.log('first')\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/components/user-mng/list/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NI3BqQ/L\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 10px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-11 col-md-11 col-lg-11\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"block\\\",[\\\"link-to\\\"],[\\\"user.new\\\"],[[\\\"class\\\"],[\\\"btn btn-success\\\"]],5],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isBRUser\\\"]]],null,4],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-table-server-paginated\\\"],null,[[\\\"data\\\",\\\"columns\\\",\\\"metaItemsCountProperty\\\",\\\"metaPagesCountProperty\\\",\\\"showGlobalFilter\\\",\\\"showColumnsDropdown\\\",\\\"useNumericPagination\\\",\\\"filteringIgnoreCase\\\",\\\"customIcons\\\",\\\"customClasses\\\",\\\"simplePaginationTemplate\\\",\\\"headerFilteringRowTemplate\\\",\\\"showFilterButton\\\",\\\"showChangePasswordModal\\\",\\\"resetPasswordEmail\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"_columns\\\"]],\\\"total\\\",\\\"pages\\\",false,false,false,true,[\\\"get\\\",[\\\"icons\\\"]],[\\\"get\\\",[\\\"classes\\\"]],\\\"application/table-pagination\\\",\\\"application/table-header-row-filtering-new\\\",true,\\\"showChangePasswordModal\\\",\\\"resetPasswordEmail\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPasswordModal\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showUserListModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"user-mng/import-user-list\\\"],null,[[\\\"closeImportUsersModal\\\",\\\"importUsersSuccess\\\"],[\\\"closeImportUsersModal\\\",\\\"importUsersSuccess\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\",\\\"isLargeSize\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.importUsers.title\\\"],null],\\\"closeImportUsersModal\\\",false]],0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"change-password-modal\\\"],null,[[\\\"model\\\",\\\"passwordField\\\",\\\"closeModal\\\",\\\"changePassword\\\"],[[\\\"get\\\",[\\\"_record\\\"]],\\\"password\\\",\\\"closeModal\\\",\\\"changePassword\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"user.modal.changePassword.title\\\"],null],\\\"closeModal\\\"]],2]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1 text-right\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showImportUserList\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.list.buttons.importUsers\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.list.buttons.new\\\"],null],false]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/components/user-mng/list/template.hbs\" } });\n});","define('fcs-dashboard/pods/contact/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember['default'].Route;\n  var Logger = _ember['default'].Logger;\n  exports['default'] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsBaseComponent['default'], {\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/contact/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/VoGbo4G\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"contact-info\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/contact/template.hbs\" } });\n});","define('fcs-dashboard/pods/credit-card-type/model', ['exports', 'ember-data/attr', 'ember-data/model'], function (exports, _emberDataAttr, _emberDataModel) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/custom-fee-applies-to/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/custom-fee-log/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    username: (0, _emberDataAttr[\"default\"])('string'),\n    logDate: (0, _emberDataAttr[\"default\"])('string'),\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    value: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0.0 }),\n    type: (0, _emberDataAttr[\"default\"])('string'),\n    appliesTo: (0, _emberDataAttr[\"default\"])('string'),\n    taxable: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    enabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true })\n  });\n});","define(\"fcs-dashboard/pods/custom-fee-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/custom-fee/actions/delete-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"hEbUGUJL\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openDeleteCustomFeeModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/custom-fee/actions/delete-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/custom-fee/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"LLeUjUL9\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"editCustomFeeModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/custom-fee/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/custom-fee/actions/enable-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/Suq38ni\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"enabled\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.enableCustomFee\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"enableCustomFee\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.customFees.list.buttons.disableCustomFee\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"disableCustomFee\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/custom-fee/actions/enable-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/custom-fee/actions/taxable-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Sak98Ea1\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"taxable\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/custom-fee/actions/taxable-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/custom-fee/model\", [\"exports\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataRelationships, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    status: (0, _emberDataRelationships.belongsTo)('promotionStatus'),\n    value: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0.0 }),\n    type: (0, _emberDataRelationships.belongsTo)('customFeeType'),\n    paymentType: (0, _emberDataAttr[\"default\"])('string'),\n    appliesTo: (0, _emberDataRelationships.belongsTo)('customFeeAppliesTo'),\n    taxable: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    enabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    changed: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tempId: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/custom-payment-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-filter/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tm36tGhD\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/daily-close-out-report/amount-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/clerks-by-locations/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\", \"model-fragments/attributes\"], function (exports, _emberDataAttr, _modelFragmentsFragment, _modelFragmentsAttributes) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    clerks: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/clerks', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/clerks/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    cashDrawer: (0, _emberDataAttr[\"default\"])('number'),\n    grossCashSales: (0, _emberDataAttr[\"default\"])('number'),\n    grossCreditSales: (0, _emberDataAttr[\"default\"])('number'),\n    grossRfidSales: (0, _emberDataAttr[\"default\"])('number'),\n    grossSales: (0, _emberDataAttr[\"default\"])('number'),\n    coupon: (0, _emberDataAttr[\"default\"])('number'),\n    spills: (0, _emberDataAttr[\"default\"])('number'),\n    comp: (0, _emberDataAttr[\"default\"])('number'),\n    discounts: (0, _emberDataAttr[\"default\"])('number'),\n    serviceFees: (0, _emberDataAttr[\"default\"])('number'),\n    taxes: (0, _emberDataAttr[\"default\"])('number'),\n    netSales: (0, _emberDataAttr[\"default\"])('number'),\n    creditCardTips: (0, _emberDataAttr[\"default\"])('number'),\n    rfidTips: (0, _emberDataAttr[\"default\"])('number'),\n    totalDigitalTips: (0, _emberDataAttr[\"default\"])('number'),\n    voids: (0, _emberDataAttr[\"default\"])('number'),\n    refunds: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/locations/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    cashDrawer: (0, _emberDataAttr[\"default\"])('number'),\n    grossCashSales: (0, _emberDataAttr[\"default\"])('number'),\n    grossCreditSales: (0, _emberDataAttr[\"default\"])('number'),\n    grossRfidSales: (0, _emberDataAttr[\"default\"])('number'),\n    grossSales: (0, _emberDataAttr[\"default\"])('number'),\n    coupon: (0, _emberDataAttr[\"default\"])('number'),\n    spills: (0, _emberDataAttr[\"default\"])('number'),\n    comp: (0, _emberDataAttr[\"default\"])('number'),\n    discounts: (0, _emberDataAttr[\"default\"])('number'),\n    serviceFees: (0, _emberDataAttr[\"default\"])('number'),\n    taxes: (0, _emberDataAttr[\"default\"])('number'),\n    netSales: (0, _emberDataAttr[\"default\"])('number'),\n    creditCardTips: (0, _emberDataAttr[\"default\"])('number'),\n    rfidTips: (0, _emberDataAttr[\"default\"])('number'),\n    totalDigitalTips: (0, _emberDataAttr[\"default\"])('number'),\n    voids: (0, _emberDataAttr[\"default\"])('number'),\n    refunds: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    clerks: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/clerks', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    locations: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/locations', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    clerksByLocations: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/clerksByLocations', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    productTypes: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/productTypes', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    totalGrossSales: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    totalResults: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    totalDigitalTips: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    outputFileName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/product-types/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    netSales: (0, _emberDataAttr[\"default\"])('number'),\n    tax: (0, _emberDataAttr[\"default\"])('number'),\n    netSalesPlusTax: (0, _emberDataAttr[\"default\"])('number'),\n    voids: (0, _emberDataAttr[\"default\"])('number'),\n    comps: (0, _emberDataAttr[\"default\"])('number'),\n    spills: (0, _emberDataAttr[\"default\"])('number'),\n    declined: (0, _emberDataAttr[\"default\"])('number'),\n    refund: (0, _emberDataAttr[\"default\"])('number'),\n    discount: (0, _emberDataAttr[\"default\"])('number'),\n    coupon: (0, _emberDataAttr[\"default\"])('number'),\n    grossSales: (0, _emberDataAttr[\"default\"])('number'),\n    // BRP-3977 Phase 1f follow-up: dashboard-server exposes a dedicated\n    // grossSalesWithoutVoids field on DailyCloseOutSalesByProduct. Without this\n    // attr declaration Ember Data silently drops the field during deserialization,\n    // and the \"Gross Sales Without Voids\" column (which now reads this property)\n    // renders blank.\n    grossSalesWithoutVoids: (0, _emberDataAttr[\"default\"])('number'),\n    roundUpDonation: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 })\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      scheduleReport: function scheduleReport(scheduledReport) {\n        var _this = this;\n\n        scheduledReport.save().then(function () {\n          Logger.debug('Scheduled Report saved!.');\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('report.scheduledReport.errors.save'));\n          _this.transitionTo('scheduledReport');\n        })[\"catch\"](function (error) {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          if (error.errors[0].detail === 'duplicateScheduledReportNameError') {\n            errorMessage = _this.get('notify').alert(_this.get('intl').t(\"report.scheduledReport.errors.\" + error.errors[0].detail), { closeAfter: 5000 });\n          } else {\n            errorMessage = _this.get('notify').alert(_this.get('intl').t('report.scheduledReport.errors.saveError'), { closeAfter: 5000 });\n          }\n          _this.get('errorMessages').addObject(errorMessage);\n        });\n      },\n      search: function search(queryOptions) {\n        var _this2 = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get summarizedBy\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        query['companyRole'] = queryOptions.get('companyRole');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('dailyCloseOutReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this2.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this2.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this2.controller.set('isLoading', false);\n                _this2.controller.set('showReport', true);\n                _this2.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this2.get('notify').success(_this2.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this2.controller.set('isLoading', false);\n                _this2.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this2.get('notify').alert(_this2.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this2.get('notify').alert(_this2.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this2.controller.set('report', report);\n            if (report.get('totalGrossSales') === 0 && report.get('totalResults') === 0) {\n              _this2.controller.set('noResults', true);\n              _this2.controller.set('isShowExportButton', false);\n            } else {\n              _this2.controller.set('noResults', false);\n              _this2.controller.set('isShowExportButton', true);\n            }\n            //set property to FALSE\n            _this2.controller.set('isLoading', false);\n            _this2.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/serializer\", [\"exports\", \"ember-data\", \"ember\"], function (exports, _emberData, _ember) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.dailyCloseOutReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/daily-close-out-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"E8x2SXTg\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"daily-close-out/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/daily-close-out-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/actions/link-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"wwuHFilP\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"linkCode\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.noLinkCode\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"code\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"linkCode\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/actions/link-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/actions/manage-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"mcHpGWJ6\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"manageLocation\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.buttons.manage\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"delivers\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"toggleMode\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.buttons.toDelivery\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"toggleMode\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.list.buttons.toPickup\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/actions/manage-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/actions/mode-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"sHcnMIJo\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"delivers\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-default\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.mode.pickup\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-primary\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.mode.delivery\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/actions/mode-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/actions/row-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"cYdopuG+\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"renameDestination\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.buttons.rename\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"active\\\"]]],null,2,1],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"orderCount\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-link text-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"confirmDelete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.buttons.delete\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"toggleActive\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.buttons.restore\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"toggleActive\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.buttons.retire\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/actions/row-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/actions/status-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"2xAA6XPm\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"active\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-default\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.status.retired\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-success\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.status.live\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/actions/status-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/actions/url-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"CViT8yFO\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"url\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"deliveryDestination.destinations.noUrl\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"code\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"url\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/actions/url-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/delivery-destination/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n\n  /**\n   * Delivery destinations: the cabanas and bungalows a location runs orders out to (BRP-4224).\n   *\n   * <p>VIP East at ACL is one bar serving a row of cabanas. A sign there is\n   * {@code <linkCode>/<destinationCode>}, so the order arrives knowing where it goes. Until this\n   * screen existed the only way to create one was hand-written SQL, which is how the pilot's twenty\n   * rows reached Test -- and cabana lists change between events, so that was never the answer on a\n   * show day.\n   *\n   * <p>The model is the events a destination can belong to, exactly as the links screen does. Rows\n   * come from whichever event is picked; every location in the estate is not a list anybody wants.\n   *\n   * <p>Fetched with Ember.$.ajax rather than through the store, following online-ordering-link and\n   * kds-station. These are action paths, not resources.\n   */\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    model: function model() {\n      Logger.debug('BR-destinations: loading events');\n      var authToken = this.get('session.data.authenticated.access_token');\n\n      // The same endpoint the links screen uses. A destination hangs off a link, so the events worth\n      // offering here are exactly the events a link can be published for, and a second list that\n      // could drift from it would be a second thing to keep right.\n      return _ember[\"default\"].$.ajax({\n        url: '/api/v1/onlineOrderingLinks/events',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (events) {\n        return events || [];\n      }, function () {\n        Logger.error('BR-destinations: could not load events');\n        return [];\n      });\n    },\n\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/delivery-destination/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"01gufBTt\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"delivery-destination/list\\\"],null,[[\\\"events\\\"],[[\\\"get\\\",[\\\"model\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/delivery-destination/template.hbs\" } });\n});","define('fcs-dashboard/pods/email-recipient/model', ['exports', 'ember', 'ember-data/model', 'ember-data/attr', 'ember-cp-validations'], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n  var isEmpty = _ember['default'].isEmpty;\n  var computed = _ember['default'].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    address: (0, _emberCpValidations.validator)('format', {\n      type: 'email',\n      regex: /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/,\n      descriptionKey: 'user.details.email.label',\n      disabled: computed(function () {\n        return isEmpty(this.get('model.address'));\n      }).volatile()\n    })\n  });\n\n  exports['default'] = _emberDataModel['default'].extend(Validations, {\n    address: (0, _emberDataAttr['default'])('string')\n  });\n});","define('fcs-dashboard/pods/embeddable-report/model', ['exports', 'ember-data/attr', 'ember-data/model', 'model-fragments/attributes'], function (exports, _emberDataAttr, _emberDataModel, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    reportName: (0, _emberDataAttr['default'])('string'),\n    reportFilters: (0, _modelFragmentsAttributes.fragment)('reportFilters')\n  });\n});","define(\"fcs-dashboard/pods/embeddable-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    model: function model(params) {\n      return this.get('store').findRecord('embeddableReport', params.report_id);\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('refreshResults', false);\n    },\n    actions: {\n      search: function search(queryOptions) {\n        var _this = this;\n\n        this.controller.set('refreshResults', true);\n        var query = queryOptions.getProperties(['reportOutput']);\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', false);\n        this.controller.set('isShowExportButton', false);\n        this.controller.set('showAllEvents', false);\n\n        var params = [];\n        if (queryOptions.get('selectedLocationGroup') !== undefined) {\n          // Filter selected locationGroups\n          if (queryOptions.get('selectedLocationGroup.length') > 0) {\n            params['locationGroups'] = queryOptions.get('selectedLocationGroup').mapBy('id');\n            this.controller.set('filterLocationGroups', true);\n          } else {\n            this.controller.set('filterLocationGroups', false);\n          }\n        } else {\n          this.controller.set('filterLocationGroups', false);\n        }\n        params['startDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"YYYY-MM-DD HH:mm:ss\").toString();\n        params['endDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"YYYY-MM-DD HH:mm:ss\").toString();\n\n        // Filter selected menus\n        if (queryOptions.get('menus.length') > 0) {\n          params['menus'] = queryOptions.get('menus').mapBy('id');\n          this.controller.set('filterMenus', true);\n        } else {\n          this.controller.set('filterMenus', false);\n        }\n        // Filter selected locations\n        if (queryOptions.get('locations.length') > 0) {\n          (function () {\n            var locations = A();\n            queryOptions.get('locations').forEach(function (location) {\n              locations.addObject(location.id.toString());\n            });\n            params['locations'] = locations;\n            _this.controller.set('filterLocations', true);\n          })();\n        } else {\n          this.controller.set('filterLocations', false);\n        }\n        // Filter selected vendors/companies\n        if (queryOptions.get('vendors.length') > 0) {\n          params['vendor'] = queryOptions.get('vendors');\n          this.controller.set('filterCompanies', true);\n        } else {\n          this.controller.set('filterCompanies', false);\n        }\n        var reportName = \"\";\n\n        var sumByType = parseInt(queryOptions.get('summarizeByType.id'));\n        if (sumByType === 0) {\n          reportName = 'ByEvent';\n        } else if (sumByType === 1) {\n          reportName = 'ByMenu';\n        } else if (sumByType === 2) {\n          reportName = 'ByCompany';\n        } else if (sumByType === 3) {\n          reportName = 'ByLocation';\n        }\n\n        var sumByTime = parseInt(queryOptions.get('summarizeByTime.id'));\n        if (sumByTime === 0) {\n          params['byHour'] = 'Normal';\n        } else if (sumByTime === 1) {\n          reportName += 'ByDay';\n          params['byHour'] = 'Normal';\n        } else if (sumByTime === 2) {\n          reportName += 'ByHour';\n          params['byHour'] = 'Normal';\n        } else if (sumByTime === 3) {\n          reportName += 'ByHour';\n          params['byHour'] = 'Blocked';\n        }\n\n        params['reportName'] = reportName;\n        query['reportId'] = queryOptions.get('reportId');\n\n        //Remove and recommit line once real report is built\n        params['reportName'] = \"AllFields\";\n\n        this.store.queryRecord('tableauToken', query).then(function (token) {\n          _this.controller.set('token', token);\n          _this.controller.set('params', params);\n          _this.controller.set('isLoading', false);\n          _this.controller.set('showReport', true);\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      },\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/embeddable-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"893B7FqO\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"embeddable-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"report\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"embeddable-report/report-result\\\"],null,[[\\\"data\\\",\\\"params\\\",\\\"noResults\\\",\\\"showAllEvents\\\",\\\"filterCompanies\\\",\\\"filterLocations\\\",\\\"filterMenus\\\",\\\"filterLocationGroups\\\",\\\"refreshResults\\\"],[[\\\"get\\\",[\\\"token\\\"]],[\\\"get\\\",[\\\"params\\\"]],[\\\"get\\\",[\\\"noResults\\\"]],[\\\"get\\\",[\\\"showAllEvents\\\"]],[\\\"get\\\",[\\\"filterCompanies\\\"]],[\\\"get\\\",[\\\"filterLocations\\\"]],[\\\"get\\\",[\\\"filterMenus\\\"]],[\\\"get\\\",[\\\"filterLocationGroups\\\"]],[\\\"get\\\",[\\\"refreshResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/embeddable-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/event-analytics-mapping/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\"], function (exports, _emberDataModel, _emberDataAttr) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    locationGroupId1: (0, _emberDataAttr[\"default\"])('string'),\n    category: (0, _emberDataAttr[\"default\"])('string'),\n    locationId1: (0, _emberDataAttr[\"default\"])('number'),\n    locationId2: (0, _emberDataAttr[\"default\"])('number'),\n    locationName: (0, _emberDataAttr[\"default\"])('string'),\n\n    // Additional fields for display\n    locationName1: (0, _emberDataAttr[\"default\"])('string'),\n    locationName2: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define('fcs-dashboard/pods/event-analytics/edit/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember['default'].Route;\n  var isEqual = _ember['default'].isEqual;\n  exports['default'] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], {\n    model: function model(params) {\n      var _this = this;\n\n      // Use reload: true to ensure fresh data from API after save\n      return this.get('store').findRecord('eventAnalytics', params.event_analytics_id, { reload: true })['catch'](function (error) {\n        console.error('Error loading event analytics for edit:', error);\n        _this.get('notify').alert('Error loading event analytics');\n        _this.transitionTo('event-analytics');\n      });\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('event-analytics/edit', { into: 'application' });\n    },\n    unlockEventAnalytics: function unlockEventAnalytics(eventAnalyticsId) {\n      var endpoint = \"/api/v1/eventAnalytics/unlock\";\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var options = {\n        url: endpoint,\n        type: 'POST',\n        data: { eventAnalyticsId: eventAnalyticsId }\n      };\n      options.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n      };\n      options.success = function () {\n        // Event Analytics unlocked\n      };\n      options.error = function () {\n        // Error unlocking event analytics\n      };\n      _ember['default'].$.ajax(options);\n    },\n    actions: {\n      save: function save() {\n        // Save completed successfully, transition back to list with refresh parameter\n        // Note: API will auto-unlock on successful save\n        this.transitionTo('event-analytics', { queryParams: { refresh: Date.now() } });\n      },\n      cancel: function cancel() {\n        var model = this.controller.get('model');\n        if (!model.get('isNew')) {\n          this.unlockEventAnalytics(model.get('id'));\n        }\n        this.transitionTo('event-analytics');\n      },\n      refreshAction: function refreshAction() {\n        var model = this.controller.get('model');\n        this.store.findRecord('eventAnalytics', model.get('id'), { reload: true });\n      },\n      willTransition: function willTransition(transition) {\n        var model = this.controller.get('model');\n        this.controller.get('model').rollbackAttributes();\n\n        // Unlock when leaving edit page (unless going to save)\n        if (!model.get('isNew') && !isEqual(transition.intent.name, 'event-analytics')) {\n          this.unlockEventAnalytics(model.get('id'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/event-analytics/edit/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ucXuBfdK\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"event-analytics/detail\\\"],null,[[\\\"model\\\",\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/event-analytics/edit/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/event-analytics/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    locationGroupId1: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'eventAnalytics.detail.locationGroup1.label' }),\n    timezone: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'eventAnalytics.detail.timezone.label' }),\n    startDate1: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'eventAnalytics.detail.startDate1.label' }),\n    endDate: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'eventAnalytics.detail.endDate.label' })\n    // Note: startDate2 is optional (last year's event)\n    // Note: durationDays is calculated by backend, not required from frontend\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    locationGroupId1: (0, _emberDataAttr[\"default\"])('number'),\n    locationGroupId2: (0, _emberDataAttr[\"default\"])('number'),\n    timezone: (0, _emberDataAttr[\"default\"])('string'),\n    startDate1: (0, _emberDataAttr[\"default\"])('date'),\n    endDate: (0, _emberDataAttr[\"default\"])('date'),\n    startDate2: (0, _emberDataAttr[\"default\"])('date'),\n    durationDays: (0, _emberDataAttr[\"default\"])('number'),\n    refresh: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    active: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n\n    // Additional fields for display\n    locationGroupName1: (0, _emberDataAttr[\"default\"])('string'),\n    locationGroupName2: (0, _emberDataAttr[\"default\"])('string'),\n\n    // Mappings for this event - using attr to match API structure\n    mappings: (0, _emberDataAttr[\"default\"])('array', { defaultValue: function defaultValue() {\n        return [];\n      } })\n  });\n});","define('fcs-dashboard/pods/event-analytics/new/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember['default'].Route;\n  exports['default'] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], {\n    model: function model() {\n      var eventAnalytics = this.store.createRecord('eventAnalytics', {\n        active: true,\n        refresh: false,\n        mappings: []\n      });\n      return eventAnalytics;\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('event-analytics/new', { into: 'application' });\n    },\n    unlockEventAnalytics: function unlockEventAnalytics(eventAnalyticsId) {\n      var endpoint = \"/api/v1/eventAnalytics/unlock\";\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var options = {\n        url: endpoint,\n        type: 'POST',\n        data: { eventAnalyticsId: eventAnalyticsId }\n      };\n      options.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n      };\n      options.success = function () {\n        // Event Analytics unlocked\n      };\n      options.error = function () {\n        // Error unlocking event analytics\n      };\n      _ember['default'].$.ajax(options);\n    },\n    actions: {\n      save: function save() {\n        // Save completed successfully, transition back to list with refresh parameter\n        this.transitionTo('event-analytics', { queryParams: { refresh: Date.now() } });\n      },\n      cancel: function cancel() {\n        var model = this.controller.get('model');\n        // New records don't need unlock\n        if (!model.get('isNew')) {\n          this.unlockEventAnalytics(model.get('id'));\n        }\n        this.transitionTo('event-analytics');\n      },\n      refreshAction: function refreshAction() {\n        var model = this.controller.get('model');\n        this.store.findRecord('eventAnalytics', model.get('id'), { reload: true });\n      },\n      willTransition: function willTransition() {\n        this.controller.get('model').rollbackAttributes();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/event-analytics/new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"F1byZkRs\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"event-analytics/detail\\\"],null,[[\\\"model\\\",\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\",\\\"refreshAction\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/event-analytics/new/template.hbs\" } });\n});","define('fcs-dashboard/pods/event-analytics/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  exports['default'] = _ember['default'].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsBaseComponent['default'], {\n    queryParams: {\n      refresh: {\n        refreshModel: true\n      }\n    },\n    model: function model() {\n      return this.get('store').query('eventAnalytics', { pageSize: 10 })['catch'](function (error) {\n        console.error('Error loading event analytics:', error);\n        return [];\n      });\n    },\n    transitionToEventAnalytics: function transitionToEventAnalytics() {\n      this.refresh();\n      this.transitionTo('event-analytics');\n    },\n    unlockEventAnalytics: function unlockEventAnalytics(eventAnalyticsId) {\n      var _this = this;\n\n      var endpoint = \"/api/v1/eventAnalytics/unlock\";\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var options = {\n        url: endpoint,\n        type: 'POST',\n        data: { eventAnalyticsId: eventAnalyticsId }\n      };\n      options.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n      };\n      options.success = function () {\n        _this.send('cleanMessages');\n        _this.get('notify').success(_this.get('intl').t('eventAnalytics.list.messages.unlockSuccess'));\n        _this.transitionToEventAnalytics();\n      };\n      options.error = function () {\n        _this.get('errorMessages').addObject(_this.get('notify').alert(_this.get('intl').t('eventAnalytics.list.errors.unlockError'), { closeAfter: 5000 }));\n      };\n      _ember['default'].$.ajax(options);\n    },\n    actions: {\n      newEventAnalytics: function newEventAnalytics() {\n        this.transitionTo('event-analytics.new');\n      },\n      editEventAnalytics: function editEventAnalytics(eventAnalytics) {\n        var _this2 = this;\n\n        var eventAnalyticsId = eventAnalytics.get('id');\n        var endpoint = \"/api/v1/eventAnalytics/lockStatus\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { eventAnalyticsId: eventAnalyticsId }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function (response) {\n          if (response.lockStatus.code === 1) {\n            var errorMessage = undefined;\n            // Catch error and return proper error message\n            errorMessage = _this2.get('notify').alert(_this2.get('intl').t('eventAnalytics.list.errors.lockedEventAnalytics', {\n              eventAnalyticsName: response.lockStatus.menuName,\n              userName: response.lockStatus.userName\n            }), { closeAfter: 5000 });\n\n            _this2.get('errorMessages').addObject(errorMessage);\n          } else {\n            _this2.transitionTo('event-analytics.edit', eventAnalyticsId);\n          }\n        };\n        options.error = function () {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          errorMessage = _this2.get('notify').alert(_this2.get('intl').t('eventAnalytics.list.errors.unlockError'), { closeAfter: 5000 });\n\n          _this2.get('errorMessages').addObject(errorMessage);\n        };\n        _ember['default'].$.ajax(options);\n      },\n      unlockEventAnalytics: function unlockEventAnalytics(eventAnalyticsId) {\n        this.unlockEventAnalytics(eventAnalyticsId);\n      },\n      refreshAction: function refreshAction() {\n        this.refresh();\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/event-analytics/serializer', ['exports', 'ember-data', 'ember', 'moment'], function (exports, _emberData, _ember, _moment) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    attrs: {\n      durationDays: { serialize: false }\n    },\n\n    keyForAttribute: function keyForAttribute(attr) {\n      return attr;\n    },\n\n    keyForRelationship: function keyForRelationship(attr) {\n      return attr;\n    },\n\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(payloadKey) {\n      // Map \"event-analytics\" to \"eventAnalytics\" (camelCase)\n      if (payloadKey === 'event-analytics') {\n        return 'eventAnalytics';\n      }\n      // Map \"eventAnalyticses\" to \"eventAnalytics\" (camelCase)\n      if (payloadKey === 'eventAnalyticses') {\n        return 'eventAnalytics';\n      }\n      // Map \"eventAnalytics\" to \"eventAnalytics\" (camelCase)\n      if (payloadKey === 'eventAnalytics') {\n        return 'eventAnalytics';\n      }\n      return this._super(payloadKey);\n    },\n\n    serialize: function serialize(snapshot) {\n      // Create a plain JSON object instead of JSON API format\n      var attributes = snapshot.attributes();\n      var isNew = snapshot.record.get('isNew');\n\n      // Format dates consistently - convert Date objects to MM/DD/YYYY format\n      var startDate1 = attributes.startDate1;\n      var endDate = attributes.endDate;\n      var startDate2 = attributes.startDate2;\n\n      if (startDate1 instanceof Date) {\n        startDate1 = (0, _moment['default'])(startDate1).format('MM/DD/YYYY');\n      } else if (!startDate1) {\n        startDate1 = null;\n      }\n\n      if (endDate instanceof Date) {\n        endDate = (0, _moment['default'])(endDate).format('MM/DD/YYYY');\n      } else if (!endDate) {\n        endDate = null;\n      }\n\n      if (startDate2 instanceof Date) {\n        startDate2 = (0, _moment['default'])(startDate2).format('MM/DD/YYYY');\n      } else if (!startDate2) {\n        startDate2 = null;\n      }\n\n      var data = {\n        locationGroupId1: attributes.locationGroupId1 ? parseInt(attributes.locationGroupId1, 10) : null,\n        locationGroupId2: attributes.locationGroupId2 ? parseInt(attributes.locationGroupId2, 10) : null,\n        timezone: attributes.timezone,\n        startDate1: startDate1,\n        endDate: endDate,\n        startDate2: startDate2,\n        refresh: attributes.refresh,\n        active: attributes.active\n      };\n\n      // Handle mappings\n      if (attributes.mappings && Array.isArray(attributes.mappings)) {\n        data.eventAnalyticsMappings = attributes.mappings.map(function (mapping) {\n          var locationNameValue = mapping.displayName || mapping.locationName || '';\n          if (isNew) {\n            var processedMapping = {\n              id: mapping.id ? parseInt(mapping.id, 10) : null,\n              category: mapping.category || '',\n              locationId1: mapping.locationId1 ? parseInt(mapping.locationId1, 10) : null,\n              locationId2: mapping.locationId2 ? parseInt(mapping.locationId2, 10) : null,\n              locationName: locationNameValue\n            };\n            return processedMapping;\n          } else {\n            var processedMapping = {\n              id: mapping.id ? parseInt(mapping.id, 10) : null,\n              category: mapping.category || '',\n              locationId1: mapping.locationId1 ? parseInt(mapping.locationId1, 10) : null,\n              locationId2: mapping.locationId2 ? parseInt(mapping.locationId2, 10) : null,\n              locationName: locationNameValue\n            };\n            return processedMapping;\n          }\n        });\n      } else {\n        data.eventAnalyticsMappings = [];\n      }\n\n      // Return the data directly without nesting in eventAnalytics\n      return data;\n    },\n\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = this.serialize(record, options);\n\n      //remove the root element\n      _ember['default'].merge(hash, serialized);\n    },\n\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      // Helper function to process mappings: convert eventAnalyticsMappings to mappings\n      // and set displayName from locationName (API returns locationName, not displayName)\n      var processMappings = function processMappings(mappings) {\n        if (!Array.isArray(mappings)) {\n          return [];\n        }\n        return mappings.map(function (mapping) {\n          // API returns locationName, use it as displayName\n          if (mapping.locationName && !mapping.displayName) {\n            mapping.displayName = mapping.locationName;\n          }\n          return mapping;\n        });\n      };\n\n      // Process list responses to convert eventAnalyticsMappings to mappings\n      if (payload.eventAnalyticses && Array.isArray(payload.eventAnalyticses)) {\n        payload.eventAnalyticses.forEach(function (item) {\n          if (item.eventAnalyticsMappings !== undefined) {\n            if (Array.isArray(item.eventAnalyticsMappings)) {\n              item.mappings = processMappings(item.eventAnalyticsMappings);\n            } else {\n              item.mappings = [];\n            }\n            delete item.eventAnalyticsMappings;\n          }\n        });\n      }\n\n      // Process single item response - handle both direct payload and nested eventAnalytics\n      var singleItem = payload;\n      if (payload.eventAnalytics) {\n        singleItem = payload.eventAnalytics;\n        // Also process the nested structure\n        if (singleItem.eventAnalyticsMappings !== undefined) {\n          if (Array.isArray(singleItem.eventAnalyticsMappings)) {\n            singleItem.mappings = processMappings(singleItem.eventAnalyticsMappings);\n          } else {\n            singleItem.mappings = [];\n          }\n          delete singleItem.eventAnalyticsMappings;\n        }\n        // Update the payload.eventAnalytics with processed data\n        payload.eventAnalytics = singleItem;\n      }\n\n      // Also process if mappings are directly on the payload (not nested)\n      if (singleItem.eventAnalyticsMappings !== undefined) {\n        if (Array.isArray(singleItem.eventAnalyticsMappings)) {\n          singleItem.mappings = processMappings(singleItem.eventAnalyticsMappings);\n        } else {\n          singleItem.mappings = [];\n        }\n        delete singleItem.eventAnalyticsMappings;\n      }\n\n      return this._super(store, primaryModelClass, payload, id, requestType);\n    }\n\n  });\n});","define(\"fcs-dashboard/pods/event-analytics/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"dxJdft+f\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"event-analytics/list\\\"],null,[[\\\"data\\\",\\\"newEventAnalytics\\\",\\\"editEventAnalytics\\\",\\\"unlockEventAnalytics\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"newEventAnalytics\\\",\\\"editEventAnalytics\\\",\\\"unlockEventAnalytics\\\",\\\"refreshAction\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/event-analytics/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/financial-overview-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"gbBIrEYV\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/financial-overview-report/amount-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/financial-overview-report/financial-report-daily-menu-details/model\", [\"exports\", \"model-fragments/fragment\", \"model-fragments/attributes\", \"ember-data/attr\"], function (exports, _modelFragmentsFragment, _modelFragmentsAttributes, _emberDataAttr) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    displayDate: (0, _emberDataAttr[\"default\"])('string'),\n    financialReportDetails: (0, _modelFragmentsAttributes.fragmentArray)('financialOverviewReport/financialReportDetails', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define('fcs-dashboard/pods/financial-overview-report/financial-report-details/model', ['exports', 'model-fragments/fragment', 'ember-data/attr'], function (exports, _modelFragmentsFragment, _emberDataAttr) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    name: (0, _emberDataAttr['default'])('string'),\n    timezone: (0, _emberDataAttr['default'])('string'),\n    date: (0, _emberDataAttr['default'])('string'),\n    company: (0, _emberDataAttr['default'])('string'),\n    cashSales: (0, _emberDataAttr['default'])('number'),\n    creditCardPresentSales: (0, _emberDataAttr['default'])('number'),\n    openLoopSales: (0, _emberDataAttr['default'])('number'),\n    openLoopRegistrationSales: (0, _emberDataAttr['default'])('number'),\n    sponsorLoadedFundsSales: (0, _emberDataAttr['default'])('number'),\n    patronLoadedFundsSales: (0, _emberDataAttr['default'])('number'),\n    totalSales: (0, _emberDataAttr['default'])('number'),\n    tax: (0, _emberDataAttr['default'])('number'),\n    voids: (0, _emberDataAttr['default'])('number'),\n    tokenDiscount: (0, _emberDataAttr['default'])('number'),\n    cashDiscount: (0, _emberDataAttr['default'])('number'),\n    couponDiscount: (0, _emberDataAttr['default'])('number'),\n    digitalDiscount: (0, _emberDataAttr['default'])('number'),\n    multiProductDiscount: (0, _emberDataAttr['default'])('number'),\n    giftWithPurchaseDiscount: (0, _emberDataAttr['default'])('number'),\n    allDiscounts: (0, _emberDataAttr['default'])('number'),\n    refunds: (0, _emberDataAttr['default'])('number'),\n    creditCardTips: (0, _emberDataAttr['default'])('number'),\n    openLoopTips: (0, _emberDataAttr['default'])('number'),\n    digitalTips: (0, _emberDataAttr['default'])('number'),\n    roundUpDonation: (0, _emberDataAttr['default'])('number'),\n    cashOrderCount: (0, _emberDataAttr['default'])('number'),\n    creditOrderCount: (0, _emberDataAttr['default'])('number'),\n    openLoopOrderCount: (0, _emberDataAttr['default'])('number'),\n    totalOrderCount: (0, _emberDataAttr['default'])('number'),\n    tabletCount: (0, _emberDataAttr['default'])('number'),\n    customFeeTotal: (0, _emberDataAttr['default'])('number'),\n    surchargeTotal: (0, _emberDataAttr['default'])('number'),\n    cashlessSurchargeTotal: (0, _emberDataAttr['default'])('number'),\n    creditSurchargeTotal: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/financial-overview-report/model', ['exports', 'ember-data/model', 'ember-data/attr', 'model-fragments/attributes'], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    totalSales: (0, _emberDataAttr['default'])('string'),\n    netSales: (0, _emberDataAttr['default'])('string'),\n    totalOrders: (0, _emberDataAttr['default'])('string'),\n    averageOrderAmount: (0, _emberDataAttr['default'])('number'),\n    totalDigitalTips: (0, _emberDataAttr['default'])('number'),\n    averageDigitalTip: (0, _emberDataAttr['default'])('number'),\n    creditPercentageOfSales: (0, _emberDataAttr['default'])('number'),\n    cashlessPercentageOfSales: (0, _emberDataAttr['default'])('number'),\n    creditRfidPercentageOfSales: (0, _emberDataAttr['default'])('number'),\n    sponsorLoadedFundsPercentageOfSales: (0, _emberDataAttr['default'])('number'),\n    grossSalesMinusSlf: (0, _emberDataAttr['default'])('number'),\n    roundUpDonation: (0, _emberDataAttr['default'])('number'),\n    showAllEvents: (0, _emberDataAttr['default'])('boolean'),\n    financialReportDetails: (0, _modelFragmentsAttributes.fragmentArray)('financialOverviewReport/financialReportDetails', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    financialReportDailyDetails: (0, _modelFragmentsAttributes.fragmentArray)('financialOverviewReport/financialReportDailyMenuDetails', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    summarizeBy: (0, _emberDataAttr['default'])('number'),\n    outputFileName: (0, _emberDataAttr['default'])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/financial-overview-report/percentage-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NR9oOeSZ\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"minimumFractionDigits\\\",\\\"style\\\"],[1,\\\"percent\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/financial-overview-report/percentage-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/financial-overview-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('companyId', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n\n      controller.set('summarizeBy', null);\n      controller.set('grossSales', null);\n      controller.set('totalNetSales', null);\n      controller.set('totalOrders', null);\n      controller.set('avgOrderAmt', null);\n      controller.set('totalDigitalTips', null);\n      controller.set('avgTips', null);\n      controller.set('creditPercentageOfGross', null);\n      controller.set('rfidPercentageOfGross', null);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n      controller.set('showAllEvents', false);\n      controller.set('title', null);\n      // BRP-4148: default both off so Search stays on the synchronous report until the server has\n      // confirmed the async path exists here and the kill switch is on (BRP-4201 removed the Search\n      // Async button, but these booleans still gate what the ordinary Search does -- see `search`).\n      // Refreshed on every visit -- a kill switch must take effect on the next report, not the next\n      // login, so this is deliberately not cached in a service the way `version` is.\n      controller.set('asyncAvailable', false);\n      controller.set('redshiftSearchEnabled', false);\n      this._loadReportCapabilities(controller);\n    },\n    // BRP-4148: asks the server how the Financial report can run here -- whether a report queue\n    // exists (asyncAvailable) and whether the global kill switch routes Search onto the fast path\n    // (redshiftSearchEnabled). Raw ajax with a bearer header, matching _pollReportJob below rather\n    // than adding a model/service pod for two booleans. Failure is non-fatal: both stay false, so the\n    // screen degrades to exactly today's synchronous behaviour.\n    _loadReportCapabilities: function _loadReportCapabilities(controller) {\n      var _this = this;\n\n      var authToken = this.get('session.data.authenticated.access_token');\n      _ember[\"default\"].$.ajax({\n        url: '/api/v1/reportCapabilities',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (response) {\n        if (_this.get('isDestroyed') || _this.get('isDestroying')) {\n          return;\n        }\n        var capabilities = response && response.reportCapabilities;\n        if (capabilities) {\n          controller.set('asyncAvailable', capabilities.asyncAvailable === true);\n          controller.set('redshiftSearchEnabled', capabilities.redshiftSearchEnabled === true);\n        }\n      }, function () {\n        Logger.debug('Could not read report capabilities; staying on the synchronous report.');\n      });\n    },\n    _setSummarizeByName: function _setSummarizeByName(summarizeByName) {\n      if (summarizeByName === this.get('intl').t('report.result.financialOverviewReport.headers.menu')) {\n        return this.get('intl').t('report.result.financialOverviewReport.headers.menu');\n      } else {\n        return this.get('intl').t('report.result.financialOverviewReport.headers.date');\n      }\n    },\n    // BRP-4093: poll the Redshift-backed async report job until the background worker\n    // finishes, keeping the spinner up between polls. Paired with the searchAsync action.\n    // The job is queued via POST /api/v1/financialOverviewReports/async and its state is\n    // read from GET /api/v1/reportJobs/{jobId} until state === 'DONE'.\n    _pollReportJob: function _pollReportJob(jobId, queryOptions, attempt) {\n      var _this2 = this;\n\n      if (this.get('isDestroyed') || this.get('isDestroying')) {\n        return;\n      }\n      var MAX_ATTEMPTS = 180; // ~15 minutes at 5s between polls\n      var INTERVAL_MS = 5000;\n      var authToken = this.get('session.data.authenticated.access_token');\n\n      _ember[\"default\"].$.ajax({\n        url: '/api/v1/reportJobs/' + jobId,\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (job) {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        var state = job && job.state;\n        if (state === 'DONE') {\n          _this2._renderAsyncResult(job.result_json, queryOptions, jobId);\n        } else if (state === 'FAILED') {\n          _this2.controller.set('isLoading', false);\n          _this2.get('notify').alert('The report could not be generated. Please try again.', { closeAfter: 8000 });\n          Logger.debug('Async report job failed', job && job.error);\n        } else {\n          // QUEUED or RUNNING -- keep the spinner up and poll again.\n          if (attempt >= MAX_ATTEMPTS) {\n            _this2.controller.set('isLoading', false);\n            _this2.get('notify').alert('The report is taking longer than expected. Please try again.', { closeAfter: 8000 });\n            return;\n          }\n          _this2._pollTimer = _ember[\"default\"].run.later(_this2, function () {\n            return _this2._pollReportJob(jobId, queryOptions, attempt + 1);\n          }, INTERVAL_MS);\n        }\n      }, function () {\n        if (_this2.get('isDestroyed') || _this2.get('isDestroying')) {\n          return;\n        }\n        _this2.controller.set('isLoading', false);\n        _this2.get('notify').alert('The report could not be generated. Please try again.', { closeAfter: 8000 });\n      });\n    },\n    // BRP-4093: turn the async job's inline result_json (a serialized FinancialOverviewReport)\n    // into the same financialOverviewReport model the synchronous path renders, by reusing the\n    // existing serializer's normalizeResponse (which stamps the id) and pushing it into the store.\n    _renderAsyncResult: function _renderAsyncResult(resultJson, queryOptions, jobId) {\n      var parsed = undefined;\n      try {\n        parsed = typeof resultJson === 'string' ? JSON.parse(resultJson) : resultJson;\n      } catch (e) {\n        this.controller.set('isLoading', false);\n        this.get('notify').alert('The report result could not be read. Please try again.', { closeAfter: 8000 });\n        Logger.debug('Async report result_json parse failed', e);\n        return;\n      }\n\n      var store = this.store;\n      var modelClass = store.modelFor('financialOverviewReport');\n      var serializer = store.serializerFor('financialOverviewReport');\n      var normalized = serializer.normalizeResponse(store, modelClass, { financialOverviewReport: parsed }, null, 'queryRecord');\n      var report = store.push(normalized);\n\n      var summarizeById = queryOptions.get('summarizeBy.id');\n      // BRP-4175: set summarizeBy to the STRING id, exactly as the sync path does\n      // (report['summarizeBy'] = queryOptions.get('summarizeBy.id')). The result template gates the\n      // nested Menu+Day / Location+Day detail on {{#if (or (eq data.summarizeBy '4') (eq data.summarizeBy\n      // '6'))}}, and ember-truth-helpers `eq` is STRICT (===). Number('6') = 6 fails 6 === '6', so the\n      // nested variants fell through to the flat branch -> empty financialReportDetails -> \"No records to\n      // show\", even though financialReportDailyDetails was populated. Keep it a string so the eq matches.\n      report.set('summarizeBy', summarizeById);\n\n      this.controller.set('summarizeBy', summarizeById);\n      this.controller.set('report', report);\n      this.controller.set('showAllEvents', report.get('showAllEvents'));\n      // BRP-4093: flat variants carry rows in financialReportDetails; the nested variants\n      // (Menu+Day, Location+Day) carry them in financialReportDailyDetails.\n      var hasFlatRows = report.get('financialReportDetails.length') > 0;\n      var hasNestedRows = report.get('financialReportDailyDetails.length') > 0;\n      this.controller.set('noResults', !hasFlatRows && !hasNestedRows);\n      // BRP-4198: remember the finished job and offer Export. Exporting an async report renders the file\n      // from THIS job's already-computed data (see the `search` / `exportAsync` actions), so it never\n      // re-runs the query -- which is the whole point: a report big enough to need the async path can now\n      // be exported without hitting the synchronous timeout. Show Export only when there are rows,\n      // mirroring the sync path.\n      this.controller.set('asyncJobId', jobId);\n      this.controller.set('isShowExportButton', hasFlatRows || hasNestedRows);\n      this.controller.set('isLoading', false);\n      this.controller.set('showReport', true);\n    },\n    // BRP-4198: download a rendered export file (blob) from the given URL, or show the \"email sent\"\n    // toast when the report was emailed instead. Shared by the async export flow (exportAsync); mirrors\n    // the blob-download the synchronous export does inline in the `search` action.\n    _downloadExportFile: function _downloadExportFile(endpoint, reportOutput, isEmailDelivery) {\n      var _this3 = this;\n\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var options = {\n        url: endpoint,\n        type: 'GET',\n        xhrFields: {\n          responseType: 'blob'\n        }\n      };\n      options.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n      };\n      options.success = function (result, status, response) {\n        _this3.controller.set('isLoading', false);\n        if (isEmailDelivery) {\n          _this3.get('notify').success(_this3.get('intl').t('report.dialog.emailSent'));\n        } else {\n          var blob = undefined;\n          if (reportOutput === _this3.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n            blob = new Blob([result], { type: \"text/csv\" });\n          } else if (reportOutput === _this3.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n            blob = new Blob([result], { type: \"application/pdf\" });\n          }\n          var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n          var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n          window.saveAs(blob, filename);\n        }\n      };\n      options.error = function () {\n        _this3.controller.set('isLoading', false);\n        if (reportOutput === _this3.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n          _this3.get('notify').alert(_this3.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n        } else if (reportOutput === _this3.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n          _this3.get('notify').alert(_this3.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n        }\n      };\n      _ember[\"default\"].$.ajax(options);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        // BRP-4093: stop any in-flight async report polling when leaving the route.\n        _ember[\"default\"].run.cancel(this._pollTimer);\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this4 = this;\n\n        // BRP-4198: exporting an async report must reuse the finished job (no re-query). When the\n        // currently displayed report came from an async search (asyncJobId is set) and the user\n        // exports, route to exportAsync instead of falling through to the synchronous re-query below.\n        if (queryOptions.get('isExport') && this.get('controller.asyncJobId')) {\n          this.send('exportAsync', queryOptions);\n          return;\n        }\n        // A fresh (non-export) search invalidates any previous async job id; the async path re-sets it\n        // once the new job completes. This keeps Export following whatever the LAST search actually did:\n        // async search -> asyncJobId set -> async export; sync search -> asyncJobId cleared -> sync export.\n        if (!queryOptions.get('isExport')) {\n          this.controller.set('asyncJobId', null);\n        }\n        // BRP-4148: the global kill switch decides what the ordinary Search button does. Keeping the\n        // branch here -- rather than in the component as the retired per-event flag did -- means one\n        // decision point, and the component never has to know the switch exists. A sync export (no\n        // async job in play) still routes through this action directly (component `accept`).\n        if (!queryOptions.get('isExport') && this.get('controller.redshiftSearchEnabled') && this.get('controller.asyncAvailable')) {\n          this.send('searchAsync', queryOptions);\n          return;\n        }\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        if (this.get('isBRUser')) {\n          query['isBRAdmin'] = true;\n          if (queryOptions.get('selectedLocationGroup.length') !== undefined && queryOptions.get('selectedLocationGroup.length') > 0) {\n            query['locationGroup'] = queryOptions.get('selectedLocationGroup').mapBy('id');\n          } else {\n            //For Admin locked in a company, all events under the company will be retrieved\n            if (this.get('lockedCompany') !== undefined) {\n              query['locationGroup'] = queryOptions.get('companyLocationGroups').mapBy('id');\n            }\n          }\n        } else {\n          query['locationGroup'] = [queryOptions.get('selectedLocationGroup.id')];\n        }\n        //get companyRole and push them into query\n        query['companyRole'] = queryOptions.get('companyRole');\n        //get summarizeBy filter and push it into query\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('isShowExportButton', false);\n        this.controller.set('showAllEvents', false);\n\n        this.store.queryRecord('financialOverviewReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this4.controller.set('showAllEvents', report.get('showAllEvents'));\n              _this4.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this4.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                _this4.controller.set('showAllEvents', report.get('showAllEvents'));\n                //set property to FALSE\n                _this4.controller.set('isLoading', false);\n                _this4.controller.set('showReport', true);\n                _this4.controller.set('isShowExportButton', true);\n                _this4.controller.set('summarizeBy', queryOptions.get('summarizeBy.id'));\n                _this4.controller.set('title', _this4._setSummarizeByName(queryOptions.get('summarizeBy.name')));\n\n                if (query['isEmailDelivery']) {\n                  _this4.get('notify').success(_this4.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this4.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this4.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this4.controller.set('showAllEvents', report.get('showAllEvents'));\n                _this4.controller.set('isLoading', false);\n                _this4.controller.set('showReport', true);\n                _this4.controller.set('title', _this4._setSummarizeByName(queryOptions.get('summarizeBy.name')));\n                console.log('error');\n                if (query['reportOutput'] === _this4.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this4.get('notify').alert(_this4.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this4.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this4.get('notify').alert(_this4.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this4.controller.set('summarizeBy', queryOptions.get('summarizeBy.id'));\n            _this4.controller.set('report', report);\n            _this4.controller.set('showAllEvents', report.get('showAllEvents'));\n            if (report['totalSales'] === 0 && report['totalSales'] === 0) {\n              _this4.controller.set('noResults', true);\n              _this4.controller.set('isShowExportButton', false);\n            } else {\n              _this4.controller.set('noResults', false);\n              _this4.controller.set('isShowExportButton', true);\n            }\n\n            report['summarizeBy'] = queryOptions.get('summarizeBy.id');\n            //set property to FALSE\n            _this4.controller.set('isLoading', false);\n            _this4.controller.set('showReport', true);\n          }\n        });\n      },\n      // BRP-4093: Redshift-backed async path. Queue the report on the background worker and poll\n      // for the result, so cold/large reports never time out in the browser. Every grouping is\n      // supported EXCEPT Day + Hour (Blocked) (ordinal 2), which has no report implementation to\n      // match -- the backend rejects it too.\n      searchAsync: function searchAsync(queryOptions) {\n        var _this5 = this;\n\n        var summarizeById = queryOptions.get('summarizeBy.id');\n        if (\"\" + summarizeById === '2') {\n          this.get('notify').alert('This grouping is not available for the fast report.', { closeAfter: 6000 });\n          return;\n        }\n\n        // Resolve the location group ids exactly as the synchronous search action does.\n        var locationGroupIds = undefined;\n        if (this.get('isBRUser')) {\n          if (queryOptions.get('selectedLocationGroup.length') !== undefined && queryOptions.get('selectedLocationGroup.length') > 0) {\n            locationGroupIds = queryOptions.get('selectedLocationGroup').mapBy('id');\n          } else if (this.get('lockedCompany') !== undefined) {\n            locationGroupIds = queryOptions.get('companyLocationGroups').mapBy('id');\n          } else {\n            locationGroupIds = [];\n          }\n        } else {\n          locationGroupIds = [queryOptions.get('selectedLocationGroup.id')];\n        }\n\n        // jQuery serializes an array value under `locationGroup` as `locationGroup[]=...`,\n        // matching the backend's @RequestParam(\"locationGroup[]\").\n        // BRP-4115: also send the six scope filters the synchronous `search` action sets, so the fast\n        // (Redshift) path applies the same menu / location / vendor / company scoping. jQuery serializes\n        // the array values as `menus[]` / `locations[]` / `vendors[]`, matching the backend @RequestParams;\n        // an empty array is omitted from the body, which the backend reads as \"no filter on that axis\".\n        var params = {\n          fromDate: (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString(),\n          toDate: (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString(),\n          summarizeBy: summarizeById,\n          locationGroup: locationGroupIds,\n          companyRole: queryOptions.get('companyRole'),\n          menus: queryOptions.get('menus').mapBy('id'),\n          locations: queryOptions.get('locations').mapBy('id'),\n          vendors: queryOptions.get('vendors')\n        };\n        // companyId / isBRAdmin resolved exactly as the synchronous `search` action does. companyRole\n        // above is load-bearing: the backend only folds companyId into the company filter when\n        // companyRole != \"13\", so dropping it would silently disable tenant (vendor) scoping.\n        if (this.get('isBRUser')) {\n          params['isBRAdmin'] = true;\n          if (this.get('lockedCompany') !== undefined) {\n            params['companyId'] = this.get('lockedCompany.id');\n          }\n        } else {\n          params['companyId'] = this.get('loggedAccount.company.id');\n        }\n\n        this.controller.set('report', null);\n        this.controller.set('noResults', false);\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('isShowExportButton', false);\n        this.controller.set('showAllEvents', false);\n\n        var authToken = this.get('session.data.authenticated.access_token');\n        _ember[\"default\"].$.ajax({\n          url: '/api/v1/financialOverviewReports/async',\n          type: 'POST',\n          data: params,\n          beforeSend: function beforeSend(xhr) {\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n          }\n        }).then(function (response) {\n          var jobId = response && response.jobId;\n          if (!jobId) {\n            _this5.controller.set('isLoading', false);\n            _this5.get('notify').alert('The report could not be queued. Please try again.', { closeAfter: 8000 });\n            return;\n          }\n          _this5._pollReportJob(jobId, queryOptions, 0);\n        }, function () {\n          _this5.controller.set('isLoading', false);\n          _this5.get('notify').alert('The report could not be queued. Please try again.', { closeAfter: 8000 });\n        });\n      },\n      // BRP-4198: export a COMPLETED async report job. Instead of re-running the query synchronously\n      // (the old, timeout-prone behavior), this asks the backend to render CSV/PDF from the report the\n      // worker already built and stored on the job (async/{jobId}/export), then downloads the file (or\n      // shows the \"email sent\" toast). Routed to from the `search` action when an async job is displayed.\n      exportAsync: function exportAsync(queryOptions) {\n        var _this6 = this;\n\n        var jobId = this.get('controller.asyncJobId');\n        if (!jobId) {\n          // No finished async job to export -- should not happen (the button is only shown after one).\n          this.get('notify').alert('There is no completed report to export. Please run the report again.', { closeAfter: 6000 });\n          return;\n        }\n        var reportOutput = queryOptions.get('reportOutput');\n        var isEmailDelivery = queryOptions.get('isEmailDelivery');\n        var params = {\n          reportOutput: reportOutput,\n          isEmailDelivery: isEmailDelivery,\n          emails: queryOptions.get('emails')\n        };\n\n        this.controller.set('isLoading', true);\n        var authToken = this.get('session.data.authenticated.access_token');\n        _ember[\"default\"].$.ajax({\n          url: '/api/v1/financialOverviewReports/async/' + jobId + '/export',\n          type: 'GET',\n          data: params,\n          beforeSend: function beforeSend(xhr) {\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n          }\n        }).then(function (response) {\n          // The endpoint returns a JSONModel: { financialOverviewReport: { ..., outputFileName } }.\n          var report = response && response.financialOverviewReport;\n          var endpoint = report && report.outputFileName;\n          if (!endpoint) {\n            _this6.controller.set('isLoading', false);\n            _this6.get('notify').alert('The export could not be generated. Please try again.', { closeAfter: 8000 });\n            return;\n          }\n          _this6._downloadExportFile(endpoint, reportOutput, isEmailDelivery);\n        }, function () {\n          _this6.controller.set('isLoading', false);\n          _this6.get('notify').alert('The export could not be generated. Please try again.', { closeAfter: 8000 });\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/financial-overview-report/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  var guidFor = _ember['default'].guidFor;\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.financialOverviewReport.id = guidFor(payload.financialOverviewReport);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/financial-overview-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6Dmu98Cd\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"financial-overview-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"financial-overview-report/financial-report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\",\\\"showAllEvents\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]],[\\\"get\\\",[\\\"showAllEvents\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/financial-overview-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/financial-report-filter/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/gateway-environment/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define('fcs-dashboard/pods/gateway-menu-location/model', ['exports', 'ember', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    menuId: (0, _emberDataAttr['default'])('string'),\n    menuName: (0, _emberDataAttr['default'])('string'),\n    locationId: (0, _emberDataAttr['default'])('string'),\n    locationName: (0, _emberDataAttr['default'])('string'),\n    selected: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    displayName: _ember['default'].computed(function () {\n      return this.get('menuName') + ' - ' + this.get('locationName');\n    })\n  });\n});","define('fcs-dashboard/pods/gateway-submerchant-fragment/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    accountId: (0, _emberDataAttr['default'])('string'),\n    type: (0, _emberDataAttr['default'])('number')\n  });\n});","define(\"fcs-dashboard/pods/gateway-submerchant/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\"], function (exports, _emberDataModel, _emberDataAttr) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    accountId: (0, _emberDataAttr[\"default\"])('string'),\n    type: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/gateway/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"uvmW7Gr1\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[\\\"gateway.edit\\\",[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],[[\\\"class\\\"],[\\\"icon\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"gateways.list.buttons.edit\\\"],null],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/gateway/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/gateway/edit/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin) {\n  exports[\"default\"] = _ember[\"default\"].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    model: function model(params) {\n      return this.store.findRecord('gateway', params.gateway_id, { reload: true });\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('gateway/edit', { into: 'application' });\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('saveEnabled', true);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        this.get('currentModel').rollbackAttributes();\n      },\n      cancel: function cancel(item) {\n        item.rollbackAttributes();\n        this.transitionTo('gateway');\n      },\n      save: function save(item) {\n        var _this = this;\n\n        this.controller.set('saveEnabled', false);\n        var validCredentials = true;\n        this.send('cleanMessages');\n        //validate credentials\n        item.get('credentials').forEach(function (credential) {\n          if (!credential.get('validations.isValid')) {\n            validCredentials = false;\n            credential.get('validations.errors').forEach(function (error) {\n              var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            });\n          }\n          credential.set('value', credential.get('value').trim());\n        });\n        if (item.get('validations.isValid') && validCredentials) {\n          item.save().then(function () {\n            _this.controller.set('saveEnabled', true);\n            _this.get('notify').success(_this.get('intl').t('gateways.details.errors.successSave', { name: item.get('name') }));\n            _this.transitionTo('gateway');\n          })[\"catch\"](function (error) {\n            var message = 'gateways.details.errors.savingError';\n            if (error !== undefined) {\n              message = \"gateways.details.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        } else {\n          this.controller.set('saveEnabled', true);\n          item.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/gateway/edit/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Knj88AXr\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"gateway-mng/details\\\"],null,[[\\\"gateway\\\"],[[\\\"get\\\",[\\\"model\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveEnabled\\\"]]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/gateway/edit/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/gateway/loading/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('gateway/loading', { into: 'application' });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/gateway/loading/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"L9He1Vis\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/gateway/loading/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/gateway/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"model-fragments/attributes\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _modelFragmentsAttributes, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'gateways.details.name.label' }),\n    gatewayEnvironment: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'gateways.details.environment.label' }),\n    processorType: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'gateways.details.processorType.label' }),\n    processor: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'gateways.details.processor.label',\n      disabled: computed(function () {\n        var disabled = true;\n        if (this.get('model.processorType.id') !== undefined) {\n          disabled = false;\n        }\n        return disabled;\n      }).volatile()\n    })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    enabled: (0, _emberDataAttr[\"default\"])('boolean'),\n    failoverEnabled: (0, _emberDataAttr[\"default\"])('boolean'),\n    backupCreditCardGatewayId: (0, _emberDataAttr[\"default\"])('string', { defaultValue: null }),\n    gatewayEnvironment: (0, _emberDataRelationships.belongsTo)('gatewayEnvironment'),\n    processorType: (0, _emberDataRelationships.belongsTo)('processorType'),\n    processor: (0, _emberDataRelationships.belongsTo)('processor'),\n    credentials: (0, _modelFragmentsAttributes.fragmentArray)('processorCredential'),\n    menuLocations: (0, _modelFragmentsAttributes.fragmentArray)('gatewayMenuLocation'),\n    gatewaySubmerchants: (0, _emberDataRelationships.hasMany)('gatewaySubmerchant'),\n    intl: _ember[\"default\"].inject.service(),\n    translatedStatus: computed('enabled', function () {\n      var status = undefined;\n      if (this.get('enabled')) {\n        status = this.get('intl').t(\"gateways.list.status.enabled\");\n      } else {\n        status = this.get('intl').t(\"gateways.list.status.disabled\");\n      }\n      return status;\n    })\n  });\n});","define('fcs-dashboard/pods/gateway/new/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/common-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin) {\n  exports['default'] = _ember['default'].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsCommonMixin['default'], {\n    model: function model() {\n      return this.store.createRecord('gateway');\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('gateway/new', { into: 'application' });\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('saveEnabled', true);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        this.get('currentModel').rollbackAttributes();\n      },\n      cancel: function cancel(item) {\n        item.rollbackAttributes();\n        this.transitionTo('gateway');\n      },\n      save: function save(item) {\n        var _this = this;\n\n        this.controller.set('saveEnabled', false);\n        var validCredentials = true;\n        this.send('cleanMessages');\n        //validate credentials\n        item.get('credentials').forEach(function (credential) {\n          if (!credential.get('validations.isValid')) {\n            validCredentials = false;\n            credential.get('validations.errors').forEach(function (error) {\n              var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            });\n          }\n          credential.set('value', credential.get('value').trim());\n        });\n        if (item.get('validations.isValid') && validCredentials) {\n          item.save().then(function () {\n            _this.controller.set('saveEnabled', true);\n            _this.get('notify').success(_this.get('intl').t('gateways.details.errors.successSave', { name: item.get('name') }));\n            _this.transitionTo('gateway');\n          })['catch'](function (error) {\n            var message = 'gateways.details.errors.savingError';\n            if (error !== undefined) {\n              message = 'gateways.details.errors.' + error.errors.get(0).detail;\n            }\n            var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        } else {\n          this.controller.set('saveEnabled', true);\n          item.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/gateway/new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"qSrfPlB9\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel panel-default\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-heading\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"company.detail.title\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"panel-body\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"gateway-mng/details\\\"],null,[[\\\"gateway\\\"],[[\\\"get\\\",[\\\"model\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saveEnabled\\\"]]],null,1,0],[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"cancel\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.cancel\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"static-attr\\\",\\\"disabled\\\",\\\"\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"save\\\",[\\\"get\\\",[\\\"model\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.details.buttons.accept\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/gateway/new/template.hbs\" } });\n});","define('fcs-dashboard/pods/gateway/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/base-component', 'ember-data', 'ember-data-preload'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _emberData, _emberDataPreload) {\n  var isEmpty = _ember['default'].isEmpty;\n  var PromiseObject = _emberData['default'].PromiseObject;\n  exports['default'] = _ember['default'].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsBaseComponent['default'], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        var accountId = this.get('session.data.authenticated.username');\n        if (!isEmpty(accountId)) {\n          return PromiseObject.create({\n            promise: (0, _emberDataPreload['default'])(this.get('store').queryRecord('user', { username: accountId }), [{ company: 'locations' }, 'userType'])\n          });\n        }\n        this.store.findAll('processor');\n      }\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n    model: function model() {\n      return this.store.query('gateway', { processorType: 1 });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/gateway/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      gatewaySubmerchants: { embedded: 'always' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/gateway/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Yb8xuPjO\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"gateway-mng/list\\\"],null,[[\\\"gateways\\\"],[[\\\"get\\\",[\\\"model\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/gateway/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/high-level-invoicing-report/high-level-invoicing-company-row/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    companyId: (0, _emberDataAttr[\"default\"])('string'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    creditSales: (0, _emberDataAttr[\"default\"])('number'),\n    cashlessSales: (0, _emberDataAttr[\"default\"])('number'),\n    creditTips: (0, _emberDataAttr[\"default\"])('number'),\n    cashlessTips: (0, _emberDataAttr[\"default\"])('number'),\n    digitalTips: (0, _emberDataAttr[\"default\"])('number'),\n    totalDigitalVolume: (0, _emberDataAttr[\"default\"])('number'),\n    tabletCount: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/high-level-invoicing-report/high-level-invoicing-item/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\", \"model-fragments/attributes\"], function (exports, _emberDataAttr, _modelFragmentsFragment, _modelFragmentsAttributes) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    locationGroupName: (0, _emberDataAttr[\"default\"])('string'),\n    highLevelInvoicingCompanyRows: (0, _modelFragmentsAttributes.fragmentArray)('highLevelInvoicingReport/highLevelInvoicingCompanyRow', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/high-level-invoicing-report/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    highLevelInvoicingItems: (0, _modelFragmentsAttributes.fragmentArray)('highLevelInvoicingReport/high-level-invoicing-item', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/high-level-invoicing-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n\n        if (queryOptions.get('selectedLocationGroup') !== null && queryOptions.get('selectedLocationGroup') !== undefined) {\n          //get locationGroup id and push them into query\n          query['locationGroup'] = queryOptions.get('selectedLocationGroup').mapBy('id');\n        }\n\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        }\n\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('highLevelInvoicingReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report.get('highLevelInvoicingItems.length') === 0) {\n              _this.controller.set('noResults', true);\n            } else {\n              _this.controller.set('noResults', false);\n            }\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/high-level-invoicing-report/serializer\", [\"exports\", \"ember-data\", \"ember\"], function (exports, _emberData, _ember) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.highLevelInvoicingReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/high-level-invoicing-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+++bINK6\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"high-level-invoicing-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"high-level-invoicing-report/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/high-level-invoicing-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/index/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {});\n});","define(\"fcs-dashboard/pods/index/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Yb6RrDZ0\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"outlet\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/index/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/item-token-usage-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"MQNVr8sE\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/item-token-usage-report/amount-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/item-token-usage-report/item-token-usage-report-item/model', ['exports', 'model-fragments/fragment', 'ember-data/attr'], function (exports, _modelFragmentsFragment, _emberDataAttr) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    menuName: (0, _emberDataAttr['default'])('string'),\n    itemTokenName: (0, _emberDataAttr['default'])('string'),\n    value: (0, _emberDataAttr['default'])('number'),\n    quantity: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/item-token-usage-report/model', ['exports', 'ember-data/model', 'ember-data/attr', 'model-fragments/attributes'], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    itemTokenUsageReportItems: (0, _modelFragmentsAttributes.fragmentArray)('itemTokenUsageReport/itemTokenUsageReportItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr['default'])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/item-token-usage-report/percentage-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"hOjh5DNi\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"minimumFractionDigits\\\",\\\"style\\\"],[1,\\\"percent\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/item-token-usage-report/percentage-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/item-token-usage-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('companyId', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n      controller.set('title', null);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get companyRole and push them into query\n        query['companyRole'] = queryOptions.get('companyRole');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('itemTokenUsageReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report['itemTokenUsageReportItems'].length === 0) {\n              _this.controller.set('noResults', true);\n              _this.controller.set('isShowExportButton', false);\n            } else {\n              _this.controller.set('noResults', false);\n              _this.controller.set('isShowExportButton', true);\n            }\n\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/item-token-usage-report/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  var guidFor = _ember['default'].guidFor;\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.itemTokenUsageReport.id = guidFor(payload.itemTokenUsageReport);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/item-token-usage-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"PoekgHtL\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"item-token-usage-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"item-token-usage-report/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/item-token-usage-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/kds-station/actions/close-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"lLkzlEBW\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"isClosedAtServer\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"confirmClose\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.buttons.close\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"reopenStation\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.buttons.reopen\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/kds-station/actions/close-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/kds-station/actions/status-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Wl8JpoKl\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"isClosedAtServer\\\"]]],null,6,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-success\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.status.open\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-warning\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.status.closedAtStation\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted small\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.status.vendorMayReopen\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"isClosedAtStation\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      · \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"serverClosedAtDisplay\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.status.authorNotRecorded\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"serverClosedBy\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"kdsStation.list.status.closedAtServer\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted small\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"serverClosedBy\\\"]]],null,5,4],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"serverClosedAtDisplay\\\"]]],null,3],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/kds-station/actions/status-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/kds-station/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var RSVP = _ember[\"default\"].RSVP;\n\n  /**\n   * Remote open and close for the KDS station at a vendor window (BRP-4105).\n   *\n   * <p>The model is the list of events this user may act in. Station rows are not loaded here: they\n   * belong to whichever event is picked, and there is no sensible default. Loading every window in\n   * the estate to fill a screen before anyone has said which show they are working would be slow and\n   * would put other operators' windows in reach of a mis-click.\n   *\n   * <p><b>Events come from /api/v1/kdsStations/events, not from the store.</b>\n   * store.query('locationGroup', {}) returns the first page of a paginated endpoint: ten of 1345\n   * groups by id ascending, which fills the picker with 2015-era test groups and omits every live\n   * event. The endpoint used here returns the events where online ordering is switched on, which is\n   * the only place a KDS station exists.\n   *\n   * <p>Fetched with Ember.$.ajax rather than through the store, following location-group/route.js.\n   * These are action paths, not resources, and a custom adapter for four endpoints would be more\n   * machinery than it saves.\n   */\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    model: function model() {\n      Logger.debug('BR-kds: loading events for station control');\n      var authToken = this.get('session.data.authenticated.access_token');\n      return _ember[\"default\"].$.ajax({\n        url: '/api/v1/kdsStations/events',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      }).then(function (events) {\n        return RSVP.hash({ locationGroups: events || [] });\n      }, function () {\n        // An empty picker with the screen's own \"choose an event\" prompt beats a blank route.\n        Logger.error('BR-kds: could not load events for station control');\n        return RSVP.hash({ locationGroups: [] });\n      });\n    },\n\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      // Same shape as location/route.js and saved-network/route.js, but a wider predicate: company\n      // admins run their own windows and are the people standing at the show.\n      if (!this.get('showKdsStationControl')) {\n        this.transitionTo('');\n      }\n    },\n\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/kds-station/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"QRB5MS6y\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"kds-station/list\\\"],null,[[\\\"locationGroups\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"locationGroups\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/kds-station/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/loading/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"1+xyk1R2\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/loading/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-group-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/location-group-wristband-attachment/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _modelFragmentsFragment, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend(Validations, {\n    attachmentId: (0, _emberDataAttr[\"default\"])('number'),\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    attachmentKey: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean')\n  });\n});","define(\"fcs-dashboard/pods/location-group/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"0rpOpXQn\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[\\\"locationGroup.edit\\\",[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],[[\\\"class\\\"],[\\\"icon\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.buttons.edit\\\"],null],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-group/actions/push-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"owNJQ+aS\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-arrow-circle-up icon\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openPushTagSyncModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/actions/push-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-group/actions/status-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+w6ht38R\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"isActive\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"changeStatus\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.buttons.active\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"changeStatus\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.list.buttons.inactive\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/actions/status-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-group/edit/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin) {\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = _ember[\"default\"].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], {\n    locationGroupSave: _ember[\"default\"].inject.service('location-group-save'),\n    renderTemplate: function renderTemplate() {\n      this.render('locationGroup/edit', { into: 'application' });\n    },\n    model: function model(params) {\n      this.store.unloadAll('promotionImage');\n      return this.store.findRecord('locationGroup', params.locationGroup_id, { reload: true });\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('saveEnabled', true);\n      controller.set('saving', false);\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n    },\n    actions: {\n      willTransition: function willTransition() {\n        this.send('cleanMessages');\n        this.controller.get('model.customFees').forEach(function (customFee) {\n          if (customFee) {\n            customFee.rollbackAttributes();\n          }\n        });\n        this.get('currentModel').rollbackAttributes();\n      },\n      cancel: function cancel(item) {\n        this.send('cleanMessages');\n        item.get('promotions').forEach(function (promotion) {\n          promotion.get('images').forEach(function (image) {\n            image.rollbackAttributes();\n          });\n        });\n        item.rollbackAttributes();\n        this.transitionTo('locationGroup');\n      },\n      save: function save(item) {\n        var _this = this;\n\n        var existsProducerOwner = false;\n        var validCredentials = true;\n        this.send('cleanMessages');\n\n        // validate descriptor\n        if (item.get('descriptorEnabled')) {\n          var dynamicDescriptor = item.get('dynamicDescriptor');\n          if (dynamicDescriptor === '') {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.descriptorEmptyError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n\n        //validate companyRoles\n        item.get('companiesRoles').forEach(function (companyRole) {\n          if (!companyRole.get('validations.isValid')) {\n            validCredentials = false;\n            companyRole.get('validations.errors').forEach(function (error) {\n              var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            });\n          }\n\n          if (isEqual(companyRole.get('roleId'), '13')) {\n            existsProducerOwner = true;\n          }\n        });\n\n        if (!existsProducerOwner) {\n          validCredentials = false;\n          var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.noProducerOwnerSelected'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n        if (item.get('isCashless')) {\n          if (item.get('cashlessInformation.gateway') === null || item.get('cashlessInformation.gateway') === undefined || item.get('cashlessInformation.gateway') === 0) {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.gatewayError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n        if (item.get('locationGroupType.content.data.name') === 'Event') {\n          if (item.get('startDate') === null) {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.startDateError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n          if (item.get('endDate') === null) {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.endDateError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n\n        if (item.get('validations.isValid') && validCredentials) {\n          this.controller.set('saving', true);\n          // BRP-4046 Phase 3: fan out per-collection delta calls instead of the monolithic embedded PUT.\n          this.get('locationGroupSave').save(item).then(function () {\n            _this.controller.set('saving', false);\n            _this.get('notify').success(_this.get('intl').t('locationGroups.details.errors.successSave', {\n              locationGroupType: item.get('locationGroupType.name'),\n              name: item.get('name')\n            }));\n            _this.transitionTo('locationGroup');\n          })[\"catch\"](function (result) {\n            // Partial failure: keep the form open and report what failed. Every delta endpoint is\n            // idempotent, so clicking Save again retries only the still-dirty collections.\n            _this.controller.set('saving', false);\n            var failures = result && result.failures || [];\n            // BRP-4071 (CTC-010): map the root save's backend error detail to its specific i18n key\n            // (mirrors gateway/edit/route.js). A duplicate name surfaces as\n            // error.errors.get(0).detail === 'duplicatedNameError'; without this it fell back to the\n            // generic savingError. Root failures reject alone (the fan-out never runs), so this is the\n            // only failure when it fires.\n            var rootFailure = failures.find(function (f) {\n              return f.collection === 'root';\n            });\n            var rootErr = rootFailure ? rootFailure.error : undefined;\n            var key = 'locationGroups.details.errors.savingError';\n            if (rootErr && rootErr.errors && rootErr.errors.get(0) && rootErr.errors.get(0).detail) {\n              key = \"locationGroups.details.errors.\" + rootErr.errors.get(0).detail;\n            }\n            var baseMessage = _this.get('intl').t(key, {\n              locationGroupType: item.get('locationGroupType.name'),\n              name: item.get('name')\n            });\n            // For sub-resource (non-root) failures keep the per-collection summary so the user knows\n            // which parts to retry.\n            var failedCollections = failures.filter(function (f) {\n              return f.collection !== 'root';\n            }).map(function (f) {\n              return f.collection;\n            }).join(', ');\n            var errorMessage = _this.get('notify').alert(failedCollections ? baseMessage + \" (\" + failedCollections + \")\" : baseMessage, { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        } else {\n          this.controller.set('saveEnabled', true);\n          item.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/location-group/edit/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"dWY0jFhm\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saving\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/details\\\"],null,[[\\\"locationGroup\\\",\\\"save\\\",\\\"cancel\\\",\\\"saveEnabled\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\",[\\\"get\\\",[\\\"saveEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.saving\\\"],[[\\\"eventName\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"name\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/edit/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-group/loading/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('location-group/loading', { into: 'application' });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/location-group/loading/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6Dpyeg06\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/loading/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-group/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"model-fragments/attributes\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _modelFragmentsAttributes, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'locationGroups.details.name.label' }),\n    timezone: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'locationGroups.details.timezone.label'\n    }),\n    locationGroupType: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'locationGroups.details.locationGroupType.label'\n    })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    address: (0, _emberDataAttr[\"default\"])('string'),\n    logo: (0, _emberDataAttr[\"default\"])('string'),\n    cashlessScreenBrand: (0, _emberDataAttr[\"default\"])('string'),\n    tipScreenBrand: (0, _emberDataAttr[\"default\"])('string'),\n    thankYouScreenBrand: (0, _emberDataAttr[\"default\"])('string'),\n    dynamicDescriptor: (0, _emberDataAttr[\"default\"])('string'),\n    descriptorEnabled: (0, _emberDataAttr[\"default\"])('boolean'),\n    startDate: (0, _emberDataAttr[\"default\"])('date', { defaultValue: null }),\n    endDate: (0, _emberDataAttr[\"default\"])('date', { defaultValue: null }),\n    timezone: (0, _emberDataAttr[\"default\"])('string'),\n    wristbandFiles: (0, _emberDataAttr[\"default\"])('string'),\n    isCashless: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    surchargeDisplayNameEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    surchargeDisplayName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: \"Surcharge\" }),\n    cashDiscountDisplayNameEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    cashDiscountDisplayName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: \"Cash Discount\" }),\n    userCreationFromTabletEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    enableBannerBranding: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    isActive: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    digitalTipsDeductionsEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    locationGroupType: (0, _emberDataRelationships.belongsTo)('locationGroupType'),\n    promotions: (0, _emberDataRelationships.hasMany)('promotion'),\n    customFees: (0, _emberDataRelationships.hasMany)('customFee'),\n    cashlessInformation: (0, _modelFragmentsAttributes.fragment)('cashlessInformation', {\n      defaultValue: {\n        v4EventId: 0,\n        reverseUIDEnabled: false\n      }\n    }),\n    companiesRoles: (0, _modelFragmentsAttributes.fragmentArray)('companyRole', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    intl: _ember[\"default\"].inject.service(),\n    translatedIsCashless: computed('isCashless', function () {\n      if (this.get('isCashless')) {\n        return this.get('intl').t('locationGroups.list.cashless.yes');\n      } else {\n        return this.get('intl').t('locationGroups.list.cashless.no');\n      }\n    }),\n    receiptText: (0, _emberDataAttr[\"default\"])('string'),\n    wristbandAttachments: (0, _modelFragmentsAttributes.fragmentArray)('locationGroupWristbandAttachment', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    roundUpDonationEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    roundUpDonationDisplayName: (0, _emberDataAttr[\"default\"])('string'),\n    roundUpDonationBanner: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define('fcs-dashboard/pods/location-group/new/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/common-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin) {\n  var isEqual = _ember['default'].isEqual;\n  exports['default'] = _ember['default'].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsCommonMixin['default'], {\n    locationGroupSave: _ember['default'].inject.service('location-group-save'),\n    renderTemplate: function renderTemplate() {\n      this.render('locationGroup/new', { into: 'application' });\n    },\n    model: function model() {\n      return this.store.createRecord('locationGroup');\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('saveEnabled', true);\n      controller.set('saving', false);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        this.send('cleanMessages');\n        this.get('currentModel').rollbackAttributes();\n      },\n      cancel: function cancel(item) {\n        this.send('cleanMessages');\n        if (item.get('images')) {\n          item.get('images').forEach(function (image) {\n            image.rollbackAttributes();\n          });\n        }\n        item.rollbackAttributes();\n        this.transitionTo('locationGroup');\n      },\n      save: function save(item) {\n        var _this = this;\n\n        var existsProducerOwner = false;\n        var validCredentials = true;\n        this.send('cleanMessages');\n        //validate companyRoles\n        item.get('companiesRoles').forEach(function (companyRole) {\n          if (!companyRole.get('validations.isValid')) {\n            validCredentials = false;\n            companyRole.get('validations.errors').forEach(function (error) {\n              var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n              _this.get('errorMessages').addObject(errorMessage);\n            });\n          }\n          if (isEqual(companyRole.get('roleId'), '13')) {\n            existsProducerOwner = true;\n          }\n        });\n\n        if (!existsProducerOwner) {\n          validCredentials = false;\n          var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.noProducerOwnerSelected'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n        }\n        if (item.get('isCashless')) {\n          if (item.get('cashlessInformation.gateway') === null || item.get('cashlessInformation.gateway') === undefined) {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.gatewayError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n        if (item.get('locationGroupType.content.data.name') === 'Event') {\n          if (item.get('startDate') === null) {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.startDateError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n          if (item.get('endDate') === null) {\n            validCredentials = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('locationGroups.details.errors.endDateError'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n        if (item.get('validations.isValid') && validCredentials) {\n          this.controller.set('saving', true);\n          // BRP-4071 (CTC-007): create must fan out promotions/customFees too. The root serializer drops\n          // those collections (they are saved via the sub-resource endpoints), so a plain item.save() on\n          // create silently loses them -- route through the orchestrator exactly like the edit flow.\n          this.get('locationGroupSave').save(item).then(function () {\n            _this.controller.set('saving', false);\n            _this.get('notify').success(_this.get('intl').t('locationGroups.details.errors.successSave', {\n              locationGroupType: item.get('locationGroupType.name'),\n              name: item.get('name')\n            }));\n            _this.send('refreshList');\n          })['catch'](function (result) {\n            // Keep the form open and report what failed. BRP-4071 (CTC-010): map the root failure's\n            // backend error detail to its specific i18n key (duplicate name -> duplicatedNameError).\n            // This also fixes the old `let message` use-before-declaration that discarded the mapping.\n            _this.controller.set('saving', false);\n            var failures = result && result.failures || [];\n            var rootFailure = failures.find(function (f) {\n              return f.collection === 'root';\n            });\n            var rootErr = rootFailure ? rootFailure.error : undefined;\n            var key = 'locationGroups.details.errors.savingError';\n            if (rootErr && rootErr.message && rootErr.message.includes('image')) {\n              key = 'locationGroups.details.errors.imageError';\n            } else if (rootErr && rootErr.errors && rootErr.errors.get(0) && rootErr.errors.get(0).detail) {\n              key = 'locationGroups.details.errors.' + rootErr.errors.get(0).detail;\n            }\n            var baseMessage = _this.get('intl').t(key, {\n              locationGroupType: item.get('locationGroupType.name'),\n              name: item.get('name')\n            });\n            // For sub-resource (non-root) failures keep the per-collection summary so the user knows\n            // which parts to retry.\n            var failedCollections = failures.filter(function (f) {\n              return f.collection !== 'root';\n            }).map(function (f) {\n              return f.collection;\n            }).join(', ');\n            var errorMessage = _this.get('notify').alert(failedCollections ? baseMessage + ' (' + failedCollections + ')' : baseMessage, { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        } else {\n          this.controller.set('saveEnabled', true);\n          item.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/location-group/new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NKOc5yse\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"saving\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/details\\\"],null,[[\\\"locationGroup\\\",\\\"save\\\",\\\"cancel\\\",\\\"saveEnabled\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\",[\\\"get\\\",[\\\"saveEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.saving\\\"],[[\\\"eventName\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"name\\\"]]]]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/new/template.hbs\" } });\n});","define('fcs-dashboard/pods/location-group/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/common-mixin', 'fcs-dashboard/mixins/base-component'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  exports['default'] = _ember['default'].Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsCommonMixin['default'], _fcsDashboardMixinsBaseComponent['default'], {\n    model: function model() {\n      this.store.unloadAll('promotionImage');\n      return this.store.query('locationGroup', { reload: true, isActive: true });\n      // return preload(this.store.findAll('locationGroup', {reload: true}), ['location', {companyRoles: 'locations'}]);\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      saveLocationGroup: function saveLocationGroup(item) {\n        var _this = this;\n\n        item.save().then(function () {\n          _this.get('notify').success(_this.get('intl').t('locationGroups.details.errors.successSave', {\n            locationGroupType: item.get('locationGroupType.name'),\n            name: item.get('name')\n          }));\n          _this.refresh();\n          _this.transitionTo('locationGroup');\n        })['catch'](function (error) {\n          if (error !== undefined) {\n            message = 'locationGroups.details.errors.' + error.errors.get(0).detail;\n          }\n          var message = 'locationGroups.details.errors.savingError';\n          if (error.message && error.message.includes('image')) {\n            message = 'locationGroups.details.errors.imageError';\n          }\n          var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, {\n            locationGroupType: item.get('locationGroupType.name'),\n            name: item.get('name')\n          }), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n        });\n      },\n      changeItemStatus: function changeItemStatus(item, isActive) {\n        var _this2 = this;\n\n        var payload = {\n          isActive: isActive\n        };\n        var endpoint = '/api/v1/locationGroups/' + item.get('id') + '/status';\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'PUT',\n          data: JSON.stringify(payload),\n          contentType: 'application/json'\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n          xhr.setRequestHeader('Content-Type', 'application/json');\n        };\n        options.success = function (products) {\n          _this2.get('notify').success(_this2.get('intl').t('locationGroups.details.errors.successStatusChange', {\n            locationGroupType: item.get('locationGroupType.name'),\n            name: item.get('name')\n          }));\n          _this2.refresh();\n          _this2.transitionTo('locationGroup');\n        };\n        options.error = function () {\n          if (error !== undefined) {\n            message = 'locationGroups.details.errors.' + error.errors.get(0).detail;\n          }\n          var message = 'locationGroups.details.errors.savingError';\n          var errorMessage = _this2.get('notify').alert(_this2.get('intl').t(message, {\n            locationGroupType: item.get('locationGroupType.name'),\n            name: item.get('name')\n          }), { closeAfter: 5000 });\n          _this2.get('errorMessages').addObject(errorMessage);\n        };\n        _ember['default'].$.ajax(options);\n      },\n      refreshList: function refreshList() {\n        this.refresh();\n        this.transitionTo('locationGroup');\n      },\n      pushTagSync: function pushTagSync(locationGroupId, tablets) {\n        var _this3 = this;\n\n        var endpoint = '/api/v1/locationGroups/pushTagSync';\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { tablets: tablets, locationGroupId: locationGroupId }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function () {\n          _this3.get('notify').success(_this3.get('intl').t('locationGroups.list.success.pushTagSync'));\n          _this3.refresh();\n          _this3.transitionTo('locationGroup');\n        };\n        options.error = function () {\n          var errorMessage = undefined;\n          errorMessage = _this3.get('notify').alert(_this3.get('intl').t('locationGroups.list.errors.pushTagSyncError'), { closeAfter: 5000 });\n          _this3.get('errorMessages').addObject(errorMessage);\n        };\n        _ember['default'].$.ajax(options);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/location-group/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      // BRP-4046 Phase 3: stop embedding promotions/customFees in the outgoing root PUT — they are\n      // now saved via per-collection sub-resource endpoints by the location-group-save orchestrator.\n      // GET still hydrates them (deserialize: 'records'); the server leaves these collections untouched\n      // when their arrays are absent from the root payload.\n      promotions: { serialize: false, deserialize: 'records' },\n      customFees: { serialize: false, deserialize: 'records' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/location-group/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Hr6V/D71\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"location-group/list\\\"],null,[[\\\"locationGroups\\\",\\\"saveLocationGroup\\\",\\\"pushTagSync\\\",\\\"changeItemStatus\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"saveLocationGroup\\\",\\\"pushTagSync\\\",\\\"changeItemStatus\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location-group/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/location/actions/edit-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Zj3ELeh2\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"location.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"edit\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location/actions/edit-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/location/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'location.detail.name.label' }),\n    companyId: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'location.detail.company.label' }),\n    typeId: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'location.detail.locationType.label' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    typeName: (0, _emberDataAttr[\"default\"])('string'),\n    typeId: (0, _emberDataAttr[\"default\"])('number'),\n    menuCount: (0, _emberDataAttr[\"default\"])('number'),\n    active: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    brainTreeEnabled: (0, _emberDataAttr[\"default\"])('boolean'),\n    companyTags: (0, _emberDataAttr[\"default\"])('array', { defaultValue: function defaultValue() {\n        return [];\n      } }),\n    intl: _ember[\"default\"].inject.service(),\n    translatedStatus: computed('active', function () {\n      if (this.get('active')) {\n        return this.get('intl').t('menu.list.table.status.active');\n      } else {\n        return this.get('intl').t('menu.list.table.status.inactive');\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/location/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    model: function model() {\n      Logger.debug('getting data!');\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      if (company) {\n        return this.store.query('location', { companyId: company });\n      } else {\n        return this.store.query('location', { translatedStatus: 'Active' });\n      }\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save() {\n        this.send('reloadLocations');\n      },\n      reloadLocations: function reloadLocations() {\n        var self = this;\n        var company = undefined,\n            model = undefined;\n        if (this.get('lockedCompany') !== undefined) {\n          company = this.get('lockedCompany.id');\n        } else if (!this.get('isBRUser')) {\n          company = this.get('loggedAccount.company.id');\n        }\n        if (company) {\n          model = this.store.query('location', { companyId: company });\n        } else {\n          model = this.store.query('location', { simple: true });\n        }\n        model.then(function (result) {\n          self.controller.set('model', result);\n        });\n      },\n\n      toggleLocationsActive: function toggleLocationsActive(locationIds, activate) {\n        var _this = this;\n\n        var endpoint = \"/api/v1/locations/toggleLocationsActive\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { locationIds: locationIds,\n            activate: activate }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function () {\n          Logger.debug('Locations toggle');\n          _this.send('cleanMessages');\n          _this.send('reloadLocations');\n        };\n        options.error = function () {\n          _this.get('errorMessages').addObject(_this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 }));\n        };\n        _ember[\"default\"].$.ajax(options);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/location/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yFlvSuq3\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"location-mng/list\\\"],null,[[\\\"data\\\",\\\"save\\\",\\\"refreshAction\\\",\\\"toggleLocationsActive\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"refresh\\\",\\\"toggleLocationsActive\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/location/template.hbs\" } });\n});","define('fcs-dashboard/pods/login/model', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].Model.extend({});\n});","define('fcs-dashboard/pods/login/route', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Route.extend({\n    setupController: function setupController(controller) {\n      controller.set('version', null);\n    },\n    model: function model() {\n      var _this = this;\n\n      var path = '/api/v1/versions';\n      var _window$location = window.location;\n      var protocol = _window$location.protocol;\n      var host = _window$location.host;\n\n      var url = protocol + '//' + host + path;\n      var options = {\n        url: url,\n        type: 'GET'\n      };\n      options.success = function (result) {\n        _this.controller.set('version', result);\n      };\n      options.error = function () {\n        console.log('error');\n      };\n      _ember['default'].$.ajax(options);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/login/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"TbD1OvzC\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"container-fluid\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-logo\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"t\\\"],[\\\"login.signin.title\\\"],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-background\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"fcs-login\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"version login-version\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      Version \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"version\\\",\\\"version\\\",\\\"version\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-background-footer\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/login/template.hbs\" } });\n});","define('fcs-dashboard/pods/menu-audit-report/menu-audit-report-item/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    companyRole: (0, _emberDataAttr['default'])('string'),\n    companyName: (0, _emberDataAttr['default'])('string'),\n    menuId: (0, _emberDataAttr['default'])('string'),\n    menuName: (0, _emberDataAttr['default'])('string'),\n    processingMode: (0, _emberDataAttr['default'])('string'),\n    taxType: (0, _emberDataAttr['default'])('string'),\n    taxRate: (0, _emberDataAttr['default'])('string'),\n    tabFunctionality: (0, _emberDataAttr['default'])('string'),\n    cloudTabFunctionality: (0, _emberDataAttr['default'])('string'),\n    tipsAmountButton: (0, _emberDataAttr['default'])('string'),\n    tipsPercentageButton: (0, _emberDataAttr['default'])('string'),\n    tipsManualEntry: (0, _emberDataAttr['default'])('string'),\n    tipsPlusMinus: (0, _emberDataAttr['default'])('string'),\n    buttonOne: (0, _emberDataAttr['default'])('string'),\n    buttonTwo: (0, _emberDataAttr['default'])('string'),\n    buttonThree: (0, _emberDataAttr['default'])('string'),\n    percentageOne: (0, _emberDataAttr['default'])('string'),\n    percentageTwo: (0, _emberDataAttr['default'])('string'),\n    percentageThree: (0, _emberDataAttr['default'])('string'),\n    adminCode: (0, _emberDataAttr['default'])('string'),\n    cashlessAdminCode: (0, _emberDataAttr['default'])('string'),\n    voidAdminCode: (0, _emberDataAttr['default'])('string'),\n    orderNoteFunctionality: (0, _emberDataAttr['default'])('string'),\n    serviceFee: (0, _emberDataAttr['default'])('string'),\n    serviceFeeTaxRate: (0, _emberDataAttr['default'])('string'),\n    employeeDiscountPercentage: (0, _emberDataAttr['default'])('string'),\n    standaloneFunctionality: (0, _emberDataAttr['default'])('string'),\n    locationId: (0, _emberDataAttr['default'])('string'),\n    locationName: (0, _emberDataAttr['default'])('string'),\n    cashFunctionality: (0, _emberDataAttr['default'])('string'),\n    exactCashFunctionality: (0, _emberDataAttr['default'])('string'),\n    cashDisplayType: (0, _emberDataAttr['default'])('string'),\n    coinRounding: (0, _emberDataAttr['default'])('string'),\n    coinRoundingMode: (0, _emberDataAttr['default'])('string'),\n    coinRoundingType: (0, _emberDataAttr['default'])('string'),\n    cashDiscount: (0, _emberDataAttr['default'])('string'),\n    cashDiscountPercentage: (0, _emberDataAttr['default'])('string'),\n    manualEntry: (0, _emberDataAttr['default'])('string'),\n    manualEntrySignature: (0, _emberDataAttr['default'])('string'),\n    swipe: (0, _emberDataAttr['default'])('string'),\n    swipeSignature: (0, _emberDataAttr['default'])('string'),\n    emv: (0, _emberDataAttr['default'])('string'),\n    creditSurcharge: (0, _emberDataAttr['default'])('string'),\n    creditSurchargePercentage: (0, _emberDataAttr['default'])('string'),\n    openLoop: (0, _emberDataAttr['default'])('string'),\n    walkerAsRfidReader: (0, _emberDataAttr['default'])('string'),\n    openLoopSurcharge: (0, _emberDataAttr['default'])('string'),\n    openLoopSurchargePercentage: (0, _emberDataAttr['default'])('string'),\n    openLoopSignature: (0, _emberDataAttr['default'])('string'),\n    patronLoadedFunds: (0, _emberDataAttr['default'])('string'),\n    creditGatewayName: (0, _emberDataAttr['default'])('string'),\n    braintreeCashlessMid: (0, _emberDataAttr['default'])('string'),\n    paypalCashlessMid: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/menu-audit-report/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    reportItems: (0, _modelFragmentsAttributes.fragmentArray)('menu-audit-report/menu-audit-report-item', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/menu-audit-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n\n        if (queryOptions.get('selectedLocationGroup') !== null && queryOptions.get('selectedLocationGroup') !== undefined) {\n          //get locationGroup id and push them into query\n          query['locationGroup'] = [queryOptions.get('selectedLocationGroup.id')];\n        } else {\n          var errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          return;\n        }\n\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        }\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('menuAuditReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report.get('reportItems.length') === 0) {\n              _this.controller.set('noResults', true);\n            } else {\n              _this.controller.set('noResults', false);\n            }\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu-audit-report/serializer\", [\"exports\", \"ember-data\", \"ember\"], function (exports, _emberData, _ember) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.menuAuditReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu-audit-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"7t5QaOK5\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"menu-audit-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu-audit-report/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportItems\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu-audit-report/template.hbs\" } });\n});","define('fcs-dashboard/pods/menu-custom-fee/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    customFeeId: (0, _emberDataAttr['default'])('number'),\n    locationGroupName: (0, _emberDataAttr['default'])('string'),\n    value: (0, _emberDataAttr['default'])('number'),\n    type: (0, _emberDataAttr['default'])('string'),\n    appliesTo: (0, _emberDataAttr['default'])('string'),\n    taxable: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    enabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: true }),\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define('fcs-dashboard/pods/menu-location/model', ['exports', 'ember', 'ember-data/attr', 'model-fragments/fragment', 'model-fragments/attributes'], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment, _modelFragmentsAttributes) {\n  var observer = _ember['default'].observer;\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    location: (0, _emberDataAttr['default'])('string'),\n    creditCardSurchargeEnabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    patronLoadedFundsEnabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    creditCardSurchargePercentage: (0, _emberDataAttr['default'])('number', { defaultValue: 0 }),\n    openLoopSurchargeEnabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    openLoopSurchargePercentage: (0, _emberDataAttr['default'])('number', { defaultValue: 0 }),\n    cash: (0, _modelFragmentsAttributes.fragment)('tender/cash', {\n      defaultValue: {\n        enabled: false,\n        fastCashEnabled: false,\n        displayType: 0,\n        cashCoinRoundingEnabled: false,\n        cashCoinRoundingType: 0,\n        cashCoinRoundingMode: 0\n      }\n    }),\n    manualCredit: (0, _modelFragmentsAttributes.fragment)('tender/manualCreditCard', { defaultValue: { enabled: false, signatureEnabled: false } }),\n    swipeCredit: (0, _modelFragmentsAttributes.fragment)('tender/swipeCreditCard', { defaultValue: { enabled: false, signatureEnabled: false } }),\n    chipCredit: (0, _modelFragmentsAttributes.fragment)('tender/chipCreditCard', { defaultValue: { enabled: false } }),\n    cashless: (0, _modelFragmentsAttributes.fragment)('tender/cashless', { defaultValue: { enabled: false, signatureEnabled: false, readerDisabled: false } }),\n    gateway: (0, _emberDataAttr['default'])('string'),\n    noGateway: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    updateCheckpoint: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    noPaymentMethods: (0, _emberDataAttr['default'])('boolean', { defaultValue: true }),\n    locationObject: _ember['default'].computed('location', function () {\n      return this.store.findRecord('location', this.get('location'));\n    }),\n    gatewayEnabled: observer('manualCredit.enabled', 'swipeCredit.enabled', 'chipCredit.enabled', 'gateway', function () {\n      if (this.get('manualCredit.enabled') || this.get('swipeCredit.enabled') || this.get('chipCredit.enabled')) {\n        if (this.get('gateway') !== null && this.get('gateway') !== undefined) {\n          this.set('noGateway', false);\n        } else {\n          this.set('noGateway', true);\n        }\n      } else {\n        this.set('noGateway', false);\n      }\n    }),\n    paymentsEnabled: observer('manualCredit.enabled', 'swipeCredit.enabled', 'chipCredit.enabled', 'cashless.enabled', 'cash.enabled', function () {\n      if (this.get('manualCredit.enabled') || this.get('swipeCredit.enabled') || this.get('chipCredit.enabled') || this.get('cashless.enabled') || this.get('cash.enabled')) {\n        this.set('noPaymentMethods', false);\n      } else {\n        this.set('noPaymentMethods', true);\n      }\n    }),\n    promotions: (0, _modelFragmentsAttributes.fragmentArray)('menuPromotion'),\n    customFees: (0, _modelFragmentsAttributes.fragmentArray)('menuCustomFee'),\n    creditEnabled: false,\n    creditCardRoundUpDonationEnabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    cashlessRoundUpDonationEnabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    cashRoundUpDonationEnabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false })\n  });\n});","define(\"fcs-dashboard/pods/menu-location/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      promotions: { serialize: 'records', deserialize: 'records' },\n      customFees: { serialize: 'records', deserialize: 'records' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define('fcs-dashboard/pods/menu-name-filter/model', ['exports', 'ember-data/attr', 'ember-data/model', 'ember-cp-validations'], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports['default'] = _emberDataModel['default'].extend(Validations, {\n    name: (0, _emberDataAttr['default'])('string'),\n    locations: (0, _emberDataAttr['default'])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define('fcs-dashboard/pods/menu-product-type/model', ['exports', 'ember', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    productType: (0, _emberDataAttr['default'])('string'),\n    taxRate: (0, _emberDataAttr['default'])('string', { defaultValue: 0 }),\n    taxNotSet: (0, _emberDataAttr['default'])('boolean', { defaultValue: true }),\n    productTypeObject: _ember['default'].computed('productType', function () {\n      if (this.get('productType') !== undefined) {\n        return this.store.findRecord('productType', this.get('productType'));\n      }\n    })\n  });\n});","define('fcs-dashboard/pods/menu-promotion/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    promotionId: (0, _emberDataAttr['default'])('number'),\n    type: (0, _emberDataAttr['default'])('string'),\n    enabled: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    name: (0, _emberDataAttr['default'])('string'),\n    locationGroupName: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/menu/actions/copy-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"xximtMbl\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-clone\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.copyMenu\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openCopyMenuModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/copy-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tsEJ6tQH\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"editMenu\\\",[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/edit-locations-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yPiomZFQ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openLocationsSelectors\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"hasLocations\\\"]]],null,1,0],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.addLocations\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.editLocations\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/edit-locations-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/lock-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"a+gePUt+\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-lock icon\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openLockMenuModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/lock-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/menu-archive-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"KyLNzK8D\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"archived\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-folder\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.deactivate\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openDeactivateMenuModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-folder-open\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.list.buttons.activate\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openDeactivateMenuModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/menu-archive-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/payments-warning/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tGCu+xmT\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"usable\\\"]]],null,2,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepThree.creditCard.errors.noLocations\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-exclamation-triangle fa-fw center-block\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"tooltip-on-element\\\"],null,[[\\\"event\\\",\\\"class\\\",\\\"side\\\"],[\\\"hover\\\",\\\"tooltip-error\\\",\\\"right\\\"]],0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check fa-fw center-block\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/payments-warning/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/product-type-tax-set-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9v+wlMt5\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"taxNotSet\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning btn-sm\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"clearTaxRate\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.menuTaxType.clearTax\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-info btn-sm\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"setTaxRate\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.menuTaxType.setTax\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/product-type-tax-set-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/product-type-tax/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"O1x9oG99\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"taxNotSet\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-percentage\\\"],null,[[\\\"class\\\",\\\"value\\\"],[\\\"form-control\\\",[\\\"get\\\",[\\\"record\\\",\\\"taxRate\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepTwo.menuTaxes.menuTaxType.notSetTax\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/product-type-tax/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/actions/push-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8oEziWYd\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-arrow-circle-up icon\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openPushMenuModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/actions/push-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/edit/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"ember-data-preload\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _emberDataPreload, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var set = _ember[\"default\"].set;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('menu/edit', { into: 'application' });\n    },\n    model: function model(params) {\n      Logger.debug(\"Loading data for menu \" + params.menu_id);\n      return (0, _emberDataPreload[\"default\"])(this.store.findRecord('menu', params.menu_id, { reload: true }), ['company', { menuLocations: { locationObject: 'company' } }, { categories: { pages: { products: ['productCatalog', 'taxRateType'] } } }]);\n    },\n    afterModel: function afterModel(model) {\n      Logger.debug(\"Loading menu-location data for menu \" + model.get('id'));\n      this.store.query('location', { menu: model.get('id'), version: parseInt(new Date().getTime() / 1000, 10) }).then(function (locations) {\n        var locationList = [];\n        locations.forEach(function (item) {\n          locationList.addObject(item.get('id'));\n        });\n        model.set('locations', locationList);\n      });\n      Logger.debug(\"menu-location data loaded for menu \" + model.get('id'));\n      this._loadProductTypes(model);\n    },\n    _loadProductTypes: function _loadProductTypes(model) {\n      var _this = this;\n\n      Logger.debug('loading menu-productTypes');\n      var company = model.get('company.id');\n      this.store.query('productType', { companyId: company, pageSize: -1 }).then(function (productTypes) {\n        productTypes.forEach(function (productType) {\n          var productTypeId = productType.get('id');\n          if (!model.get('menuProductTypes').findBy('productType', productTypeId)) {\n            model.get('menuProductTypes').addObject(_this.store.createFragment('menuProductType', { productType: productTypeId }));\n          }\n        });\n      });\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('showModal', false);\n      controller.set('saveEnabled', true);\n    },\n    cleanupMenu: function cleanupMenu() {\n      Logger.debug('Cleaning menu and relationships.');\n      this.store.unloadAll('product');\n      this.store.unloadAll('page');\n      this.store.unloadAll('category');\n      this.store.unloadAll('promotion');\n      this.store.unloadAll('menu');\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        Logger.debug('menu.edit aborting transition');\n        if (this.controller.get('model.hasDirtyAttributes')) {\n          this.controller.set('transition', transition);\n          this.controller.set('showModal', true);\n          transition.abort();\n        } else {\n          this.cleanupMenu();\n        }\n      },\n      closeModal: function closeModal() {\n        this.controller.set('showModal', false);\n      },\n      save: function save(menu, shouldClean, newMenu) {\n        Logger.debug('Save action called.');\n        var validMenu = true;\n        if (!menu.get('isNew') && newMenu) {\n          // Validate menuLocations conditions\n          if (menu.get('menuLocations.length') > 0) {\n            menu.get('menuLocations').forEach(function (menuLocation) {\n              menuLocation.get('promotions').forEach(function (promotion) {\n                set(promotion, 'id', promotion.id);\n              });\n            });\n          }\n        }\n\n        var reg = new RegExp('^\\\\d{5}$');\n        var showCashlessCheckbox = jQuery('#cashlessCodeCheckbox');\n        var showCashless = showCashlessCheckbox.is(':checked');\n        if (showCashless) {\n          if (isEmpty(menu.get('cashlessAdminCode'))) {\n            jQuery('#cashlessAdminCodeGroup').addClass('has-error');\n            jQuery('#cashlessAdminCodeGroup').addClass('alert-danger');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.cashlessAdminCode'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n            validMenu = false;\n          } else if (!reg.test(menu.get('cashlessAdminCode'))) {\n            jQuery('#cashlessAdminCodeGroup').addClass('has-error');\n            jQuery('#cashlessAdminCodeGroup').addClass('alert-danger');\n            var errorMessage = this.get('notify').alert(this.get('intl').t('menu.builder.steps.stepOne.errors.cashlessAdminCodeNotNumeric'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n            validMenu = false;\n          }\n        }\n\n        if (validMenu) {\n          shouldClean = shouldClean === undefined ? true : shouldClean;\n          if (menu.get('validations.isValid')) {\n            if (menu.get('receipt.enabled')) {\n              if (menu.get('receipt.validations.isValid')) {\n                this.send('saveMenu', menu, shouldClean);\n              } else {\n                this.controller.set('saveEnabled', true);\n                this.send('displayErrorMessages', menu.get('receipt.validations.errors'));\n              }\n            } else {\n              this.send('saveMenu', menu, shouldClean);\n            }\n          } else {\n            this.controller.set('saveEnabled', true);\n            this.send('displayErrorMessages', menu.get('validations.errors'));\n          }\n        } else {\n          this.controller.set('saveEnabled', true);\n          this.send('displayErrorMessages', menu.get('validations.errors'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu/edit/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"707AiDvO\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/wizard-base\\\"],null,[[\\\"menu\\\",\\\"cancel\\\",\\\"save\\\",\\\"saveEnabled\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"cancel\\\",\\\"save\\\",[\\\"get\\\",[\\\"saveEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/save-modal\\\"],null,[[\\\"menu\\\",\\\"showModal\\\",\\\"transition\\\",\\\"leave\\\",\\\"cancel\\\",\\\"message\\\"],[[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"showModal\\\"]],[\\\"get\\\",[\\\"transition\\\"]],\\\"leaveWizard\\\",\\\"closeModal\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.saveChanges.leaveEditMessage\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.saveChanges.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/edit/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/loading/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('menu/loading', { into: 'application' });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu/loading/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"O+iugygT\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/loading/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"model-fragments/attributes\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _modelFragmentsAttributes, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n  var inject = _ember[\"default\"].inject;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepOne.menuName.label' }), (0, _emberCpValidations.validator)('length', { min: 1, max: 254, descriptionKey: 'menu.builder.steps.stepOne.menuName.label' })],\n    adminCode: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepOne.administratorCode.label' }), (0, _emberCpValidations.validator)('format', { regex: /^\\d{5}$/, messageKey: 'menu.builder.steps.stepOne.errors.adminCodeNotNumeric' })],\n    cashlessAdminCode: [(0, _emberCpValidations.validator)('format', { regex: /^(|\\d{5})$/, messageKey: 'menu.builder.steps.stepOne.errors.cashlessAdminCodeNotNumeric' })],\n    voidAdminCode: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepOne.voidAdministratorCode.label' }), (0, _emberCpValidations.validator)('format', { regex: /^\\d{5}$/, messageKey: 'menu.builder.steps.stepOne.errors.voidAdminCodeNotNumeric' })],\n    clerkLockCode: [(0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      messageKey: 'menu.builder.steps.stepFour.clerkLock.errors.noLockCodeEntered',\n      disabled: _ember[\"default\"].computed.not('model.clerkLockEnabled')\n    }), (0, _emberCpValidations.validator)('format', {\n      regex: /^(|\\d{5})$/,\n      messageKey: 'menu.builder.steps.stepFour.clerkLock.errors.notNumeric',\n      disabled: _ember[\"default\"].computed.not('model.clerkLockEnabled')\n    })],\n    // BRP-4165: validated on the model rather than in the wizard, so the rule fires on every save\n    // path. The wizard's own check (menu-wizard/taxes/component.js) only runs inside nextStep(),\n    // which the Taxes tab bypasses -- so any value reached the column.\n    menuTaxRate: [(0, _emberCpValidations.validator)('format', {\n      regex: /^(100|[0-9]{1,2})(\\.[0-9]{1,3})?$/,\n      messageKey: 'menu.builder.steps.stepTwo.menuTaxes.errors.invalidPercentage'\n    })],\n    receipt: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.receiptOpts.title' }),\n    currency: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepOne.menuCurrency.label' }), (0, _emberCpValidations.validator)('length', { min: 1, max: 254, descriptionKey: 'menu.builder.steps.stepOne.menuCurrency.label' })]\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    locked: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tipAmountButtonsEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tipPercentageButtonsEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tipManualEntryEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tipMinusPlusOneButtonsEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tabEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    cloudTabsEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    multiplePagesEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    serviceFeeEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    serviceFeeTaxRate: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '0' }),\n    employeeDiscountPercentage: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    menuTaxType: (0, _emberDataRelationships.belongsTo)('taxType'),\n    menuTaxRate: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    adminCode: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' }),\n    cashlessAdminCode: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' }),\n    voidAdminCode: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' }),\n    pastOrdersManagerCodeRequired: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    buttonColorEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    productImageEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    clerkLockEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    clerkLockCode: (0, _emberDataAttr[\"default\"])('string', { defaultValue: null }),\n\n    // KDS timing budgets (BRP-4105), seconds, nullable throughout.\n    //\n    // defaultValue is null and must stay null. An empty field means \"use the application\n    // default\", which for prep time is the Default Order Prep time of 10 minutes. Zero would\n    // state that the food takes no time at all, which is a different and real assertion, so the\n    // two cannot share an encoding. Giving these a defaultValue of 0, as most number attrs here\n    // do, would silently turn \"not configured\" into \"no time allowed\".\n    kdsNewToStartMaxSeconds: (0, _emberDataAttr[\"default\"])('number', { defaultValue: null }),\n    kdsStartToReadyMinSeconds: (0, _emberDataAttr[\"default\"])('number', { defaultValue: null }),\n    kdsStartToReadyMaxSeconds: (0, _emberDataAttr[\"default\"])('number', { defaultValue: null }),\n    kdsReadyToPickupMaxSeconds: (0, _emberDataAttr[\"default\"])('number', { defaultValue: null }),\n    standaloneEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    orderNoteEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: true }),\n    diningPreferenceSelectionEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    currency: (0, _emberDataAttr[\"default\"])('string'),\n    customProductEnabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    receipt: (0, _modelFragmentsAttributes.fragment)('receipt', {\n      defaultValue: {\n        enabled: false,\n        kitchenPrinterAvailable: false,\n        printableTenders: [],\n        merchantCopies: 1,\n        customerCopies: 1,\n        barPrinterCopies: 1,\n        kitchenPrinterCopies: 1\n      }\n    }),\n    tipButton: (0, _modelFragmentsAttributes.fragment)('tip-button', {\n      defaultValue: {\n        buttonOne: 1,\n        buttonTwo: 5,\n        buttonThree: 10\n      }\n    }),\n    tipPercentage: (0, _modelFragmentsAttributes.fragment)('tip-percentage', {\n      defaultValue: {\n        percentageOne: 15,\n        percentageTwo: 18,\n        percentageThree: 20\n      }\n    }),\n    menuProductTypes: (0, _modelFragmentsAttributes.fragmentArray)('menuProductType'),\n    menuLocations: (0, _modelFragmentsAttributes.fragmentArray)('menuLocation'),\n    openCashDrawerTenders: (0, _emberDataRelationships.hasMany)('tenderType'),\n    orderSendingType: (0, _emberDataRelationships.belongsTo)('orderSendingType'),\n    categories: (0, _emberDataRelationships.hasMany)('category'),\n    modifiers: (0, _emberDataRelationships.hasMany)('modifier'),\n    deletedCategories: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    company: (0, _emberDataRelationships.belongsTo)('company'),\n    updatedAt: (0, _emberDataAttr[\"default\"])('date'),\n    changed: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    archived: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    usable: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    intl: inject.service(),\n    translatedUsableStatus: computed('usable', function () {\n      if (this.get('usable')) {\n        return this.get('intl').t('menu.list.table.usable.usable');\n      } else {\n        return this.get('intl').t('menu.list.table.usable.unusable');\n      }\n    }),\n    translatedStatus: computed('archived', function () {\n      if (this.get('archived')) {\n        return this.get('intl').t('menu.list.table.status.inactive');\n      } else {\n        return this.get('intl').t('menu.list.table.status.active');\n      }\n    }),\n    hasLocations: computed('menuLocations.[]', function () {\n      return this.get('menuLocations.length') > 0;\n    })\n  });\n});","define(\"fcs-dashboard/pods/menu/new/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('menu/new', { into: 'application' });\n    },\n    model: function model() {\n      var company = undefined;\n      if (this.get('isBRUser')) {\n        //since a menu cannot be create without being locked to a company\n        //get locked company's id\n        company = this.get('lockedCompany');\n      } else {\n        company = this.get('loggedAccount.company');\n      }\n      return this.store.createRecord('menu', {\n        orderSendingType: this.store.findRecord('orderSendingType', 1),\n        company: company,\n        menuProductTypes: []\n      });\n    },\n    afterModel: function afterModel(model) {\n      var _this = this;\n\n      var company = '';\n      if (this.get('isBRUser')) {\n        //since a menu cannot be create without being locked to a company\n        //get locked company's id\n        company = this.get('lockedCompany.id');\n      }\n      this.store.query('productType', { companyId: company, pageSize: -1 }).then(function (productTypes) {\n        productTypes.forEach(function (productType) {\n          model.get('menuProductTypes').addObject(_this.store.createFragment('menuProductType', { productType: productType.get('id') }));\n        });\n      });\n    },\n    setupController: function setupController(controller, model) {\n      this._super(controller, model);\n      controller.set('showModal', false);\n      controller.set('saveEnabled', true);\n    },\n    cleanupMenu: function cleanupMenu() {\n      Logger.debug('Cleaning menu and relationships.');\n      this.store.unloadAll('product');\n      this.store.unloadAll('page');\n      this.store.unloadAll('category');\n      this.store.unloadAll('promotion');\n      this.store.unloadAll('menu');\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        if (this.controller.get('model.hasDirtyAttributes') && !isEqual(transition.targetName, 'menu.new')) {\n          this.controller.set('transition', transition);\n          this.controller.set('showModal', true);\n          transition.abort();\n        } else {\n          this.cleanupMenu();\n        }\n      },\n      closeModal: function closeModal() {\n        this.controller.set('showModal', false);\n      },\n      save: function save(menu, shouldClean) {\n        Logger.debug('Save action called.');\n        var validMenu = true;\n        if (validMenu) {\n          shouldClean = shouldClean === undefined ? true : shouldClean;\n          if (menu.get('validations.isValid')) {\n            if (menu.get('receipt.enabled')) {\n              if (menu.get('receipt.validations.isValid')) {\n                this.send('saveMenu', menu, shouldClean);\n              } else {\n                this.controller.set('saveEnabled', true);\n                this.send('displayErrorMessages', menu.get('receipt.validations.errors'));\n              }\n            } else {\n              this.send('saveMenu', menu, shouldClean);\n            }\n          } else {\n            this.controller.set('saveEnabled', true);\n            this.send('displayErrorMessages', menu.get('validations.errors'));\n          }\n        } else {\n          this.controller.set('saveEnabled', true);\n          this.send('displayErrorMessages', menu.get('validations.errors'));\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu/new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"WvNoV9o3\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-wizard/wizard-base\\\"],null,[[\\\"menu\\\",\\\"isWirzardComplete\\\",\\\"cancel\\\",\\\"save\\\",\\\"saveEnabled\\\"],[[\\\"get\\\",[\\\"model\\\"]],false,\\\"cancel\\\",\\\"save\\\",[\\\"get\\\",[\\\"saveEnabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showModal\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"menu/save-modal\\\"],null,[[\\\"menu\\\",\\\"showModal\\\",\\\"transition\\\",\\\"leave\\\",\\\"cancel\\\",\\\"message\\\"],[[\\\"get\\\",[\\\"model\\\"]],[\\\"get\\\",[\\\"showModal\\\"]],[\\\"get\\\",[\\\"transition\\\"]],\\\"leaveWizard\\\",\\\"closeModal\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.saveChanges.leaveNewMessage\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"fcs-modal-dialog\\\"],null,[[\\\"title\\\",\\\"close\\\"],[[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.modal.saveChanges.title\\\"],null],\\\"closeModal\\\"]],0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/new/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var isEqual = _ember[\"default\"].isEqual;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    isReload: false,\n    company: null,\n    model: function model() {\n      _ember[\"default\"].Logger.debug('getting data!');\n\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      this.set('company', company);\n\n      return this.store.query('menu', { companyId: company, status: 'Active' });\n    },\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.findAll('tenderType');\n      }\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (this.get('isReportingUser')) {\n        this.transitionTo('');\n      } else {\n        var company = this.get('company');\n        if (!company) {\n          if (!this.get('isBRUser') && !this.get('isReload')) {\n            this.set('isReload', true);\n            this.refresh();\n          }\n        }\n      }\n    },\n    transitionToMenu: function transitionToMenu() {\n      Logger.debug('Transitioning to index.');\n      this.refresh();\n      this.transitionTo('menu.index');\n    },\n    cleanupMenu: function cleanupMenu() {\n      Logger.debug('Cleaning menu and relationships.');\n      this.store.unloadAll('product');\n      this.store.unloadAll('page');\n      this.store.unloadAll('category');\n      this.store.unloadAll('promotion');\n      this.store.unloadAll('menu');\n    },\n    unlockMenu: function unlockMenu(menuId) {\n      var _this = this;\n\n      var endpoint = \"/api/v1/menus/unlock\";\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var options = {\n        url: endpoint,\n        type: 'POST',\n        data: { menuId: menuId }\n      };\n      options.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n      };\n      options.success = function () {\n        Logger.debug('Menu unlocked!.');\n        _this.send('cleanMessages');\n        _this.transitionToMenu();\n      };\n      options.error = function () {\n        _this.get('errorMessages').addObject(_this.get('notify').alert(_this.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 }));\n      };\n      _ember[\"default\"].$.ajax(options);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      leaveWizard: function leaveWizard(menu, transition) {\n        if (!menu.get('isNew')) {\n          this.unlockMenu(menu.get(\"id\"));\n        }\n        this.cleanupMenu();\n        if (isEqual(transition.intent.name, 'menu')) {\n          this.transitionToMenu();\n        } else {\n          transition.retry();\n        }\n      },\n      cancel: function cancel(menu) {\n        if (!menu.get('isNew')) {\n          this.unlockMenu(menu.get(\"id\"));\n        }\n        this.cleanupMenu();\n        this.transitionToMenu();\n      },\n      unlockMenu: function unlockMenu(menuId) {\n        this.unlockMenu(menuId);\n      },\n      saveMenu: function saveMenu(menu, shouldClean) {\n        var _this2 = this;\n\n        Logger.debug('Saving menu.');\n        if (this.get('lockedCompany')) {\n          menu.set('company', this.get('lockedCompany'));\n        }\n        menu.save().then(function () {\n          Logger.debug('Menu saved!.');\n          _this2.send('cleanMessages');\n          _this2.get('notify').success(_this2.get('intl').t('menu.builder.steps.stepSix.errors.menuSave'));\n          if (shouldClean) {\n            _this2.cleanupMenu();\n          }\n          _this2.transitionToMenu();\n        })[\"catch\"](function (error) {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          if (error.errors[0].detail === 'duplicatedMenuNameError') {\n            errorMessage = _this2.get('notify').alert(_this2.get('intl').t(\"menu.builder.steps.stepSix.errors.\" + error.errors[0].detail), { closeAfter: 5000 });\n          } else {\n            errorMessage = _this2.get('notify').alert(_this2.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n          }\n          _this2.get('errorMessages').addObject(errorMessage);\n        });\n      },\n      copyMenu: function copyMenu(menuId, copyName) {\n        var _this3 = this;\n\n        var endpoint = \"/api/v1/menus/copy\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { menuId: menuId, name: copyName }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function () {\n          Logger.debug('Menu saved!.');\n          _this3.send('cleanMessages');\n          _this3.get('notify').success(_this3.get('intl').t('menu.builder.steps.stepSix.errors.menuCopy'));\n          _this3.transitionToMenu();\n        };\n        options.error = function (error) {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          if (error.responseText === \"duplicatedMenuNameError\") {\n            errorMessage = _this3.get('notify').alert(_this3.get('intl').t(\"menu.builder.steps.stepSix.errors.\" + error.responseText), { closeAfter: 5000 });\n          } else {\n            errorMessage = _this3.get('notify').alert(_this3.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n          }\n          _this3.get('errorMessages').addObject(errorMessage);\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n      pushMenu: function pushMenu(menuId, locations, force) {\n        var _this4 = this;\n\n        var endpoint = \"/api/v1/menus/push\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { menuId: menuId, locations: locations, force: force }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function () {\n          Logger.debug('Menu saved!.');\n          _this4.send('cleanMessages');\n          _this4.get('notify').success(_this4.get('intl').t('menu.builder.steps.stepSix.errors.pushMenu'));\n          _this4.transitionToMenu();\n        };\n        options.error = function () {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          errorMessage = _this4.get('notify').alert(_this4.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n          _this4.get('errorMessages').addObject(errorMessage);\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n      editMenu: function editMenu(menuId) {\n        var _this5 = this;\n\n        var endpoint = \"/api/v1/menus/lockStatus\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { menuId: menuId }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function (response) {\n          if (response.lockStatus.code === 1) {\n            var errorMessage = undefined;\n            // Catch error and return proper error message\n            errorMessage = _this5.get('notify').alert(_this5.get('intl').t('menu.list.errors.lockedMenu', {\n              menuName: response.lockStatus.menuName,\n              userName: response.lockStatus.userName\n            }), { closeAfter: 5000 });\n\n            _this5.get('errorMessages').addObject(errorMessage);\n          } else {\n            _this5.transitionTo('menu.edit', menuId);\n          }\n        };\n        options.error = function () {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          errorMessage = _this5.get('notify').alert(_this5.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 });\n\n          _this5.get('errorMessages').addObject(errorMessage);\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n      toggleMenusArchive: function toggleMenusArchive(menuIds, archive) {\n        var _this6 = this;\n\n        var endpoint = \"/api/v1/menus/toggleMenusArchive\";\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'POST',\n          data: { menuIds: menuIds,\n            archive: archive }\n        };\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n        options.success = function () {\n          Logger.debug('Menus toggle');\n          _this6.send('cleanMessages');\n          _this6.refresh();\n        };\n        options.error = function () {\n          _this6.get('errorMessages').addObject(_this6.get('notify').alert(_this6.get('intl').t('menu.builder.steps.stepSix.errors.saveError'), { closeAfter: 5000 }));\n        };\n        _ember[\"default\"].$.ajax(options);\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      company: { embedded: 'always' },\n      categories: { embedded: 'always' },\n      modifiers: { embedded: 'always' }\n    },\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      if (payload.hasOwnProperty('extendedMenu')) {\n        payload.menu = payload.extendedMenu;\n        delete payload.extendedMenu;\n      }\n\n      return this._super.apply(this, arguments);\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/menu/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ouSoFZ7w\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"menu/menu-list\\\"],null,[[\\\"menu\\\",\\\"saveMenu\\\",\\\"refreshAction\\\",\\\"copyMenu\\\",\\\"editMenu\\\",\\\"pushMenu\\\",\\\"unlockMenu\\\",\\\"toggleMenusArchive\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"saveMenu\\\",\\\"refresh\\\",\\\"copyMenu\\\",\\\"editMenu\\\",\\\"pushMenu\\\",\\\"unlockMenu\\\",\\\"toggleMenusArchive\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/menu/update-at-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/9dZByAU\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-date\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"updatedAt\\\"]]],[[\\\"day\\\",\\\"month\\\",\\\"year\\\",\\\"hour\\\",\\\"minute\\\",\\\"hour12\\\"],[\\\"numeric\\\",\\\"short\\\",\\\"numeric\\\",\\\"numeric\\\",\\\"numeric\\\",false]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/menu/update-at-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/actions/row-select-all-checkbox/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"h6PYf3aJ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"select-all-toggle\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor: pointer; user-select: none;\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleAllSelection\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isAllCurrentPageSelected\\\"]]],null,1,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"common.selectAll\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"common.deselectAll\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/meta-product-catalog/actions/row-select-all-checkbox/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/actions/row-select-checkbox/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"85hKgeOk\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"exists-in\\\"],[[\\\"get\\\",[\\\"_selectedItems\\\"]],[\\\"get\\\",[\\\"record\\\"]]],null]],null,1,0],[\\\"yield\\\",\\\"default\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clickOnRow\\\",[\\\"get\\\",[\\\"index\\\"]],[\\\"get\\\",[\\\"record\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clickOnRow\\\",[\\\"get\\\",[\\\"index\\\"]],[\\\"get\\\",[\\\"record\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/meta-product-catalog/actions/row-select-checkbox/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.name.label' }),\n    suggestedPrice: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.suggestedPrice.label' }), (0, _emberCpValidations.validator)('number', {\n      positive: true,\n      allowString: true,\n      descriptionKey: 'productCatalog.modal.suggestedPrice.label'\n    })],\n    companyId: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      dependentKey: ['disableValidateCompany'],\n      descriptionKey: 'productCatalog.modal.company.label',\n      disabled: computed(function () {\n        return this.get('model.disableValidateCompany');\n      }).volatile()\n    }),\n    productType: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.productType.label' }),\n    attributeSets: [(0, _emberCpValidations.validator)('length', { min: 1, message: 'Must add at least 1 attributeSet' })]\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    suggestedPrice: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    description: (0, _emberDataAttr[\"default\"])('string'),\n    productType: (0, _emberDataRelationships.belongsTo)('productType'),\n    attributeSets: (0, _emberDataRelationships.hasMany)('attributeSet'),\n    productCatalogs: (0, _emberDataRelationships.hasMany)('productCatalog', { inverse: null }),\n    generatedProductCatalogs: (0, _emberDataRelationships.hasMany)('productCatalog', { inverse: null }),\n    productCatalogTemplate: true,\n    displayClassName: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false })\n  });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/name-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kQlC/xrG\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"text\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"record\\\",\\\"name\\\"]]]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/meta-product-catalog/name-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/priority-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"uBvDrCCW\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"power-select\\\"],null,[[\\\"options\\\",\\\"selected\\\",\\\"searchEnabled\\\",\\\"allowClear\\\",\\\"onchange\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"priorities\\\"]],[\\\"get\\\",[\\\"record\\\",\\\"priority\\\"]],false,false,[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"priority\\\"]]],null]],null]]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"get\\\",[\\\"priority\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"priority\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/meta-product-catalog/priority-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      attributeSets: { serialize: 'records', deserialize: 'records' },\n      productCatalogs: { serialize: 'records', deserialize: 'records' },\n      generatedProductCatalogs: { serialize: 'records', deserialize: 'records' },\n      productType: { embedded: 'always' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    },\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      if (payload.metaProductCatalog !== null && payload.metaProductCatalog !== undefined) {\n        payload.metaProductCatalog.generatedProductCatalogs.forEach(function (productCatalog) {\n          return productCatalog.id = guidFor(productCatalog);\n        });\n      }\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/meta-product-catalog/suggested-price-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EdODlkvu\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"input-number\\\"],null,[[\\\"min\\\",\\\"required\\\",\\\"class\\\",\\\"value\\\"],[\\\"0\\\",\\\"true\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"record\\\",\\\"suggestedPrice\\\"]]]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/meta-product-catalog/suggested-price-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/modifier-action/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/modifier-placement/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/modifier/add-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"U+3hCYyf\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-plus-square icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"add\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/modifier/add-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/modifier/delete-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"HBphODa0\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/modifier/delete-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/modifier/model\", [\"exports\", \"ember\", \"ember-data/attr\", \"ember-data/model\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataAttr, _emberDataModel, _emberDataRelationships, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    action: [(0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'menu.builder.steps.stepSix.productTable.modal.modifiers.action.label'\n    })],\n    placement: [(0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'menu.builder.steps.stepSix.productTable.modal.modifiers.placement.label'\n    })],\n    trait: [(0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'menu.builder.steps.stepSix.productTable.modal.modifiers.trait.label'\n    })]\n  });\n\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    action: (0, _emberDataRelationships.belongsTo)('modifierAction'),\n    placement: (0, _emberDataRelationships.belongsTo)('modifierPlacement'),\n    trait: (0, _emberDataRelationships.belongsTo)('trait'),\n    price: (0, _emberDataAttr[\"default\"])('number'),\n    menuId: (0, _emberDataAttr[\"default\"])('number'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    description: computed('action', 'trait', 'placement', function () {\n      if (this.get('action.id') === '0' && this.get('placement.id') === '0') {\n        return this.get('trait.name');\n      } else if (this.get('action.id') === '0') {\n        return this.get('trait.name') + \" \" + this.get('placement.name');\n      } else if (this.get('placement.id') === '0') {\n        return this.get('action.name') + \" \" + this.get('trait.name');\n      } else {\n        return this.get('action.name') + \" \" + this.get('trait.name') + \" \" + this.get('placement.name');\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/modifier/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/multi-product-pmix-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n    var Route = _ember[\"default\"].Route;\n    var Logger = _ember[\"default\"].Logger;\n    exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n        setupController: function setupController(controller) {\n            controller.set('reportOptions', this.get('accountSession.reportOptions'));\n            controller.set('authToken', this.get('session.data.authenticated.access_token'));\n            controller.set('report', null);\n            controller.set('companyId', null);\n            controller.set('noResults', false);\n            controller.set('isLoading', false);\n\n            controller.set('summarizeBy', null);\n            controller.set('grossSales', null);\n            controller.set('totalNetSales', null);\n            controller.set('totalOrders', null);\n            controller.set('avgOrderAmt', null);\n            controller.set('totalDigitalTips', null);\n            controller.set('avgTips', null);\n            controller.set('creditPercentageOfGross', null);\n            controller.set('rfidPercentageOfGross', null);\n            controller.set('showReport', false);\n            controller.set('isShowExportButton', false);\n            controller.set('showAllEvents', false);\n            controller.set('title', null);\n            controller.set('localFilters', {});\n        },\n        _setSummarizeByName: function _setSummarizeByName(summarizeByName) {\n            if (summarizeByName === this.get('intl').t('report.result.financialOverviewReport.headers.menu')) {\n                return this.get('intl').t('report.result.financialOverviewReport.headers.menu');\n            } else {\n                return this.get('intl').t('report.result.financialOverviewReport.headers.date');\n            }\n        },\n        actions: {\n            onFilterChanged: function onFilterChanged(value) {\n                var localFilter = this.get('localFilters') || {};\n                localFilter[value.propertyName] = value.filterString;\n                this.set('localFilters', localFilter);\n            },\n            willTransition: function willTransition(transition) {\n                window.stop();\n                if (!this._isValidTransition(transition.targetName)) {\n                    Logger.debug('Aborting transition invalid route');\n                    this.transitionTo('index');\n                } else {\n                    return true;\n                }\n            },\n            search: function search(queryOptions) {\n                var _this = this;\n\n                var query = queryOptions.getProperties(['reportOutput']);\n                //get locationGroup id and push them into query\n                query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n                //get companyRole and push them into query\n                query['companyRole'] = queryOptions.get('companyRole');\n                //get summarizeBy filter and push it into query\n                query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n                //push companyId into query\n                if (this.get('isBRUser')) {\n                    if (this.get('lockedCompany') !== undefined) {\n                        Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n                        query['companyId'] = this.get('lockedCompany.id');\n                    } else {\n                        Logger.debug('BR-user: Getting locationGroup report.');\n                    }\n                } else {\n                    Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n                    query['companyId'] = this.get('loggedAccount.company.id');\n                }\n                //get to and from dates and parse them to UTC timezone and push them into query\n                query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n                query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n                query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n                query['emails'] = queryOptions.get('emails');\n                query['menus'] = queryOptions.get('menus').mapBy('id');\n                query['locations'] = queryOptions.get('locations').mapBy('id');\n                query['vendors'] = queryOptions.get('vendors');\n                query['isExport'] = queryOptions.get('isExport');\n\n                // Add multi-product filter to only include products sold through Multi-Product feature\n                query['multiProductDiscountFilter'] = true;\n\n                // Debug: Log the query parameters\n                // console.log('Multi-Product PMIX Report Query:', query);\n\n                if (query['isExport']) {\n                    (function () {\n                        var localFilters = _this.get('localFilters') || {};\n                        Object.keys(localFilters).forEach(function (localFilter) {\n                            query[localFilter] = localFilters[localFilter];\n                        });\n                    })();\n                }\n                //set property to TRUE\n                this.controller.set('isExport', query['isExport']);\n                this.controller.set('isLoading', true);\n                this.controller.set('showReport', true);\n                this.controller.set('isShowExportButton', false);\n                this.controller.set('showAllEvents', false);\n\n                this.store.queryRecord('productMixReport', query).then(function (report) {\n\n                    if (query['isExport']) {\n                        (function () {\n                            _this.controller.set('showReport', true);\n                            var endpoint = '/api/v1' + report.get('outputFileName').split(\"/api/v1\")[1];\n                            var _authToken = _this.controller.get('authToken');\n                            var options = {\n                                url: endpoint,\n                                type: 'GET',\n                                xhrFields: {\n                                    responseType: 'blob'\n                                }\n                            };\n                            options.beforeSend = function (xhr) {\n                                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n                            };\n                            options.success = function (result, status, response) {\n                                //set property to FALSE\n                                _this.controller.set('isLoading', false);\n                                _this.controller.set('showReport', true);\n                                _this.controller.set('isShowExportButton', true);\n\n                                if (query['isEmailDelivery']) {\n                                    _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                                } else {\n                                    var blob = undefined;\n                                    if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                                        blob = new Blob([result], { type: \"text/csv\" });\n                                    } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                                        blob = new Blob([result], { type: \"application/pdf\" });\n                                    }\n                                    var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                                    var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                                    window.saveAs(blob, filename);\n                                }\n                            };\n                            options.error = function () {\n                                _this.controller.set('isLoading', false);\n                                _this.controller.set('showReport', true);\n                                console.log('error');\n                                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                                    _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                                    _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                                }\n                            };\n                            _ember[\"default\"].$.ajax(options);\n                        })();\n                    } else {\n                        _this.controller.set('summarizeBy', query['summarizeBy']);\n                        _this.controller.set('report', report);\n                        if (report.get('productMixes') === null || report.get('productMixes').length < 1) {\n                            _this.controller.set('noResults', true);\n                            _this.controller.set('isShowExportButton', false);\n                        } else {\n                            _this.controller.set('noResults', false);\n                            _this.controller.set('isShowExportButton', true);\n                        }\n                        //set property to FALSE\n                        _this.controller.set('isLoading', false);\n                        _this.controller.set('showReport', true);\n                    }\n                });\n            },\n            hideReportResults: function hideReportResults() {\n                this.controller.set('showReport', false);\n            }\n        }\n    });\n});","define(\"fcs-dashboard/pods/multi-product-pmix-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"yxvjuBOn\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/product-mix-result\\\"],null,[[\\\"data\\\",\\\"summarizeBy\\\",\\\"noResults\\\",\\\"showAllEvents\\\",\\\"grossSales\\\",\\\"totalNetSales\\\",\\\"totalOrders\\\",\\\"avgOrderAmt\\\",\\\"totalDigitalTips\\\",\\\"avgTips\\\",\\\"creditPercentageOfGross\\\",\\\"rfidPercentageOfGross\\\",\\\"onFilterChanged\\\",\\\"title\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],[\\\"get\\\",[\\\"noResults\\\"]],[\\\"get\\\",[\\\"showAllEvents\\\"]],[\\\"get\\\",[\\\"grossSales\\\"]],[\\\"get\\\",[\\\"totalNetSales\\\"]],[\\\"get\\\",[\\\"totalOrders\\\"]],[\\\"get\\\",[\\\"avgOrderAmt\\\"]],[\\\"get\\\",[\\\"totalDigitalTips\\\"]],[\\\"get\\\",[\\\"avgTips\\\"]],[\\\"get\\\",[\\\"creditPercentageOfGross\\\"]],[\\\"get\\\",[\\\"rfidPercentageOfGross\\\"]],\\\"onFilterChanged\\\",\\\"Multi-Product PMIX Report\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"isExport\\\"]],[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null]],null]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/multi-product-pmix-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/actions/code-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"/UydvIjn\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"published\\\"]]],null,2,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.notPublished\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-default ooLinkSharedBadge\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.sharedAcrossEventsHelp\\\"],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.sharedAcrossEvents\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"linkCode\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"code\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"sharedAcrossEvents\\\"]]],null,1],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted small\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"guestUrl\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/actions/code-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NgkUhkbn\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"fixable\\\"]]],null,2],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"editCode\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.edit\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"active\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"publishPair\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.restore\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"confirmRetire\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.retire\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-primary\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"enableLink\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.fix\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/actions/event-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8t+a3qK/\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"span\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"groupName\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/actions/event-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/actions/publish-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tkRUBEbI\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"published\\\"]]],null,3,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-success\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"publishPair\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.publish\\\"],null],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"publishPair\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.restore\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"confirmRetire\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.buttons.retire\\\"],null],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"active\\\"]]],null,2,1]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/actions/publish-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/actions/status-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"RQb9vFLa\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"resolves\\\"]]],null,3,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-default\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.status.unpublished\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-danger\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.status.notEnabled\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted small\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"reasonText\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"published\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-success\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.status.enabled\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/actions/status-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/actions/taking-orders-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"fbSRO9Vd\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"published\\\"]]],null,3,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"—\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-warning\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.taking.no\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"text-muted small\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"takingOrdersText\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"label label-success\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"onlineOrderingLink.list.taking.yes\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"takingOrders\\\"]]],null,2,1]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/actions/taking-orders-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/online-ordering-link/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var RSVP = _ember[\"default\"].RSVP;\n\n  /**\n   * Online-ordering links: what a printed QR resolves to (BRP-4200).\n   *\n   * <p>Until this screen existed the only way to mint a code was\n   * {@code online-ordering-api/tools/links.ts}, a CLI whose own header says it is local and test\n   * only, so publishing in production needed shell access and a database connection.\n   *\n   * <p>The model is the events a link can be published for. Rows belong to whichever event is\n   * picked; there is no sensible default, and every pair in the estate is not a list anybody wants.\n   *\n   * <p>Fetched with Ember.$.ajax rather than through the store, following location-group/route.js\n   * and kds-station/route.js. These are action paths, not resources.\n   */\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    model: function model() {\n      Logger.debug('BR-links: loading events for link management');\n      var authToken = this.get('session.data.authenticated.access_token');\n      var events = _ember[\"default\"].$.ajax({\n        url: '/api/v1/onlineOrderingLinks/events',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      });\n\n      // Both up front. The screen opens on what is live rather than on an empty picker: the first\n      // question an operator has is \"what codes are out there\", and making them choose an event\n      // before seeing anything answers a question they did not ask.\n      var links = _ember[\"default\"].$.ajax({\n        url: '/api/v1/onlineOrderingLinks',\n        type: 'GET',\n        beforeSend: function beforeSend(xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n        }\n      });\n\n      return RSVP.hash({\n        events: events.then(function (e) {\n          return e || [];\n        }, function () {\n          Logger.error('BR-links: could not load events');\n          return [];\n        }),\n        links: links.then(function (l) {\n          return l || [];\n        }, function () {\n          Logger.error('BR-links: could not load existing links');\n          return [];\n        })\n      });\n    },\n\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('showKdsStationControl')) {\n        this.transitionTo('');\n      }\n    },\n\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/online-ordering-link/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EW8h9K0u\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"online-ordering-link/list\\\"],null,[[\\\"events\\\",\\\"links\\\"],[[\\\"get\\\",[\\\"model\\\",\\\"events\\\"]],[\\\"get\\\",[\\\"model\\\",\\\"links\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/online-ordering-link/template.hbs\" } });\n});","define('fcs-dashboard/pods/order-item-modifier/model', ['exports', 'ember-data/attr', 'model-fragments/fragment', 'ember'], function (exports, _emberDataAttr, _modelFragmentsFragment, _ember) {\n  var computed = _ember['default'].computed;\n  var inject = _ember['default'].inject;\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    intl: inject.service(),\n    description: (0, _emberDataAttr['default'])('string'),\n    price: (0, _emberDataAttr['default'])('number'),\n    formattedPrice: computed('price', function () {\n      return this.get('intl').formatNumber(this.get('price'), { format: 'USD' });\n    })\n  });\n});","define('fcs-dashboard/pods/order-item/model', ['exports', 'ember-data/model', 'ember-data/attr', 'ember', 'model-fragments/attributes'], function (exports, _emberDataModel, _emberDataAttr, _ember, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    intl: _ember['default'].inject.service(),\n    status: (0, _emberDataAttr['default'])('string'),\n    discountPercentage: (0, _emberDataAttr['default'])('number'),\n    price: (0, _emberDataAttr['default'])('number'),\n    quantity: (0, _emberDataAttr['default'])('number'),\n    productName: (0, _emberDataAttr['default'])('string'),\n    finalPrice: (0, _emberDataAttr['default'])('number'),\n    totalPrice: (0, _emberDataAttr['default'])('number'),\n    orderItemModifiers: (0, _modelFragmentsAttributes.fragmentArray)('orderItemModifier'),\n    subOrderItems: (0, _modelFragmentsAttributes.fragmentArray)('subOrderItem'),\n    formattedPrice: _ember['default'].computed('price', function () {\n      return this.get('intl').formatNumber(this.get('price'), { format: 'USD' });\n    }),\n    formattedFinalPrice: _ember['default'].computed('price', function () {\n      return this.get('intl').formatNumber(this.get('finalPrice'), { format: 'USD' });\n    }),\n    formattedTotalPrice: _ember['default'].computed('price', function () {\n      return this.get('intl').formatNumber(this.get('totalPrice'), { format: 'USD' });\n    })\n  });\n});","define(\"fcs-dashboard/pods/order-payment/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember\", \"moment\"], function (exports, _emberDataModel, _emberDataAttr, _ember, _moment) {\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n  var service = _ember[\"default\"].inject.service;\n  var tz = _moment[\"default\"].tz;\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    intl: service(),\n    tenderType: (0, _emberDataAttr[\"default\"])('string'),\n    paymentType: (0, _emberDataAttr[\"default\"])('string'),\n    amount: (0, _emberDataAttr[\"default\"])('number'),\n    coinRoundedAmountLoss: (0, _emberDataAttr[\"default\"])('number'),\n    cashCoinRoundingType: (0, _emberDataAttr[\"default\"])('number'),\n    authCode: (0, _emberDataAttr[\"default\"])('string'),\n    paymentDate: (0, _emberDataAttr[\"default\"])('date'),\n    uid: (0, _emberDataAttr[\"default\"])('number'),\n    creditCardType: (0, _emberDataAttr[\"default\"])('string'),\n    lastFour: (0, _emberDataAttr[\"default\"])('string'),\n    lastName: (0, _emberDataAttr[\"default\"])('string'),\n    entryMethod: (0, _emberDataAttr[\"default\"])('string'),\n    status: (0, _emberDataAttr[\"default\"])('string'),\n    locationGroupTimezone: (0, _emberDataAttr[\"default\"])('string'),\n    formattedDate: computed('paymentDate', function () {\n      var formattedDate = tz(this.get('paymentDate'), this.get('locationGroupTimezone')).format();\n      return this.get('intl').formatDate(formattedDate, {\n        day: 'numeric',\n        month: 'long',\n        year: 'numeric',\n        hour: 'numeric',\n        minute: 'numeric',\n        hour12: false,\n        timeZoneName: 'short'\n      });\n    }),\n    formattedAmount: computed('amount', function () {\n      return this.get('intl').formatNumber(this.get('amount'), { format: 'USD' });\n    }),\n    isCashless: computed(function () {\n      var tenderType = this.get('tenderType').toLowerCase();\n      return isEqual(tenderType, 'cashless');\n    }),\n    isCreditCard: computed(function () {\n      var tenderType = this.get('tenderType').toLowerCase();\n      return tenderType.search('manual') !== -1 || tenderType.search('swipe') !== -1 || tenderType.search('chipped') !== -1;\n    })\n  });\n});","define('fcs-dashboard/pods/order-sending-type/model', ['exports', 'ember-data/model', 'ember-data/attr'], function (exports, _emberDataModel, _emberDataAttr) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define('fcs-dashboard/pods/order-status/model', ['exports', 'ember-data/attr', 'ember-data/model'], function (exports, _emberDataAttr, _emberDataModel) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/order/action-result/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    paymentResultId: (0, _emberDataAttr[\"default\"])('number'),\n    paymentResult: (0, _emberDataAttr[\"default\"])('string'),\n    resultMessage: (0, _emberDataAttr[\"default\"])('string'),\n    orderId: (0, _emberDataAttr[\"default\"])('number'),\n    paymentId: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/order/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"model-fragments/attributes\", \"ember-cp-validations\", \"moment\", \"ember\"], function (exports, _emberDataModel, _emberDataAttr, _emberDataRelationships, _modelFragmentsAttributes, _emberCpValidations, _moment, _ember) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    emailToSend: [(0, _emberCpValidations.validator)('format', {\n      type: 'email',\n      regex: /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/,\n      descriptionKey: 'search.details.modal.orderEmail'\n    }), (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'search.details.modal.orderEmail' })]\n  });\n\n  var tz = _moment[\"default\"].tz;\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    grandTotal: (0, _emberDataAttr[\"default\"])('number'),\n    customFeeTotal: (0, _emberDataAttr[\"default\"])('number'),\n    serviceFeeRate: (0, _emberDataAttr[\"default\"])('string'),\n    serviceFee: (0, _emberDataAttr[\"default\"])('number'),\n    subtotal: (0, _emberDataAttr[\"default\"])('number'),\n    taxesTotal: (0, _emberDataAttr[\"default\"])('number'),\n    surcharge: (0, _emberDataAttr[\"default\"])('number'),\n    multiProductDiscount: (0, _emberDataAttr[\"default\"])('number'),\n    coinRoundedAmountTotal: (0, _emberDataAttr[\"default\"])('number'),\n    tip: (0, _emberDataAttr[\"default\"])('number'),\n    user: (0, _emberDataAttr[\"default\"])('string'),\n    orderNote: (0, _emberDataAttr[\"default\"])('string'),\n    // The short code the guest quotes back, and where a delivery order is going. Both absent on a\n    // stand order; destination absent on a pickup one.\n    orderCode: (0, _emberDataAttr[\"default\"])('string'),\n    destination: (0, _emberDataAttr[\"default\"])('string'),\n    // What became of each guest text, oldest first. Raw objects rather than a model: they are read\n    // only, always arrive with the order, and are never edited or saved back.\n    guestMessages: (0, _emberDataAttr[\"default\"])(),\n    orderStatus: (0, _emberDataAttr[\"default\"])('string'),\n    customerName: (0, _emberDataAttr[\"default\"])('string'),\n    sendType: (0, _emberDataAttr[\"default\"])('string'),\n    locationGroup: (0, _emberDataAttr[\"default\"])('string'),\n    company: (0, _emberDataAttr[\"default\"])('string'),\n    location: (0, _emberDataAttr[\"default\"])('string'),\n    menu: (0, _emberDataAttr[\"default\"])('string'),\n    occurrenceDate: (0, _emberDataAttr[\"default\"])('date'),\n    items: (0, _emberDataRelationships.hasMany)('orderItem'),\n    payments: (0, _emberDataRelationships.hasMany)('orderPayment'),\n    action: (0, _emberDataAttr[\"default\"])('string'),\n    actionResult: (0, _modelFragmentsAttributes.fragment)('order/actionResult'),\n    tabletGeneratedId: (0, _emberDataAttr[\"default\"])('string'),\n    emails: (0, _emberDataAttr[\"default\"])(),\n    orderFees: (0, _modelFragmentsAttributes.fragmentArray)('order/orderFee'),\n    //this can be an array in the future\n    emailToSend: (0, _emberDataAttr[\"default\"])('string'),\n    locationGroupTimezone: (0, _emberDataAttr[\"default\"])('string'),\n    formattedDate: computed(function () {\n      return tz(this.get('occurrenceDate'), this.get('locationGroupTimezone')).format();\n    }),\n    tabName: (0, _emberDataAttr[\"default\"])('string'),\n    tabStatus: (0, _emberDataAttr[\"default\"])('string'),\n    roundUpDonationTotal: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define('fcs-dashboard/pods/order/order-fee/model', ['exports', 'model-fragments/fragment', 'ember-data/attr'], function (exports, _modelFragmentsFragment, _emberDataAttr) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    customFeeName: (0, _emberDataAttr['default'])('string'),\n    appliedAmount: (0, _emberDataAttr['default'])('number')\n  });\n});","define(\"fcs-dashboard/pods/page/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships) {\n  var observer = _ember[\"default\"].observer;\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    categories: (0, _emberDataRelationships.hasMany)('category'),\n    products: (0, _emberDataRelationships.hasMany)('product'),\n    productGroups: (0, _emberDataRelationships.hasMany)('productGroup'),\n    deletedProducts: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    deletedProductGroups: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    changed: (0, _emberDataAttr[\"default\"])('boolean'),\n    isModified: observer('name', function () {\n      this.set('changed', this.get('hasDirtyAttributes'));\n    }),\n    pageId: computed('name', 'id', function () {\n      return \"page\" + this.get('name') + \".\" + this.get('id') + \".\" + Date.now();\n    }),\n    pageDisplayList: computed('products', 'productGroups', function () {\n      var displayList = A();\n      displayList.addObjects(this.get('products')).addObjects(this.get('productGroups'));\n      return displayList;\n    })\n  });\n});","define('fcs-dashboard/pods/page/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend(_emberData['default'].EmbeddedRecordsMixin, {\n    attrs: {\n      products: { embedded: 'always' },\n      productGroups: { embedded: 'always' }\n    }\n  });\n});","define(\"fcs-dashboard/pods/password-reset/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/application-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsApplicationRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsApplicationRouteMixin[\"default\"], {\n    beforeModel: function beforeModel(transition) {\n      if (this.get('session.isAuthenticated')) {\n        this.get('session').invalidate();\n      }\n      this.transitionTo(transition);\n    },\n    setupController: function setupController(controller) {\n      controller.set('token', null);\n      controller.set('showPasswordOptions', false);\n    },\n    model: function model(params) {\n      var _this = this;\n\n      console.log(\"Loading data for menu \" + params.session_token);\n\n      var path = '/api/v1/passwordResets/' + params.session_token;\n      var _window$location = window.location;\n      var protocol = _window$location.protocol;\n      var host = _window$location.host;\n\n      var url = protocol + \"//\" + host + path;\n      var options = {\n        url: url,\n        type: 'GET'\n      };\n      options.success = function (result) {\n        if (result !== undefined && result !== null) {\n          _this.controller.set('token', params.session_token);\n          _this.controller.set('showPasswordOptions', true);\n        }\n      };\n      options.error = function () {\n        console.log('error');\n      };\n      _ember[\"default\"].$.ajax(options);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      transitionToLogin: function transitionToLogin() {\n        this.transitionTo('login');\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/password-reset/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NwF2/qY5\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"container-fluid\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-logo\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"t\\\"],[\\\"login.signin.title\\\"],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-background\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPasswordOptions\\\"]]],null,1,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"login-background-footer\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Your token expired, please go to the login screen and choose the Forgot Password option\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"fcs-password-reset\\\"],null,[[\\\"token\\\",\\\"transitionToLogin\\\"],[[\\\"get\\\",[\\\"token\\\"]],\\\"transitionToLogin\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/password-reset/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/payment-result-report-filter/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/payment-result-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"kccjLrfc\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/payment-result-report/amount-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/payment-result-report/model', ['exports', 'ember-data/model', 'model-fragments/attributes', 'ember-data/attr'], function (exports, _emberDataModel, _modelFragmentsAttributes, _emberDataAttr) {\n  exports['default'] = _emberDataModel['default'].extend({\n    reportItemsByCompany: (0, _modelFragmentsAttributes.fragmentArray)('paymentResultReport/reportItemsByCompany', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    reportItemsByDay: (0, _modelFragmentsAttributes.fragmentArray)('paymentResultReport/reportItemsByDay', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    reportCount: (0, _emberDataAttr['default'])('number'),\n    outputFileName: (0, _emberDataAttr['default'])('string')\n\n  });\n});","define('fcs-dashboard/pods/payment-result-report/report-items-by-company/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    event: (0, _emberDataAttr['default'])('string'),\n    company: (0, _emberDataAttr['default'])('string'),\n    gateway: (0, _emberDataAttr['default'])('string'),\n    approvedCount: (0, _emberDataAttr['default'])('number'),\n    approvedAmount: (0, _emberDataAttr['default'])('number'),\n    compsDueToDeclineCount: (0, _emberDataAttr['default'])('number'),\n    compsDueToDeclineAmount: (0, _emberDataAttr['default'])('number'),\n    realTimeDeclinesCount: (0, _emberDataAttr['default'])('number'),\n    realTimeDeclinesAmount: (0, _emberDataAttr['default'])('number'),\n    batchedErrorsCount: (0, _emberDataAttr['default'])('number'),\n    batchedErrorsAmount: (0, _emberDataAttr['default'])('number'),\n    realTimeErrorsCount: (0, _emberDataAttr['default'])('number'),\n    realTimeErrorsAmount: (0, _emberDataAttr['default'])('number'),\n    voidCount: (0, _emberDataAttr['default'])('number'),\n    voidAmount: (0, _emberDataAttr['default'])('number'),\n    refundCount: (0, _emberDataAttr['default'])('number'),\n    refundAmount: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/payment-result-report/report-items-by-day/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    event: (0, _emberDataAttr['default'])('string'),\n    company: (0, _emberDataAttr['default'])('string'),\n    date: (0, _emberDataAttr['default'])('string'),\n    gateway: (0, _emberDataAttr['default'])('string'),\n    approvedCount: (0, _emberDataAttr['default'])('number'),\n    approvedAmount: (0, _emberDataAttr['default'])('number'),\n    compsDueToDeclineCount: (0, _emberDataAttr['default'])('number'),\n    compsDueToDeclineAmount: (0, _emberDataAttr['default'])('number'),\n    realTimeDeclinesCount: (0, _emberDataAttr['default'])('number'),\n    realTimeDeclinesAmount: (0, _emberDataAttr['default'])('number'),\n    batchedErrorsCount: (0, _emberDataAttr['default'])('number'),\n    batchedErrorsAmount: (0, _emberDataAttr['default'])('number'),\n    realTimeErrorsCount: (0, _emberDataAttr['default'])('number'),\n    realTimeErrorsAmount: (0, _emberDataAttr['default'])('number'),\n    voidCount: (0, _emberDataAttr['default'])('number'),\n    voidAmount: (0, _emberDataAttr['default'])('number'),\n    refundCount: (0, _emberDataAttr['default'])('number'),\n    refundAmount: (0, _emberDataAttr['default'])('number')\n  });\n});","define(\"fcs-dashboard/pods/payment-result-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      scheduleReport: function scheduleReport(scheduledReport) {\n        var _this = this;\n\n        scheduledReport.save().then(function () {\n          Logger.debug('Scheduled Report saved!.');\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('report.scheduledReport.errors.save'));\n          _this.transitionTo('scheduledReport');\n        })[\"catch\"](function (error) {\n          var errorMessage = undefined;\n          // Catch error and return proper error message\n          if (error.errors[0].detail === 'duplicateScheduledReportNameError') {\n            errorMessage = _this.get('notify').alert(_this.get('intl').t(\"report.scheduledReport.errors.\" + error.errors[0].detail), { closeAfter: 5000 });\n          } else {\n            errorMessage = _this.get('notify').alert(_this.get('intl').t('report.scheduledReport.errors.saveError'), { closeAfter: 5000 });\n          }\n          _this.get('errorMessages').addObject(errorMessage);\n        });\n      },\n      search: function search(queryOptions) {\n        var _this2 = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get summarizeBy filter and push it into query\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('paymentResultReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this2.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this2.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this2.controller.set('isLoading', false);\n                _this2.controller.set('showReport', true);\n                _this2.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this2.get('notify').success(_this2.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this2.controller.set('isLoading', false);\n                _this2.controller.set('showReport', true);\n                console.log('error');\n                Logger.error('Error reporting.');\n                if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this2.get('notify').alert(_this2.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this2.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this2.get('notify').alert(_this2.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this2.controller.set('report', report);\n            if (report.get('reportCount') !== undefined && report.get('reportCount') > 0) {\n              _this2.controller.set('noResults', false);\n              _this2.controller.set('isShowExportButton', true);\n            } else {\n              _this2.controller.set('noResults', true);\n              _this2.controller.set('isShowExportButton', false);\n            }\n\n            //set property to FALSE\n            _this2.controller.set('isLoading', false);\n            _this2.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/payment-result-report/serializer\", [\"exports\", \"ember-data\", \"ember\"], function (exports, _emberData, _ember) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.paymentResultReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/payment-result-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"DaaPxp8c\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"payment-result/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"payment-result/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/payment-result-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/payment-result-report/totals/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n   exports[\"default\"] = _emberDataModel[\"default\"].extend({\n      approvedCount: (0, _emberDataAttr[\"default\"])('number'),\n      approvedAmount: (0, _emberDataAttr[\"default\"])('number'),\n      compsDueToDeclineCount: (0, _emberDataAttr[\"default\"])('number'),\n      compsDueToDeclineAmount: (0, _emberDataAttr[\"default\"])('number'),\n      rtDeclinesCount: (0, _emberDataAttr[\"default\"])('number'),\n      rtDeclinesAmount: (0, _emberDataAttr[\"default\"])('number'),\n      batchedErrorsCount: (0, _emberDataAttr[\"default\"])('number'),\n      batchedErrorsAmount: (0, _emberDataAttr[\"default\"])('number'),\n      rtErrorsCount: (0, _emberDataAttr[\"default\"])('number'),\n      rtErrorsAmount: (0, _emberDataAttr[\"default\"])('number'),\n      voidCount: (0, _emberDataAttr[\"default\"])('number'),\n      voidAmount: (0, _emberDataAttr[\"default\"])('number'),\n      refundCount: (0, _emberDataAttr[\"default\"])('number'),\n      refundAmount: (0, _emberDataAttr[\"default\"])('number')\n   });\n});","define(\"fcs-dashboard/pods/pmix-with-combos/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', false);\n        this.controller.set('isShowExportButton', false);\n        this.controller.set('showAllEvents', false);\n\n        var params = [];\n        if (queryOptions.get('selectedLocationGroup') !== undefined) {\n          // Filter selected locationGroups\n          if (queryOptions.get('selectedLocationGroup.length') > 0) {\n            params['locationGroups'] = queryOptions.get('selectedLocationGroup').mapBy('id');\n            this.controller.set('filterLocationGroups', true);\n          } else {\n            this.controller.set('filterLocationGroups', false);\n          }\n        } else {\n          this.controller.set('filterLocationGroups', false);\n        }\n        params['startDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"YYYY-MM-DD HH:mm:ss\").toString();\n        params['endDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"YYYY-MM-DD HH:mm:ss\").toString();\n\n        // Filter selected menus\n        if (queryOptions.get('menus.length') > 0) {\n          params['menus'] = queryOptions.get('menus').mapBy('id');\n          this.controller.set('filterMenus', true);\n        } else {\n          this.controller.set('filterMenus', false);\n        }\n        // Filter selected locations\n        if (queryOptions.get('locations.length') > 0) {\n          (function () {\n            var locations = A();\n            queryOptions.get('locations').forEach(function (location) {\n              locations.addObject(location.id.toString());\n            });\n            params['locations'] = locations;\n            _this.controller.set('filterLocations', true);\n          })();\n        } else {\n          this.controller.set('filterLocations', false);\n        }\n        // Filter selected vendors/companies\n        if (queryOptions.get('vendors.length') > 0) {\n          params['vendor'] = queryOptions.get('vendors');\n          this.controller.set('filterCompanies', true);\n        } else {\n          this.controller.set('filterCompanies', false);\n        }\n        var reportName = \"\";\n\n        var sumByType = parseInt(queryOptions.get('summarizeByType.id'));\n        if (sumByType === 0) {\n          reportName = 'ByEvent';\n        } else if (sumByType === 1) {\n          reportName = 'ByMenu';\n        } else if (sumByType === 2) {\n          reportName = 'ByCompany';\n        } else if (sumByType === 3) {\n          reportName = 'ByLocation';\n        }\n\n        var sumByTime = parseInt(queryOptions.get('summarizeByTime.id'));\n        if (sumByTime === 0) {\n          params['byHour'] = 'Normal';\n        } else if (sumByTime === 1) {\n          reportName += 'ByDay';\n          params['byHour'] = 'Normal';\n        } else if (sumByTime === 2) {\n          reportName += 'ByHour';\n          params['byHour'] = 'Normal';\n        } else if (sumByTime === 3) {\n          reportName += 'ByHour';\n          params['byHour'] = 'Blocked';\n        }\n\n        params['reportName'] = reportName;\n\n        //Remove and recommit line once real report is built\n        params['reportName'] = \"AllFields\";\n\n        this.store.queryRecord('tableauToken', query).then(function (token) {\n          _this.controller.set('token', token);\n          _this.controller.set('params', params);\n          _this.controller.set('isLoading', false);\n          _this.controller.set('showReport', true);\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/pmix-with-combos/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"HYRfMTmR\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"pmix-with-combos/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"pmix-with-combos/pmix-with-combos-result\\\"],null,[[\\\"data\\\",\\\"params\\\",\\\"noResults\\\",\\\"showAllEvents\\\",\\\"filterCompanies\\\",\\\"filterLocations\\\",\\\"filterMenus\\\",\\\"filterLocationGroups\\\"],[[\\\"get\\\",[\\\"token\\\"]],[\\\"get\\\",[\\\"params\\\"]],[\\\"get\\\",[\\\"noResults\\\"]],[\\\"get\\\",[\\\"showAllEvents\\\"]],[\\\"get\\\",[\\\"filterCompanies\\\"]],[\\\"get\\\",[\\\"filterLocations\\\"]],[\\\"get\\\",[\\\"filterMenus\\\"]],[\\\"get\\\",[\\\"filterLocationGroups\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/pmix-with-combos/template.hbs\" } });\n});","define('fcs-dashboard/pods/pos-token/model', ['exports', 'ember-data/model', 'ember-data/attr'], function (exports, _emberDataModel, _emberDataAttr) {\n  exports['default'] = _emberDataModel['default'].extend({\n    token: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/pos-token/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('expirationTime', (0, _moment[\"default\"])().add(1, \"hour\").seconds(0).minutes(1));\n      controller.set('tokenExpired', false);\n      controller.set('isLoading', true);\n      controller.set('token', null);\n    },\n    beforeModel: function beforeModel() {\n      var _this = this;\n\n      var endpoint = '/api/v1/posTokens';\n      var _authToken = this.get('session.data.authenticated.access_token');\n      var options = {\n        url: endpoint,\n        type: 'GET'\n      };\n\n      options.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n      };\n\n      options.success = function (result) {\n        _this.controller.set('token', result);\n        _this.controller.set('isLoading', false);\n      };\n      options.error = function () {\n        console.log('error');\n      };\n      _ember[\"default\"].$.ajax(options);\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      refreshToken: function refreshToken() {\n        var _this2 = this;\n\n        this.controller.set('tokenExpired', true);\n        var endpoint = '/api/v1/posTokens';\n        var _authToken = this.get('session.data.authenticated.access_token');\n        var options = {\n          url: endpoint,\n          type: 'GET'\n        };\n\n        options.beforeSend = function (xhr) {\n          xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n        };\n\n        options.success = function (result) {\n          _this2.controller.set('expirationTime', (0, _moment[\"default\"])().add(1, \"hour\").seconds(0).minutes(1));\n          _this2.controller.set('token', result);\n          _this2.controller.set('tokenExpired', false);\n        };\n        options.error = function () {\n          console.log('error');\n        };\n        _ember[\"default\"].$.ajax(options);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/pos-token/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"T46Zqn8M\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"posToken.message\\\"],null],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,3,2],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"token\\\",\\\"posToken\\\",\\\"token\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"posToken.expiredToken\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2 bg-info\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"border: 1px solid grey; margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"h1\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-bottom: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"tokenExpired\\\"]]],null,1,0],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-2 col-md-2 col-lg-2\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger btn-large\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"refreshToken\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"posToken.button\\\"],null],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-5 col-md-5 col-lg-5\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-12 col-md-12 col-lg-12\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-6 col-md-6 col-lg-6\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-top: 20px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"pos-token/timer\\\"],null,[[\\\"expirationTime\\\",\\\"refreshToken\\\"],[[\\\"get\\\",[\\\"expirationTime\\\"]],\\\"refreshToken\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-3 col-md-3 col-lg-3\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/pos-token/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/printer-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/processor-credential/model\", [\"exports\", \"ember\", \"ember-data/attr\", \"model-fragments/fragment\", \"ember-cp-validations\"], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    value: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: computed(function () {\n        return this.get('model.displayName');\n      }).volatile()\n    })\n  });\n\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend(Validations, {\n    credentialId: (0, _emberDataAttr[\"default\"])('string'),\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    displayName: (0, _emberDataAttr[\"default\"])('string'),\n    type: (0, _emberDataAttr[\"default\"])('number'),\n    value: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/processor-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/processor/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"model-fragments/attributes\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberDataRelationships, _modelFragmentsAttributes, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    processorType: (0, _emberDataRelationships.belongsTo)('processorType'),\n    processorCredentials: (0, _modelFragmentsAttributes.fragmentArray)('processorCredential')\n  });\n});","define(\"fcs-dashboard/pods/product-catalog/archive-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"z+jP1vvs\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"archived\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-folder\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.deactivate\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"deactivateProduct\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-folder-open\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"cursor:pointer\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.activate\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"activateProduct\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/archive-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-catalog/custom/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"WCdM6XhF\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"custom\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/custom/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-catalog/delete-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9ZdZQUEZ\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/delete-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-catalog/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"rblCUJmT\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productCatalog.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"edit\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-catalog/meta-product-catalog-flag/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"0nzJ2u7b\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"productCatalogTemplate\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-minus\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/meta-product-catalog-flag/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-catalog/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n  var computed = _ember[\"default\"].computed;\n  var isEmpty = _ember[\"default\"].isEmpty;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.name.label' }),\n    suggestedPrice: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.suggestedPrice.label' }), (0, _emberCpValidations.validator)('number', {\n      positive: true,\n      allowString: true,\n      descriptionKey: 'productCatalog.modal.suggestedPrice.label'\n    })],\n    companyId: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      dependentKey: ['disableValidateCompany'],\n      descriptionKey: 'productCatalog.modal.company.label',\n      disabled: computed(function () {\n        return this.get('model.disableValidateCompany');\n      }).volatile()\n    }),\n    productType: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.productType.label' }),\n    productClass: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productCatalog.modal.productClass.label' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    version: (0, _emberDataAttr[\"default\"])('number'),\n    productClass: (0, _emberDataRelationships.belongsTo)('productClass'),\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    suggestedPrice: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    description: (0, _emberDataAttr[\"default\"])('string'),\n    custom: (0, _emberDataAttr[\"default\"])('boolean'),\n    currency: (0, _emberDataAttr[\"default\"])('string', { defaultValue: 'USD' }),\n    products: (0, _emberDataRelationships.hasMany)('product'),\n    changed: (0, _emberDataAttr[\"default\"])('boolean'),\n    image: (0, _emberDataAttr[\"default\"])('string'),\n    imageURL: (0, _emberDataAttr[\"default\"])('string'),\n    deleteImage: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    productCatalogTemplate: (0, _emberDataAttr[\"default\"])('boolean'),\n    isModified: computed('name', 'suggestedPrice', 'description', function () {\n      this.set('changed', this.get('hasDirtyAttributes'));\n    }),\n    sku: (0, _emberDataAttr[\"default\"])('string'),\n    disableValidateCompany: true,\n    productType: (0, _emberDataRelationships.belongsTo)('productType'),\n    attributes: (0, _emberDataRelationships.hasMany)('attribute'),\n    comboSelectionCatalogs: (0, _emberDataRelationships.hasMany)('comboSelectionCatalog'),\n    metaProductCatalogId: (0, _emberDataAttr[\"default\"])('number'),\n    attributesNames: computed('attributes.[]', function () {\n      var attributeNames = '';\n      this.get('attributes').forEach(function (attribute) {\n        if (isEmpty(attributeNames)) {\n          attributeNames = attribute.get('name');\n        } else {\n          attributeNames = attributeNames + ', ' + attribute.get('name');\n        }\n      });\n      return attributeNames;\n    }),\n    displayClassName: computed('productClass', 'productClass.name', function () {\n      return this.get('productClass.name');\n    }),\n    deletedComboSelectionCatalogs: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/product-catalog/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  var run = _ember[\"default\"].run;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    isReload: false,\n    company: null,\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.unloadAll('productCatalog');\n      }\n    },\n    model: function model() {\n      Logger.debug('getting data!');\n\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      this.set('company', company);\n\n      var params = {\n        companyId: company,\n        loadAttributes: false,\n        page: 1,\n        pageSize: 10\n      };\n      return this.store.query('productCatalog', params);\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (this.get('isReportingUser')) {\n        this.transitionTo('');\n      } else {\n        var company = this.get('company');\n        if (!company) {\n          if (!this.get('isBRUser') && !this.get('isReload')) {\n            this.set('isReload', true);\n            this.refresh();\n          }\n        }\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save(item) {\n        var _this = this;\n\n        item.save().then(function () {\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('productCatalog.modal.errors.successSave', { name: item.get('name') }));\n          _this.refresh();\n        })[\"catch\"](function (error) {\n          var message = 'productCatalog.modal.errors.savingError';\n          if (error !== undefined) {\n            message = \"productCatalog.modal.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n          item.rollbackAttributes();\n          _this.refresh();\n        });\n      },\n      \"delete\": function _delete(item) {\n        var _this2 = this;\n\n        // If item is meta product catalog get it from the store\n        if (item.get('productCatalogTemplate')) {\n          item = this.store.peekRecord('metaProductCatalog', item.get('id'));\n        }\n\n        if (item !== null && item !== undefined) {\n          item.destroyRecord().then(function () {\n            _this2.send('cleanMessages');\n            _this2.get('notify').success(_this2.get('intl').t('productCatalog.list.errors.deleteSuccess'));\n            _this2.refresh();\n          })[\"catch\"](function (error) {\n            var message = 'productCatalog.list.errors.deletingError';\n            if (error !== undefined) {\n              message = \"productCatalog.list.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this2.get('notify').alert(_this2.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n            _this2.get('errorMessages').addObject(errorMessage);\n            item.rollbackAttributes();\n          });\n        }\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/product-catalog/serializer\", [\"exports\", \"ember\", \"ember-data\"], function (exports, _ember, _emberData) {\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend(_emberData[\"default\"].EmbeddedRecordsMixin, {\n    attrs: {\n      attributes: { serialize: 'records', deserialize: 'records' },\n      comboSelectionCatalogs: { serialize: 'records', deserialize: 'records' },\n      productType: { embedded: 'always' }\n    },\n    serializeIntoHash: function serializeIntoHash(hash, type, record, options) {\n      var serialized = record.serialize(record, options);\n\n      //remove the root element\n      _ember[\"default\"].merge(hash, serialized);\n    }\n  });\n});","define(\"fcs-dashboard/pods/product-catalog/suggested-price-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"rb1yAMBU\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"suggestedPrice\\\"]]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/suggested-price-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-catalog/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"62NV+PSX\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"product-catalog/list\\\"],null,[[\\\"products\\\",\\\"save\\\",\\\"delete\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"delete\\\",\\\"refresh\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-catalog/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-class/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/product-group-attribute-set/model\", [\"exports\", \"ember\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment) {\n  var computed = _ember[\"default\"].computed;\n  var A = _ember[\"default\"].A;\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    attributeSetId: (0, _emberDataAttr[\"default\"])('string', { defaultValue: 1 }),\n    attributeSetName: (0, _emberDataAttr[\"default\"])('string'),\n    priority: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 1 }),\n    priorities: computed(function () {\n      var positions = A();\n      for (var i = 1; i < 10; i++) {\n        positions.addObject(i);\n      }\n      return positions;\n    })\n  });\n});","define(\"fcs-dashboard/pods/product-group/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\", \"model-fragments/attributes\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations, _modelFragmentsAttributes) {\n  var computed = _ember[\"default\"].computed;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepSix.productTable.modal.errors.productGroupEmptyName' }),\n    products: [(0, _emberCpValidations.validator)('length', { min: 1, message: 'Must add at least 1 product' })]\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    buttonColor: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '#f8f8f8' }),\n    position: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    isProduct: false,\n    products: (0, _emberDataRelationships.hasMany)('product'),\n    image: (0, _emberDataAttr[\"default\"])('string'),\n    imageURL: (0, _emberDataAttr[\"default\"])('string'),\n    deleteImage: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    attributeSets: (0, _modelFragmentsAttributes.fragmentArray)('productGroupAttributeSet'),\n    deletedProducts: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    productGroupId: computed('name', 'id', function () {\n      return \"page\" + this.get('name') + \".\" + this.get('id') + \".\" + Date.now();\n    })\n  });\n});","define('fcs-dashboard/pods/product-group/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend(_emberData['default'].EmbeddedRecordsMixin, {\n    attrs: {\n      products: { embedded: 'always' }\n    }\n  });\n});","define(\"fcs-dashboard/pods/product-mix-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"GYHWZqYT\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-mix-report/amount-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/product-mix-report/model', ['exports', 'ember-data/model', 'ember-data/attr', 'model-fragments/attributes'], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    productMixes: (0, _modelFragmentsAttributes.fragmentArray)('productMixReport/productMixItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    productMixLocations: (0, _modelFragmentsAttributes.fragmentArray)('productMixReport/productMixLocationItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr['default'])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/product-mix-report/percentage-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"lB32EPrF\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"minimumFractionDigits\\\",\\\"style\\\"],[1,\\\"percent\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-mix-report/percentage-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/product-mix-report/product-mix-item/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    productCatalogId: (0, _emberDataAttr['default'])('number'),\n    productTypeId: (0, _emberDataAttr['default'])('number'),\n    productCatalogName: (0, _emberDataAttr['default'])('string'),\n    productTypeName: (0, _emberDataAttr['default'])('string'),\n    productStatusId: (0, _emberDataAttr['default'])('number'),\n    productStatus: (0, _emberDataAttr['default'])('string'),\n    dateString: (0, _emberDataAttr['default'])('string'),\n    date: (0, _emberDataAttr['default'])('string'),\n    dateSortString: (0, _emberDataAttr['default'])('string'),\n    percentageOfProduct: (0, _emberDataAttr['default'])('number'),\n    percentageOfAllProducts: (0, _emberDataAttr['default'])('number'),\n    averagePrice: (0, _emberDataAttr['default'])('number'),\n    cashPayment: (0, _emberDataAttr['default'])('number'),\n    cashlessPayment: (0, _emberDataAttr['default'])('number'),\n    creditPayment: (0, _emberDataAttr['default'])('number'),\n    totalWithTax: (0, _emberDataAttr['default'])('number'),\n    amount: (0, _emberDataAttr['default'])('number'),\n    productQuantity: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/product-mix-report/product-mix-location-item/model', ['exports', 'ember-data/attr', 'model-fragments/fragment', 'model-fragments/attributes'], function (exports, _emberDataAttr, _modelFragmentsFragment, _modelFragmentsAttributes) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    location: (0, _emberDataAttr['default'])('string'),\n    productMixes: (0, _modelFragmentsAttributes.fragmentArray)('productMixReport/productMixItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/product-mix-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('companyId', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n\n      controller.set('summarizeBy', null);\n      controller.set('grossSales', null);\n      controller.set('totalNetSales', null);\n      controller.set('totalOrders', null);\n      controller.set('avgOrderAmt', null);\n      controller.set('totalDigitalTips', null);\n      controller.set('avgTips', null);\n      controller.set('creditPercentageOfGross', null);\n      controller.set('rfidPercentageOfGross', null);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n      controller.set('showAllEvents', false);\n      controller.set('title', null);\n      controller.set('localFilters', {});\n    },\n    _setSummarizeByName: function _setSummarizeByName(summarizeByName) {\n      if (summarizeByName === this.get('intl').t('report.result.financialOverviewReport.headers.menu')) {\n        return this.get('intl').t('report.result.financialOverviewReport.headers.menu');\n      } else {\n        return this.get('intl').t('report.result.financialOverviewReport.headers.date');\n      }\n    },\n    actions: {\n      onFilterChanged: function onFilterChanged(value) {\n        var localFilter = this.get('localFilters') || {};\n        localFilter[value.propertyName] = value.filterString;\n        this.set('localFilters', localFilter);\n      },\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get companyRole and push them into query\n        query['companyRole'] = queryOptions.get('companyRole');\n        //get summarizeBy filter and push it into query\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        if (query['isExport']) {\n          (function () {\n            var localFilters = _this.get('localFilters') || {};\n            Object.keys(localFilters).forEach(function (localFilter) {\n              query[localFilter] = localFilters[localFilter];\n            });\n          })();\n        }\n        //set property to TRUE\n        this.controller.set('isExport', query['isExport']);\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('isShowExportButton', false);\n        this.controller.set('showAllEvents', false);\n\n        this.store.queryRecord('productMixReport', query).then(function (report) {\n\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = '/api/v1' + report.get('outputFileName').split(\"/api/v1\")[1];\n              var _authToken = _this.controller.get('authToken');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('summarizeBy', query['summarizeBy']);\n            _this.controller.set('report', report);\n            if (report.get('productMixes') === null || report.get('productMixes').length < 1) {\n              _this.controller.set('noResults', true);\n              _this.controller.set('isShowExportButton', false);\n            } else {\n              _this.controller.set('noResults', false);\n              _this.controller.set('isShowExportButton', true);\n            }\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/product-mix-report/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  var guidFor = _ember['default'].guidFor;\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.productMixReport.id = guidFor(payload);\n      payload.productMixReport.productMixes.forEach(function (productMix) {\n        return productMix.id = guidFor(productMix);\n      });\n      payload.productMixReport.productMixLocations.forEach(function (productMixLocation) {\n        productMixLocation.id = guidFor(productMixLocation);\n        productMixLocation.productMixes.forEach(function (productMix) {\n          return productMix.id = guidFor(productMix);\n        });\n      });\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/product-mix-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"qo5MwG0q\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"product-mix-report/product-mix-result\\\"],null,[[\\\"data\\\",\\\"summarizeBy\\\",\\\"noResults\\\",\\\"showAllEvents\\\",\\\"grossSales\\\",\\\"totalNetSales\\\",\\\"totalOrders\\\",\\\"avgOrderAmt\\\",\\\"totalDigitalTips\\\",\\\"avgTips\\\",\\\"creditPercentageOfGross\\\",\\\"rfidPercentageOfGross\\\",\\\"onFilterChanged\\\",\\\"title\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"summarizeBy\\\"]],[\\\"get\\\",[\\\"noResults\\\"]],[\\\"get\\\",[\\\"showAllEvents\\\"]],[\\\"get\\\",[\\\"grossSales\\\"]],[\\\"get\\\",[\\\"totalNetSales\\\"]],[\\\"get\\\",[\\\"totalOrders\\\"]],[\\\"get\\\",[\\\"avgOrderAmt\\\"]],[\\\"get\\\",[\\\"totalDigitalTips\\\"]],[\\\"get\\\",[\\\"avgTips\\\"]],[\\\"get\\\",[\\\"creditPercentageOfGross\\\"]],[\\\"get\\\",[\\\"rfidPercentageOfGross\\\"]],\\\"onFilterChanged\\\",[\\\"get\\\",[\\\"title\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"or\\\"],[[\\\"get\\\",[\\\"isExport\\\"]],[\\\"helper\\\",[\\\"not\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null]],null]],null,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-mix-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-type/delete-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+fndTQO8\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-type/delete-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-type/edit-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ssOJGTBG\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"edit\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-type/edit-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productType.details.name.label' }),\n    companyId: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'productType.details.company.label' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    productsCount: (0, _emberDataAttr[\"default\"])('number'),\n    printerType: (0, _emberDataRelationships.belongsTo)('printerType'),\n    buttonColor: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '#f8f8f8' })\n  });\n});","define(\"fcs-dashboard/pods/product-type/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      this.store.findAll('userType');\n      if (this.get('session.isAuthenticated')) {\n        this.store.unloadAll('productType');\n      }\n    },\n    model: function model() {\n      Logger.debug('getting data!');\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      return this.store.query('productType', { companyId: company });\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (this.get('isReportingUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save(item) {\n        var _this = this;\n\n        item.save().then(function () {\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('productType.details.errors.successSave', { name: item.get('name') }));\n          _this.refresh();\n        })[\"catch\"](function (error) {\n          var message = 'productType.details.errors.savingError';\n          if (error !== undefined) {\n            message = \"productType.details.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n          item.rollbackAttributes();\n        });\n      },\n      \"delete\": function _delete(item) {\n        var _this2 = this;\n\n        item.destroyRecord().then(function () {\n          _this2.send('cleanMessages');\n          _this2.get('notify').success(_this2.get('intl').t('productType.list.errors.deleteSuccess'));\n          _this2.refresh();\n        })[\"catch\"](function (error) {\n          var message = 'productType.list.errors.deletingError';\n          if (error !== undefined) {\n            message = \"productType.list.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this2.get('notify').alert(_this2.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n          _this2.get('errorMessages').addObject(errorMessage);\n          item.rollbackAttributes();\n        });\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/product-type/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tdRcpb50\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"product-type/list\\\"],null,[[\\\"productTypes\\\",\\\"save\\\",\\\"delete\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"delete\\\",\\\"refresh\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product-type/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/product/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberDataRelationships, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    price: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepSix.productTable.headers.price' }), (0, _emberCpValidations.validator)('format', { regex: /^[\\d]+(\\.\\d*)?$/, messageKey: 'menu.builder.steps.stepSix.errors.invalidNumber' })],\n    taxRate: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepSix.productTable.headers.taxRate' }), (0, _emberCpValidations.validator)('format', { regex: /^(100|[0-9]{1,2})(\\.[0-9]{1,3})?$/, messageKey: 'menu.builder.steps.stepSix.errors.invalidPercentage' })],\n    productType: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepSix.productTable.headers.productType' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    productCatalog: (0, _emberDataRelationships.belongsTo)('productCatalog'),\n    buttonColor: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '#f8f8f8' }),\n    price: (0, _emberDataAttr[\"default\"])('number'),\n    priceChange: (0, _emberDataAttr[\"default\"])('number'),\n    taxRate: (0, _emberDataAttr[\"default\"])('number'),\n    allowModifications: (0, _emberDataAttr[\"default\"])('boolean'),\n    changed: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    position: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    productType: (0, _emberDataAttr[\"default\"])('string'),\n    taxRateType: (0, _emberDataRelationships.belongsTo)('taxRateType'),\n    productClass: (0, _emberDataRelationships.belongsTo)('productClass'),\n    comboSelections: (0, _emberDataRelationships.hasMany)('comboSelection', { inverse: null }),\n    modifiers: (0, _emberDataRelationships.hasMany)('modifier'),\n    deletedModifiers: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    isProduct: true\n  });\n});","define(\"fcs-dashboard/pods/product/modifiers-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"DViKmJtO\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-xs\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openModifiers\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"menu.builder.steps.stepSix.productTable.buttons.addModifiers.label\\\"],null],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/product/modifiers-action/template.hbs\" } });\n});","define('fcs-dashboard/pods/product/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend(_emberData['default'].EmbeddedRecordsMixin, {\n    attrs: {\n      comboSelections: { serialize: 'records', deserialize: 'records' },\n      modifiers: { embedded: 'always' },\n      productCatalog: { embedded: 'always' }\n    }\n  });\n});","define(\"fcs-dashboard/pods/promotion-amount-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n    exports[\"default\"] = _emberDataModel[\"default\"].extend({\n        name: (0, _emberDataAttr[\"default\"])('string')\n    });\n});","define('fcs-dashboard/pods/promotion-applies-to/model', ['exports', 'ember-data/attr', 'ember-data/model'], function (exports, _emberDataAttr, _emberDataModel) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotion-image-placement/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotion-image/model\", [\"exports\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataRelationships, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    image: (0, _emberDataAttr[\"default\"])('string'),\n    imageURL: (0, _emberDataAttr[\"default\"])('string'),\n    imagePlacement: (0, _emberDataRelationships.belongsTo)('promotionImagePlacement'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false })\n  });\n});","define('fcs-dashboard/pods/promotion-payment-type/model', ['exports', 'ember-data/attr', 'ember-data/model'], function (exports, _emberDataAttr, _emberDataModel) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotion-redemption-rule/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotion-status/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    disabled: false\n  });\n});","define('fcs-dashboard/pods/promotion-trigger-type/model', ['exports', 'ember-data/attr', 'ember-data/model'], function (exports, _emberDataAttr, _emberDataModel) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotion-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotion/actions/activate-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"F5Ucx/ht\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"status\\\",\\\"id\\\"]],\\\"1\\\"],null]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.list.buttons.activatePromotion\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"activatePromotion\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.list.buttons.inactivatePromotion\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"inactivatePromotion\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/promotion/actions/activate-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/promotion/actions/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"JPUMhnZi\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"editPromotionModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/promotion/actions/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/promotion/actions/enable-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"gSWM7i6r\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"record\\\",\\\"enabled\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.list.buttons.enablePromotion\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"enablePromotion\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-check-square-o fa-1x\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"locationGroups.details.promotions.list.buttons.disablePromotion\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"disablePromotion\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/promotion/actions/enable-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/promotion/model\", [\"exports\", \"ember-data/attr\", \"ember-data/relationships\", \"ember-data/model\", \"ember\"], function (exports, _emberDataAttr, _emberDataRelationships, _emberDataModel, _ember) {\n  var computed = _ember[\"default\"].computed;\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    status: (0, _emberDataRelationships.belongsTo)('promotionStatus'),\n    amount: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    percentage: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    type: (0, _emberDataRelationships.belongsTo)('promotionType'),\n    amountType: (0, _emberDataRelationships.belongsTo)('promotionAmountType'),\n    paymentType: (0, _emberDataAttr[\"default\"])('string'),\n    appliesTo: (0, _emberDataRelationships.belongsTo)('promotionAppliesTo'),\n    promotionRedemptionRule: (0, _emberDataRelationships.belongsTo)('promotionRedemptionRule'),\n    redemptionMaxCount: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    minimumSpentTotal: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    triggerType: (0, _emberDataRelationships.belongsTo)('promotionTriggerType'),\n    redemptionExpirationDateTime: (0, _emberDataAttr[\"default\"])('date'),\n    cardTypes: (0, _emberDataRelationships.hasMany)('creditCardType'),\n    binCsv: (0, _emberDataAttr[\"default\"])('string'),\n    binCount: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    cleanBins: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    images: (0, _emberDataRelationships.hasMany)('promotionImage'),\n    productCatalogs: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    quantity: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 0 }),\n    groupSize: (0, _emberDataAttr[\"default\"])('number', { defaultValue: 4 }),\n    message: (0, _emberDataAttr[\"default\"])('string'),\n    giftProductId: (0, _emberDataAttr[\"default\"])('number'),\n    giftProductIds: (0, _emberDataAttr[\"default\"])({ defaultValue: function defaultValue() {\n        return [];\n      } }),\n    productGroupIds: (0, _emberDataAttr[\"default\"])({ defaultValue: function defaultValue() {\n        return [];\n      } }),\n    qualifyingTriggerType: (0, _emberDataAttr[\"default\"])('number'),\n    minimumQuantity: (0, _emberDataAttr[\"default\"])('number'),\n    enabled: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    receiptDisplayInline: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    receiptDisplay: computed('type', function () {\n      if (this.get('type.id') === '0') {\n        if (this.get('receiptDisplayInline')) {\n          return 'inline';\n        } else {\n          return 'as payment';\n        }\n      } else if (this.get('type.id') === '1') {\n        return 'within Item';\n      } else if (this.get('type.id') === '2') {\n        return 'as discount';\n      } else if (this.get('type.id') === '3') {\n        return 'discount';\n      } else if (this.get('type.id') === '4') {\n        return 'gift';\n      } else {\n        return 'Unknown';\n      }\n    })\n  });\n});","define('fcs-dashboard/pods/promotion/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  exports['default'] = _emberData['default'].RESTSerializer.extend(_emberData['default'].EmbeddedRecordsMixin, {\n    attrs: {\n      triggerType: { embedded: 'always' },\n      cardTypes: { embedded: 'always' },\n      // BRP-4071: images are reconciled via the /promotions/{id}/images endpoints by the save\n      // orchestrator, so they no longer ride (multi-MB base64) inside the promotion POST/PUT body.\n      // GET hydration is preserved by deserialize:'records'.\n      images: { serialize: false, deserialize: 'records' },\n      amountType: { embedded: 'always' },\n      appliesTo: { embedded: 'always' }\n    }\n  });\n});","define(\"fcs-dashboard/pods/promotions-audit-report/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    reportItems: (0, _modelFragmentsAttributes.fragmentArray)('promotions-audit-report/promotions-audit-report-item', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' })\n  });\n});","define('fcs-dashboard/pods/promotions-audit-report/promotions-audit-report-item/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    menu: (0, _emberDataAttr['default'])('string'),\n    location: (0, _emberDataAttr['default'])('string'),\n    promotion: (0, _emberDataAttr['default'])('string'),\n    type: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/promotions-audit-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n\n        if (queryOptions.get('selectedLocationGroup') !== null && queryOptions.get('selectedLocationGroup') !== undefined) {\n          //get locationGroup id and push them into query\n          query['locationGroup'] = [queryOptions.get('selectedLocationGroup.id')];\n        } else {\n          var errorMessage = this.get('notify').alert(this.get('intl').t('report.result.errors.noLocationGroupError'), { closeAfter: 5000 });\n          this.get('errorMessages').addObject(errorMessage);\n          return;\n        }\n\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        }\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('promotionsAuditReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function (e) {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                var error = undefined;\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  error = _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  error = _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                } else {\n                  _this.controller.set('errorMessage', e);\n                }\n                _this.get('errorMessages').addObject(error);\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            console.log('noResults');\n            _this.controller.set('report', report);\n            if (report.get('reportItems.length') === 0) {\n              _this.controller.set('noResults', true);\n            } else {\n              _this.controller.set('noResults', false);\n            }\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/promotions-audit-report/serializer\", [\"exports\", \"ember-data\", \"ember\"], function (exports, _emberData, _ember) {\n  var guidFor = _ember[\"default\"].guidFor;\n  exports[\"default\"] = _emberData[\"default\"].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.promotionsAuditReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/promotions-audit-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"v0BKghYM\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"promotions-audit-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"promotions-audit-report/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\",\\\"reportItems\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/promotions-audit-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/range-filter/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\"], function (exports, _emberDataAttr, _emberDataModel) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/receipt-type/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/receipt/model\", [\"exports\", \"ember\", \"ember-data/attr\", \"model-fragments/fragment\", \"ember-cp-validations\"], function (exports, _ember, _emberDataAttr, _modelFragmentsFragment, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    address1: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.address1.label' }), (0, _emberCpValidations.validator)('length', { min: 1, max: 254, descriptionKey: 'menu.builder.steps.stepFive.design.address1.label' })],\n    address2: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.address2.label' }), (0, _emberCpValidations.validator)('length', { min: 1, max: 254, descriptionKey: 'menu.builder.steps.stepFive.design.address2.label' })],\n    header: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.header.label' }), (0, _emberCpValidations.validator)('length', { min: 1, max: 254, descriptionKey: 'menu.builder.steps.stepFive.design.header.label' })],\n    footer: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.footer.label' }), (0, _emberCpValidations.validator)('length', { min: 1, max: 254, descriptionKey: 'menu.builder.steps.stepFive.design.footer.label' })],\n    merchantCopies: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.merchantCopies.label' }), (0, _emberCpValidations.validator)('number', { gte: '0', descriptionKey: 'menu.builder.steps.stepFive.design.merchantCopies.label' })],\n    customerCopies: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.customerCopies.label' }), (0, _emberCpValidations.validator)('number', { gte: '0', descriptionKey: 'menu.builder.steps.stepFive.design.customerCopies.label' })],\n    barPrinterCopies: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.barPrinterCopies.label' }), (0, _emberCpValidations.validator)('number', { gte: '0', descriptionKey: 'menu.builder.steps.stepFive.design.barPrinterCopies.label' })],\n    kitchenPrinterCopies: [(0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'menu.builder.steps.stepFive.design.kitchenPrinterCopies.label' }), (0, _emberCpValidations.validator)('number', { gte: '0', descriptionKey: 'menu.builder.steps.stepFive.design.kitchenPrinterCopies.label' })]\n  });\n\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend(Validations, {\n    enabled: (0, _emberDataAttr[\"default\"])('boolean'),\n    address1: (0, _emberDataAttr[\"default\"])('string'),\n    address2: (0, _emberDataAttr[\"default\"])('string'),\n    footer: (0, _emberDataAttr[\"default\"])('string'),\n    header: (0, _emberDataAttr[\"default\"])('string'),\n    logo: (0, _emberDataAttr[\"default\"])('string'),\n    defaultReceiptType: (0, _emberDataAttr[\"default\"])('number'),\n    printableTenders: (0, _emberDataAttr[\"default\"])(),\n    merchantCopies: (0, _emberDataAttr[\"default\"])('number'),\n    customerCopies: (0, _emberDataAttr[\"default\"])('number'),\n    barPrinterCopies: (0, _emberDataAttr[\"default\"])('number'),\n    kitchenPrinterCopies: (0, _emberDataAttr[\"default\"])('number'),\n    kitchenPrinterAvailable: (0, _emberDataAttr[\"default\"])('boolean'),\n    printableTendersModels: _ember[\"default\"].computed('printableTenders', function () {\n      var _this = this;\n\n      var tenders = this.get('printableTenders');\n      var tenderModels = [];\n      tenders.forEach(function (tenderId) {\n        var tender = _this.store.peekRecord('tenderType', tenderId);\n        tenderModels.addObject(tender);\n      });\n      return tenderModels;\n    })\n  });\n});","define('fcs-dashboard/pods/report-filters/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    datesEnabled: (0, _emberDataAttr['default'])('boolean'),\n    eventEnabled: (0, _emberDataAttr['default'])('boolean'),\n    vmcEnabled: (0, _emberDataAttr['default'])('boolean'),\n    vendorEnabled: (0, _emberDataAttr['default'])('boolean'),\n    locationEnabled: (0, _emberDataAttr['default'])('boolean'),\n    menuEnabled: (0, _emberDataAttr['default'])('boolean'),\n    dayHourMenuEnabled: (0, _emberDataAttr['default'])('boolean'),\n    clerkLocationEnabled: (0, _emberDataAttr['default'])('boolean'),\n    productEnabled: (0, _emberDataAttr['default'])('boolean')\n  });\n});","define('fcs-dashboard/pods/report-options/model', ['exports', 'ember-data/model', 'ember-data/attr', 'ember-data/relationships', 'moment'], function (exports, _emberDataModel, _emberDataAttr, _emberDataRelationships, _moment) {\n  exports['default'] = _emberDataModel['default'].extend({\n    reportId: (0, _emberDataAttr['default'])('string'),\n    toDate: (0, _emberDataAttr['default'])('date', {\n      defaultValue: function defaultValue() {\n        return (0, _moment['default'])().add(1, 'days').toDate();\n      }\n    }),\n    fromDate: (0, _emberDataAttr['default'])('date', {\n      defaultValue: function defaultValue() {\n        return new Date();\n      }\n    }),\n    selectedMenu: (0, _emberDataAttr['default'])('string'),\n    summarizeBy: (0, _emberDataAttr['default'])('string'),\n    locationGroup: (0, _emberDataRelationships.belongsTo)('locationGroup'),\n    selectedLocationGroup: (0, _emberDataAttr['default'])('string'),\n    selectedVendor: (0, _emberDataAttr['default'])('string'),\n    companyRole: (0, _emberDataAttr['default'])('string'),\n    selectedVendorManagement: (0, _emberDataAttr['default'])('string'),\n    locations: (0, _emberDataAttr['default'])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    vendors: (0, _emberDataAttr['default'])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    isTimestampOccurrence: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    reportOutput: (0, _emberDataAttr['default'])('string', { defaultValue: undefined }),\n    isEmailDelivery: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    emails: (0, _emberDataAttr['default'])('string', { defaultValue: undefined }),\n    isExport: (0, _emberDataAttr['default'])('boolean', { defaultValue: false }),\n    menus: (0, _emberDataAttr['default'])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/reports-company-role/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    roleId: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('string'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    reportsTo: (0, _emberDataAttr[\"default\"])('string'),\n    locations: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define(\"fcs-dashboard/pods/reports-location-group/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"model-fragments/attributes\"], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    address: (0, _emberDataAttr[\"default\"])('string'),\n    producer: (0, _modelFragmentsAttributes.fragment)('reportsCompanyRole'),\n    locations: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    vendorManagementCompanies: (0, _modelFragmentsAttributes.fragmentArray)('reportsCompanyRole', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    vendorCompanies: (0, _modelFragmentsAttributes.fragmentArray)('reportsCompanyRole', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    })\n  });\n});","define('fcs-dashboard/pods/review-configuration/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember['default'].Route;\n  exports['default'] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], {});\n});","define(\"fcs-dashboard/pods/review-configuration/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"l9Xe0g95\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"table\\\",[]],[\\\"static-attr\\\",\\\"width\\\",\\\"100%\\\"],[\\\"static-attr\\\",\\\"border\\\",\\\"0\\\"],[\\\"static-attr\\\",\\\"cellspacing\\\",\\\"0\\\"],[\\\"static-attr\\\",\\\"cellpadding\\\",\\\"0\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"h1\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"margin:0;padding:0;font-family: trebuchet ms;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"This Section is Under Construction.\\\\n        \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"small\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"color: #888;\\\"],[\\\"static-attr\\\",\\\"align\\\",\\\"center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Come Back Soon.\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/review-configuration/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/role-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/sales-report-by-product-filter/model\", [\"exports\", \"ember-data/attr\", \"ember-data/model\", \"ember-cp-validations\"], function (exports, _emberDataAttr, _emberDataModel, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/sales-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"45cCvto9\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/sales-report/amount-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/sales-report/cash-deposit-report/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    cashDeposit: (0, _emberDataAttr['default'])('number'),\n    creditCardPayments: (0, _emberDataAttr['default'])('number'),\n    rfidPayments: (0, _emberDataAttr['default'])('number'),\n    couponDiscount: (0, _emberDataAttr['default'])('number'),\n    voids: (0, _emberDataAttr['default'])('number'),\n    comps: (0, _emberDataAttr['default'])('number'),\n    spills: (0, _emberDataAttr['default'])('number'),\n    refunds: (0, _emberDataAttr['default'])('number'),\n    grossSales: (0, _emberDataAttr['default'])('number'),\n    employeeDiscount: (0, _emberDataAttr['default'])('number'),\n    digitalTips: (0, _emberDataAttr['default'])('number'),\n    coinRoundedDelta: (0, _emberDataAttr['default'])('number'),\n    cashDiscountedAmount: (0, _emberDataAttr['default'])('number'),\n    customFeesAmount: (0, _emberDataAttr['default'])('number'),\n    multiProductDiscount: (0, _emberDataAttr['default'])('number'),\n    giftWithPurchaseDiscount: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/sales-report/closed-loop-cashless-payment/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    paymentTypeId: (0, _emberDataAttr['default'])('number'),\n    paymentTypeName: (0, _emberDataAttr['default'])('string'),\n    quantityLoaded: (0, _emberDataAttr['default'])('number'),\n    amountLoaded: (0, _emberDataAttr['default'])('number'),\n    quantitySpent: (0, _emberDataAttr['default'])('number'),\n    amountSpent: (0, _emberDataAttr['default'])('number'),\n    quantityRefunded: (0, _emberDataAttr['default'])('number'),\n    amountRefunded: (0, _emberDataAttr['default'])('number'),\n    count: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/sales-report/credit-card-payment/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    creditCardTypeId: (0, _emberDataAttr['default'])('number'),\n    creditCardTypeName: (0, _emberDataAttr['default'])('string'),\n    quantity: (0, _emberDataAttr['default'])('number'),\n    sales: (0, _emberDataAttr['default'])('number'),\n    tips: (0, _emberDataAttr['default'])('number'),\n    salesWithoutTips: (0, _emberDataAttr['default'])('number'),\n    surcharge: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/sales-report/model', ['exports', 'ember-data/model', 'ember-data/attr', 'model-fragments/attributes'], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    grossSales: (0, _emberDataAttr['default'])('number'),\n    grossSalesWithoutVoids: (0, _emberDataAttr['default'])('number'),\n    netSales: (0, _emberDataAttr['default'])('number'),\n    taxes: (0, _emberDataAttr['default'])('number'),\n    totalVoids: (0, _emberDataAttr['default'])('number'),\n    totalCouponDiscount: (0, _emberDataAttr['default'])('number'),\n    digitalTipsDeductionsEnabled: (0, _emberDataAttr['default'])('boolean'),\n    voids: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/salesReportProductTypeStatus', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    comps: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/salesReportProductTypeStatus', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    spills: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/salesReportProductTypeStatus', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    refunds: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/salesReportProductTypeStatus', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    creditCardPayments: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/creditCardPayment', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    openLoopCashlessPayments: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/creditCardPayment', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    closedLoopCashlessPayments: (0, _modelFragmentsAttributes.fragmentArray)('salesReport/closedLoopCashlessPayment', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    cashDepositReport: (0, _modelFragmentsAttributes.fragment)('salesReport/cashDepositReport', {\n      defaultValue: {\n        cashDeposit: 0.0,\n        creditCardPayments: 0.0,\n        rfidPayments: 0.0,\n        couponDiscount: 0.0,\n        voids: 0.0,\n        comps: 0.0,\n        spills: 0.0,\n        refunds: 0.0,\n        grossSales: 0.0,\n        employeeDiscount: 0.0,\n        digitalTips: 0.0,\n        multiProductDiscount: 0.0\n      }\n    }),\n    productTypes: (0, _modelFragmentsAttributes.fragmentArray)('dailyCloseOutReport/productTypes', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr['default'])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/sales-report/percentage-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"+LkzipWR\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"minimumFractionDigits\\\",\\\"style\\\"],[1,\\\"percent\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/sales-report/percentage-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/sales-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('companyId', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get companyRole and push them into query\n        query['companyRole'] = queryOptions.get('companyRole');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('salesReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report.get('sales') === null || report.get('sales') === 0) {\n              _this.controller.set('noResults', true);\n              _this.controller.set('isShowExportButton', false);\n            } else {\n              _this.controller.set('noResults', false);\n              _this.controller.set('isShowExportButton', true);\n            }\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/sales-report/sales-report-product-type-status/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    productTypeId: (0, _emberDataAttr['default'])('number'),\n    productTypeName: (0, _emberDataAttr['default'])('string'),\n    total: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/sales-report/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  var guidFor = _ember['default'].guidFor;\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.salesReport.id = guidFor(payload);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/sales-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"3OPMLRop\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"sales-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"sales-report/sales-report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/sales-report/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/saved-network/delete-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"GGiTiWsr\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"trait.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/saved-network/delete-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/saved-network/edit-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"aRtoQBQn\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"productType.list.buttons.edit\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"edit\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/saved-network/edit-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/saved-network/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    ssid: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'attributeSet.details.name.label' }),\n    password: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'attributeSet.details.name.label' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    ssid: (0, _emberDataAttr[\"default\"])('string'),\n    password: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false })\n  });\n});","define(\"fcs-dashboard/pods/saved-network/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.unloadAll('savedNetwork');\n      }\n    },\n    model: function model() {\n      Logger.debug('getting data!');\n      return this.store.findAll('savedNetwork');\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (!this.get('isBRUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save(item) {\n        var _this = this;\n\n        item.save().then(function () {\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('trait.details.errors.successSave', { name: item.get('ssid') }));\n          _this.refresh();\n        })[\"catch\"](function (error) {\n          var message = 'trait.details.errors.savingError';\n          if (error !== undefined) {\n            message = \"trait.details.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('ssid') }), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n          item.rollbackAttributes();\n        });\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/saved-network/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"17VmBGlm\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"saved-network/saved-network-list\\\"],null,[[\\\"savedNetworks\\\",\\\"save\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"refresh\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/saved-network/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/search-options/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\"], function (exports, _emberDataModel, _emberDataAttr) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    searchText: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' }),\n    fromDate: (0, _emberDataAttr[\"default\"])('date'),\n    toDate: (0, _emberDataAttr[\"default\"])('date'),\n    tabName: (0, _emberDataAttr[\"default\"])('string'),\n    selectedTenders: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    lastName: (0, _emberDataAttr[\"default\"])('string'),\n    lastFour: (0, _emberDataAttr[\"default\"])('string', { defaultValue: '' }),\n    ccExpiration: (0, _emberDataAttr[\"default\"])('string'),\n    selectedCCTypes: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    users: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    orderStatuses: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    userProfiles: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    locationGroups: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    locations: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    vendors: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    menus: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    productTypes: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    priceStatuses: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    tabStatuses: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    paymentStatuses: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    paymentModes: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    gateways: (0, _emberDataAttr[\"default\"])({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    reportOutput: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    isEmailDelivery: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    emails: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    orderId: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    orderNote: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    cashUid: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    accessLevel: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    reference: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    authCode: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    product: (0, _emberDataAttr[\"default\"])('string', { defaultValue: undefined }),\n    serviceFee: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    tips: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    surcharge: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false }),\n    isExport: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false })\n  });\n});","define(\"fcs-dashboard/pods/search-order/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"z4X+O0a/\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/search-order/amount-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/search-order/detail-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"XbvMz1s7\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"col-sm-1 col-md-1 col-lg-1\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"padding-left: 0;\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"openModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.details.buttons.details\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/search-order/detail-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/search-order/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember\", \"moment\"], function (exports, _emberDataModel, _emberDataAttr, _ember, _moment) {\n  var computed = _ember[\"default\"].computed;\n  var service = _ember[\"default\"].inject.service;\n  var tz = _moment[\"default\"].tz;\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    intl: service(),\n    tabletGeneratedId: (0, _emberDataAttr[\"default\"])('string'),\n    orderId: (0, _emberDataAttr[\"default\"])('string'),\n    amount: (0, _emberDataAttr[\"default\"])('number'),\n    status: (0, _emberDataAttr[\"default\"])('string'),\n    tabStatus: (0, _emberDataAttr[\"default\"])('string'),\n    authCode: (0, _emberDataAttr[\"default\"])('string'),\n    date: (0, _emberDataAttr[\"default\"])('date'),\n    locationGroupName: (0, _emberDataAttr[\"default\"])('string'),\n    //used to send an action to the server, it can be VOID, CHARGE or REFUND\n    action: (0, _emberDataAttr[\"default\"])('number'),\n    locationGroupTimezone: (0, _emberDataAttr[\"default\"])('string'),\n    formattedDate: computed('locationGroupTimezone', 'date', function () {\n      var formattedDate = tz(this.get('date'), this.get('locationGroupTimezone')).format();\n      return this.get('intl').formatDate(formattedDate, {\n        hour: 'numeric',\n        minute: 'numeric',\n        weekday: 'short',\n        year: 'numeric',\n        month: 'short',\n        day: 'numeric',\n        timeZoneName: 'short',\n        hour12: false\n      });\n    })\n  });\n});","define(\"fcs-dashboard/pods/search-order/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('searchOptions', this.get('accountSession.searchOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('page', 1);\n      controller.set('pageSize', 10);\n      controller.set('orders', []);\n      controller.set('isLoading', false);\n      controller.set('isShowExportButton', false);\n      controller.set('totalResults', 0);\n      controller.set('totalAmount', 0);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        this.controller.set('page', 1);\n        this.controller.set('orders', []);\n        this.send('fetchRecords', queryOptions);\n      },\n      fetchRecords: function fetchRecords(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['searchText', 'lastName', 'lastFour', 'ccExpiration', 'tabName', 'cashlessTag', 'selectedOrderStatus', 'selectedTenders', 'selectedCCTypes', 'priceStatuses', 'orderId', 'orderNote', 'cashUid', 'accessLevel', 'reference', 'authCode', 'product', 'serviceFee', 'tips', 'surcharge', 'roundUpDonationEnabled']);\n        //set property to TRUE\n        this.controller.toggleProperty('isLoading');\n        //add page and limit into query\n        query['page'] = this.controller.get('page');\n        query['pageSize'] = this.controller.get('pageSize');\n        //get to and from dates\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY\").toString();\n\n        if (queryOptions.get('selectedTenders') !== null && queryOptions.get('selectedTenders') !== undefined) {\n          var selectedTenders = queryOptions.get('selectedTenders').join(',');\n          if (selectedTenders) {\n            query['selectedTenders'] = selectedTenders;\n          }\n        }\n\n        if (queryOptions.get('selectedCCTypes') !== null && queryOptions.get('selectedCCTypes') !== undefined) {\n          var selectedCCTypes = queryOptions.get('selectedCCTypes').join(',');\n          if (selectedCCTypes) {\n            query['selectedCCTypes'] = selectedCCTypes;\n          }\n        }\n\n        if (queryOptions.get('priceStatuses') !== null && queryOptions.get('priceStatuses') !== undefined) {\n          var priceStatuses = queryOptions.get('priceStatuses').join(',');\n          if (priceStatuses) {\n            query['priceStatuses'] = priceStatuses;\n          }\n        }\n\n        // Get ids from lists of objects\n        if (queryOptions.get('gateways') !== null && queryOptions.get('gateways') !== undefined) {\n          var gateways = queryOptions.get('gateways').mapBy('id').join(',');\n          if (gateways) {\n            query['gateways'] = gateways;\n          }\n        }\n        if (queryOptions.get('users') !== null && queryOptions.get('paymentModes') !== undefined) {\n          var users = queryOptions.get('users').mapBy('id').join(',');\n          if (users) {\n            query['users'] = users;\n          }\n        }\n        if (queryOptions.get('orderStatuses') !== null && queryOptions.get('orderStatuses') !== undefined) {\n          var orderStatuses = queryOptions.get('orderStatuses').mapBy('id').join(',');\n          if (orderStatuses) {\n            query['orderStatuses'] = orderStatuses;\n          }\n        }\n        if (queryOptions.get('userProfiles') !== null && queryOptions.get('userProfiles') !== undefined) {\n          var userProfiles = queryOptions.get('userProfiles').mapBy('id').join(',');\n          if (userProfiles) {\n            query['userProfiles'] = userProfiles;\n          }\n        }\n        if (queryOptions.get('locationGroups') !== null && queryOptions.get('locationGroups') !== undefined) {\n          var locationGroup = queryOptions.get('locationGroups');\n          if (locationGroup && locationGroup.id) {\n            query['locationGroups'] = locationGroup.id;\n          }\n        }\n        if (queryOptions.get('locations') !== null && queryOptions.get('locations') !== undefined) {\n          var locations = queryOptions.get('locations').mapBy('id').join(',');\n          if (locations) {\n            query['locations'] = locations;\n          }\n        }\n        if (queryOptions.get('vendors') !== null && queryOptions.get('vendors') !== undefined) {\n          // TODO Modify this parameter once the multiple selection for vendors is enabled\n          var vendors = [];\n          vendors.addObject(queryOptions.get('vendors.companyId'));\n          if (vendors.length > 0) {\n            query['vendors'] = vendors.join(',');\n          }\n        }\n        if (queryOptions.get('menus') !== null && queryOptions.get('menus') !== undefined) {\n          var menus = queryOptions.get('menus').mapBy('id').join(',');\n          if (menus) {\n            query['menus'] = menus;\n          }\n        }\n        if (queryOptions.get('productTypes') !== null && queryOptions.get('productTypes') !== undefined) {\n          var productTypes = queryOptions.get('productTypes').mapBy('id').join(',');\n          if (productTypes) {\n            query['productTypes'] = productTypes;\n          }\n        }\n        if (queryOptions.get('tabStatuses') !== null && queryOptions.get('tabStatuses') !== undefined) {\n          var tabStatuses = queryOptions.get('tabStatuses').mapBy('id').join(',');\n          if (tabStatuses) {\n            query['tabStatuses'] = tabStatuses;\n          }\n        }\n        if (queryOptions.get('paymentModes') !== null && queryOptions.get('paymentModes') !== undefined) {\n          var paymentModes = queryOptions.get('paymentModes').mapBy('id').join(',');\n          if (paymentModes) {\n            query['paymentModes'] = paymentModes;\n          }\n        }\n        if (queryOptions.get('paymentStatuses') !== null && queryOptions.get('paymentStatuses') !== undefined) {\n          var paymentStatuses = queryOptions.get('paymentStatuses').mapBy('id').join(',');\n          if (paymentStatuses) {\n            query['paymentStatuses'] = paymentStatuses;\n          }\n        }\n\n        if (isEmpty(query['lastFour'])) {\n          query['lastFour'] = undefined;\n        }\n\n        if (isEmpty(query['ccExpiration'])) {\n          query['ccExpiration'] = undefined;\n        } else {\n          query['ccExpiration'] = (0, _moment[\"default\"])(queryOptions.get('ccExpiration')).format(\"MM/YY\").toString();\n        }\n\n        if (isEmpty(query['cashlessTag'])) {\n          query['cashlessTag'] = undefined;\n        }\n\n        if (isEmpty(query['tabName'])) {\n          query['tabName'] = undefined;\n        }\n\n        if (isEmpty(query['authCode'])) {\n          query['authCode'] = undefined;\n        }\n\n        if (isEmpty(query['orderNote'])) {\n          query['orderNote'] = undefined;\n        }\n\n        if (isEmpty(query['cashUid'])) {\n          query['cashUid'] = undefined;\n        }\n\n        if (isEmpty(query['lastName'])) {\n          query['lastName'] = undefined;\n        }\n\n        if (isEmpty(query['gateways'])) {\n          query['gateways'] = undefined;\n        }\n\n        //send company id when user is BR and he is locked to a company\n        if (this.get('isBRUser') && this.get('lockedCompany') !== undefined) {\n          query['company'] = this.get('lockedCompany.id');\n        }\n\n        query['reportOutput'] = queryOptions.get('reportOutput');\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['isExport'] = queryOptions.get('isExport');\n\n        this.store.query('searchOrder', query).then(function (orders) {\n          if (query['isExport']) {\n            (function () {\n              var endpoint = orders.get('meta.outputFileName');\n              var _authToken = _this.controller.get('authToken');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          }\n          if (orders.get('meta.total') === 0) {\n            _this.controller.set('isShowExportButton', false);\n          } else {\n            _this.controller.set('isShowExportButton', true);\n          }\n          _this.controller.set('totalResults', orders.get('meta.total'));\n          _this.controller.set('totalAmount', orders.get('meta.totalAmount'));\n          _this.controller.set('orders', orders);\n          _this.controller.incrementProperty('page');\n          //set property to FALSE\n          _this.controller.set('isLoading', false);\n        });\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/search-order/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"8d9P0GGp\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"search/search-criteria\\\"],null,[[\\\"search\\\",\\\"searchOptions\\\",\\\"isShowExportButton\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"searchOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"search/search-result\\\"],null,[[\\\"data\\\",\\\"resultsPage\\\",\\\"isLoading\\\",\\\"fetchRecords\\\",\\\"searchOptions\\\",\\\"totalResults\\\",\\\"totalAmount\\\"],[[\\\"get\\\",[\\\"orders\\\"]],[\\\"get\\\",[\\\"page\\\"]],[\\\"get\\\",[\\\"isLoading\\\"]],\\\"fetchRecords\\\",[\\\"get\\\",[\\\"searchOptions\\\"]],[\\\"get\\\",[\\\"totalResults\\\"]],[\\\"get\\\",[\\\"totalAmount\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/search-order/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/simple-report-by-product/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZFkf1dTz\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/simple-report-by-product/amount-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/simple-report-by-product/model', ['exports', 'ember-data/model', 'ember-data/attr'], function (exports, _emberDataModel, _emberDataAttr) {\n  exports['default'] = _emberDataModel['default'].extend({\n    product: (0, _emberDataAttr['default'])('string'),\n    productType: (0, _emberDataAttr['default'])('string'),\n    regPriceSales: (0, _emberDataAttr['default'])('number'),\n    totalDiscounts: (0, _emberDataAttr['default'])('number'),\n    grossSales: (0, _emberDataAttr['default'])('number'),\n    creditGrossSales: (0, _emberDataAttr['default'])('number'),\n    cashGrossSales: (0, _emberDataAttr['default'])('number'),\n    openLoopGrossSales: (0, _emberDataAttr['default'])('number'),\n    percentageTotal: (0, _emberDataAttr['default'])('number'),\n    itemsSold: (0, _emberDataAttr['default'])('number'),\n    avgPrice: (0, _emberDataAttr['default'])('number')\n  });\n});","define(\"fcs-dashboard/pods/simple-report-by-product/percentage-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"bibZ83k/\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null],false],[\\\"text\\\",\\\"%\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/simple-report-by-product/percentage-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/simple-report-by-product/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('isLoading', false);\n      controller.set('summarizeBy', null);\n      controller.set('noResults', false);\n      controller.set('companyId', null);\n      controller.set('hideProductColumn', null);\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get companyRole and push them into query\n        query['companyRole'] = queryOptions.get('companyRole');\n        //get summarizeBy filter and push it into query\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        if (queryOptions.get('summarizeBy.id') === \"0\") {\n          this.controller.set('hideProductColumn', false);\n        } else {\n          this.controller.set('hideProductColumn', true);\n        }\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('summarizeBy', queryOptions.get('summarizeBy.name'));\n        this.controller.set('isShowExportButton', false);\n\n        this.store.query('simpleReportByProduct', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('meta.outputFileName');\n              var _authToken = _this.controller.get('authToken');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report.get('meta.totals') === 0) {\n              _this.controller.set('noResults', true);\n              _this.controller.set('isShowExportButton', false);\n            } else {\n              _this.controller.set('noResults', false);\n              _this.controller.set('isShowExportButton', true);\n            }\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/simple-report-by-product/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  var guidFor = _ember['default'].guidFor;\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.simpleReportByProducts.forEach(function (simpleReportByProduct) {\n        return simpleReportByProduct.id = guidFor(simpleReportByProduct);\n      });\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define(\"fcs-dashboard/pods/simple-report-by-product/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"0uMy/a6X\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"simple-report-by-product/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"simple-report-by-product/simple-report-result\\\"],null,[[\\\"data\\\",\\\"hideProductColumn\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"hideProductColumn\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/simple-report-by-product/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/amount-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"feUgNFxH\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"style\\\",\\\"currency\\\"],[\\\"currency\\\",\\\"USD\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/amount-cell/template.hbs\" } });\n});","define('fcs-dashboard/pods/sponsor-loaded-fund-usage-report/model', ['exports', 'ember-data/model', 'ember-data/attr', 'model-fragments/attributes'], function (exports, _emberDataModel, _emberDataAttr, _modelFragmentsAttributes) {\n  exports['default'] = _emberDataModel['default'].extend({\n    amountLoaded: (0, _emberDataAttr['default'])('number'),\n    wristbandsLoadedCount: (0, _emberDataAttr['default'])('number'),\n    amountSpent: (0, _emberDataAttr['default'])('number'),\n    paymentCount: (0, _emberDataAttr['default'])('number'),\n    sponsorLoadedFundUsageReportItemList: (0, _modelFragmentsAttributes.fragmentArray)('sponsorLoadedFundUsageReport/sponsorLoadedFundUsageReportItem', {\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    }),\n    outputFileName: (0, _emberDataAttr['default'])('string', { defaultValue: '' })\n  });\n});","define(\"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/percentage-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"E3a9R65h\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"format-number\\\"],[[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null]],[[\\\"minimumFractionDigits\\\",\\\"style\\\"],[1,\\\"percent\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/percentage-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/base-component\", \"moment\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsBaseComponent, _moment) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    setupController: function setupController(controller) {\n      controller.set('reportOptions', this.get('accountSession.reportOptions'));\n      controller.set('authToken', this.get('session.data.authenticated.access_token'));\n      controller.set('report', null);\n      controller.set('companyId', null);\n      controller.set('noResults', false);\n      controller.set('isLoading', false);\n      controller.set('summarizeBy', null);\n\n      controller.set('showReport', false);\n      controller.set('isShowExportButton', false);\n      controller.set('title', null);\n    },\n    _setSummarizeByName: function _setSummarizeByName(summarizeByName) {\n      if (summarizeByName === this.get('intl').t('report.result.financialOverviewReport.headers.menu')) {\n        return this.get('intl').t('report.result.sponsorLoadedFundUsageReport.headers.menu');\n      } else {\n        return this.get('intl').t('report.result.sponsorLoadedFundUsageReport.headers.date');\n      }\n    },\n    actions: {\n      willTransition: function willTransition(transition) {\n        window.stop();\n        if (!this._isValidTransition(transition.targetName)) {\n          Logger.debug('Aborting transition invalid route');\n          this.transitionTo('index');\n        } else {\n          return true;\n        }\n      },\n      search: function search(queryOptions) {\n        var _this = this;\n\n        var query = queryOptions.getProperties(['reportOutput']);\n        //get locationGroup id and push them into query\n        query['locationGroup'] = queryOptions.get('selectedLocationGroup.id');\n        //get companyRole and push them into query\n        query['companyRole'] = queryOptions.get('companyRole');\n        //get summarizeBy filter and push it into query\n        query['summarizeBy'] = queryOptions.get('summarizeBy.id');\n        //push companyId into query\n        if (this.get('isBRUser')) {\n          if (this.get('lockedCompany') !== undefined) {\n            Logger.debug('BR-user (locked to a company): Getting report for all company locations in locationGroup.');\n            query['companyId'] = this.get('lockedCompany.id');\n          } else {\n            Logger.debug('BR-user: Getting locationGroup report.');\n          }\n        } else {\n          Logger.debug('Company user: Getting report for all company locations in locationGroup.');\n          query['companyId'] = this.get('loggedAccount.company.id');\n        }\n        //get to and from dates and parse them to UTC timezone and push them into query\n        query['fromDate'] = (0, _moment[\"default\"])(queryOptions.get('fromDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n        query['toDate'] = (0, _moment[\"default\"])(queryOptions.get('toDate')).format(\"MM-DD-YYYY HH:mm:ss\").toString();\n\n        query['isEmailDelivery'] = queryOptions.get('isEmailDelivery');\n        query['emails'] = queryOptions.get('emails');\n        query['menus'] = queryOptions.get('menus').mapBy('id');\n        query['locations'] = queryOptions.get('locations').mapBy('id');\n        query['vendors'] = queryOptions.get('vendors');\n        query['isExport'] = queryOptions.get('isExport');\n\n        //set property to TRUE\n        this.controller.set('isLoading', true);\n        this.controller.set('showReport', true);\n        this.controller.set('isShowExportButton', false);\n\n        this.store.queryRecord('sponsorLoadedFundUsageReport', query).then(function (report) {\n          if (query['isExport']) {\n            (function () {\n              _this.controller.set('showReport', true);\n              var endpoint = report.get('outputFileName');\n              var _authToken = _this.get('session.data.authenticated.access_token');\n              var options = {\n                url: endpoint,\n                type: 'GET',\n                xhrFields: {\n                  responseType: 'blob'\n                }\n              };\n\n              options.beforeSend = function (xhr) {\n                xhr.setRequestHeader('Authorization', 'Bearer ' + _authToken);\n              };\n              options.success = function (result, status, response) {\n                //set property to FALSE\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('isShowExportButton', true);\n                _this.controller.set('title', _this._setSummarizeByName(queryOptions.get('summarizeBy.name')));\n\n                if (query['isEmailDelivery']) {\n                  _this.get('notify').success(_this.get('intl').t('report.dialog.emailSent'));\n                } else {\n                  var blob = undefined;\n                  if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                    blob = new Blob([result], { type: \"text/csv\" });\n                  } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                    blob = new Blob([result], { type: \"application/pdf\" });\n                  }\n                  var contentDispositionHeader = response.getResponseHeader('Content-Disposition');\n                  var filename = contentDispositionHeader.split(';')[1].trim().split('=')[1];\n                  window.saveAs(blob, filename);\n                }\n              };\n              options.error = function () {\n                _this.controller.set('isLoading', false);\n                _this.controller.set('showReport', true);\n                _this.controller.set('title', _this._setSummarizeByName(queryOptions.get('summarizeBy.name')));\n                console.log('error');\n                if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.csv')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.csvFileError'), { closeAfter: 5000 });\n                } else if (query['reportOutput'] === _this.get('intl').t('report.searchCriteria.reportOutput.options.pdf')) {\n                  _this.get('notify').alert(_this.get('intl').t('report.result.errors.pdfFileError'), { closeAfter: 5000 });\n                }\n              };\n              _ember[\"default\"].$.ajax(options);\n            })();\n          } else {\n            _this.controller.set('report', report);\n            if (report['amountLoaded'] === 0) {\n              _this.controller.set('noResults', true);\n              _this.controller.set('isShowExportButton', false);\n            } else {\n              _this.controller.set('noResults', false);\n              _this.controller.set('isShowExportButton', true);\n            }\n\n            report['summarizeBy'] = queryOptions.get('summarizeBy.id');\n            //set property to FALSE\n            _this.controller.set('isLoading', false);\n            _this.controller.set('showReport', true);\n          }\n        });\n      },\n      hideReportResults: function hideReportResults() {\n        this.controller.set('showReport', false);\n      }\n    }\n  });\n});","define('fcs-dashboard/pods/sponsor-loaded-fund-usage-report/serializer', ['exports', 'ember-data', 'ember'], function (exports, _emberData, _ember) {\n  var guidFor = _ember['default'].guidFor;\n  exports['default'] = _emberData['default'].RESTSerializer.extend({\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload) {\n      payload.sponsorLoadedFundUsageReport.id = guidFor(payload.sponsorLoadedFundUsageReport);\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define('fcs-dashboard/pods/sponsor-loaded-fund-usage-report/sponsor-loaded-fund-usage-report-item/model', ['exports', 'model-fragments/fragment', 'ember-data/attr'], function (exports, _modelFragmentsFragment, _emberDataAttr) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    summarizeBy: (0, _emberDataAttr['default'])('string'),\n    sponsorLoadedFundName: (0, _emberDataAttr['default'])('string'),\n    amountSpent: (0, _emberDataAttr['default'])('number'),\n    paymentCount: (0, _emberDataAttr['default'])('number'),\n    wristbandsUsedCount: (0, _emberDataAttr['default'])('number')\n  });\n});","define(\"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"1/1Nn6JC\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"sponsor-loaded-fund-usage-report/search-criteria\\\"],null,[[\\\"search\\\",\\\"reportOptions\\\",\\\"isShowExportButton\\\",\\\"scheduleReport\\\",\\\"hideReportResults\\\"],[\\\"search\\\",[\\\"get\\\",[\\\"reportOptions\\\"]],[\\\"get\\\",[\\\"isShowExportButton\\\"]],\\\"scheduleReport\\\",\\\"hideReportResults\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showReport\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"sponsor-loaded-fund-usage-report/report-result\\\"],null,[[\\\"data\\\",\\\"noResults\\\"],[[\\\"get\\\",[\\\"report\\\"]],[\\\"get\\\",[\\\"noResults\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align: center\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-spinner fa-pulse fa-3x fa-fw\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"sr-only\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"search.list.loading\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isLoading\\\"]]],null,1,0]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/sponsor-loaded-fund-usage-report/template.hbs\" } });\n});","define('fcs-dashboard/pods/sub-order-item/model', ['exports', 'ember-data/attr', 'model-fragments/fragment', 'model-fragments/attributes', 'ember'], function (exports, _emberDataAttr, _modelFragmentsFragment, _modelFragmentsAttributes, _ember) {\n  var computed = _ember['default'].computed;\n  var inject = _ember['default'].inject;\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    intl: inject.service(),\n    status: (0, _emberDataAttr['default'])('string'),\n    price: (0, _emberDataAttr['default'])('number'),\n    quantity: (0, _emberDataAttr['default'])('number'),\n    productName: (0, _emberDataAttr['default'])('string'),\n    finalPrice: (0, _emberDataAttr['default'])('number'),\n    totalPrice: (0, _emberDataAttr['default'])('number'),\n    orderItemModifiers: (0, _modelFragmentsAttributes.fragmentArray)('orderItemModifier'),\n    formattedTotalPrice: computed('price', function () {\n      return this.get('intl').formatNumber(this.get('price'), { format: 'USD' });\n    })\n  });\n});","define(\"fcs-dashboard/pods/tableau-token/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\"], function (exports, _emberDataModel, _emberDataAttr) {\n  exports[\"default\"] = _emberDataModel[\"default\"].extend({\n    token: (0, _emberDataAttr[\"default\"])('string'),\n    reportName: (0, _emberDataAttr[\"default\"])('string'),\n    hostUrl: (0, _emberDataAttr[\"default\"])('string'),\n    embedCodeVersion: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define(\"fcs-dashboard/pods/tax-rate-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    disabled: false\n  });\n});","define('fcs-dashboard/pods/tax-type/model', ['exports', 'ember-data/attr', 'ember-data/model'], function (exports, _emberDataAttr, _emberDataModel) {\n  exports['default'] = _emberDataModel['default'].extend({\n    name: (0, _emberDataAttr['default'])('string')\n  });\n});","define(\"fcs-dashboard/pods/tender-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define('fcs-dashboard/pods/tender/cash/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    enabled: (0, _emberDataAttr['default'])('boolean'),\n    fastCashEnabled: (0, _emberDataAttr['default'])('boolean'),\n    displayType: (0, _emberDataAttr['default'])('number'),\n    discountEnabled: (0, _emberDataAttr['default'])('boolean'),\n    discount: (0, _emberDataAttr['default'])('number', { defaultValue: 0 }),\n    cashCoinRoundingEnabled: (0, _emberDataAttr['default'])('boolean'),\n    cashCoinRoundingType: (0, _emberDataAttr['default'])('number'),\n    cashCoinRoundingMode: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/tender/cashless/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    enabled: (0, _emberDataAttr['default'])('boolean'),\n    signatureEnabled: (0, _emberDataAttr['default'])('boolean'),\n    readerDisabled: (0, _emberDataAttr['default'])('boolean'),\n    creditCardSubmerchant: (0, _emberDataAttr['default'])('number'),\n    paypalSubmerchant: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/tender/chip-credit-card/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    enabled: (0, _emberDataAttr['default'])('boolean'),\n    validationMethod: (0, _emberDataAttr['default'])('number')\n  });\n});","define('fcs-dashboard/pods/tender/manual-credit-card/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    enabled: (0, _emberDataAttr['default'])('boolean'),\n    signatureEnabled: (0, _emberDataAttr['default'])('boolean')\n  });\n});","define('fcs-dashboard/pods/tender/swipe-credit-card/model', ['exports', 'ember-data/attr', 'model-fragments/fragment'], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports['default'] = _modelFragmentsFragment['default'].extend({\n    enabled: (0, _emberDataAttr['default'])('boolean'),\n    signatureEnabled: (0, _emberDataAttr['default'])('boolean')\n  });\n});","define(\"fcs-dashboard/pods/tip-button/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    buttonOne: (0, _emberDataAttr[\"default\"])('number'),\n    buttonTwo: (0, _emberDataAttr[\"default\"])('number'),\n    buttonThree: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/tip-percentage/model\", [\"exports\", \"ember-data/attr\", \"model-fragments/fragment\"], function (exports, _emberDataAttr, _modelFragmentsFragment) {\n  exports[\"default\"] = _modelFragmentsFragment[\"default\"].extend({\n    percentageOne: (0, _emberDataAttr[\"default\"])('number'),\n    percentageTwo: (0, _emberDataAttr[\"default\"])('number'),\n    percentageThree: (0, _emberDataAttr[\"default\"])('number')\n  });\n});","define(\"fcs-dashboard/pods/trait/delete-cell/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"cI/BJtJs\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-trash icon\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"trait.list.buttons.delete\\\"],null],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"delete\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/trait/delete-cell/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/trait/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'attributeSet.details.name.label' })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    companyId: (0, _emberDataAttr[\"default\"])('number'),\n    companyName: (0, _emberDataAttr[\"default\"])('string'),\n    deleted: (0, _emberDataAttr[\"default\"])('boolean', { defaultValue: false })\n  });\n});","define(\"fcs-dashboard/pods/trait/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.unloadAll('trait');\n      }\n    },\n    model: function model() {\n      Logger.debug('getting data!');\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      return this.store.query('trait', { companyId: company, page: 1, pageSize: 10 });\n    },\n    afterModel: function afterModel() {\n      this._super.apply(this, arguments);\n      if (this.get('isReportingUser')) {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      save: function save(item) {\n        var _this = this;\n\n        item.save().then(function () {\n          _this.send('cleanMessages');\n          _this.get('notify').success(_this.get('intl').t('trait.details.errors.successSave', { name: item.get('name') }));\n          _this.refresh();\n        })[\"catch\"](function (error) {\n          var message = 'trait.details.errors.savingError';\n          if (error !== undefined) {\n            message = \"trait.details.errors.\" + error.errors.get(0).detail;\n          }\n          var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: item.get('name') }), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n          item.rollbackAttributes();\n        });\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/trait/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZQy9rE74\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"trait/trait-list\\\"],null,[[\\\"traits\\\",\\\"save\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"refresh\\\"]]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/trait/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user-profile/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true),\n    longName: (0, _emberCpValidations.validator)('presence', true),\n    type: (0, _emberCpValidations.validator)('presence', true),\n    profileDisabled: (0, _emberCpValidations.validator)('presence', true),\n    defaultProfile: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    longName: (0, _emberDataAttr[\"default\"])('string'),\n    type: (0, _emberDataAttr[\"default\"])('number'),\n    profileDisabled: (0, _emberDataAttr[\"default\"])('boolean'),\n    defaultProfile: (0, _emberDataAttr[\"default\"])('boolean')\n  });\n});","define('fcs-dashboard/pods/user-profile/route', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Route.extend({});\n});","define(\"fcs-dashboard/pods/user-profile/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Xvq5uxAe\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"outlet\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user-profile/template.hbs\" } });\n});","define('fcs-dashboard/pods/user-type/model', ['exports', 'ember', 'ember-data/model', 'ember-data/attr', 'ember-data/relationships'], function (exports, _ember, _emberDataModel, _emberDataAttr, _emberDataRelationships) {\n  var computed = _ember['default'].computed;\n  var service = _ember['default'].inject.service;\n  exports['default'] = _emberDataModel['default'].extend({\n    type: (0, _emberDataAttr['default'])('string'),\n    users: (0, _emberDataRelationships.hasMany)('user'),\n    intl: service(),\n    translatedType: computed(function () {\n      return this.get('intl').t('userType.' + this.get('type'));\n    })\n  });\n});","define(\"fcs-dashboard/pods/user/change-password-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"Vrxpit7o\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-warning\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right:15px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"showChangePasswordModal\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.list.buttons.changePassword\\\"],null],false],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/change-password-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/edit-account/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var isEqual = _ember[\"default\"].isEqual;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    model: function model(params) {\n      if (this.get('loggedAccount.id') === params.user_id) {\n        return this.store.findRecord('user', params.user_id);\n      } else {\n        var errorMessage = this.get('notify').alert(\"Invalid action\", { closeAfter: 5000 });\n        this.get('errorMessages').addObject(errorMessage);\n        this.transitionTo('/');\n      }\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('user/editAccount', { into: 'application' });\n    },\n    _validateUser: function _validateUser(user, passwordConfirmation) {\n      var _this = this;\n\n      var isValid = true;\n      if (user.get('validations.isValid')) {\n        if (!isEmpty(user.get('password'))) {\n          if (!isEqual(user.get('password'), passwordConfirmation)) {\n            isValid = false;\n            var errorMessage = this.get('notify').alert(this.get('intl').t('user.details.errors.passwordNotMatch'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          }\n        }\n      } else {\n        isValid = false;\n        user.get('validations.errors').forEach(function (error) {\n          var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n          _this.get('errorMessages').addObject(errorMessage);\n        });\n      }\n\n      return isValid;\n    },\n    actions: {\n      cancel: function cancel(user) {\n        this.send('cleanMessages');\n        user.rollbackAttributes();\n        this.transitionTo('/');\n      },\n      save: function save(user, passwordConfirmation) {\n        var _this2 = this;\n\n        this.send('cleanMessages');\n        if (this._validateUser(user, passwordConfirmation)) {\n          user.save().then(function () {\n            _this2.get('notify').success(_this2.get('intl').t('user.details.errors.successSave'), { closeAfter: 5000 });\n            _this2.send('cleanMessages');\n            _this2.transitionTo('/');\n          })[\"catch\"](function (error) {\n            var message = 'user.details.errors.savingError';\n            if (error !== undefined) {\n              message = \"user.details.errors.\" + error.errors.get(0).detail;\n            }\n            var errorMessage = _this2.get('notify').alert(_this2.get('intl').t(message, { name: _this2.get('user.username') }), { closeAfter: 5000 });\n            _this2.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/user/edit-account/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"WDgEYgeU\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"user-mng/account-details\\\"],null,[[\\\"model\\\",\\\"save\\\",\\\"cancel\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/edit-account/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/edit-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"0Mu3wD/a\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[\\\"user.edit\\\",[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],[[\\\"class\\\"],[\\\"icon\\\"]],0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-pencil\\\"],[\\\"static-attr\\\",\\\"aria-hidden\\\",\\\"true\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.list.buttons.edit\\\"],null],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/edit-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/edit/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    model: function model(params) {\n      return this.store.findRecord('user', params.user_id, { reload: true });\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('user/edit', { into: 'application' });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        this.controller.get('model').rollbackAttributes();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/user/edit/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"j50VKSKp\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"user-mng/details\\\"],null,[[\\\"model\\\",\\\"save\\\",\\\"cancel\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/edit/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/loading/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin) {\n  var Route = _ember[\"default\"].Route;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], {\n    renderTemplate: function renderTemplate() {\n      this.render('user/loading', { into: 'application' });\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/user/loading/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"J5NqollG\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"row form-group\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"text-align:center; margin-top:150px\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"fa fa-cog fa-spin fa-4x fa-fw center-block\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"h3\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"general.fetchingDataMessage\\\"],null],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/loading/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/model\", [\"exports\", \"ember\", \"ember-data/model\", \"ember-data/attr\", \"fcs-dashboard/mixins/common-mixin\", \"ember-data/relationships\", \"ember-cp-validations\"], function (exports, _ember, _emberDataModel, _emberDataAttr, _fcsDashboardMixinsCommonMixin, _emberDataRelationships, _emberCpValidations) {\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var computed = _ember[\"default\"].computed;\n  var isEqual = _ember[\"default\"].isEqual;\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'user.details.name.label' }),\n    lastName: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'user.details.lastName.label' }),\n    username: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'user.details.username.label' }),\n    state: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'user.details.state.label' }),\n    userType: (0, _emberCpValidations.validator)('presence', { presence: true, descriptionKey: 'user.details.userType.label' }),\n    email: (0, _emberCpValidations.validator)('format', {\n      type: 'email',\n      regex: /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/,\n      descriptionKey: 'user.details.email.label',\n      disabled: computed(function () {\n        return isEmpty(this.get('model.email'));\n      }).volatile()\n    }),\n    userProfile: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'user.details.userProfile.label',\n      disabled: computed(function () {\n        var disabled = true;\n        //8 refers to COMPANY_USER userType\n        if (this.get('model.company.id') !== undefined && this.get('model.userType') !== undefined && this.get('model.userType.id') === '8') {\n          disabled = false;\n        }\n        return disabled;\n      }).volatile()\n    }),\n    company: (0, _emberCpValidations.validator)('presence', {\n      presence: true,\n      descriptionKey: 'user.details.company.label',\n      disabled: computed(function () {\n        var disabled = true;\n        //8 refers to COMPANY_USER userType\n        if (this.get('model.userType') !== undefined && this.get('model.userType.id') === '8') {\n          disabled = false;\n        }\n        return disabled;\n      }).volatile()\n    }),\n    password: (0, _emberCpValidations.validator)('format', {\n      regex: /^\\d{4,8}$/,\n      messageKey: 'user.details.errors.passwordNotNumeric',\n      disabled: computed(function () {\n        var disabled = true;\n        if (this.get('model.company.id') !== undefined && this.get('model.userProfile') !== undefined && this.get('model.userProfile.id') === '2' && this.get('model.password') !== null) {\n          disabled = false;\n        }\n        return disabled;\n      }).volatile()\n    })\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, _fcsDashboardMixinsCommonMixin[\"default\"], {\n    name: (0, _emberDataAttr[\"default\"])('string'),\n    lastName: (0, _emberDataAttr[\"default\"])('string'),\n    email: (0, _emberDataAttr[\"default\"])('string'),\n    username: (0, _emberDataAttr[\"default\"])('string'),\n    password: (0, _emberDataAttr[\"default\"])('string'),\n    state: (0, _emberDataAttr[\"default\"])('string'),\n    userType: (0, _emberDataRelationships.belongsTo)('userType'),\n    company: (0, _emberDataRelationships.belongsTo)('company'),\n    userProfile: (0, _emberDataRelationships.belongsTo)('userProfile'),\n    locationGroups: (0, _emberDataRelationships.hasMany)('locationGroup'),\n    intl: _ember[\"default\"].inject.service(),\n    translatedState: computed('state', function () {\n      return this.get('intl').t(\"user.statuses.\" + this.get('state'));\n    }),\n    fullName: computed('name', 'lastName', function () {\n      return this.get('name') + \" \" + this.get('lastName');\n    }),\n    dropDownName: computed('name', 'lastName', 'username', function () {\n      return this.get('name') + \" \" + this.get('lastName') + \"(\" + this.get('username') + \")\";\n    }),\n\n    navbarUserHeader: computed('lockedCompany', function () {\n      if (isEqual(Number(this.get('userType.id')), this.get('BR_USERTYPE')) && this.get('lockedCompany') === undefined) {\n        return this.get('intl').t('userType.brUser');\n      } else if (isEqual(Number(this.get('userType.id')), this.get('BR_USERTYPE')) && this.get('lockedCompany') !== undefined) {\n        return this.get('lockedCompany.name');\n      } else {\n        return this.get('company.name');\n      }\n    }),\n    lockedCompany: undefined\n  });\n});","define('fcs-dashboard/pods/user/new/route', ['exports', 'ember', 'ember-simple-auth/mixins/authenticated-route-mixin', 'fcs-dashboard/mixins/common-mixin'], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin) {\n  var Route = _ember['default'].Route;\n  exports['default'] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin['default'], _fcsDashboardMixinsCommonMixin['default'], {\n    model: function model() {\n      var defaultUserType = this.store.peekRecord('userType', this.get('COMPANY_USERTYPE'));\n      return this.store.createRecord('user', { state: 'active', userType: defaultUserType });\n    },\n    renderTemplate: function renderTemplate() {\n      this.render('user/new', { into: 'application' });\n    }\n  });\n});","define(\"fcs-dashboard/pods/user/new/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZbBZhlI8\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"user-mng/details\\\"],null,[[\\\"model\\\",\\\"save\\\",\\\"cancel\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"cancel\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/new/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/reset-password-email-action/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"wf/9QeSW\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-danger\\\"],[\\\"static-attr\\\",\\\"style\\\",\\\"margin-right:15px\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sendAction\\\",\\\"resetPasswordEmail\\\",[\\\"get\\\",[\\\"record\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"t\\\"],[\\\"user.list.buttons.resetPassword\\\"],null],false],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/reset-password-email-action/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/user/route\", [\"exports\", \"ember\", \"ember-simple-auth/mixins/authenticated-route-mixin\", \"fcs-dashboard/mixins/common-mixin\", \"fcs-dashboard/mixins/base-component\"], function (exports, _ember, _emberSimpleAuthMixinsAuthenticatedRouteMixin, _fcsDashboardMixinsCommonMixin, _fcsDashboardMixinsBaseComponent) {\n  var Route = _ember[\"default\"].Route;\n  var isEmpty = _ember[\"default\"].isEmpty;\n  var isEqual = _ember[\"default\"].isEqual;\n  var Logger = _ember[\"default\"].Logger;\n  exports[\"default\"] = Route.extend(_emberSimpleAuthMixinsAuthenticatedRouteMixin[\"default\"], _fcsDashboardMixinsCommonMixin[\"default\"], _fcsDashboardMixinsBaseComponent[\"default\"], {\n    beforeModel: function beforeModel() {\n      this._super.apply(this, arguments);\n      if (this.get('session.isAuthenticated')) {\n        this.store.findAll('userType');\n      }\n      var allCompanies = this.store.peekAll('company');\n      if (allCompanies.get('content').length === 0) {\n        this.store.findAll('company');\n      }\n    },\n    model: function model() {\n      Logger.debug('getting data!');\n      var company = undefined;\n      if (this.get('lockedCompany') !== undefined) {\n        company = this.get('lockedCompany.id');\n      } else if (!this.get('isBRUser')) {\n        company = this.get('loggedAccount.company.id');\n      }\n      return this.store.query('user', { companyId: company });\n    },\n    afterModel: function afterModel(model, transition) {\n      this._super.apply(this, arguments);\n      if (this.get('isReportingUser') && transition.intent.name !== \"user.edit-account\") {\n        this.transitionTo('');\n      }\n    },\n    actions: {\n      willTransition: function willTransition() {\n        window.stop();\n        return true;\n      },\n      cancel: function cancel(user) {\n        this.send('cleanMessages');\n        user.rollbackAttributes();\n        this.transitionTo('user');\n      },\n      save: function save(user, passwordConfirmation) {\n        var _this = this;\n\n        this.send('cleanMessages');\n        if (user.get('validations.isValid')) {\n          if (user.get('isNew') && isEmpty(user.get('password'))) {\n            var errorMessage = this.get('notify').alert(this.get('intl').t('user.details.errors.passwordEmpty'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          } else if (user.get('isNew') && !isEqual(user.get('password'), passwordConfirmation)) {\n            var errorMessage = this.get('notify').alert(this.get('intl').t('user.details.errors.passwordNotMatch'), { closeAfter: 5000 });\n            this.get('errorMessages').addObject(errorMessage);\n          } else {\n            (function () {\n              var message = undefined;\n              if (passwordConfirmation === undefined && !user.get('isNew')) {\n                message = 'user.details.errors.successPasswordChange';\n              } else {\n                message = 'user.details.errors.successSave';\n              }\n              user.save().then(function () {\n                _this.get('notify').success(_this.get('intl').t(message));\n                _this.send('cleanMessages');\n                _this.transitionTo('user');\n                _this.refresh();\n              })[\"catch\"](function (error) {\n                var message = 'user.details.errors.savingError';\n                if (error !== undefined) {\n                  message = \"user.details.errors.\" + error.errors.get(0).detail;\n                }\n                var errorMessage = _this.get('notify').alert(_this.get('intl').t(message, { name: _this.get('user.username') }), { closeAfter: 5000 });\n                _this.get('errorMessages').addObject(errorMessage);\n              });\n            })();\n          }\n        } else {\n          user.get('validations.errors').forEach(function (error) {\n            var errorMessage = _this.get('notify').alert(error.get('message'), { closeAfter: 5000 });\n            _this.get('errorMessages').addObject(errorMessage);\n          });\n        }\n      },\n      refresh: function refresh() {\n        Logger.debug('refreshing');\n        this.refresh();\n      }\n    }\n  });\n});","define(\"fcs-dashboard/pods/user/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"7YT7Kg8X\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"user-mng/list\\\"],null,[[\\\"data\\\",\\\"save\\\",\\\"refreshAction\\\"],[[\\\"get\\\",[\\\"model\\\"]],\\\"save\\\",\\\"refresh\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/pods/user/template.hbs\" } });\n});","define(\"fcs-dashboard/pods/validation-method-type/model\", [\"exports\", \"ember-data/model\", \"ember-data/attr\", \"ember-cp-validations\"], function (exports, _emberDataModel, _emberDataAttr, _emberCpValidations) {\n\n  var Validations = (0, _emberCpValidations.buildValidations)({\n    name: (0, _emberCpValidations.validator)('presence', true)\n  });\n\n  exports[\"default\"] = _emberDataModel[\"default\"].extend(Validations, {\n    name: (0, _emberDataAttr[\"default\"])('string')\n  });\n});","define('fcs-dashboard/pods/version-session/service', ['exports', 'ember'], function (exports, _ember) {\n  var Service = _ember['default'].Service;\n  var inject = _ember['default'].inject;\n  var computed = _ember['default'].computed;\n  exports['default'] = Service.extend({\n    store: inject.service(),\n    version: computed(function () {\n      return this.get('store').queryRecord('version', {});\n    })\n  });\n});","define('fcs-dashboard/pods/version/model', ['exports', 'ember-data/model', 'ember-data/attr'], function (exports, _emberDataModel, _emberDataAttr) {\n  exports['default'] = _emberDataModel['default'].extend({\n    version: (0, _emberDataAttr['default'])('string')\n  });\n});","define('fcs-dashboard/resolver', ['exports', 'ember-resolver'], function (exports, _emberResolver) {\n  exports['default'] = _emberResolver['default'];\n});","define(\"fcs-dashboard/router\", [\"exports\", \"ember\", \"fcs-dashboard/config/environment\"], function (exports, _ember, _fcsDashboardConfigEnvironment) {\n\n  var Router = _ember[\"default\"].Router.extend({\n    location: _fcsDashboardConfigEnvironment[\"default\"].locationType,\n    rootURL: _fcsDashboardConfigEnvironment[\"default\"].rootURL\n  });\n\n  Router.map(function () {\n    this.route('login');\n    this.route('user', function () {\n      this.route('new');\n      this.route('edit', { path: ':user_id' });\n      this.route('edit-account', { path: ':user_id/edit-account' });\n      this.route('loading');\n    });\n    this.route('company', function () {\n      this.route('new');\n      this.route('edit', { path: ':company_id' });\n      this.route('loading');\n    });\n    this.route('userProfile');\n    this.route('location');\n    this.route('menu', function () {\n      this.route('new');\n      this.route('edit', { path: ':menu_id' });\n      this.route('loading');\n    });\n    this.route('productType');\n    this.route('productCatalog');\n    this.route('gateway', function () {\n      this.route('edit', { path: ':gateway_id' });\n      this.route('new');\n      this.route('loading');\n    });\n    this.route('locationGroup', function () {\n      this.route('new');\n      this.route('edit', { path: ':locationGroup_id' });\n    });\n    this.route('searchOrder', function () {\n      this.route('result');\n    });\n    this.route('salesReport');\n    this.route('reviewConfiguration');\n    this.route('contact');\n\n    this.route('location-group', function () {\n      this.route('loading');\n    });\n    this.route('clerkReport');\n    this.route('financialOverviewReport');\n    this.route('productMixReport');\n    this.route('multiProductPmixReport');\n    this.route('version');\n    this.route('paymentResultReport');\n    this.route('sponsorLoadedFundUsageReport');\n    this.route('itemTokenUsageReport');\n    this.route('attributeSet');\n    this.route('trait');\n    this.route('pmixWithCombos');\n    this.route('embeddableReport', { path: ':report_id' });\n    this.route('posToken');\n    this.route('passwordReset', { path: '/passwordResets/:session_token' });\n    this.route('kdsStation');\n    this.route('onlineOrderingLink');\n    this.route('deliveryDestination');\n    this.route('savedNetwork');\n    this.route('high-level-invoicing-report');\n    this.route('menu-audit-report');\n    this.route('promotions-audit-report');\n    this.route('event-analytics', function () {\n      this.route('new');\n      this.route('edit', { path: ':event_analytics_id' });\n    });\n  });\n\n  exports[\"default\"] = Router;\n});","define('fcs-dashboard/routes/application', ['exports', 'ember'], function (exports, _ember) {\n\n  // Ensure the application route exists for ember-simple-auth's `setup-session-restoration` initializer\n  exports['default'] = _ember['default'].Route.extend();\n});","define('fcs-dashboard/services/ajax', ['exports', 'ember-ajax/services/ajax'], function (exports, _emberAjaxServicesAjax) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberAjaxServicesAjax['default'];\n    }\n  });\n});","define('fcs-dashboard/services/cookies', ['exports', 'ember-cookies/services/cookies'], function (exports, _emberCookiesServicesCookies) {\n  exports['default'] = _emberCookiesServicesCookies['default'];\n});","define('fcs-dashboard/services/drag-coordinator', ['exports', 'ember-drag-drop/services/drag-coordinator'], function (exports, _emberDragDropServicesDragCoordinator) {\n  exports['default'] = _emberDragDropServicesDragCoordinator['default'];\n});","define('fcs-dashboard/services/ember-elsewhere', ['exports', 'ember-elsewhere/services/ember-elsewhere'], function (exports, _emberElsewhereServicesEmberElsewhere) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberElsewhereServicesEmberElsewhere['default'];\n    }\n  });\n});","define('fcs-dashboard/services/intl', ['exports', 'ember-intl/services/intl'], function (exports, _emberIntlServicesIntl) {\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberIntlServicesIntl['default'];\n    }\n  });\n});","define(\"fcs-dashboard/services/location-group-save\", [\"exports\", \"ember\"], function (exports, _ember) {\n  var $ = _ember[\"default\"].$;\n  var RSVP = _ember[\"default\"].RSVP;\n  var inject = _ember[\"default\"].inject;\n  var isEmpty = _ember[\"default\"].isEmpty;\n\n  /**\n   * BRP-4046 Phase 3 save-orchestrator.\n   *\n   * Replaces the monolithic embedded `PUT /api/v1/locationGroups/{id}` save with per-collection delta\n   * calls to the sub-resource endpoints. The location-group serializer drops `promotions`/`customFees`\n   * from the outgoing root payload (see location-group/serializer.js), so:\n   *   - `item.save()` issues the root PUT carrying only root fields + cashlessInformation + companyRoles\n   *     + wristbandAttachments (those still ride the root endpoint, which leaves the dropped collections\n   *     untouched server-side), and\n   *   - this service fans out promotions (+ nested product/bin deltas) and customFees to the new endpoints.\n   *\n   * Results are aggregated: the returned promise rejects with `{ failures: [...] }` if any sub-call fails,\n   * so the editor can show a per-collection failure summary without claiming a successful save. Every\n   * delta endpoint is idempotent server-side, so re-clicking Save safely retries only the still-dirty parts.\n   *\n   * BRP-4071 follow-up: the sub-resource save intent (serialized bodies + product/bin deltas) is captured\n   * BEFORE the root save. The root PUT response embeds promotions/customFees (serializer\n   * `deserialize: 'records'`), so `locationGroup.save()` re-hydrates those relationships from server state\n   * on resolve -- which resets the user's in-memory belongsTo edits (e.g. promotion status) and clears\n   * `changedAttributes()`. Reading them AFTER the save resolves therefore serialized stale (pre-edit) data\n   * or found an emptied list and fanned out nothing. We snapshot up front, then fire the calls after the\n   * root save resolves so a brand-new location group's server-assigned id is available.\n   */\n  exports[\"default\"] = _ember[\"default\"].Service.extend({\n    session: inject.service(),\n\n    /**\n     * Saves the location group via the root PUT plus per-collection delta calls.\n     * @param {DS.Model} locationGroup the edited location-group record\n     * @return {RSVP.Promise} resolves with { results } on full success; rejects with { failures } otherwise\n     */\n    save: function save(locationGroup) {\n      var _this = this;\n\n      var token = this.get(\"session.data.authenticated.access_token\");\n\n      // Snapshot BEFORE the root save (see class comment): serialize each promotion/custom-fee and\n      // compute its product/bin deltas now, while the records still reflect the user's edits.\n      var promotionPlans = locationGroup.get(\"promotions\").toArray().map(function (p) {\n        return _this._planPromotion(p);\n      });\n      var customFeePlans = locationGroup.get(\"customFees\").toArray().map(function (f) {\n        return _this._planCustomFee(f);\n      });\n\n      // Root PUT/POST first: for a NEW location group the id is assigned by the root save, and the\n      // promotion/custom-fee endpoints are nested under it. For an existing LG this simply orders the\n      // root PUT ahead of the (pre-captured) fan-out.\n      return locationGroup.save().then(function () {\n        var lgId = locationGroup.get(\"id\");\n        var calls = [];\n\n        promotionPlans.forEach(function (plan) {\n          calls.push(_this._labeled(plan.label, _this._runPromotionPlan(lgId, plan, token)));\n        });\n        customFeePlans.forEach(function (plan) {\n          calls.push(_this._labeled(plan.label, _this._runCustomFeePlan(lgId, plan, token)));\n        });\n\n        return RSVP.all(calls).then(function (results) {\n          var failures = results.filter(function (r) {\n            return r && !r.ok;\n          });\n          if (failures.length > 0) {\n            return RSVP.reject({ failures: failures });\n          }\n          return { results: results };\n        });\n      }, function (rootError) {\n        // Root save failed (e.g. duplicate name) -- surface it as a root failure so the editor can map\n        // the backend error detail to a specific message; the sub-resource fan-out never runs.\n        return RSVP.reject({ failures: [{ collection: \"root\", ok: false, error: rootError }] });\n      });\n    },\n\n    /** Wraps a promise so it always resolves to { collection, ok, error } for aggregation. */\n    _labeled: function _labeled(collection, promise) {\n      return promise.then(function () {\n        return { collection: collection, ok: true };\n      }, function (error) {\n        return { collection: collection, ok: false, error: error };\n      });\n    },\n\n    _promotionLabel: function _promotionLabel(promotion) {\n      return \"promotion:\" + (promotion.get(\"id\") || promotion.get(\"name\"));\n    },\n\n    /**\n     * Captures everything needed to persist a promotion, computed from the record's CURRENT (edited)\n     * state -- must run before the root save re-hydrates the promotions relationship from the response.\n     */\n    _planPromotion: function _planPromotion(promotion) {\n      var isNew = promotion.get(\"isNew\") || isEmpty(promotion.get(\"id\"));\n      return {\n        isNew: isNew,\n        id: promotion.get(\"id\"),\n        label: this._promotionLabel(promotion),\n        body: promotion.serialize(),\n        products: this._planProductDelta(promotion, isNew),\n        bins: this._planBinDelta(promotion, isNew),\n        images: this._planImageDelta(promotion)\n      };\n    },\n\n    /** Add/remove product-catalog delta (full add for a new promotion); null when nothing changed. */\n    _planProductDelta: function _planProductDelta(promotion, isNew) {\n      if (isNew) {\n        return { add: (promotion.get(\"productCatalogs\") || []).slice(), remove: [] };\n      }\n      var changed = promotion.changedAttributes().productCatalogs;\n      if (!changed) {\n        return null;\n      }\n      var before = changed[0] || [];\n      var after = changed[1] || [];\n      return {\n        add: after.filter(function (id) {\n          return before.indexOf(id) < 0;\n        }),\n        remove: before.filter(function (id) {\n          return after.indexOf(id) < 0;\n        })\n      };\n    },\n\n    /** Add/remove BIN-number delta decoded from binCsv (full add for a new promotion); null when unchanged. */\n    _planBinDelta: function _planBinDelta(promotion, isNew) {\n      if (isNew) {\n        return { add: this._decodeBins(promotion.get(\"binCsv\")), remove: [] };\n      }\n      var changed = promotion.changedAttributes().binCsv;\n      if (!changed) {\n        return null;\n      }\n      var before = this._decodeBins(changed[0]);\n      var after = this._decodeBins(changed[1]);\n      return {\n        add: after.filter(function (b) {\n          return before.indexOf(b) < 0;\n        }),\n        remove: before.filter(function (b) {\n          return after.indexOf(b) < 0;\n        })\n      };\n    },\n\n    /**\n     * Add/update/remove image delta for a promotion (BRP-4071). Images are a `belongsTo`-heavy hasMany\n     * that `changedAttributes()` can't diff, so: new images (no id) POST, removed existing images\n     * (`deleted:true`) DELETE, and every kept existing image is re-PUT idempotently (a placement change\n     * isn't dirty-tracked). Computed from the promotion's CURRENT state -- captured before the root save.\n     * Returns null when there is nothing to reconcile.\n     */\n    _planImageDelta: function _planImageDelta(promotion) {\n      var images = promotion.get(\"images\") || [];\n      var add = [];\n      var update = [];\n      var remove = [];\n      images.forEach(function (img) {\n        var isNewImg = img.get(\"isNew\") || isEmpty(img.get(\"id\"));\n        var placement = img.get(\"imagePlacement.id\");\n        var imagePlacement = isEmpty(placement) ? null : parseInt(placement, 10);\n        if (img.get(\"deleted\")) {\n          if (!isNewImg) {\n            remove.push(img.get(\"id\"));\n          }\n        } else if (isNewImg) {\n          add.push({ image: img.get(\"image\"), imagePlacement: imagePlacement });\n        } else {\n          // Kept existing image: re-PUT its placement (+ a replacement base64 only when one was uploaded).\n          update.push({ id: img.get(\"id\"), imagePlacement: imagePlacement, image: img.get(\"image\") || null });\n        }\n      });\n      if (add.length === 0 && update.length === 0 && remove.length === 0) {\n        return null;\n      }\n      return { add: add, update: update, remove: remove };\n    },\n\n    /** Issues the promotion POST/PUT + its product/bin/image delta calls from a pre-captured plan. */\n    _runPromotionPlan: function _runPromotionPlan(lgId, plan, token) {\n      var _this2 = this;\n\n      if (plan.isNew) {\n        return this._ajax(\"POST\", \"/api/v1/locationGroups/\" + lgId + \"/promotions\", plan.body, token).then(function (resp) {\n          var newId = resp.promotion.id;\n          return RSVP.all([_this2._runProductDelta(newId, plan.products, token), _this2._runBinDelta(newId, plan.bins, token), _this2._runImageDelta(newId, plan.images, token)]);\n        });\n      }\n      var pId = plan.id;\n      // BRP-4071 (TC-028): always re-PUT an existing promotion. Ember Data's `hasDirtyAttributes`\n      // tracks `attr()` changes only -- never `belongsTo`/`hasMany` -- so gating the PUT on it dropped\n      // status (Active<->Inactive) and every other belongsTo edit (type / amountType / appliesTo /\n      // redemptionRule / triggerType). The backend promotion PUT is idempotent, so re-PUTting an\n      // unchanged promotion is safe. Product/bin deltas below run on their own change detection.\n      return this._ajax(\"PUT\", \"/api/v1/locationGroups/\" + lgId + \"/promotions/\" + pId, plan.body, token).then(function () {\n        return RSVP.all([_this2._runProductDelta(pId, plan.products, token), _this2._runBinDelta(pId, plan.bins, token), _this2._runImageDelta(pId, plan.images, token)]);\n      });\n    },\n\n    /** PUT /promotions/{id}/products with a pre-captured add/remove delta (no-op when null/empty). */\n    _runProductDelta: function _runProductDelta(promotionId, delta, token) {\n      if (!delta || delta.add.length === 0 && delta.remove.length === 0) {\n        return RSVP.resolve();\n      }\n      return this._ajax(\"PUT\", \"/api/v1/promotions/\" + promotionId + \"/products\", { add: delta.add, remove: delta.remove }, token);\n    },\n\n    /** PUT /promotions/{id}/bins with a pre-captured add/remove delta (no-op when null/empty). */\n    _runBinDelta: function _runBinDelta(promotionId, delta, token) {\n      if (!delta || delta.add.length === 0 && delta.remove.length === 0) {\n        return RSVP.resolve();\n      }\n      return this._ajax(\"PUT\", \"/api/v1/promotions/\" + promotionId + \"/bins\", { add: delta.add, remove: delta.remove }, token);\n    },\n\n    /**\n     * Reconciles a promotion's images from a pre-captured plan: POST each new image, PUT each kept\n     * existing image (placement + optional replacement), DELETE each removed existing image.\n     */\n    _runImageDelta: function _runImageDelta(promotionId, delta, token) {\n      var _this3 = this;\n\n      if (!delta) {\n        return RSVP.resolve();\n      }\n      var calls = [];\n      delta.add.forEach(function (img) {\n        calls.push(_this3._ajax(\"POST\", \"/api/v1/promotions/\" + promotionId + \"/images\", img, token));\n      });\n      delta.update.forEach(function (img) {\n        calls.push(_this3._ajax(\"PUT\", \"/api/v1/promotions/\" + promotionId + \"/images/\" + img.id, { imagePlacement: img.imagePlacement, image: img.image }, token));\n      });\n      delta.remove.forEach(function (imageId) {\n        calls.push(_this3._ajax(\"DELETE\", \"/api/v1/promotions/\" + promotionId + \"/images/\" + imageId, null, token));\n      });\n      return RSVP.all(calls);\n    },\n\n    /** Decodes a base64 `binCsv` data string (\"...;base64,<b64>\") into an array of BIN numbers. */\n    _decodeBins: function _decodeBins(binCsv) {\n      if (isEmpty(binCsv)) {\n        return [];\n      }\n      var parts = binCsv.split(\",\");\n      var b64 = parts.length > 1 ? parts[1] : parts[0];\n      try {\n        return window.atob(b64).split(/[,\\n]/).map(function (b) {\n          return b.trim();\n        }).filter(function (b) {\n          return b.length > 0;\n        });\n      } catch (e) {\n        return [];\n      }\n    },\n\n    /** Captures a custom fee's save intent from its CURRENT state (before the root save re-hydrates). */\n    _planCustomFee: function _planCustomFee(customFee) {\n      var isNew = customFee.get(\"isNew\") || isEmpty(customFee.get(\"id\"));\n      return {\n        isNew: isNew,\n        id: customFee.get(\"id\"),\n        label: \"customFee:\" + customFee.get(\"id\"),\n        deleted: customFee.get(\"deleted\"),\n        changed: customFee.get(\"changed\") || customFee.get(\"hasDirtyAttributes\"),\n        body: customFee.serialize()\n      };\n    },\n\n    /** Issues the custom-fee POST/PUT/DELETE from a pre-captured plan. */\n    _runCustomFeePlan: function _runCustomFeePlan(lgId, plan, token) {\n      if (plan.deleted) {\n        if (plan.isNew) {\n          return RSVP.resolve(); // never persisted -- nothing to delete\n        }\n        return this._ajax(\"DELETE\", \"/api/v1/locationGroups/\" + lgId + \"/customFees/\" + plan.id, null, token);\n      }\n      if (plan.isNew) {\n        return this._ajax(\"POST\", \"/api/v1/locationGroups/\" + lgId + \"/customFees\", plan.body, token);\n      }\n      if (plan.changed) {\n        return this._ajax(\"PUT\", \"/api/v1/locationGroups/\" + lgId + \"/customFees/\" + plan.id, plan.body, token);\n      }\n      return RSVP.resolve();\n    },\n\n    /** Authenticated JSON ajax call returning an RSVP promise. */\n    _ajax: function _ajax(method, url, data, token) {\n      return new RSVP.Promise(function (resolve, reject) {\n        $.ajax({\n          url: url,\n          method: method,\n          headers: { Authorization: \"Bearer \" + token },\n          contentType: \"application/json\",\n          data: isEmpty(data) ? undefined : JSON.stringify(data),\n          dataType: \"json\"\n        }).done(function (response) {\n          return resolve(response);\n        }).fail(function (xhr) {\n          return reject(xhr);\n        });\n      });\n    }\n  });\n});","define('fcs-dashboard/services/media', ['exports', 'ember-responsive/media'], function (exports, _emberResponsiveMedia) {\n  exports['default'] = _emberResponsiveMedia['default'];\n});","define('fcs-dashboard/services/modal-dialog', ['exports', 'ember', 'ember-modal-dialog/services/modal-dialog', 'fcs-dashboard/config/environment'], function (exports, _ember, _emberModalDialogServicesModalDialog, _fcsDashboardConfigEnvironment) {\n  var computed = _ember['default'].computed;\n  exports['default'] = _emberModalDialogServicesModalDialog['default'].extend({\n    destinationElementId: computed(function () {\n      /*\n        everywhere except test, this property will be overwritten\n        by the initializer that appends the modal container div\n        to the DOM. because initializers don't run in unit/integration\n        tests, this is a nice fallback.\n      */\n      if (_fcsDashboardConfigEnvironment['default'].environment === 'test') {\n        return 'ember-testing';\n      }\n    })\n  });\n});","define('fcs-dashboard/services/moment', ['exports', 'ember', 'fcs-dashboard/config/environment', 'ember-moment/services/moment'], function (exports, _ember, _fcsDashboardConfigEnvironment, _emberMomentServicesMoment) {\n  exports['default'] = _emberMomentServicesMoment['default'].extend({\n    defaultFormat: _ember['default'].get(_fcsDashboardConfigEnvironment['default'], 'moment.outputFormat')\n  });\n});","define('fcs-dashboard/services/notify', ['exports', 'ember-notify'], function (exports, _emberNotify) {\n  exports['default'] = _emberNotify['default'];\n});","define('fcs-dashboard/services/resize-detector', ['exports', 'ember-element-resize-detector/services/resize-detector'], function (exports, _emberElementResizeDetectorServicesResizeDetector) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberElementResizeDetectorServicesResizeDetector['default'];\n    }\n  });\n});","define('fcs-dashboard/services/scrollbar-thickness', ['exports', 'ember-scrollable/services/scrollbar-thickness'], function (exports, _emberScrollableServicesScrollbarThickness) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberScrollableServicesScrollbarThickness['default'];\n    }\n  });\n});","define('fcs-dashboard/services/session', ['exports', 'ember-simple-auth/services/session'], function (exports, _emberSimpleAuthServicesSession) {\n  exports['default'] = _emberSimpleAuthServicesSession['default'];\n});","define('fcs-dashboard/services/text-measurer', ['exports', 'ember-text-measurer/services/text-measurer'], function (exports, _emberTextMeasurerServicesTextMeasurer) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberTextMeasurerServicesTextMeasurer['default'];\n    }\n  });\n});","define('fcs-dashboard/session-stores/application', ['exports', 'ember-simple-auth/session-stores/adaptive'], function (exports, _emberSimpleAuthSessionStoresAdaptive) {\n  exports['default'] = _emberSimpleAuthSessionStoresAdaptive['default'].extend();\n});","define(\"fcs-dashboard/templates/components/-native-select\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"RzIKSeHS\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"select\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"native-select form-control\\\"],[\\\"dynamic-attr\\\",\\\"title\\\",[\\\"unknown\\\",[\\\"title\\\"]],null],[\\\"dynamic-attr\\\",\\\"multiple\\\",[\\\"unknown\\\",[\\\"multiple\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectByValue\\\"],[[\\\"on\\\"],[\\\"change\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showNativePrompt\\\"]]],null,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nestedGroupContentList\\\",\\\"firstObject\\\",\\\"name\\\"]]],null,4,1],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"option\\\",[]],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"value\\\"]],null],[\\\"dynamic-attr\\\",\\\"selected\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"selected\\\"]],null],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"label\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"contentList\\\"]]],null,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"option\\\",[]],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"value\\\"]],null],[\\\"dynamic-attr\\\",\\\"selected\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"selected\\\"]],null],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"label\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"optgroup\\\",[]],[\\\"dynamic-attr\\\",\\\"label\\\",[\\\"unknown\\\",[\\\"group\\\",\\\"name\\\"]],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"group\\\",\\\"items\\\"]]],null,2],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"group\\\"]},{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"nestedGroupContentList\\\"]]],null,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"option\\\",[]],[\\\"static-attr\\\",\\\"value\\\",\\\"\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"promptMessage\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/-native-select.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/bs-datetimepicker\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"aHSahRHx\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"has-block\\\",\\\"default\\\"]],null,2,1],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"noIcon\\\"]]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group-addon\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"icons\\\",\\\"date\\\"]],[\\\"get\\\",[\\\"icons\\\",\\\"date\\\"]],[\\\"get\\\",[\\\"dateIcon\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"disabled\\\",\\\"name\\\",\\\"placeholder\\\"],[\\\"text\\\",\\\"form-control\\\",[\\\"get\\\",[\\\"disabled\\\"]],[\\\"get\\\",[\\\"textFieldName\\\"]],[\\\"get\\\",[\\\"placeholder\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/bs-datetimepicker.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/credit-card-form\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EGfdvUCG\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"clearfix\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"numberValid\\\"]],\\\"has-success\\\"],null],\\\" form-group cc-number\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Card Number\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-credit-card-number\\\"],null,[[\\\"number\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"number\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"cvcValid\\\"]],\\\"has-success\\\"],null],\\\" form-group cc-cvc\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Security Code\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-credit-card-cvc\\\"],null,[[\\\"cvc\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"cvc\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"clearfix\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nameValid\\\"]],\\\"has-success\\\"],null],\\\" form-group cc-name\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Name on Card\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",[\\\"get\\\",[\\\"name\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"expirationValid\\\"]],\\\"has-success\\\"],null],\\\" form-group cc-expiration\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Expiration\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-credit-card-expiration\\\"],null,[[\\\"month\\\",\\\"year\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"month\\\"]],[\\\"get\\\",[\\\"year\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"zipcodeRequired\\\"]]],null,0],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"type\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"type\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"zipcodeValid\\\"]],\\\"has-success\\\"],null],\\\" form-group cc-expiration\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"control-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"Zip Code\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input-credit-card-zipcode\\\"],null,[[\\\"zipcode\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"zipcode\\\"]],\\\"form-control\\\"]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/credit-card-form.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/draggable-object-target\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZpAZ7nlX\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"enableClicking\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"acceptForDrop\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/draggable-object-target.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/draggable-object\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"NeAqPqAs\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"enableClicking\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectForDrag\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/draggable-object.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/em-timezone-input\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"tkYfNs0F\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"map-wrap\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"wrapStyles\\\"]],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"map-inset\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"insetStyles\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"click\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"map-axis-x\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"axisXStyle\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"map-axis-y\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"axisYStyle\\\"]],null],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"zones\\\"]]],null,1],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"map-label\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"select\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"selectClass\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"change\\\"],[[\\\"on\\\"],[\\\"change\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"zones\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"option\\\",[]],[\\\"dynamic-attr\\\",\\\"value\\\",[\\\"unknown\\\",[\\\"zone\\\",\\\"value\\\"]],null],[\\\"dynamic-attr\\\",\\\"selected\\\",[\\\"helper\\\",[\\\"eq\\\"],[[\\\"get\\\",[\\\"zone\\\"]],[\\\"get\\\",[\\\"selectedZone\\\"]]],null],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"zone\\\",\\\"presentation\\\"]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"zone\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"zone\\\"],[\\\"dynamic-attr\\\",\\\"style\\\",[\\\"unknown\\\",[\\\"zone\\\",\\\"zoneStyle\\\"]],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"zone-content\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"o\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"zone\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/em-timezone-input.hbs\" } });\n});","define('fcs-dashboard/templates/components/ember-popper-targeting-parent', ['exports', 'ember-popper/templates/components/ember-popper-targeting-parent'], function (exports, _emberPopperTemplatesComponentsEmberPopperTargetingParent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPopperTemplatesComponentsEmberPopperTargetingParent['default'];\n    }\n  });\n});","define('fcs-dashboard/templates/components/ember-popper', ['exports', 'ember-popper/templates/components/ember-popper'], function (exports, _emberPopperTemplatesComponentsEmberPopper) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberPopperTemplatesComponentsEmberPopper['default'];\n    }\n  });\n});","define(\"fcs-dashboard/templates/components/labeled-radio-button\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"9ySRjlfQ\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"radio-button\\\"],null,[[\\\"radioClass\\\",\\\"radioId\\\",\\\"changed\\\",\\\"disabled\\\",\\\"groupValue\\\",\\\"name\\\",\\\"required\\\",\\\"value\\\"],[[\\\"get\\\",[\\\"radioClass\\\"]],[\\\"get\\\",[\\\"radioId\\\"]],\\\"innerRadioChanged\\\",[\\\"get\\\",[\\\"disabled\\\"]],[\\\"get\\\",[\\\"groupValue\\\"]],[\\\"get\\\",[\\\"name\\\"]],[\\\"get\\\",[\\\"required\\\"]],[\\\"get\\\",[\\\"value\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/labeled-radio-button.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/list-picker\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"XJVffzic\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nativeMobile\\\"]]],null,7],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"bs-select \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nativeMobile\\\"]],\\\"hidden-xs\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"disabled\\\"]],\\\"disabled\\\"],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"liveSearch\\\"]]],null,6],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"multiple\\\"]]],null,5],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"nestedGroupContentList\\\"]]],null,2],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"presentation\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"btn btn-default \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"selected\\\"]],\\\"active\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectItem\\\",[\\\"get\\\",[\\\"item\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"label\\\"]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"glyphicon glyphicon-ok check-mark \\\",[\\\"helper\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"selected\\\"]],\\\"invisible\\\"],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"h4\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"presentation\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"group\\\",\\\"name\\\"]],false],[\\\"close-element\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"group\\\",\\\"name\\\"]]],null,1],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"group\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group-vertical btn-block list-picker-items-container\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"group\\\",\\\"items\\\"]]],null,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"group\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"group\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group-vertical btn-block\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleSelectAllNone\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectAllNoneLabel\\\"]],false],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"check-mark glyphicon \\\",[\\\"unknown\\\",[\\\"glyphiconClass\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group select-all-none\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"group\\\"],[\\\"static-attr\\\",\\\"aria-label\\\",\\\"Select all or none\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectAllNone\\\",\\\"unselectedContentList\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectAllLabel\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectAllNone\\\",\\\"selectedContentList\\\"]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectNoneLabel\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"splitAllNoneButtons\\\"]]],null,4,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"class\\\",\\\"value\\\",\\\"focus\\\"],[\\\"text\\\",\\\"search-filter form-control\\\",[\\\"get\\\",[\\\"searchFilter\\\"]],\\\"preventClosing\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"input-group-btn\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default list-picker-clear-filter\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"clearSearchDisabled\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearFilter\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"glyphicon glyphicon-remove\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"visible-xs-inline\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"partial\\\",\\\"components/native-select\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/list-picker.hbs\" } });\n});","define('fcs-dashboard/templates/components/modal-dialog', ['exports', 'ember-modal-dialog/templates/components/modal-dialog'], function (exports, _emberModalDialogTemplatesComponentsModalDialog) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModalDialogTemplatesComponentsModalDialog['default'];\n    }\n  });\n});","define(\"fcs-dashboard/templates/components/models-table/all-columns-hidden\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"KbM1E2fU\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"dynamic-attr\\\",\\\"colspan\\\",[\\\"unknown\\\",[\\\"processedColumns\\\",\\\"length\\\"]],null],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"noDataCell\\\"]]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"allColumnsAreHidden\\\"]],true],[\\\"close-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/all-columns-hidden.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/columns-dropdown\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"m7H3bo/b\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"columnsDropdownWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"columnsDropdownButtonWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"buttonDefault\\\"]],\\\" dropdown-toggle\\\"]]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"data-toggle\\\",\\\"dropdown\\\"],[\\\"static-attr\\\",\\\"aria-haspopup\\\",\\\"true\\\"],[\\\"static-attr\\\",\\\"aria-expanded\\\",\\\"false\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"columns-title\\\"]],false],[\\\"text\\\",\\\" \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"caret\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"columnsDropdown\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,5],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,4],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,3],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null,2],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"divider\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,1],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleHidden\\\",[\\\"get\\\",[\\\"column\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]],[\\\"get\\\",[\\\"icons\\\",\\\"column-visible\\\"]],[\\\"get\\\",[\\\"icons\\\",\\\"column-hidden\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"column\\\",\\\"title\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"mayBeHidden\\\"]]],null,0]],\\\"locals\\\":[\\\"column\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleColumnSet\\\",[\\\"get\\\",[\\\"columnSet\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"columnSet\\\",\\\"label\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"columnSet\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"restoreDefaultVisibility\\\",[\\\"get\\\",[\\\"column\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"columns-restoreDefaults\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"hideAllColumns\\\",[\\\"get\\\",[\\\"column\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"columns-hideAll\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showAllColumns\\\",[\\\"get\\\",[\\\"column\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"columns-showAll\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/columns-dropdown.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/component-footer\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"0MtUT1fv\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"tfooterWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"useNumericPagination\\\"]],[\\\"get\\\",[\\\"classes\\\",\\\"footerSummaryNumericPagination\\\"]],[\\\"get\\\",[\\\"classes\\\",\\\"footerSummaryDefaultPagination\\\"]]],null],\\\" \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"footerSummary\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"summary\\\"]],false],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"btn btn-link clearFilters \\\",[\\\"helper\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"anyFilterUsed\\\"]],\\\"invisible\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clearFilters\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"clearAllFiltersIcon\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showPageSize\\\"]]],null,2],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"useNumericPagination\\\"]]],null,1,0],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"paginationWrapper\\\"]],\\\" \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"paginationWrapperDefault\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"simplePaginationTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"paginationWrapper\\\"]],\\\" \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"paginationWrapperNumeric\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"numericPaginationTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"pageSizeTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/component-footer.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/expand-all-rows-cell\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"LQ9S7Dbl\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"expandAllRows\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"expandAllRows\\\"],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"expand-all-rows\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"collapseAllRows\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"collapseAllRows\\\"],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"collapse-all-rows\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/expand-all-rows-cell.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/expand-row-cell\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"V7rkD91V\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"exists-in\\\"],[[\\\"get\\\",[\\\"_expandedRowIndexes\\\"]],[\\\"get\\\",[\\\"index\\\"]]],null]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"expandRow\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"expandRow\\\",[\\\"get\\\",[\\\"index\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"expand-row\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"collapseRow\\\"]],null],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"collapseRow\\\",[\\\"get\\\",[\\\"index\\\"]]],[[\\\"bubbles\\\"],[false]]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"i\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"collapse-row\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/expand-row-cell.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/global-filter\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"r7RFNPLp\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"globalFilterWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-inline globalSearch\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"form-group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"searchLabel\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\" \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"value\\\",\\\"class\\\",\\\"enter\\\",\\\"placeholder\\\"],[\\\"text\\\",[\\\"get\\\",[\\\"filterString\\\"]],[\\\"helper\\\",[\\\"concat\\\"],[[\\\"get\\\",[\\\"classes\\\",\\\"input\\\"]],\\\" filterString\\\"],null],\\\"\\\",[\\\"get\\\",[\\\"messages\\\",\\\"searchPlaceholder\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"globalFilterUsed\\\"]]],null,0],[\\\"text\\\",\\\"    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"onclick\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"filterString\\\"]]],null],\\\"\\\"],null],null],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"clearFilterIcon \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"clearFilterIcon\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/global-filter.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/header-row-filtering\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"7CreayhX\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,10],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"               \\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"onclick\\\",[\\\"helper\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],[\\\"helper\\\",[\\\"mut\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]]],null],\\\"\\\"],null],null],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"clearFilterIcon \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"clearFilterIcon\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"value\\\",\\\"class\\\",\\\"enter\\\",\\\"placeholder\\\"],[\\\"text\\\",[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]],[\\\"get\\\",[\\\"classes\\\",\\\"input\\\"]],\\\"\\\",[\\\"get\\\",[\\\"column\\\",\\\"filterPlaceholder\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"                  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-select\\\"],null,[[\\\"options\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterOptions\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"cssPropertyName\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"filterString\\\"]],[\\\"helper\\\",[\\\"concat\\\"],[[\\\"get\\\",[\\\"classes\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterUsed\\\"]],\\\"has-feedback\\\"],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,3,2],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"filterUsed\\\"]]],null,1],[\\\"text\\\",\\\"              \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useFilter\\\"]]],null,4,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"data\\\",\\\"column\\\",\\\"row\\\",\\\"table\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"column\\\"]],[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[null]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,6,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"column\\\",\\\"templateForFilterCell\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"theadCell\\\"]],\\\" \\\",[\\\"helper\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useFilter\\\"]],[\\\"get\\\",[\\\"classes\\\",\\\"theadCellNoFiltering\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"templateForFilterCell\\\"]]],null,8,7],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]]],null,9]],\\\"locals\\\":[\\\"column\\\"]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/header-row-filtering.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/header-row-sorting\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"XNN+Rbg/\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,11],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"column\\\",\\\"title\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"componentForSortCell\\\"]]],[[\\\"data\\\",\\\"column\\\",\\\"row\\\",\\\"table\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"column\\\"]],[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[null]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"componentForSortCell\\\"]]],null,1,0]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"column\\\",\\\"templateForSortCell\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"theadCell\\\"]],\\\" \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"theadCellNoSorting\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"templateForSortCell\\\"]]],null,3,2],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"column\\\",\\\"title\\\"]],false],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"headerSortingIconsTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"componentForSortCell\\\"]]],[[\\\"data\\\",\\\"column\\\",\\\"row\\\",\\\"table\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"column\\\"]],[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[null]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"componentForSortCell\\\"]]],null,6,5]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"column\\\",\\\"templateForSortCell\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"theadCell\\\"]]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"sort\\\",[\\\"get\\\",[\\\"column\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"templateForSortCell\\\"]]],null,8,7],[\\\"text\\\",\\\"        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"useSorting\\\"]]],null,9,4]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]]],null,10]],\\\"locals\\\":[\\\"column\\\"]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/header-row-sorting.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/header-rows-grouped\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"W9r33CfC\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"groupedHeaders\\\"]]],null,1]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"th\\\",[]],[\\\"dynamic-attr\\\",\\\"colspan\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"cell\\\",\\\"colspan\\\"]]]]],[\\\"dynamic-attr\\\",\\\"rowspan\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"cell\\\",\\\"rowspan\\\"]]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"cell\\\",\\\"title\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"cell\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"row\\\"]]],null,0],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"row\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/header-rows-grouped.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/header-sorting-icons\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"u5KR2hC5\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"sortAsc\\\"]],[\\\"get\\\",[\\\"icons\\\",\\\"sort-asc\\\"]]],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"sortDesc\\\"]],[\\\"get\\\",[\\\"icons\\\",\\\"sort-desc\\\"]]],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/header-sorting-icons.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/no-data\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"gvGZrAHg\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"flush-element\\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"dynamic-attr\\\",\\\"colspan\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"visibleProcessedColumns\\\",\\\"length\\\"]]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"messages\\\",\\\"noDataToShow\\\"]],true],[\\\"close-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/no-data.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/numeric-pagination\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"LOU4ppBY\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-toolbar pull-right\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"toolbar\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"visiblePageNumbers\\\"]]],null,2],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"disabled\\\",\\\"disabled\\\"],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"buttonDefault\\\"]]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoCustomPage\\\",[\\\"get\\\",[\\\"page\\\",\\\"label\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"page\\\",\\\"label\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"page\\\",\\\"isActive\\\"]],\\\"active\\\"],null],\\\" \\\",[\\\"unknown\\\",[\\\"classes\\\",\\\"buttonDefault\\\"]]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoCustomPage\\\",[\\\"get\\\",[\\\"page\\\",\\\"label\\\"]]]],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"page\\\",\\\"label\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"page\\\",\\\"isLink\\\"]]],null,1,0]],\\\"locals\\\":[\\\"page\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/numeric-pagination.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/page-size\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"KuNR476c\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"pageSizeWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"classes\\\",\\\"pageSizeSelectWrapper\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"models-select\\\"],null,[[\\\"options\\\",\\\"value\\\",\\\"class\\\"],[[\\\"get\\\",[\\\"pageSizeOptions\\\"]],[\\\"get\\\",[\\\"pageSize\\\"]],[\\\"helper\\\",[\\\"concat\\\"],[[\\\"get\\\",[\\\"classes\\\",\\\"input\\\"]],\\\" changePageSize\\\"],null]]]],false],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/page-size.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/row\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"EVbNzkPK\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"exists-in\\\"],[[\\\"get\\\",[\\\"_selectedItems\\\"]],[\\\"get\\\",[\\\"record\\\"]]],null],\\\"selected-row\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clickOnRow\\\",[\\\"get\\\",[\\\"index\\\"]],[\\\"get\\\",[\\\"record\\\"]]],[[\\\"on\\\",\\\"preventDefault\\\"],[\\\"click\\\",false]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"processedColumns\\\"]]],null,11],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"exists-in\\\"],[[\\\"get\\\",[\\\"_expandedRowIndexes\\\"]],[\\\"get\\\",[\\\"index\\\"]]],null]],null,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"tr\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"expand-row \\\",[\\\"helper\\\",[\\\"concat\\\"],[\\\"expand-\\\",[\\\"get\\\",[\\\"index\\\"]]],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"helper\\\",[\\\"exists-in\\\"],[[\\\"get\\\",[\\\"_selectedItems\\\"]],[\\\"get\\\",[\\\"record\\\"]]],null],\\\"selected-expand\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"clickOnRow\\\",[\\\"get\\\",[\\\"index\\\"]],[\\\"get\\\",[\\\"record\\\"]]],[[\\\"on\\\"],[\\\"click\\\"]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"dynamic-attr\\\",\\\"colspan\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"visibleProcessedColumns\\\",\\\"length\\\"]]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"expandedRowTemplate\\\"]]],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"component\\\"]]],[[\\\"data\\\",\\\"record\\\",\\\"column\\\",\\\"table\\\"],[[\\\"get\\\",[\\\"data\\\"]],[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\"]],[\\\"get\\\",[null]]]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"component\\\"]]],null,2,1]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"            \\\"],[\\\"partial\\\",[\\\"get\\\",[\\\"column\\\",\\\"template\\\"]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"template\\\"]]],null,4,3]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"record\\\",\\\"id\\\"]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"              \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"get\\\"],[[\\\"get\\\",[\\\"record\\\"]],[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"propertyName\\\"]]],null,7,6]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"link-to\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"routeName\\\"]],[\\\"get\\\",[\\\"record\\\",\\\"id\\\"]]],null,8]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"td\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"unknown\\\",[\\\"column\\\",\\\"className\\\"]],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"routeName\\\"]]],null,9,5],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"column\\\",\\\"isVisible\\\"]]],null,10]],\\\"locals\\\":[\\\"column\\\"]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/row.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/simple-pagination\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"A2y4Wok8\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-toolbar pull-right\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"toolbar\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"group\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" btn btn-default\\\"]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoFirst\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-first\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" btn btn-default\\\"]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoPrev\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-prev\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" btn btn-default\\\"]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoNext\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-next\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"href\\\",\\\"#\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"gotoForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" btn btn-default\\\"]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"gotoLast\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"unknown\\\",[\\\"icons\\\",\\\"nav-last\\\"]]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/simple-pagination.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/models-table/table-footer\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"6iOHIdwl\", \"block\": \"{\\\"statements\\\":[],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/models-table/table-footer.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/multiselect-checkboxes\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"bo9j26bO\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"checkboxes\\\"]]],null,2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"checked\\\",\\\"disabled\\\"],[\\\"checkbox\\\",[\\\"get\\\",[\\\"checkbox\\\",\\\"isSelected\\\"]],[\\\"get\\\",[\\\"disabled\\\"]]]]],false],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"checkbox\\\",\\\"label\\\"]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"    \\\"],[\\\"yield\\\",\\\"default\\\",[[\\\"get\\\",[\\\"checkbox\\\",\\\"option\\\"]],[\\\"get\\\",[\\\"checkbox\\\",\\\"isSelected\\\"]],[\\\"get\\\",[\\\"index\\\"]]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"has-block\\\",\\\"default\\\"]],null,1,0]],\\\"locals\\\":[\\\"checkbox\\\",\\\"index\\\"]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/multiselect-checkboxes.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/object-bin\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"zevqFlJy\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"draggable-object-target\\\"],null,[[\\\"action\\\"],[\\\"handleObjectDropped\\\"]],2]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"yield\\\",\\\"default\\\",[[\\\"get\\\",[\\\"obj\\\"]]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"block\\\",[\\\"draggable-object\\\"],null,[[\\\"action\\\",\\\"content\\\"],[\\\"handleObjectDragged\\\",[\\\"get\\\",[\\\"obj\\\"]]]],0]],\\\"locals\\\":[\\\"obj\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"object-bin-title\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"name\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"br\\\",[]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"model\\\"]]],null,1]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/object-bin.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/radio-button\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"3duUUpfW\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"has-block\\\",\\\"default\\\"]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"radio-button-input\\\"],null,[[\\\"class\\\",\\\"id\\\",\\\"disabled\\\",\\\"name\\\",\\\"required\\\",\\\"groupValue\\\",\\\"value\\\",\\\"changed\\\"],[[\\\"get\\\",[\\\"radioClass\\\"]],[\\\"get\\\",[\\\"radioId\\\"]],[\\\"get\\\",[\\\"disabled\\\"]],[\\\"get\\\",[\\\"name\\\"]],[\\\"get\\\",[\\\"required\\\"]],[\\\"get\\\",[\\\"groupValue\\\"]],[\\\"get\\\",[\\\"value\\\"]],\\\"changed\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"label\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"ember-radio-button \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"checked\\\"]],\\\"checked\\\"],null],\\\" \\\",[\\\"unknown\\\",[\\\"joinedClassNames\\\"]]]]],[\\\"dynamic-attr\\\",\\\"for\\\",[\\\"unknown\\\",[\\\"radioId\\\"]],null],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"radio-button-input\\\"],null,[[\\\"class\\\",\\\"id\\\",\\\"disabled\\\",\\\"name\\\",\\\"required\\\",\\\"groupValue\\\",\\\"value\\\",\\\"changed\\\"],[[\\\"get\\\",[\\\"radioClass\\\"]],[\\\"get\\\",[\\\"radioId\\\"]],[\\\"get\\\",[\\\"disabled\\\"]],[\\\"get\\\",[\\\"name\\\"]],[\\\"get\\\",[\\\"required\\\"]],[\\\"get\\\",[\\\"groupValue\\\"]],[\\\"get\\\",[\\\"value\\\"]],\\\"changed\\\"]]],false],[\\\"text\\\",\\\"\\\\n\\\\n    \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/radio-button.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/select-picker\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"nh1DHJXe\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nativeMobile\\\"]]],null,8],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"bs-select dropdown \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"isDropUp\\\"]],\\\"dropup\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"nativeMobile\\\"]],\\\"hidden-xs\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"disabled\\\"]],\\\"disabled\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"showDropdown\\\"]],\\\"open\\\"],null]]]],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"0\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"btn dropdown-toggle \\\",[\\\"unknown\\\",[\\\"buttonClass\\\"]],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"disabled\\\"]],\\\"disabled\\\"],null]]]],[\\\"dynamic-attr\\\",\\\"id\\\",[\\\"unknown\\\",[\\\"menuButtonId\\\"]],null],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"static-attr\\\",\\\"aria-expanded\\\",\\\"true\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"showHide\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"pull-left\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectionSummary\\\"]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"selectionBadge\\\"]],\\\"badge\\\",\\\"caret\\\"],null],null],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectionBadge\\\"]],false],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"open-element\\\",\\\"ul\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"dropdown-menu\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"menu\\\"],[\\\"dynamic-attr\\\",\\\"aria-labelledby\\\",[\\\"unknown\\\",[\\\"menuButtonId\\\"]],null],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"liveSearch\\\"]]],null,7],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"multiple\\\"]]],null,6],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"nestedGroupContentList\\\"]]],null,3],[\\\"text\\\",\\\"  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"text\\\",\\\"        \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"presentation\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"disabled\\\"]],\\\"disabled\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"active\\\"]],\\\"active\\\"],null],\\\" \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"selected\\\"]],\\\"selected\\\"],null]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"open-element\\\",\\\"a\\\",[]],[\\\"static-attr\\\",\\\"role\\\",\\\"menuitem\\\"],[\\\"dynamic-attr\\\",\\\"data-itemid\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"itemId\\\"]],null],[\\\"dynamic-attr\\\",\\\"tabindex\\\",[\\\"concat\\\",[[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"active\\\"]],\\\"0\\\",\\\"-1\\\"],null]]]],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectItem\\\",[\\\"get\\\",[\\\"item\\\"]]]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"item\\\",\\\"label\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"glyphicon glyphicon-ok check-mark \\\",[\\\"helper\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"item\\\",\\\"selected\\\"]],\\\"\\\",\\\"hidden\\\"],null]]]],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"item\\\"]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"dropdown-header\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"presentation\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"group\\\",\\\"name\\\"]],false],[\\\"close-element\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"divider\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"presentation\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"block\\\",[\\\"unless\\\"],[[\\\"get\\\",[\\\"group\\\",\\\"items\\\",\\\"firstObject\\\",\\\"first\\\"]]],null,2],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"group\\\",\\\"name\\\"]]],null,1],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"each\\\"],[[\\\"get\\\",[\\\"group\\\",\\\"items\\\"]]],null,0]],\\\"locals\\\":[\\\"group\\\"]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-xs btn-block\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"toggleSelectAllNone\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectAllNoneLabel\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"span\\\",[]],[\\\"dynamic-attr\\\",\\\"class\\\",[\\\"concat\\\",[\\\"check-mark glyphicon \\\",[\\\"unknown\\\",[\\\"glyphiconClass\\\"]]]]],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"          \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"btn-group select-all-none btn-block\\\"],[\\\"static-attr\\\",\\\"role\\\",\\\"group\\\"],[\\\"static-attr\\\",\\\"aria-label\\\",\\\"Select all or none\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disabled\\\"]],null],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-xs\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectAllNone\\\",\\\"unselectedContentList\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectAllLabel\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"open-element\\\",\\\"button\\\",[]],[\\\"static-attr\\\",\\\"type\\\",\\\"button\\\"],[\\\"dynamic-attr\\\",\\\"disabled\\\",[\\\"unknown\\\",[\\\"disabled\\\"]],null],[\\\"static-attr\\\",\\\"class\\\",\\\"btn btn-default btn-xs\\\"],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"modifier\\\",[\\\"action\\\"],[[\\\"get\\\",[null]],\\\"selectAllNone\\\",\\\"selectedContentList\\\"]],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n              \\\"],[\\\"append\\\",[\\\"unknown\\\",[\\\"selectNoneLabel\\\"]],false],[\\\"text\\\",\\\"\\\\n            \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n          \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"splitAllNoneButtons\\\"]]],null,5,4],[\\\"text\\\",\\\"      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"      \\\"],[\\\"open-element\\\",\\\"li\\\",[]],[\\\"static-attr\\\",\\\"tabindex\\\",\\\"-1\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n        \\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"input\\\"],null,[[\\\"type\\\",\\\"tabindex\\\",\\\"disabled\\\",\\\"class\\\",\\\"value\\\",\\\"focus\\\"],[\\\"text\\\",\\\"-1\\\",[\\\"get\\\",[\\\"disabled\\\"]],\\\"search-filter form-control\\\",[\\\"get\\\",[\\\"searchFilter\\\"]],\\\"preventClosing\\\"]]],false],[\\\"text\\\",\\\"\\\\n      \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"text\\\",\\\"  \\\"],[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"visible-xs-inline\\\"],[\\\"flush-element\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"yield\\\",\\\"default\\\"],[\\\"text\\\",\\\"\\\\n    \\\"],[\\\"partial\\\",\\\"components/native-select\\\"],[\\\"text\\\",\\\"\\\\n  \\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[]}],\\\"hasPartials\\\":true}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/select-picker.hbs\" } });\n});","define(\"fcs-dashboard/templates/components/sortable-objects\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ZPm+GE2p\", \"block\": \"{\\\"statements\\\":[[\\\"yield\\\",\\\"default\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"fcs-dashboard/templates/components/sortable-objects.hbs\" } });\n});","define('fcs-dashboard/templates/components/tether-dialog', ['exports', 'ember-modal-dialog/templates/components/tether-dialog'], function (exports, _emberModalDialogTemplatesComponentsTetherDialog) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModalDialogTemplatesComponentsTetherDialog['default'];\n    }\n  });\n});","define('fcs-dashboard/transforms/array', ['exports', 'model-fragments/transforms/array'], function (exports, _modelFragmentsTransformsArray) {\n  exports['default'] = _modelFragmentsTransformsArray['default'];\n});","define('fcs-dashboard/transforms/fragment-array', ['exports', 'model-fragments/transforms/fragment-array'], function (exports, _modelFragmentsTransformsFragmentArray) {\n  exports['default'] = _modelFragmentsTransformsFragmentArray['default'];\n});","define('fcs-dashboard/transforms/fragment', ['exports', 'model-fragments/transforms/fragment'], function (exports, _modelFragmentsTransformsFragment) {\n  exports['default'] = _modelFragmentsTransformsFragment['default'];\n});","define(\"fcs-dashboard/translations/en-us\", [\"exports\"], function (exports) {\n  exports[\"default\"] = { \"attributeSet\": { \"details\": { \"buttons\": { \"accept\": \"Save\", \"addAttribute\": \"Add Attribute\", \"cancel\": \"Cancel\" }, \"company\": { \"label\": \"Company\", \"loadingMessage\": \"waiting for data...\", \"placeholder\": \"Select a company...\" }, \"errors\": { \"savingError\": \"There was an error saving the attribute set {name}.\", \"successSave\": \"{name} saved!\" }, \"name\": { \"label\": \"Attribute Set name\", \"placeholder\": \"Name\" }, \"priority\": { \"label\": \"Priority\" }, \"title\": \"Attribute Set Editor\" }, \"list\": { \"attributes\": \"Attributes\", \"buttons\": { \"delete\": \"Delete\", \"edit\": \"Edit\", \"new\": \"New Attribute Set\" }, \"company\": \"Company\", \"errors\": { \"blankAttributeError\": \"Attribute name cannot be blank\", \"deleteSuccess\": \"Delete success!\", \"deletingError\": \"There was an error deleting the attribute set {name}.\", \"duplicatedAttributeNameError\": \"Attribute names cannot be duplicated\", \"usedAttributeSetNameError\": \"{name} is currently in use and cannot be deleted.\" }, \"name\": \"Attribute Set\" } }, \"comboSelectionCatalog\": { \"list\": { \"buttons\": { \"add\": \"Add Selection\" } }, \"modal\": { \"buttons\": { \"add\": \"Add\", \"cancel\": \"Cancel\" }, \"name\": { \"label\": \"Selection Name\", \"placeholder\": \"Selection Name...\" }, \"title\": \"Selection\" } }, \"comboSelectionProductCatalog\": { \"list\": { \"buttons\": { \"addProducts\": \"Add Products\" }, \"errors\": { \"blankComboSelectionCatalogError\": \"Selection name cannot be blank\", \"duplicatedComboSelectionCatalogNameError\": \"Selection names cannot be duplicated\" }, \"priceChange\": \"Price\", \"productCatalogName\": \"Product\" } }, \"common\": { \"deselectAll\": \"Deselect All\", \"no\": \"No\", \"selectAll\": \"Select All\", \"yes\": \"Yes\" }, \"company\": { \"detail\": { \"buttons\": { \"cancel\": \"Cancel\", \"save\": \"Save\" }, \"companyProfile\": { \"label\": \"Company Profiles\" }, \"errors\": { \"duplicateNameError\": \"{name} is already been used by another company. Please try a different name.\", \"emptyName\": \"Company name can not be empty.\", \"emptyPassword\": \"Company password can not be empty.\", \"emptyTabletLogin\": \"Company tablet login can not be empty.\", \"invalidTabletLogin\": \"Tablet login is already being used. Please try a different one.\", \"nonProfileSelected\": \"You must select at least one profile.\", \"passwordNotMatch\": \"Password and Password confirmation do not match.\", \"removeUsedProfile\": \"One or more removed profiles are been used and cannot be removed. Please verify and try again.\", \"savingError\": \"There was an error saving the company. Please try again later.\", \"successPasswordChange\": \"Password changed successfully!\", \"successSave\": \"Company saved!\" }, \"name\": { \"label\": \"Company Display Name\", \"placeholder\": \"Enter company display name\" }, \"password\": { \"label\": \"Password\", \"placeholder\": \"Enter company's password\" }, \"passwordConfirmation\": { \"label\": \"Password (Confirmation)\", \"placeholder\": \"Password Confirmation\" }, \"status\": { \"label\": \"Status\" }, \"tabletLogin\": { \"label\": \"Company Tablet Login\", \"placeholder\": \"Enter company tablet login\" }, \"tags\": { \"label\": \"Tags\", \"placeholder\": \"Add a tag...\" }, \"title\": \"Register\" }, \"list\": { \"buttons\": { \"changePassword\": \"Change password\", \"edit\": \"Edit\", \"new\": \"New Company\" }, \"table\": { \"id\": \"ID\", \"name\": \"Name\", \"status\": \"Status\" } }, \"statuses\": { \"active\": \"Active\", \"inactive\": \"Inactive\" } }, \"deliveryDestination\": { \"deleteModal\": { \"body\": \"Delete {code}, {name}? Nothing has been ordered to it.\", \"confirm\": \"Delete it\", \"title\": \"Delete destination\", \"warning\": \"This cannot be undone, and the code becomes available again at this location. If a sign has already been printed with it, retire it instead: that stops the sign working and keeps the code reserved.\" }, \"destinations\": { \"add\": \"Add a destination\", \"buttons\": { \"delete\": \"Delete\", \"rename\": \"Rename\", \"restore\": \"Restore\", \"retire\": \"Retire\" }, \"code\": \"Code\", \"heading\": \"Destinations at {name}\", \"name\": \"Name\", \"noLink\": \"This location has no published ordering code, so these destinations cannot be reached. Publish one on the Ordering Links screen first.\", \"noUrl\": \"No URL until the location is published\", \"none\": \"No destinations yet.\", \"notDelivering\": \"This location is set to pickup, so none of these resolve. Switch it to delivery to use them.\", \"orders\": \"Orders\", \"status\": \"Status\", \"url\": \"Printed URL\" }, \"editModal\": { \"code\": \"Code\", \"codeFixed\": \"A code cannot be changed. It is printed on a sign, so to change one, retire this destination and add another.\", \"codeHelp\": \"Up to 8 letters and digits. It goes on the sign after the ordering code, so C01 becomes /ACL/C01.\", \"codeInvalid\": \"A code is 1 to 8 letters and digits, with no spaces or punctuation.\", \"codeWillBe\": \"This will be saved as {code}.\", \"name\": \"Name\", \"nameHelp\": \"What the kitchen screen shows the runner, and what the guest sees before paying. Cabana 12 tells somebody more than C12 does.\", \"title\": \"Destination\" }, \"errors\": { \"generic\": \"That could not be saved. Try again, or check the destination list.\" }, \"list\": { \"buttons\": { \"manage\": \"Destinations\", \"toDelivery\": \"Switch to delivery\", \"toPickup\": \"Switch to pickup\" }, \"chooseEvent\": \"Choose an event to see its locations.\", \"count\": \"Destinations\", \"event\": { \"label\": \"Event/Venue\", \"placeholder\": \"Choose an event\" }, \"filterPlaceholder\": \"Filter by location\", \"heading\": \"Delivery destinations\", \"help\": \"A location that delivers runs orders out to a cabana, a bungalow or a table instead of handing them over at a window. Each one has its own printed code, and the sign carries the location code and the destination code together.\", \"linkCode\": \"Ordering code\", \"location\": \"Location\", \"mode\": \"Hands orders over by\", \"noLinkCode\": \"Not published\", \"noLocations\": \"This event has no active locations.\" }, \"mode\": { \"delivery\": \"Delivery\", \"pickup\": \"Pickup\" }, \"modeModal\": { \"body\": \"Orders at {name} will be run out to a destination instead of handed over at the window.\", \"confirm\": \"Switch to delivery\", \"title\": \"Switch to delivery\", \"warning\": \"Any sign already printed with only the ordering code stops working at once, because an order placed there would have nowhere to go. Put the destination signs up at the same time.\" }, \"status\": { \"live\": \"Live\", \"retired\": \"Retired\" }, \"success\": { \"added\": \"Added {code}.\", \"deleted\": \"Deleted {code}. Its code is free to use again here.\", \"delivery\": \"{name} now delivers.\", \"pickup\": \"{name} now hands orders over at the window.\", \"renamed\": \"Renamed to {name}.\", \"restore\": \"Restored {code}.\", \"retire\": \"Retired {code}. Its code stays reserved, so no other destination can take it.\" } }, \"errors\": { \"accepted\": \"{description} must be accepted\", \"after\": \"{description} must be after {after}\", \"before\": \"{description} must be before {before}\", \"blank\": \"{description} can't be blank\", \"collection\": \"{description} must be a collection\", \"confirmation\": \"{description} doesn't match {on}\", \"date\": \"{description} must be a valid date\", \"description\": \"This field\", \"email\": \"{description} must be a valid email address\", \"empty\": \"{description} can't be empty\", \"equalTo\": \"{description} must be equal to {is}\", \"even\": \"{description} must be even\", \"exclusion\": \"{description} is reserved\", \"greaterThan\": \"{description} must be greater than {gt}\", \"greaterThanOrEqualTo\": \"{description} must be greater than or equal to {gte}\", \"inclusion\": \"{description} is not included in the list\", \"invalid\": \"{description} is invalid\", \"lessThan\": \"{description} must be less than {lt}\", \"lessThanOrEqualTo\": \"{description} must be less than or equal to {lte}\", \"notANumber\": \"{description} must be a number\", \"notAnInteger\": \"{description} must be an integer\", \"odd\": \"{description} must be odd\", \"otherThan\": \"{description} must be other than {value}\", \"phone\": \"{description} must be a valid phone number\", \"positive\": \"{description} must be positive\", \"present\": \"{description} must be blank\", \"singular\": \"{description} can't be a collection\", \"tooLong\": \"{description} is too long (maximum is {max} characters)\", \"tooShort\": \"{description} is too short (minimum is {min} characters)\", \"url\": \"{description} must be a valid url\", \"wrongDateFormat\": \"{description} must be in the format of {format}\", \"wrongLength\": \"{description} is the wrong length (should be {is} characters)\" }, \"eventAnalytics\": { \"detail\": { \"active\": { \"helpText\": \"Enable this event analytics\", \"label\": \"Active\" }, \"buttons\": { \"cancel\": \"Cancel\", \"save\": \"Save\" }, \"durationDays\": { \"label\": \"Duration (Days)\", \"placeholder\": \"Enter duration in days\" }, \"endDate\": { \"label\": \"End Date\" }, \"locationGroup1\": { \"label\": \"Current Event\", \"placeholder\": \"Select an event...\" }, \"locationGroup2\": { \"label\": \"Previous Event\", \"placeholder\": \"Select last year event...\" }, \"locations\": { \"addLocation\": \"Add Location\", \"label\": \"Locations\", \"loadingMessage\": \"Loading locations...\", \"matched\": \"Matched\", \"notMatched\": \"Not matched\", \"table\": { \"actions\": \"Actions\", \"category\": \"Category\", \"categoryPlaceholder\": \"Select category\", \"displayName\": \"Display Name\", \"displayNamePlaceholder\": \"Enter display name\", \"id\": \"ID\", \"idOfLastYear\": \"ID of Last Year\", \"idOfLastYearPlaceholder\": \"Enter last year ID\", \"idPlaceholder\": \"Enter ID\", \"lastYearLocationPlaceholder\": \"Select last year location\", \"locationPlaceholder\": \"Select location\", \"name\": \"Name\", \"namePlaceholder\": \"Enter name\", \"remove\": \"Remove\" } }, \"messages\": { \"createError\": \"Error creating event analytics\", \"createSuccess\": \"Event Analytics created successfully\", \"updateError\": \"Error updating event analytics\", \"updateSuccess\": \"Event Analytics updated successfully\", \"validation\": { \"duplicateLeftLocation\": \"Duplicate location found in current event. Location Name: {locationName}\", \"duplicateRightLocation\": \"Duplicate location found in previous event. Location Name: {locationName}\", \"emptyLocations\": \"Cannot save locations with both sides empty.\" } }, \"refresh\": { \"helpText\": \"Enable refresh for this event analytics\", \"label\": \"Refresh\" }, \"startDate1\": { \"label\": \"Start Date\" }, \"startDate2\": { \"label\": \"Previous Start Date\" }, \"timezone\": { \"button\": \"Select a Timezone\", \"label\": \"Timezone\", \"modal\": { \"buttons\": { \"accept\": \"Ok\", \"cancel\": \"Cancel\" }, \"title\": \"Timezones\" }, \"placeholder\": \"Select a Timezone\" }, \"title\": \"Event Analytics Management\", \"titleEdit\": \"Edit Event Analytics\", \"titleNew\": \"New Event Analytics\" }, \"list\": { \"buttons\": { \"edit\": \"Edit\", \"new\": \"Add Event Analytics\", \"setActive\": \"Set Active\", \"setInactive\": \"Set Inactive\" }, \"errors\": { \"lockedEventAnalytics\": \"Event Analytics {eventAnalyticsName} is being edited by {userName}\", \"unlockError\": \"Error unlocking event analytics\" }, \"messages\": { \"toggleError\": \"Error toggling event analytics status\", \"toggleSuccess\": \"Event Analytics {status} successfully\", \"unlockSuccess\": \"Event Analytics unlocked successfully\" }, \"table\": { \"actions\": \"Actions\", \"active\": \"Active\", \"durationDays\": \"Duration (days)\", \"event\": \"Event\", \"lastYear\": \"Last Year\", \"refresh\": \"Refresh\", \"startDate\": \"Start Date\", \"timezone\": \"Timezone\" }, \"title\": \"Event Analytics\", \"unlockModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"unlock\": \"Unlock\" }, \"messageLine1\": \"Unlocking an event analytics could potentially cause data inconsistencies\", \"messageLine2\": \"Please make sure no users are editing the event analytics at the same time\", \"title\": \"Unlock Event Analytics\" } } }, \"forgotPassword\": { \"button\": { \"resetPassword\": \"Reset Password\" }, \"email\": { \"label\": \"Enter email...\" }, \"errors\": { \"blankEmail\": \"Email cannot be blank\", \"blankUsername\": \"Username cannot be blank\" }, \"label\": \"Forgot password?\", \"username\": { \"label\": \"Enter username\" } }, \"gateways\": { \"details\": { \"backupCreditCardGateway\": { \"label\": \"Backup Credit Card Gateway\", \"placeholder\": \"Select a gateway...\" }, \"buttons\": { \"accept\": \"Ok\", \"cancel\": \"Cancel\" }, \"credentials\": { \"authNet\": { \"loginID\": \"Login ID\", \"transactionKey\": \"Transaction Key\" }, \"brainTree\": { \"merchantId\": \"Merchant ID\", \"privateKey\": \"Private Key\", \"publicKey\": \"Public Key\", \"subMerchantId\": \"Sub-Merchant ID\" }, \"eventBright\": { \"eventKey\": \"Event key\", \"gateway\": \"Gateway\", \"token\": \"Token\" }, \"fcs\": { \"gateway\": \"Gateway\" }, \"fgt\": { \"apiKey\": \"API Key\", \"gateway\": \"Gateway\", \"siteId\": \"Site ID\" }, \"legend\": \"Credentials\", \"mastercard\": { \"privateKey\": \"Private Key\", \"publicKey\": \"Public Key\" }, \"pps\": { \"merchantId\": \"Merchant ID\", \"password\": \"Secret Key\", \"user\": \"Consumer Key\" } }, \"environment\": { \"label\": \"Environment\", \"placeholder\": \"Select an environment...\" }, \"errors\": { \"duplicateNameError\": \"{name} is already been used by another gateway. Please try a different name.\", \"savingError\": \"Error saving gateway {name}.\", \"successSave\": \"Gateway {name} saved.\" }, \"failoverActive\": { \"label\": \"Failover active\" }, \"gatewayCredential\": { \"label\": \"Gateway\", \"placeholder\": \"Select a gateway...\" }, \"menus\": { \"available\": \"Available\", \"legend\": \"Menus\", \"selected\": \"Assigned to this gateway\" }, \"name\": { \"label\": \"Name\", \"placeholder\": \"Gateway name\" }, \"processor\": { \"label\": \"Processor\", \"placeholder\": \"Select a processor...\" }, \"processorType\": { \"label\": \"Processor type\", \"placeholder\": \"Select a type...\" }, \"submerchant\": { \"accountId\": { \"label\": \"Account Id\", \"placeholder\": \"Enter account id...\" }, \"buttons\": { \"addSubmerchant\": \"Add Sub Merchant\" }, \"errors\": { \"deleteSuccess\": \"Delete success\", \"unknownDeletingError\": \"Error deleting sub merchant\", \"usedSubMerchantError\": \"{name} is currently in use and cannot be deleted.\" }, \"legend\": \"Sub Merchants\", \"type\": { \"label\": \"Type\", \"placeholder\": \"Select submerchant type...\" } } }, \"list\": { \"buttons\": { \"edit\": \"Edit\", \"new\": \"New Gateway\" }, \"environments\": { \"header\": \"Environment\", \"live\": \"Live environment\", \"sandBox\": \"Sandbox environment\" }, \"menus\": \"Menus\", \"name\": \"Name\", \"processor\": \"Processor\", \"processorType\": { \"label\": \"Processor type\", \"placeholder\": \"Select a processor type\" }, \"status\": { \"disabled\": \"Disabled\", \"enabled\": \"Enabled\", \"header\": \"Status\" } } }, \"general\": { \"cancel\": \"Cancel\", \"dropdownSearchFilter\": \"Type here to filter...\", \"fetchingDataMessage\": \"Fetching data...\", \"loadingMessage\": \"waiting data from server...\", \"saving\": \"Saving {eventName} ...\" }, \"home\": { \"navbar\": { \"header\": { \"about\": \"About\", \"contact\": \"Contact\", \"product\": { \"company\": \"Client Dashboard - {companyName}\", \"name\": \"Client Dashboard\" }, \"user\": { \"edit\": \"Edit\", \"logout\": \"Logout\" } }, \"sidebar\": { \"menu\": { \"management\": { \"options\": { \"companies\": \"Companies\", \"deliveryDestinations\": \"Delivery Destinations\", \"eventAnalytics\": \"Event Analytics\", \"gateways\": \"Gateways\", \"kdsStations\": \"KDS Stations\", \"locationGroups\": \"Events/Venues\", \"locations\": \"Locations\", \"onlineOrderingLinks\": \"Ordering Links\", \"posToken\": \"POS Token\", \"reviewConfiguration\": \"Review Config\", \"savedNetworks\": \"Saved Networks\", \"users\": \"Users\" }, \"title\": \"Configuration\" }, \"menus\": { \"options\": { \"attributeSet\": \"Attribute Sets\", \"menuBuilder\": \"Menu Builder\", \"productCatalog\": \"Product Catalog\", \"productTypes\": \"Product Types\", \"trait\": \"Modifier Traits\" }, \"title\": \"Menus\" }, \"report\": { \"legacyTitle\": \"Reports\", \"options\": { \"clerkReport\": \"Clerk Report\", \"dailyCloseOut\": \"Daily Close Out Report\", \"financialOverviewReport\": \"Financial Report\", \"highLevelInvoicingReport\": \"High Level Invoicing Report\", \"itemTokenUsageReport\": \"Item Token Usage\", \"menuAuditReport\": \"Menu Audit Report\", \"multiProductPmix\": \"Multi-Product PMIX\", \"paymentResultReport\": \"Payment Results Report\", \"productMix\": \"Product Mix\", \"productMixWithCombos\": \"Product Mix Including Combos\", \"promotionsAuditReport\": \"Promotions Audit Report\", \"salesReport\": \"Sales Report (D.S.S.)\", \"simpleReportByProduct\": \"Simple Sales Report By Product\", \"sponsorLoadedFundUsageReport\": \"Sponsor Loaded Fund Usage\" }, \"title\": \"New Reports\" }, \"search\": { \"options\": { \"search\": \"Order Search\" }, \"title\": \"Orders\" }, \"title\": \"Dashboard Menu\" } } }, \"version\": \"Version \" }, \"kdsStation\": { \"list\": { \"buttons\": { \"close\": \"Close\", \"refresh\": \"Refresh\", \"reopen\": \"Reopen\" }, \"chooseEvent\": \"Choose an event to see its vendor windows.\", \"closeModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"close\": \"Close window\" }, \"detail\": \"The window stops taking orders and the vendor cannot reopen it at their tablet.\", \"message\": \"Close {name}?\", \"title\": \"Close this window\" }, \"errors\": { \"closeFailed\": \"Could not close {name}. It may still be taking orders.\", \"loadFailed\": \"Could not load the windows for this event.\", \"reopenFailed\": \"Could not reopen {name}. It may still be closed.\" }, \"event\": { \"label\": \"Event/Venue\", \"placeholder\": \"Choose an event\" }, \"filterPlaceholder\": \"Filter by location\", \"location\": \"Location\", \"noLocations\": \"This event has no locations.\", \"status\": { \"authorNotRecorded\": \"Author not recorded\", \"closedAtServer\": \"Closed by operations\", \"closedAtStation\": \"Closed at window\", \"open\": \"Open\", \"vendorMayReopen\": \"The vendor can reopen this at their tablet.\" }, \"statusHeader\": \"Station\", \"success\": { \"closed\": \"{name} is closed. The vendor cannot reopen it at their tablet.\", \"reopened\": \"{name} is open again.\" } } }, \"location\": { \"detail\": { \"buttons\": { \"add\": \"\", \"cancel\": \"Cancel\", \"save\": \"Save\" }, \"company\": { \"label\": \"Company\", \"loadingMessage\": \"waiting for data...\", \"placeholder\": \"Select a company...\" }, \"errors\": { \"duplicateNameError\": \"Duplicated location name\", \"newCompany\": \"Unable to save the location before save the company\", \"savingLocation\": \"There was an error saving the location. Please try again later.\" }, \"locationType\": { \"label\": \"Location Type\", \"loadingMessage\": \"waiting for data...\", \"placeholder\": \"Select a type...\" }, \"name\": { \"label\": \"Name\", \"loadingMessage\": \"Waiting for data...\", \"note\": \"* Locations are listed in alphabetical order, if there are more than 10 locations please title them with two digits: EX: Bar 01, Bar 02, Bar 03 … Bar 10, Bar 11, etc.\", \"placeholder\": \"Location Name\" }, \"printers\": { \"buttons\": { \"add\": \"Add printer\" }, \"ip\": \"Ip\", \"loadingMessage\": \"Loading Printers...\", \"model\": { \"label\": \"Model\", \"placeholder\": \"Select model...\" }, \"name\": \"Name\", \"tag\": \"Tag\", \"title\": \"Printers\", \"type\": { \"label\": \"Type\", \"placeholder\": \"Select type...\" } }, \"status\": { \"label\": \"Active\" }, \"tags\": { \"available\": { \"label\": \"Available Tags\" }, \"label\": \"Tags\", \"noTagsAvailable\": \"No tags available for this company\", \"noTagsSelected\": \"No tags selected\", \"placeholder\": \"Select tags...\", \"selected\": { \"label\": \"Selected Tags\" } }, \"title\": \"Location\" }, \"list\": { \"buttons\": { \"activateBulk\": \"Activate Locations ({selectedCount})\", \"deactivateBulk\": \"Deactivate Locations ({selectedCount})\", \"edit\": \"Edit\", \"new\": \"New Location\" }, \"table\": { \"company\": \"Company\", \"location\": \"Location\", \"menus\": \"Number of Menus\", \"type\": \"Type\" } } }, \"locationGroups\": { \"details\": { \"address\": { \"label\": \"Address\", \"placeholder\": \"Address\" }, \"brandingImages\": { \"label\": \"Branding images\" }, \"brandingType\": { \"label\": \"Use Banner\" }, \"buttons\": { \"accept\": \"Save\", \"cancel\": \"Cancel\" }, \"cashDiscount\": { \"cashDiscountDisplayName\": \"Cash Discount Display Name\", \"enabled\": \"Enabled Cash Discount Display Name\", \"label\": \"Cash Discount\" }, \"cashless\": { \"backgroundImage\": { \"button\": \"Upload image\", \"label\": \"Background image\", \"recommendedSize\": \"Aspect Ratio: 16:9. Suggested: 2560 x 1440 pixels.\", \"remove\": \"Remove image\" }, \"cashlessLogo\": { \"button\": \"Upload image\", \"label\": \"Event logo\", \"recommendedSize\": \"Aspect Ratio: 1:1. Suggested: 300 x 300 pixels.\", \"remove\": \"Remove image\" }, \"creditCardIsRequired\": { \"label\": \"Require credit card\", \"options\": { \"no\": \"No\", \"yes\": \"Yes\" } }, \"enablePromoEmails\": { \"label\": \"Enable registration emails\" }, \"enableQRCode\": { \"label\": \"Enable QRCode Generation\" }, \"enabled\": \"Enabled\", \"eventUrl\": { \"label\": \"Event URL\", \"placeholder\": \"domain\" }, \"gateways\": { \"label\": \"Available gateways\", \"placeholder\": \"Select a gateway...\" }, \"humanReadableCodeLength\": { \"error\": \"Human readable code length must be a number greater than 0\", \"label\": \"Human readable code length\", \"placeholder\": \"Enter human readable code length\" }, \"introBody\": { \"label\": \"Registration site intro body\", \"placeholder\": \"Enter registration site intro body\" }, \"introFooter\": { \"label\": \"Registration site intro footer\", \"placeholder\": \"Enter registration site intro footer\" }, \"introHeader\": { \"label\": \"Registration site intro header\", \"placeholder\": \"Enter registration site intro header\" }, \"label\": \"Cashless\", \"options\": { \"no\": \"No\", \"yes\": \"Yes\" }, \"registrationSite\": { \"enabled\": \"Enabled\", \"label\": \"Registration Site\", \"options\": { \"no\": \"No\", \"yes\": \"Yes\" } }, \"reverseUIDEnabled\": { \"label\": \"Enable reverse UID\" }, \"startButtonTitle\": { \"label\": \"Registration site start button title\", \"placeholder\": \"Enter registration site start button title\" }, \"thankYou\": { \"label\": \"Registration site thank you text\", \"placeholder\": \"Enter registration site thank you text\" }, \"v4EventId\": { \"label\": \"V4 Event Id\" }, \"wristband\": { \"button\": \"Add wristband file\", \"errors\": { \"fileExists\": \"Wristband already exists\", \"invalidFileType\": \"Wristband file must be Excel format\", \"missingUID\": \"Wristband file must have a UID\", \"wristbandUploading\": \"Wristband uploading in progress\" }, \"import\": \"Wristbands to import:\", \"imported\": \"Imported Wristbands:\", \"label\": \"Wristband list\", \"removeFile\": \"Remove file\" } }, \"cashlessScreenBrand\": { \"button\": \"Upload image\", \"label\": \"Cashless lookup branding\" }, \"companies\": { \"buttons\": { \"add\": \"Add Company\" }, \"company\": { \"label\": \"Company\", \"placeholder\": \"Select a company...\" }, \"loadingMessage\": \"Loading Companies...\", \"location\": { \"label\": \"Participating Locations ({selectedCount})\", \"loadingMessage\": \"Loading Locations...\" }, \"locationsModal\": { \"addLocations\": \"Update Locations\", \"cancel\": \"Cancel\", \"create\": \"Create Location\", \"title\": \"Select Locations\" }, \"reportsTo\": { \"label\": \"Reports to\", \"placeholder\": \"Select a company...\" }, \"role\": { \"label\": \"Role\", \"placeholder\": \"Select a role...\" }, \"title\": \"Companies\" }, \"customFees\": { \"buttons\": { \"add\": \"Add Custom Fee\" }, \"deleteModal\": { \"butons\": { \"cancel\": \"Cancel\", \"delete\": \"Delete\" }, \"message\": \"Delete custom fee: {customFeeName}?\", \"title\": \"Delete Custom Fee\" }, \"disclaimer\": \"(Verify the local laws in your area for service fee limitations)\", \"list\": { \"buttons\": { \"activateCustomFee\": \"Activate Custom Fee\", \"deactivateCustomFee\": \"Deactivate Custom Fee\", \"delete\": \"Delete\", \"disableCustomFee\": \"Disable Custom Fee\", \"edit\": \"Edit\", \"enableCustomFee\": \"Enable Custom Fee\" }, \"table\": { \"appliesTo\": \"Applies To\", \"date\": \"Date\", \"enable\": \"Enable\", \"locationGroupName\": \"Event/Venue\", \"name\": \"Name\", \"taxable\": \"Taxable\", \"type\": \"Type\", \"username\": \"User\", \"value\": \"Value\" } }, \"loadingMessage\": \"Loading Custom Fees...\", \"modal\": { \"appliesTo\": { \"label\": \"Applies To\", \"placeholder\": \"Select applies to...\" }, \"buttons\": { \"add\": \"Add\", \"cancel\": \"Cancel\", \"edit\": \"Save\", \"logs\": \"Logs\" }, \"enabled\": \"Enabled\", \"errors\": { \"duplicatedName\": \"Custom fee Name cannot be duplicated\", \"emptyName\": \"The Custom fee Name can't be blank\", \"nullAppliesTo\": \"The Custom fee Applies To can't be null\", \"nullPaymentType\": \"The Custom fee Payment types can't be null\", \"nullType\": \"The Custom fee Type can't be null\", \"nullValue\": \"The Custom fee Value can't be blank\" }, \"logs\": { \"buttons\": { \"close\": \"Close\" }, \"loadingMessage\": \"Loading custom fee logs...\", \"title\": \"Custom Fee Logs\" }, \"name\": \"Name\", \"payments\": { \"label\": \"Payment types\", \"placeholder\": \"Select payment types\" }, \"taxable\": \"Is Taxable?\", \"title\": \"Custom Fee Editor\", \"type\": { \"label\": \"Type\", \"placeholder\": \"Select a type\" }, \"value\": \"Value\" }, \"title\": \"Custom Fees\" }, \"dateRange\": { \"label\": \"Date ranges\" }, \"descriptor\": { \"label\": \"Custom descriptor\", \"placeholder\": \"Custom descriptor\" }, \"descriptorEnabled\": { \"label\": \"Custom descriptor\" }, \"endDate\": { \"label\": \"End date\", \"placeholder\": \"Select a date...\" }, \"errors\": { \"descriptorEmptyError\": \"Custom descriptor can't be blank\", \"duplicatedNameError\": \"An Event/Venue with this name already exists. Please use a different name.\", \"endDateError\": \"End date can't be blank\", \"eventUrlError\": \"Event URL subdomain can't be blank\", \"gatewayError\": \"Cashless gateway can not be empty.\", \"imageError\": \"The image you uploaded is either incomplete or damaged\", \"noProducerOwnerSelected\": \"Select a Producer/Owner\", \"producerOwnerExists\": \"Producer/Owner already exists\", \"savingError\": \"Error saving {locationGroupType} {name}.\", \"selectedLocationsReverted\": \"Selected locations reverted\", \"startDateError\": \"Start date can't be blank\", \"successSave\": \"{locationGroupType} {name} saved.\", \"successStatusChange\": \"{locationGroupType} {name} status changed successfully.\", \"wristbandAttachmentFileDownloadError\": \"Error downloading wristband attachment file\", \"wristbandAttachmentFileError\": \"Please select a wristband attachment file\" }, \"locationGroupType\": { \"label\": \"Type\", \"placeholder\": \"Select a type...\" }, \"name\": { \"label\": \"Name\", \"placeholder\": \"Name\" }, \"promotions\": { \"buttons\": { \"add\": \"Add promotion\" }, \"list\": { \"buttons\": { \"activatePromotion\": \"Activate Promotion\", \"disablePromotion\": \"Disable Promotion\", \"edit\": \"Edit\", \"enablePromotion\": \"Enable Promotion\", \"inactivatePromotion\": \"Inactivate Promotion\" }, \"table\": { \"active\": \"Active\", \"enable\": \"Enable\", \"locationGroupName\": \"Event/Venue\", \"name\": \"Name\", \"promotionRedemptionRule\": \"Redemption Rule\", \"receiptDisplay\": \"Receipt Display\", \"status\": \"Status\", \"type\": \"Type\" } }, \"loadingMessage\": \"Loading Promotions...\", \"modal\": { \"amount\": \"Amount\", \"amountDollars\": \"Amount($)\", \"amountType\": \"Amount Type\", \"amountTypePlaceholder\": \"Select amount type...\", \"appliesTo\": { \"label\": \"Applies To\", \"placeholder\": \"Select applies to...\" }, \"buttons\": { \"add\": \"Add\", \"cancel\": \"Cancel\", \"clearBins\": \"Clear Current Bins\", \"downloadBins\": \"Get Bins List\", \"edit\": \"Save\", \"itemTokenProducts\": \"Select Products\", \"uploadBins\": \"Upload Bins\" }, \"cardType\": { \"label\": \"Card Type\", \"placeholder\": \"Select a card type\" }, \"confirmNoCardType\": { \"buttons\": { \"cancel\": \"Cancel\", \"save\": \"Save\" }, \"message\": \"No card type is selected. This promotion will not be applied to any specific card type. Do you want to continue?\", \"title\": \"No Card Type Selected\" }, \"errors\": { \"amountType\": \"Promotion must have an amount type\", \"duplicatedImagePlacement\": \"2 or more images are using the same image placement\", \"duplicatedName\": \"Promotion name cannot be duplicated\", \"emptyName\": \"The promotion name can't be blank\", \"errorGettingBinList\": \"Error getting bin list\", \"groupSize\": \"Group Size must be greater than 0\", \"imagesLimit\": \"Maximum number of images(4) reached\", \"invalidFileSize\": \"File is too large. Maximum size is 1mb\", \"invalidFileType\": \"File must be csv\", \"nullAppliesTo\": \"The promotion Applies To can't be null\", \"nullImage\": \"Image cannot be empty\", \"nullImagePlacement\": \"Images must have a placement\", \"nullPaymentType\": \"The promotion Payment types can't be null\", \"onUsageTrigger\": \"Promotion must have trigger type 'On usage'\", \"triggerTypeRequired\": \"Trigger Type is required\", \"validAmount\": \"Promotion must have a valid amount\", \"validPercentage\": \"Promotion must have a valid percentage\", \"validProductCatalogs\": \"Promotion must have valid products\" }, \"groupSize\": \"Group Size\", \"images\": { \"add\": \"Add Image\", \"placement\": { \"label\": \"Image placement\", \"placeholder\": \"Select image placement...\" }, \"removeImage\": { \"deleteImage\": \"Delete image\", \"removePromotionImage\": \"Remove promotion image\" }, \"title\": \"Images\" }, \"message\": { \"label\": \"Message\" }, \"minimumSpentTotal\": \"Minimum Spent Total\", \"name\": \"Name\", \"payments\": { \"label\": \"Payment types\", \"placeholder\": \"Select payment types\" }, \"percentage\": \"Percentage\", \"promoRedemptionRule\": \"Redemption Rule\", \"quantity\": \"Quantity\", \"receiptDisplayInline\": \"Receipt Display Inline\", \"redemptionExpirationDateTime\": { \"button\": \"Clear\", \"label\": \"Redemption Expiration Date\" }, \"redemptionMaxCount\": \"Redemption Max Count\", \"status\": \"Status\", \"title\": \"Promotion Editor\", \"triggerType\": { \"label\": \"Trigger Type\", \"placeholder\": \"Select a trigger type\" }, \"type\": \"Type\", \"uploadBin\": \"Upload Bin File\" }, \"title\": \"Promotions\" }, \"receiptLogo\": { \"button\": \"Upload image\", \"label\": \"Receipt logo\" }, \"receiptText\": { \"label\": \"Receipt text\", \"placeholder\": \"Enter receipt text\" }, \"roundUp\": { \"displayName\": \"Round Up Display Name\", \"displayNamePlaceholder\": \"Enter Round Up Display Name\", \"enabled\": \"Enabled Round Up Display Name\", \"error\": { \"nameRequired\": \"Please Enter The Round up Displayed Name\" }, \"label\": \"Round Up\", \"options\": { \"no\": \"No\", \"yes\": \"Yes\" }, \"roundUpBanner\": { \"label\": \"Round Up Picture\", \"recommendedSize\": \"Aspect Ratio: 16:9. Suggested: 1280 x 720 pixels.\", \"removeImage\": \"Remove image\", \"uploadImage\": \"Upload Image\" } }, \"startDate\": { \"label\": \"Start date\", \"placeholder\": \"Select a date...\" }, \"surcharge\": { \"enabled\": \"Enabled Surcharge Display Name\", \"label\": \"Surcharge\", \"surchargeDisplayName\": \"Surcharge Display Name\" }, \"thankYouScreenBrand\": { \"button\": \"Upload image\", \"label\": \"Thank you screen branding\" }, \"timezone\": { \"button\": \"Select a Timezone\", \"label\": \"Timezone\", \"modal\": { \"buttons\": { \"accept\": \"Ok\", \"cancel\": \"Cancel\" }, \"title\": \"Timezones\" }, \"placeholder\": \"Select a Timezone\" }, \"tipScreenBrand\": { \"button\": \"Upload image\", \"label\": \"Tip screen branding\" }, \"tipsDeduction\": { \"enabled\": \"Enabled\", \"label\": \"Digital Tips Deduction From Cash Drawer/Deposit\" }, \"title\": \"Event/Venue Management\", \"userCreationFromTablet\": { \"label\": \"Enable user creation from tablet\" } }, \"list\": { \"buttons\": { \"active\": \"Set active\", \"edit\": \"Edit\", \"inactive\": \"Set inactive\", \"new\": \"New Event/Venue\" }, \"cashless\": { \"header\": \"Cashless\", \"no\": \"No\", \"yes\": \"Yes\" }, \"errors\": { \"loadTabletsError\": \"Error loading tablets\", \"pushTagSyncError\": \"Error pushing tags\" }, \"locationGroupStatus\": { \"label\": \"Status\", \"placeholder\": \"Select a status...\" }, \"locationGroupType\": { \"label\": \"Type\", \"placeholder\": \"Select a type...\" }, \"locations\": \"Locations\", \"name\": \"Name\", \"status\": { \"active\": \"Active\", \"inactive\": \"Inactive\" }, \"success\": { \"pushTagSync\": \"Tags pushed successfully\" }, \"table\": { \"pushTagSyncModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"pushTagSync\": \"Push Tags\" }, \"title\": \"Push Tags to Tablets\" } }, \"timezone\": \"Timezone\" } }, \"login\": { \"signin\": { \"button\": \"log in\", \"confirmPassword\": { \"label\": \"confirm password\" }, \"errors\": { \"passwordRequired\": \"password is required\", \"usernameRequired\": \"username is required\" }, \"password\": { \"label\": \"password\" }, \"title\": \"Best Ring PoS logo\", \"username\": { \"label\": \"username\" } } }, \"menu\": { \"builder\": { \"buttons\": { \"back\": \"Back\", \"cancel\": \"Cancel\", \"next\": \"Next\", \"save\": \"Save\", \"update\": \"Update\" }, \"errors\": { \"invalidPercentage\": \"Tax value must be a valid integer between 0-100\", \"nonNumberInput\": \"Invalid input, only numbers from 0-9\" }, \"steps\": { \"features\": { \"title\": \"Features\" }, \"menuInfo\": { \"title\": \"Menu Information\" }, \"menuStructure\": { \"title\": \"Menu Structure\" }, \"paymentInfo\": { \"title\": \"Payment Information\" }, \"productCatalog\": { \"title\": \"Product Catalog\" }, \"receiptOpts\": { \"title\": \"Receipt Options\" }, \"stepFive\": { \"cashDrawer\": { \"allCheckBoxLabel\": \"All\", \"errors\": { \"anyOptionSelected\": \"You must select at least an option.\" }, \"legend\": \"Open cash drawer options\" }, \"defaultReceiptTender\": { \"errors\": { \"anyOptionSelected\": \"You must select an option.\" }, \"label\": \"Select default receipt option display by the PoS\", \"placeholder\": \"Select an option\" }, \"design\": { \"address1\": { \"label\": \"Address 1\", \"placeholder\": \"Address 1\" }, \"address2\": { \"label\": \"Address 2\", \"placeholder\": \"Address 2\" }, \"barPrinterCopies\": { \"label\": \"Bar printer copies\" }, \"customerCopies\": { \"label\": \"Customer Copies\" }, \"errors\": { \"missingAddress1\": \"Address 1 can not be empty.\", \"missingAddress2\": \"Address 2 can not be empty.\", \"missingFooter\": \"Footer can not be empty.\", \"missingHeader\": \"Header can not be empty.\" }, \"footer\": { \"label\": \"Footer\", \"placeholder\": \"Footer\" }, \"header\": { \"label\": \"Header\", \"placeholder\": \"Header\" }, \"kitchenPrinterCopies\": { \"label\": \"Kitchen printer copies\" }, \"legend\": \"Receipt design\", \"logo\": { \"button\": \"Upload an image\", \"label\": \"Logo\" }, \"merchantCopies\": { \"label\": \"Merchant Copies\" } }, \"printOptions\": { \"barPrinterCopies\": { \"label\": \"Bar printer copies\" }, \"customerCopies\": { \"label\": \"Customer copies\" }, \"kitchenPrinter\": { \"label\": \"Will you setup a printer in the kitchen?\", \"radios\": { \"false\": \"No\", \"true\": \"Yes\" } }, \"kitchenPrinterCopies\": { \"label\": \"Kitchen printer copies\" }, \"legend\": \"Print options\", \"merchandCopies\": { \"label\": \"Merchant copies\" }, \"printReceipt\": { \"label\": \"Print receipts for\" }, \"receiptsAllTenders\": { \"label\": \"Will you print receipts to all tender types?\", \"radios\": { \"false\": \"No\", \"true\": \"Yes\" } } }, \"printReceipt\": { \"label\": \"Will you print receipts?\", \"radios\": { \"false\": \"No\", \"true\": \"Yes\" } } }, \"stepFour\": { \"clerkLock\": { \"codeLabel\": \"Clerk unlock code\", \"codePlaceholder\": \"00000\", \"enable\": \"Lock clerk to menu\", \"errors\": { \"noLockCodeEntered\": \"No lock code entered\", \"notNumeric\": \"Clerk unlock code must be exactly 5 digits\" } }, \"cloudTabs\": { \"enable\": \"Enable Cloud Tabs\", \"message\": \"Tabs created at an Event / Venue will be shared across tablets utilizing this menu in the same Event / Venue.\" }, \"colorButtons\": { \"enable\": \"Enable color buttons\" }, \"customProducts\": { \"label\": \"Allow custom product creation on tablet\" }, \"diningPreference\": { \"label\": \"Enable dining preference selection\" }, \"employeeDiscount\": { \"errors\": { \"invalidPercentage\": \"Employee discount is a percentage and need to be between 0 and 100 and no more than 2 decimals.\" }, \"label\": \"Employee discount\", \"percentage\": \"%\" }, \"kdsTiming\": { \"blankPlaceholder\": \"Default\", \"errors\": { \"notPositive\": \"Kitchen display timing must be a whole number of seconds greater than zero, or left empty for the default\", \"tooLarge\": \"Kitchen display timing cannot be more than 86400 seconds, which is 24 hours\" }, \"newToStartMax\": { \"infoText\": \"How long a new order may sit untouched before the window is late to start it. Default 300 seconds (5 minutes).\", \"label\": \"Late to start after\" }, \"noEstimatePlaceholder\": \"None\", \"readyToPickupMax\": { \"infoText\": \"How long a finished order may wait on the pass before the window is late to hand it over. Default 900 seconds (15 minutes).\", \"label\": \"Late to hand over after\" }, \"seconds\": \"sec\", \"sectionInfoText\": \"How long each stage of an order may take at a kitchen display before the window is flagged as late. Vendor display only, never shown to a guest.\", \"sectionLabel\": \"Kitchen display timing\", \"startToReadyMax\": { \"infoText\": \"How long an order may stay in progress before the window is late to finish it. Default 300 seconds (5 minutes).\", \"label\": \"Late to finish after\" }, \"startToReadyMin\": { \"infoText\": \"How long this food normally takes once started, used to estimate a guest wait. No default: left empty, no estimate is produced for this menu.\", \"label\": \"Expected prep time\" } }, \"multiplePages\": { \"deafultTooltip\": \"Allow the menu to have multiple pages per Category\", \"enable\": \"Enable multiple pages\", \"errorTooltip\": \"In order to disable this option each menu category must have a maximun of 1 page\", \"errors\": { \"deletePages\": \"You have categories with more than 1 page, delete the pages in order to activate this option\" } }, \"orderNote\": { \"enable\": \"Enable order note\" }, \"productImages\": { \"enable\": \"Enable product images\" }, \"promoRedemptionRule\": { \"placeholder\": \"Select a rule\" }, \"standalone\": { \"enable\": \"Enable standalone\" }, \"tabs\": { \"enable\": \"Enable tabs\" }, \"tips\": { \"tipAmountButtonsEnabled\": \"Enable amount buttons\", \"tipManualEntryEnabled\": \"Enable manual entry field\", \"tipMinusPlusOneButtonsEnabled\": \"Enable -/+ buttons\", \"tipPercentageButtonsEnabled\": \"Enable percentage buttons\", \"title\": \"Tips\" }, \"transactionSending\": { \"errors\": { \"transactionTypeNotSelected\": \"Please select a transaction sending method.\" }, \"label\": \"Transactions sending method\", \"placeholder\": \"Select a method\" } }, \"stepOne\": { \"addLocations\": { \"label\": \"Add Locations\" }, \"administratorCode\": { \"infoText\": \"This is used to back out of a credit card or cashless transaction\", \"label\": \"Admin Code\", \"placeholder\": \"Admin Code\" }, \"cashlessAdministratorCode\": { \"checkboxLabel\": \"Require Cashless Code\", \"infoText\": \"This is used to access the cashless lookup screen\", \"label\": \"Cashless Code\", \"placeholder\": \"Cashless Code\" }, \"editLocations\": { \"label\": \"Edit Locations\" }, \"errors\": { \"adminCode\": \"Administrator code cannot be empty.\", \"adminCodeNotNumeric\": \"Administrator code must be 5 digits\", \"cashlessAdminCode\": \"Cashless Administrator code cannot be empty.\", \"cashlessAdminCodeNotNumeric\": \"Cashless Administrator code must be 5 digits\", \"currencyNotSelected\": \"A currency must be selected.\", \"emptyName\": \"Menu name cannot be empty.\", \"noLocations\": \"Menu must have at least one location\", \"voidAdminCode\": \"Cashless Administrator code cannot be empty.\", \"voidAdminCodeNotNumeric\": \"Void Administrator code must be 5 digits\" }, \"locationsCount\": \"{count, plural, =0 {0 locations} =1 {# location} other {# locations}} added\", \"menuCodes\": \"Authorization codes\", \"menuCurrency\": { \"label\": \"Currency\", \"placeholder\": \"Select a currency\" }, \"menuName\": { \"label\": \"Menu name\", \"noteLine1\": \"* Menus are listed in alphabetical order, if there are more than 10 Menus please title them with two digits:\", \"noteLine2\": \"EX: Menu 01, Menu 02, Menu 03 … Menu 10, Menu 11, etc.\", \"placeholder\": \"Menu name\" }, \"pastOrdersManagerCodeRequired\": { \"checkboxLabel\": \"Require Manager Code To Access Past Orders\", \"infoText\": \"Enable this to require the Manager Code to access past orders on the tablet\", \"label\": \"Require Manager Code To Access Past Orders\", \"placeholder\": \"Require Manager Code To Access Past Orders\" }, \"voidAdministratorCode\": { \"infoText\": \"This is used for Voids, Comps, Spills and employee discount approval\", \"label\": \"Manager Code\", \"placeholder\": \"Manager Code\" } }, \"stepSix\": { \"buttons\": { \"category\": { \"add\": { \"label\": \"Add Category\" }, \"delete\": { \"label\": \"Delete\" }, \"edit\": { \"label\": \"Edit\" } }, \"page\": { \"add\": { \"label\": \"Add Page\" }, \"delete\": { \"label\": \"Delete\" }, \"edit\": { \"label\": \"Edit\" } } }, \"errors\": { \"categoriesMax\": \"The max number of categories allowed is 16\", \"duplicatedMenuNameError\": \"A menu with the same name already exists.\", \"duplicatedPosition\": \"{page} contains duplicated position {position}\", \"duplicatedProductNameError\": \"The new product already exists\", \"invalidNumber\": \"Invalid number. Please check before continue.\", \"invalidPercentage\": \"Invalid value. Please check before continue.\", \"invalidPosition\": \"Products cannot have a position higher than 24 ({product} in {page})\", \"menuCopy\": \"Menu copied!\", \"menuSave\": \"Menu saved!\", \"nameEmpty\": \"Name can not be empty.\", \"nameEmptyMultiplePages\": \"Category with multiple pages, names cannot be empty.\", \"nameLength\": \"Name too long, max 24 characters\", \"noCategoryError\": \"A menu needs to have at least a category. Please add one before save\", \"noMenuCreationWithoutCompanyLock\": \"You need to be locked to a company in order to be able to create menus.\", \"noPageError\": \"{category} needs to have at least a page. Please add one before save\", \"noProductError\": \"Category {category}/page {page}, needs to have at least a product. Please add one before save\", \"positionEmpty\": \"Products cannot have empty position\", \"productGroupTaxRateTypeNotSetError\": \"Menu Structure: {category}/page {page}, ProductGroup {productGroup}, Product {product} does not have the tax rate set. Please set the tax rate before saving.\", \"productTypeError\": \"At category {category}/page {page}, product {product} does not have a product type selected. Please check before save\", \"pushMenu\": \"Update Push Success\", \"saveError\": \"There was an error saving the menu. Please try again later.\", \"taxRateTypeError\": \"At category {category}/page {page}, product {product} does not have a tax rate type selected. Please check before save\", \"taxRateTypeNotSetError\": \"Menu Structure: {category}/page {page}, Product {product} does not have the tax rate set. Please set the tax rate before saving.\" }, \"productTable\": { \"buttons\": { \"add\": { \"addCombo\": \"Add Combo\", \"addProduct\": \"Add Product\", \"addProductGroup\": \"Add ProductGroup\" }, \"addModifiers\": { \"label\": \"Modifiers\", \"messageDisabled\": \"Modifiers disabled for custom products\" }, \"delele\": { \"label\": \"Delete\" }, \"edit\": { \"label\": \"Edit\" } }, \"headers\": { \"allowModifications\": \"Allow modifications\", \"buttonColor\": \"Button color\", \"class\": \"Class\", \"custom\": \"Custom\", \"description\": \"Description\", \"edit\": \"Edit\", \"listView\": \"List View\", \"position\": \"Position\", \"price\": \"Price\", \"product\": \"Product\", \"productType\": \"Product type\", \"productTypeTax\": \"Product type tax\", \"tabletView\": \"Tablet View\", \"taxRate\": \"Tax rate (%)\", \"taxRateNotSet\": \"Not Set\", \"taxRateType\": \"Tax type\" }, \"modal\": { \"buttons\": { \"accept\": \"Ok\", \"cancel\": \"Cancel\", \"search\": \"Search\" }, \"errors\": { \"emptyName\": \"Product name can not be empty\", \"productGroupEmptyName\": \"ProductGroup name\" }, \"headers\": { \"description\": \"Description\", \"product\": \"Product\", \"productType\": \"Product Type\", \"suggestedPrice\": \"Suggested price\" }, \"inputText\": { \"placeholder\": \"Product, product type, price... \" }, \"modifiers\": { \"action\": { \"label\": \"Action\" }, \"error\": { \"errorSaving\": \"Unable to save modifier\", \"nameBlank\": \"Please select a valid trait\" }, \"labels\": { \"addExisting\": \"Or select existing modifiers in this menu\", \"addNew\": \"Create a new Modifier\" }, \"placement\": { \"label\": \"Placement\" }, \"price\": { \"label\": \"Price\" }, \"title\": \"Modifier Editor:\", \"trait\": { \"label\": \"Trait\", \"placeholder\": \"Select trait\" } }, \"productGroups\": { \"productGroupName\": \"Product Group Name\", \"title\": \"Product Group Editor\" }, \"title\": \"Products Editor\" }, \"page\": { \"buttons\": { \"add\": { \"label\": \"Add\" }, \"cancel\": { \"label\": \"Cancel\" }, \"update\": { \"label\": \"Update\" } }, \"label\": \"Category page\", \"name\": { \"label\": \"Name\" }, \"title\": \"Page editor\" }, \"productType\": { \"placeholder\": \"Select a type...\" }, \"taxRateType\": { \"placeholder\": \"Select a type...\" }, \"toppingModal\": { \"buttons\": { \"accept\": \"Ok\", \"cancel\": \"Cancel\" }, \"errors\": { \"emptyName\": \"Extra name can not be empty\" }, \"headers\": { \"extra\": \"Extra\", \"price\": \"Price\" }, \"title\": \"Extras editor\" } } }, \"stepThree\": { \"cash\": { \"cashCoinRounding\": { \"denomination\": \"Coin Denomination\", \"enable\": \"Enable Coin Rounding\" }, \"discount\": { \"enabled\": \"Enabled Cash Discount\", \"label\": \"Discount\", \"percentage\": \"%\" }, \"enable\": \"Enable cash\", \"fastCash\": { \"enable\": \"Enable Fast cash\" }, \"legend\": \"Cash information\", \"roundUpDonation\": { \"enabled\": \"Enable Round Up Donation\" } }, \"cashless\": { \"enable\": \"Enable RFID\", \"legend\": \"Cashless information\", \"patronLoadedFunds\": { \"enabled\": \"Enable patron loaded funds\" }, \"reader\": \"Disable RFID Reader\", \"roundUpDonation\": { \"enabled\": \"Enable Round Up Donation\" }, \"signature\": \"Enable signature\", \"subMerchants\": { \"creditCardSubMerchant\": { \"label\": \"Credit Card Sub Merchant\" }, \"paypalSubMerchant\": { \"label\": \"Paypal Sub Merchant\" }, \"placeholder\": \"Select Sub Merchant...\" } }, \"creditCard\": { \"enable\": \"Enable credit card\", \"entryMethods\": { \"emv\": { \"enable\": \"Enable EMV\", \"errors\": { \"invalidMethod\": \"You need to select a EMV validation method in location {location}.\" }, \"placeholder\": \"Select a method\", \"validationMethod\": \"Validation method\" }, \"legend\": \"Entry method\", \"manual\": { \"enable\": \"Enable manual entry\", \"signature\": \"Signature required\" }, \"swipe\": { \"enable\": \"Enable swipe\", \"signature\": \"Signature required\" } }, \"errors\": { \"noGatewaySelected\": \"Select a gateway.\", \"noGatewaySelectedForLocation\": \"Select a gateway for {location}.\", \"noLocations\": \"Assign locations to this menu.\", \"noMethodSelected\": \"You must select at least one entry method for location {location}.\", \"noOptionsSelected\": \"Credit card is enabled, but no entry methods selected for {location}.\", \"noPaymentSelected\": \"Select at least one payment option.\", \"noPaymentSelectedForLocation\": \"Select at least one payment option for location {location}.\" }, \"gateway\": { \"label\": \"Select CC gateway\", \"legend\": \"Gateway\", \"placeholder\": \"Select a gateway\" }, \"legend\": \"Credit card information\", \"roundUp\": { \"label\": \"Enable Round Up Donation\" }, \"surcharge\": { \"enableSurcharge\": \"Enable Surcharge\", \"label\": \"Surcharge\", \"percentage\": \"%\" } } }, \"stepTwo\": { \"menuTaxes\": { \"details\": \"This is the tax rate used by default for all products on this menu.\", \"errors\": { \"empty\": \"Menu tax rate can not be empty.\", \"invalidPercentage\": \"Menu tax rate is a percentage and need to be between 0 and 100 and no more than 3 decimals.\" }, \"label\": \"Menu Tax Rate:\", \"legend\": \"Menu Taxes\", \"menuTaxType\": { \"clearTax\": \"Clear Tax\", \"description\": \"Select the type of taxation you want to apply for this menu\", \"label\": \"Menu Tax Type:\", \"notSetTax\": \"Not Set\", \"placeHolder\": \"Select Menu Tax Type\", \"setTax\": \"Set Tax\" }, \"placeholder\": \"Menu tax rate\" }, \"productTypes\": { \"buttons\": { \"accept\": \"OK\", \"cancel\": \"Cancel\", \"setup\": \"Setup Product Type Tax\" }, \"description\": \"This section is to enable and configure tax for specific product types used on this menu.\", \"errors\": { \"invalidPercentage\": \"{productType} percentage need to be between 0 and 100 and has no more than 2 decimals.\" }, \"headers\": { \"name\": \"Name\", \"taxRate\": \"Tax rate (%)\" }, \"legend\": \"Product types\", \"modalTitle\": \"Product Type Tax\", \"productTypeCount\": \"{count, plural, =0 {0 product types} =1 {# product type} other {# product types}} added\" }, \"serviceFee\": { \"description\": \"Check this box if you’d like to add the “service fee” feature when using TABS. If there is an added fee for bottle service or something similar where a percentage to the order needs to be added (other than gratuity), this checkbox will enable this feature in the app.\", \"details\": \"This is the percentage that will be applied to the order when the user presses this button in the app.\", \"enable\": \"Enable Service Fee:\", \"errors\": { \"empty\": \"Service fee can not be empty.\", \"invalidPercentage\": \"Service fee is a percentage and need to be between 0 and 100 and no more than 2 decimals.\" }, \"label\": \"Service Fee Tax Rate\", \"legend\": \"Service fee\", \"placeholder\": \"Service fee tax rate\" } }, \"taxes\": { \"title\": \"Taxes\" } } }, \"linkLocationsModal\": { \"buttons\": { \"accept\": \"Ok\", \"cancel\": \"Cancel\" }, \"companies\": { \"placeholder\": \"Select one or more companies...\" }, \"title\": \"Select locations\" }, \"list\": { \"buttons\": { \"activate\": \"Activate\", \"activateBulk\": \"Activate Menus ({selectedCount})\", \"addLocations\": \"Add Locations\", \"copyMenu\": \"Copy Menu\", \"deactivate\": \"Deactivate\", \"deactivateBulk\": \"Deactivate Menus ({selectedCount})\", \"edit\": \"Edit\", \"editLocations\": \"Edit Locations\", \"new\": \"New Menu\", \"removeImage\": \"Remove image\", \"removeLogo\": \"Remove logo\" }, \"errors\": { \"lockedMenu\": \"Menu {menuName} is being edited by {userName}\" }, \"table\": { \"categories\": \"Categories\", \"company\": \"Company\", \"copyModal\": { \"buttons\": { \"cancelCopy\": \"Cancel\", \"copy\": \"Copy\" }, \"messageLine1\": \"Enter a name for the new menu\", \"title\": \"Copy Menu New Name\" }, \"location\": \"Locations\", \"menu\": \"Menu\", \"modal\": { \"buttons\": { \"cancelDeactivate\": \"Cancel Deactivate\", \"deactivate\": \"Deactivate\" }, \"messageLine1\": \"Please ensure menu is not in use.\", \"messageLine2\": \"This will result in the loss of tabs not cashed out.\", \"title\": \"Deactivate menu\" }, \"pages\": \"Pages\", \"pushMenuModal\": { \"buttons\": { \"cancelPush\": \"Cancel\", \"forcePush\": \"Force Push\", \"push\": \"Push Update\" }, \"title\": \"Push Menu Update\" }, \"status\": { \"active\": \"Active\", \"header\": \"Status\", \"inactive\": \"Inactive\" }, \"unlockModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"unlock\": \"Unlock\" }, \"messageLine1\": \"Unlocking a menu could potentially cause data inconsistencies\", \"messageLine2\": \"Please make sure no users are editing the menu at the same time\", \"title\": \"Unlock Menu\" }, \"updatedAt\": \"Last update\", \"usable\": { \"header\": \"Usable\", \"unusable\": \"Unusable\", \"usable\": \"Usable\" }, \"version\": \"Latest version\" } }, \"modal\": { \"buttons\": { \"cancel\": \"Cancel\", \"leave\": \"Leave\" }, \"categoryModal\": { \"buttons\": { \"add\": { \"label\": \"Add\" }, \"addPage\": { \"label\": \"Add page\" }, \"cancel\": { \"label\": \"Cancel\" }, \"update\": { \"label\": \"Update\" } }, \"errors\": { \"duplicatedCategoryName\": \"Duplicated category name\", \"nameEmpty\": \"Category name can not be empty.\", \"pagesEmptyNames\": \"There are more than one page, pages names cannot be empty\", \"pagesMax\": \"The max number of pages per category is 8\" }, \"multiplePages\": \"Has more than one page?\", \"name\": { \"label\": \"Name\" }, \"radios\": { \"false\": \"No\", \"true\": \"Yes\" }, \"title\": \"Category editor\" }, \"productTaxType\": { \"buttons\": { \"cancel\": \"No\", \"save\": \"Yes\" }, \"message1\": \"You have {productTypeTaxNotSelectedCount} product(s) with an unassigned tax type, these products are listed below:\", \"message2\": \"You have {productGroupTypeTaxNotSelectedCount} product(s) in a product group with an unassigned tax type, these products are listed below:\", \"message3\": \"Do you still wish to save the menu?\", \"title\": \"Warning - No Product Tax Type has been assigned\" }, \"productTaxTypeNotSet\": { \"buttons\": { \"close\": \"Close\", \"navigateToMenuStructure\": \"Navigate to menu structure step\", \"navigateToProductTypeTax\": \"Navigate to taxes step\" }, \"message1\": \"You have {productTypeTaxNotSetCount} product(s) with a tax rate of Not Set , these products are listed below:\", \"message2\": \"You have {productGroupTypeTaxNotSetCount} product(s) in a product group with a tax rate of Not Set , these products are listed below:\", \"message3\": \"Please assign a value from the Tax tab or change the Tax Type of the listed Products.\", \"title\": \"Warning - Product Tax Type Not Set\" }, \"saveChanges\": { \"leaveEditMessage\": \"Leave without saving changes?\", \"leaveNewMessage\": \"Leaving will result in your menu not being saved\", \"title\": \"Leaving wizard\" } } }, \"metaProductCatalog\": { \"modal\": { \"attributeSet\": { \"attributes\": \"Attributes\", \"buttons\": { \"addAttributeSet\": \"Add attribute set\" }, \"loadingAttributeSets\": \"Loading attribute sets...\", \"name\": \"Attribute Set\", \"placeholder\": \"Select attribute set...\", \"priority\": \"Priority\" }, \"buttons\": { \"accept\": { \"save\": { \"label\": \"Generate Products\" }, \"saving\": { \"label\": \"Generating Products\" } }, \"cancel\": { \"label\": \"Cancel\" }, \"clearAllSelected\": { \"label\": \"[Clear All Selected\" }, \"create\": { \"label\": \"Generate Products\" } }, \"company\": { \"label\": \"Company\", \"placeholder\": \"Select a company...\" }, \"errors\": { \"duplicatedName\": \"Duplicated product catalog {name}\", \"noGeneratedProductCatalogsSelected\": \"Select at least 1 generated product catalog\", \"savingError\": \"There was an error saving the product template {name}.\", \"successSave\": \"Products Generated Successfully\" }, \"name\": { \"label\": \"Product Template Name\", \"placeholder\": \"Product template name\" }, \"price\": { \"label\": \"Price\" }, \"productType\": { \"label\": \"Product type\", \"placeholder\": \"Select a product type...\" }, \"title\": \"Product Catalog Template Editor\" } }, \"onlineOrderingLink\": { \"add\": { \"heading\": \"Publish a new link\", \"help\": \"Choose an event to see every window and menu it has, and publish the ones that should take online orders.\" }, \"list\": { \"buttons\": { \"edit\": \"Edit code\", \"fix\": \"Switch on\", \"publish\": \"Publish\", \"refresh\": \"Refresh\", \"restore\": \"Restore\", \"retire\": \"Retire\" }, \"chooseEvent\": \"Choose an event to see its ordering links.\", \"code\": \"Code\", \"editModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"save\": \"Change it\" }, \"codeLabel\": \"New code\", \"message\": \"Change the code for {name}, currently {code}.\", \"title\": \"Change this code\", \"warning\": \"Every sign already printed with the old code stops working immediately, and the old code becomes free for another window to take later.\" }, \"errors\": { \"loadFailed\": \"Could not load the ordering links for this event.\", \"writeFailed\": \"Could not change the link for {name}.\" }, \"event\": { \"label\": \"Event/Venue\", \"placeholder\": \"Choose an event\" }, \"filterPlaceholder\": \"Filter by location\", \"location\": \"Location\", \"menu\": \"Menu\", \"noPairs\": \"This event has no location serving a menu, so there is nothing to publish.\", \"notPublished\": \"Not published\", \"publishModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"publish\": \"Publish\" }, \"codeHelp\": \"Letters and digits, 4 to 12 characters. This is what a guest reads off the printed sign, so most events use something memorable like ACLVIP or BAR01. Leave it blank and one will be generated. To make one sign cover a festival that runs as several events, publish the same code again for the same window in each of them.\", \"codeLabel\": \"Code\", \"codePlaceholder\": \"Leave blank to generate one\", \"confusable\": \"This code mixes characters people misread on a sign: O and 0, I and 1 and L. It will still be accepted.\", \"message\": \"Publish a link for {name}, menu {menu}.\", \"title\": \"Publish an ordering link\" }, \"reasons\": { \"event_not_enabled\": \"Online ordering is off for this event.\", \"location_inactive\": \"The location is inactive.\", \"menu_location_not_enabled\": \"Online ordering is off for this menu at this location.\", \"menu_not_at_location\": \"This menu is no longer served at this location.\", \"menu_not_enabled\": \"Online ordering is off for this menu.\", \"no_payment_method\": \"This window takes no payment method, so it cannot take an order. Set card or wristband payment on the menu at this location.\", \"not_in_event\": \"The location is no longer in this event.\", \"ok\": \"Guests can order here.\", \"retired\": \"Retired. The sign no longer works.\", \"unpublished\": \"No code has been published for this window.\" }, \"retireModal\": { \"buttons\": { \"cancel\": \"Cancel\", \"retire\": \"Retire it\" }, \"detail\": \"The printed sign stops working immediately. The code is never reused, so it can never point somewhere else.\", \"message\": \"Retire {code} for {name}?\", \"title\": \"Retire this link\" }, \"sharedAcrossEvents\": \"Several events\", \"sharedAcrossEventsHelp\": \"This code is published for the same window in more than one event, so one printed sign works for all of them. Retiring or renaming it affects every event it covers.\", \"status\": { \"enabled\": \"Enabled\", \"notEnabled\": \"Not enabled\", \"unpublished\": \"Not published\" }, \"statusHeader\": \"Enabled\", \"success\": { \"enabled\": \"Online ordering switched on for {name}. Guests can order here now.\", \"published\": \"Published {code} for {name}.\", \"renamed\": \"The code is now {code}. Any sign with the old one has stopped working.\", \"restored\": \"Restored {code} for {name}. The printed sign works again.\", \"retired\": \"Retired {code}. That sign no longer resolves.\" }, \"taking\": { \"no\": \"No\", \"reasons\": { \"closed_at_window\": \"The vendor closed this window at their tablet, or reopens it there.\", \"closed_by_ops\": \"Closed by operations. Reopen it on the KDS Stations screen.\", \"no_kds_polling\": \"No KDS has polled this window in five minutes, so nothing could work an order.\", \"taking_orders\": \"Guests can order here now.\" }, \"yes\": \"Yes\" }, \"takingHeader\": \"Taking orders\" }, \"live\": { \"filterPlaceholder\": \"Filter by event\", \"heading\": \"Ordering links in use\", \"none\": \"No ordering links have been published yet.\" } }, \"posToken\": { \"button\": \"Refresh Token\", \"expiredMessage\": \"Token will expire in:\", \"expiredToken\": \"Expired token\", \"message\": \"This token can be used to modify the Asset ID in any tablet running the POS Application. Please note that it will only work if the tablet in question has the right date/time/timezone set\", \"messageMinutes\": \" minutes\" }, \"productCatalog\": { \"list\": { \"brand\": \"Brand\", \"buttons\": { \"activate\": \"Activate\", \"activateBulk\": \"Activate Products ({selectedCount})\", \"deactivate\": \"Deactivate\", \"deactivateBulk\": \"Deactivate Products ({selectedCount})\", \"delete\": \"Delete\", \"edit\": \"Edit\", \"metaProductCatalog\": \"New Product Catalog Template\", \"new\": \"New Product\" }, \"company\": \"Company\", \"custom\": \"Custom\", \"errors\": { \"deleteSuccess\": \"Delete success!\", \"deletingError\": \"There was an error deleting the product {name}.\", \"toggleArchiveError\": \"There was an error activating/deactivating the product catalog(s).\", \"usedProductNameError\": \"{name} is currently in use and cannot be deleted.\" }, \"product\": \"Product\", \"productCatalogClass\": \"Class\", \"productCatalogSku\": \"Sku\", \"productCatalogTemplate\": \"Template\", \"productType\": \"Product type\", \"suggestedPrice\": \"Suggested price\" }, \"modal\": { \"brand\": { \"label\": \"Brand\", \"placeholder\": \"Brand description\" }, \"buttons\": { \"accept\": { \"save\": { \"label\": \"Save\" }, \"saving\": { \"label\": \"Saving\" } }, \"cancel\": { \"label\": \"Cancel\" }, \"create\": { \"label\": \"Create Product\" } }, \"comboSelection\": { \"label\": \"Combo selections\" }, \"company\": { \"label\": \"Company\", \"placeholder\": \"Select a company...\" }, \"custom\": { \"label\": \"Custom\" }, \"errors\": { \"duplicatedProductNameError\": \"{name} name is already been used in another product. Please consider another name.\", \"invalidImageFormat\": \"Product Image file type not supported\", \"invalidImageSize\": \"Image is too large. Maximum image size is 10mb\", \"savingError\": \"There was an error saving the product {name}.\", \"successSave\": \"{name} saved!\", \"usedProductNameError\": \"{name} currently in use and cannot be updated.\" }, \"name\": { \"label\": \"Product\", \"placeholder\": \"Name\" }, \"price\": { \"label\": \"Price\" }, \"productClass\": { \"label\": \"Class\", \"placeholder\": \"Select a product class...\" }, \"productType\": { \"label\": \"Type\", \"placeholder\": \"Select a product type...\" }, \"sku\": { \"label\": \"Sku\", \"placeholder\": \"Sku\" }, \"title\": \"Product editor\" } }, \"productType\": { \"details\": { \"buttonColor\": { \"label\": \"Button Color\" }, \"buttons\": { \"accept\": \"Save\", \"cancel\": \"Cancel\" }, \"company\": { \"label\": \"Company\", \"loadingMessage\": \"waiting for data...\", \"placeholder\": \"Select a company...\" }, \"errors\": { \"duplicatedProductTypeNameError\": \"{name} name is already been used in another product type. Please consider another name.\", \"nullPrinterTypeError\": \"Printer Type was null please verify and try again\", \"savingError\": \"There was an error saving the product type {name}.\", \"successSave\": \"{name} saved!\", \"usedProductTypeNameError\": \"{name} is currently in use and cannot be updated.\" }, \"name\": { \"label\": \"Name\", \"placeholder\": \"Name\" }, \"printerType\": { \"label\": \"Printer Type\", \"placeholder\": \"Select printer type...\" }, \"title\": \"Product type editor\" }, \"list\": { \"buttons\": { \"delete\": \"Delete\", \"edit\": \"Edit\", \"new\": \"New Product Type\" }, \"company\": \"Company\", \"errors\": { \"deleteSuccess\": \"Delete success!\", \"deletingError\": \"There was an error deleting the product type {name}.\", \"usedProductTypeNameError\": \"{name} is currently in use and cannot be deleted.\" }, \"name\": \"Product Type\", \"productsCount\": \"# of Products\" } }, \"report\": { \"dialog\": { \"buttons\": { \"cancel\": \"Cancel\", \"ok\": \"Ok\" }, \"emailSent\": \"Email successfully sent!\", \"errors\": { \"emailAdd\": \"Email address must not be empty.\", \"invalidEmailAdd\": \"Email address contains invalid format.\", \"invalidEmailAddNumber\": \"Maximum email address allowed is 5\", \"reportOutput\": \"No report format selected.\" }, \"exportOption\": \"Export Option\", \"note\": \"You may enter up to 5 email addresses, separated by a comma.\", \"reportDelivery\": \"Report Delivery\", \"reportFormat\": \"Report Format\" }, \"result\": { \"amount\": \"Amount\", \"amountModified\": \"Amount modified\", \"averagePrice\": \"Average price\", \"avgDollarsPerOrder\": \"Avg dollars per order\", \"cashDeposit\": \"Cash deposit (Gross cash minus digital tips)\", \"cashDepositWithoutDigitalTips\": \"Cash deposit\", \"cashSalesMinusTips\": \"Cash - Tips\", \"clerkReport\": { \"clerks\": { \"cashDiscounts\": \"Cash discounts\", \"cashDrawer\": \"Cash drawer\", \"cashGrossSales\": \"Cash net sales with tax\", \"cashMinusCreditTips\": \"Cash minus credit tips\", \"comp\": \"Comp\", \"coupon\": \"Coupon\", \"creditGrossSales\": \"Credit net sales with tax\", \"digitalDiscounts\": \"Digital discounts\", \"discounts\": \"Total discounts\", \"name\": \"Clerk\", \"netSalesWithTax\": \"Net sales with tax\", \"rfidGrossSales\": \"RFID net sales with tax\", \"spills\": \"Spills\", \"totalDigitalTips\": \"Total digital tips\", \"username\": \"Username\", \"voids\": \"Voids\" }, \"clerksByLocation\": { \"location\": \"Location: {location}\" }, \"locations\": { \"cashDrawer\": \"Cash drawer\", \"cashGrossSales\": \"Cash net sales with tax\", \"cashMinusCreditTips\": \"Cash minus credit tips\", \"comp\": \"Comp\", \"coupon\": \"Coupon\", \"creditGrossSales\": \"Credit net sales with tax\", \"discounts\": \"Discount\", \"name\": \"Location\", \"netSalesWithTax\": \"Net sales with tax\", \"rfidGrossSales\": \"RFID net sales with tax\", \"spills\": \"Spills\", \"totalDigitalTips\": \"Total digital tips\", \"voids\": \"Voids\" }, \"name\": \"Clerk Report\", \"productTypes\": { \"comps\": \"Comps\", \"compsDueToDecline\": \"Comps due to decline\", \"coupon\": \"Coupon\", \"discount\": \"Discount\", \"grossSales\": \"Gross Sales Without Voids\", \"name\": \"Product type\", \"netSales\": \"Net sales\", \"netSalesPlusTax\": \"Net Sales + Tax\", \"refund\": \"Refund\", \"spills\": \"Spills\", \"tax\": \"Tax\", \"voids\": \"Voids\" }, \"salesByProductType\": { \"name\": \"Sales by product type\" } }, \"dailyCloseOutReport\": { \"clerks\": { \"cashDrawer\": \"Cash drawer\", \"cashGrossSales\": \"Cash Gross Sales Without Voids\", \"cashMinusCreditTips\": \"Cash minus credit tips\", \"comp\": \"Comp\", \"coupon\": \"Coupon\", \"creditGrossSales\": \"Credit Gross Sales Without Voids\", \"discounts\": \"Discount\", \"grossSales\": \"Gross Sales Without Voids\", \"name\": \"Clerk\", \"rfidGrossSales\": \"RFID Gross Sales Without Voids\", \"spills\": \"Spills\", \"totalDigitalTips\": \"Total digital tips\", \"voids\": \"Voids\" }, \"clerksByLocation\": { \"location\": \"Location: {location}\" }, \"locations\": { \"cashDrawer\": \"Cash drawer\", \"cashGrossSales\": \"Cash Gross Sales Without Voids\", \"cashMinusCreditTips\": \"Cash minus credit tips\", \"comp\": \"Comp\", \"coupon\": \"Coupon\", \"creditGrossSales\": \"Credit Gross Sales Without Voids\", \"discounts\": \"Discount\", \"grossSales\": \"Gross Sales Without Voids\", \"name\": \"Location\", \"rfidGrossSales\": \"RFID Gross Sales Without Voids\", \"spills\": \"Spills\", \"totalDigitalTips\": \"Total digital tips\", \"voids\": \"Voids\" }, \"name\": \"Clerk report\", \"productTypes\": { \"comps\": \"Comps\", \"compsDueToDecline\": \"Comps due to decline\", \"coupon\": \"Coupon\", \"discount\": \"Discount\", \"grossSales\": \"Gross Sales Without Voids\", \"name\": \"Product type\", \"netSales\": \"Net sales\", \"netSalesPlusTax\": \"Net Sales + Tax\", \"refund\": \"Refund\", \"roundUpDonation\": \"Round Up Donations\", \"spills\": \"Spills\", \"tax\": \"Tax\", \"voids\": \"Voids\" }, \"salesByProductType\": { \"name\": \"Sales by product type\" } }, \"date\": \"Date\", \"dolarsPerItem\": \"$ Per item\", \"dolarsPerOrder\": \"$ Per order\", \"errors\": { \"csvFileError\": \"Error while getting the csv report\", \"multipleLocationGroupError\": \"Selection of multiple Event/Venue is not allowed\", \"noFrequencyDetailsError\": \"Please provide all frequency details\", \"noFrequencyError\": \"No frequency selected\", \"noLocationGroupError\": \"No event/venue selected\", \"noRangeError\": \"No range selected\", \"noRangeTimeError\": \"Incomplete range time\", \"noResultsForQuery\": \"No orders to report for the selected date range and event/venue\", \"noSummarizeFilterError\": \"No filter selected for summary field\", \"pdfFileError\": \"Error while getting the pdf report\" }, \"financialOverviewReport\": { \"dailyMenu\": { \"date\": \"Date: {displayDate}\", \"location\": \"Location: {location}\" }, \"headers\": { \"CashlessSurchargeTotal\": \"Cashless Surcharges\", \"CreditSurchargeTotal\": \"Credit Surcharges\", \"Surcharges\": \"Total Surcharges\", \"cashPaymentCount\": \"Cash payment count\", \"cashRevenue\": \"Cash revenue\", \"cashSales\": \"Cash Gross Sales Without Voids\", \"cashTransactionCount\": \"# of Cash transactions\", \"cashlessPaymentCount\": \"Cashless payment count\", \"cashlessRevenue\": \"Cashless revenue\", \"cashlessSales\": \"Cashless Gross Sales Without Voids\", \"cashlessTips\": \"Cashless tips\", \"cashlessTransactionCount\": \"# of Cashless transactions\", \"couponDiscountTotal\": \"Coupon discount total\", \"creditCardRevenue\": \"Credit card revenue\", \"creditCardTips\": \"Credit card tips\", \"creditCardTransactionCount\": \"# of Credit transactions\", \"creditPaymentCount\": \"Credit payment count\", \"creditRfidSales\": \"Credit RFID Gross Sales Without Voids\", \"creditSales\": \"Credit Gross Sales Without Voids\", \"customFees\": \"Custom fees\", \"date\": \"Date\", \"eventVenue\": \"Event/Venue\", \"grossRevenue\": \"Gross revenue\", \"menu\": \"Menu\", \"patronLoadedFundsSales\": \"PLF Gross Sales Without Voids\", \"refundTotal\": \"Refund total\", \"roundUpDonation\": \"Round Up Donations\", \"sponsorLoadedFundsSales\": \"SLF Gross Sales Without Voids\", \"tabletsCount\": \"# of tablets\", \"tax\": \"Tax\", \"timezone\": \"Timezone\", \"totalOrderCount\": \"Total order count\", \"totalSales\": \"Total Gross Sales Without Voids\", \"voidTotal\": \"Void total\" }, \"name\": \"Financial report\", \"totals\": { \"avgDigitalTips\": \"Average digital tip\", \"avgOrderAmt\": \"Average order amt\", \"cashlessPercentageOfSales\": \"Cashless % of gross\", \"creditPercentageOfSales\": \"Credit % of sales\", \"creditRfidPercentageOfSales\": \"Credit RFID % of gross\", \"grossSalesMinusSlf\": \"Gross Sales minus SLF\", \"netSales\": \"Net sales\", \"roundUpDonation\": \"Round Up Donations\", \"sponsorLoadedFundsPercentageOfSales\": \"SLF % of gross\", \"totalDigitalTips\": \"Total digital tips\", \"totalOrders\": \"Total orders\", \"totalSales\": \"Gross Sales Without Voids\" } }, \"financialReport\": { \"totals\": { \"totalDigitalTips\": \"Total digital tips\" } }, \"grossSales\": \"Gross sales\", \"grossSalesWithoutVoids\": \"Gross sales without voids\", \"highLevelInvoicingReport\": { \"cashlessNetSalesPlusTax\": \"Cashless Net Sales Plus Tax\", \"cashlessTips\": \"Cashless Tips\", \"company\": \"Company\", \"creditNetSalesPlusTax\": \"Credit Net Sales Plus Tax\", \"creditTips\": \"Credit Tips\", \"digitalTips\": \"Digital Tips\", \"locationGroupName\": \"Event/Venue: {locationGroupName}\", \"name\": \"High Level Invoicing Report\", \"tabletCount\": \"Tablet Count\", \"totalDigitalVolume\": \"Total Digital Volume\" }, \"itemDescription\": \"Item description\", \"itemState\": \"Item state\", \"itemTokenUsageReport\": { \"headers\": { \"itemTokenName\": \"Item Token Name\", \"menu\": \"Menu\", \"quantity\": \"Quantity\", \"value\": \"Value\" }, \"name\": \"Item Token Usage Report\" }, \"itemsQuantity\": \"# Items\", \"menuAuditReport\": { \"columns\": { \"adminCode\": \"Admin Code\", \"braintreeCashlessMid\": \"Braintree Cashless Mid\", \"buttonOne\": \"Button One\", \"buttonThree\": \"Button Three\", \"buttonTwo\": \"Button Two\", \"cashDiscount\": \"Cash Discount\", \"cashDiscountPercentage\": \"Cash Discount Percentage\", \"cashDisplayType\": \"Cash Display Type\", \"cashFunctionality\": \"Cash Functionality\", \"cashlessAdminCode\": \"Cashless Admin Code\", \"cloudTabFunctionality\": \"Cloud Tab Functionality\", \"coinRounding\": \"Coin Rounding\", \"coinRoundingMode\": \"Coin Rounding Mode\", \"coinRoundingType\": \"Coin Rounding Type\", \"companyName\": \"Company Name\", \"companyRole\": \"Company Role\", \"creditGatewayName\": \"Credit Gateway Name\", \"creditSurcharge\": \"Credit Surcharge\", \"creditSurchargePercentage\": \"Credit Surcharge Percentage\", \"employeeDiscountPercentage\": \"Employee Discount Percentage\", \"emv\": \"Emv\", \"exactCashFunctionality\": \"Exact Cash Functionality\", \"locationId\": \"Location Id\", \"locationName\": \"Location Name\", \"manualEntry\": \"Manual Entry\", \"manualEntrySignature\": \"Manual Entry Signature\", \"menuId\": \"Menu Id\", \"menuName\": \"Menu Name\", \"openLoop\": \"Open Loop\", \"openLoopSignature\": \"Open Loop Signature\", \"openLoopSurcharge\": \"Open Loop Surcharge\", \"openLoopSurchargePercentage\": \"Open Loop Surcharge Percentage\", \"orderNoteFunctionality\": \"Order Note Functionality\", \"patronLoadedFunds\": \"Patron Loaded Funds\", \"paypalCashlessMid\": \"Paypal Cashless Mid\", \"percentageOne\": \"Percentage One\", \"percentageThree\": \"Percentage Three\", \"percentageTwo\": \"Percentage Two\", \"processingMode\": \"Processing Mode\", \"serviceFee\": \"Service Fee\", \"serviceFeeTaxRate\": \"Service Fee Tax Rate\", \"standaloneFunctionality\": \"Standalone Functionality\", \"swipe\": \"Swipe\", \"swipeSignature\": \"Swipe Signature\", \"tabFunctionality\": \"Tab Functionality\", \"taxRate\": \"Tax Rate\", \"taxType\": \"Tax Type\", \"tipsAmountButton\": \"Tips Amount Button\", \"tipsManualEntry\": \"Tips Manual Entry\", \"tipsPercentageButton\": \"Tips Percentage Button\", \"tipsPlusMinus\": \"Tips Plus Minus\", \"voidAdminCode\": \"Void Admin Code\", \"walkerAsRfidReader\": \"Walker As Rfid Reader\" }, \"name\": \"Menu Audit Report\" }, \"netCash\": \"Net cash\", \"netSales\": \"Net sales (Minus Taxes, Voids, Spills, Comps, Discounts and Refunds)\", \"netSalesPlusTaxes\": \"Net Sales + Tax\", \"netSalesWithTax\": \"Net Sales With Tax\", \"ordersQuantity\": \"# Orders\", \"paymentResultReport\": { \"headers\": { \"approvedAmount\": \"Approved (Amount)\", \"approvedCount\": \"Approved (Count)\", \"batchedErrorsAmount\": \"Batched Errors (Amount)\", \"batchedErrorsCount\": \"Batched Errors (Count)\", \"compsDueToDeclineAmount\": \"Comps due to Decline (Amount)\", \"compsDueToDeclineCount\": \"Comps due to Decline (Count)\", \"realTimeDeclinesAmount\": \"RT Decline (Amount)\", \"realTimeDeclinesCount\": \"RT Decline (Count)\", \"realTimeErrorsAmount\": \"RT Errors (Amount)\", \"realTimeErrorsCount\": \"RT Errors (Count)\", \"refundAmount\": \"Refund (Amount)\", \"refundCount\": \"Refund (Count)\", \"voidAmount\": \"Void (Amount)\", \"voidCount\": \"Void (Count)\" }, \"name\": \"Payment Results Report\" }, \"percentOfItem\": \"% of item\", \"percentageTotal\": \"% Total\", \"product\": \"Product\", \"productDescription\": \"Product description\", \"productMix\": { \"name\": \"Product Mix Report\", \"productsByLocation\": { \"location\": \"Location: {location}\" }, \"productsByTenderType\": { \"cashPayment\": \"Cash\", \"cashlessPayment\": \"RFID\", \"creditPayment\": \"Credit card\" } }, \"productType\": \"Product type\", \"promotionsAuditReport\": { \"headers\": { \"location\": \"Location\", \"menu\": \"Menu\", \"promotion\": \"Promotion\", \"type\": \"Type\" }, \"name\": \"Promotions Audit Report\" }, \"reportResultsText\": \"Report Results\", \"reportSummaryText\": \"Report Summary\", \"rfidGrossSales\": \"RFID gross sales\", \"sales\": \"Gross sales\", \"salesReport\": { \"name\": \"Sales Report\" }, \"sections\": { \"cash\": \"Cash deposits\", \"cashDeposit\": { \"legend\": \"Cash deposit\" }, \"cashPayments\": { \"legend\": \"Cash payments\" }, \"cashUsedForTips\": { \"legend\": \"Cash used for tips\" }, \"closedLoop\": { \"legend\": \"Closed loop cashless payments - includes Tips\" }, \"comps\": { \"legend\": \"Comps\" }, \"coupon\": { \"legend\": \"Coupons\" }, \"creditCardPayments\": { \"legend\": \"Credit Card Payments\" }, \"declines\": { \"legend\": \"Comps due to decline\" }, \"discount\": { \"legend\": \"Discounts\" }, \"netCashDeposit\": { \"legend\": \"Net cash deposit\" }, \"netSales\": { \"legend\": \"Net sales\" }, \"nonCash\": { \"legend\": \"Non-cash payments\" }, \"nonCashSalesPayments\": { \"legend\": \"Non-cash sales payments\" }, \"nonCashTips\": { \"legend\": \"Non-cash tips\" }, \"openLoop\": { \"legend\": \"Open Loop Cashless Payments - includes Tips\" }, \"refunds\": { \"legend\": \"Refunds\" }, \"salesByCategory\": { \"legend\": \"Sales by category\", \"note\": \"* Due to rounding errors these values may be off by a few cents\" }, \"salesByProduct\": { \"legend\": \"Sales by product\" }, \"spills\": { \"legend\": \"Spills\" }, \"taxes\": { \"legend\": \"Taxes\" }, \"totalDeductions\": { \"legend\": \"Total deductions\" }, \"totalSales\": { \"legend\": \"Total sales (Net + Tax)\" }, \"voids\": { \"legend\": \"Voids\" } }, \"simpleReportByProduct\": \"Simple sales report by product\", \"sponsorLoadedFundUsageReport\": { \"headers\": { \"amountSpent\": \"Amount Spent\", \"date\": \"Date\", \"menu\": \"Menu\", \"paymentCount\": \"Payment Count\", \"sponsorLoadedFundName\": \"Sponsor Loaded Fund Name\", \"wristbandsUsedCount\": \"# Wristbands Used (distinct)\" }, \"name\": \"Sponsor Loaded Fund Usage Report\", \"overviewSection\": { \"amountLoaded\": \"Amount Loaded\", \"amountSpent\": \"Amount Spent\", \"label\": \"Overview Section\", \"paymentCount\": \"Payment Count\", \"wristbandsUsedCount\": \"# Wristbands Loaded\" } }, \"total\": \"Total\", \"totalCount\": \"Total count\", \"totalCouponDiscount\": \"Total coupon discount\", \"totalOrders\": \"Total orders\", \"totalSales\": \"Total sales\", \"totalTaxes\": \"Total taxes\", \"totalTips\": \"Total tips\", \"totalWithTax\": \"Total with tax\" }, \"searchCriteria\": { \"allField\": \"ALL\", \"fromDate\": { \"label\": \"From Date\", \"predefinedDates\": { \"last30Days\": \"Las 30 days\", \"last7Days\": \"Last 7 Days\", \"lastMonth\": \"Last Month\", \"thisMonth\": \"This Month\", \"today\": \"Today\", \"yesterday\": \"Yesterday\" } }, \"intervals\": { \"label\": \"Time interval\" }, \"locationGroup\": { \"label\": \"Event/Venue\", \"placeholder\": \"Select an event/venue...\" }, \"locations\": { \"label\": \"Locations\", \"placeholder\": \"Select locations...\" }, \"menu\": { \"label\": \"Menu\", \"placeholder\": \"Select a menu...\" }, \"rangeDates\": { \"intervals\": \"Select time interval\", \"label\": \"Date Range\" }, \"reportDelivery\": { \"label\": \"Delivery\", \"options\": { \"download\": \"Download\", \"email\": \"Email to\" } }, \"reportOutput\": { \"label\": \"Export to\", \"options\": { \"csv\": \"CSV\", \"pdf\": \"PDF\" }, \"placeholder\": \"Select output...\" }, \"salesTotal\": { \"label\": \"Sales total\", \"placeholder\": \"Select sales total...\" }, \"summarizeBy\": { \"label\": \"Summarize by\", \"placeholder\": \"Select a search filter...\" }, \"summarizeByTime\": { \"label\": \"By Time\", \"placeholder\": \"Select a search filter...\" }, \"summarizeTitle\": { \"date\": \"Date\", \"dateHour\": \"Day + Hour\", \"dateHourBlock\": \"Day + Hour (Blocked)\", \"menu\": \"Menu\" }, \"toDate\": { \"label\": \"To Date\", \"predefinedDates\": { \"last30Days\": \"Las 30 days\", \"last7Days\": \"Last 7 Days\", \"lastMonth\": \"Last Month\", \"thisMonth\": \"This Month\", \"today\": \"Today\", \"yesterday\": \"Yesterday\" } }, \"transactionTimestamp\": { \"label\": \"Transaction Timestamp\", \"options\": { \"occurrence\": \"Occurrence\", \"processed\": \"Processed\" } }, \"vendor\": { \"label\": \"Vendor\", \"placeholder\": \"Select a vendor...\" }, \"vendorManagement\": { \"label\": \"Vendor Mngmt\", \"placeholder\": \"Select a vmc...\" } } }, \"resetPassword\": { \"button\": { \"resetPassword\": \"Reset Password\" }, \"confirmPassword\": { \"label\": \"confirm password\" }, \"errors\": { \"confirmPasswordRequired\": \"confirm password is required\", \"passwordRequired\": \"password is required\", \"passwordsDontMatch\": \"passwords must match\" }, \"password\": { \"label\": \"new password\" } }, \"savedNetwork\": { \"details\": { \"buttons\": { \"accept\": \"Save\", \"add\": \"Add\", \"cancel\": \"Cancel\" }, \"errors\": { \"savingError\": \"There was an error saving the Saved Network {name}.\", \"successSave\": \"{name} saved!\" }, \"password\": { \"label\": \"Password\", \"placeholder\": \"Password\" }, \"ssid\": { \"label\": \"Saved Network ssid\", \"placeholder\": \"ssid\" }, \"title\": \"Manage Saved Network\" }, \"list\": { \"buttons\": { \"delete\": \"Delete\", \"edit\": \"Edit\", \"new\": \"New Saved Network\" }, \"errors\": { \"blankValues\": \"Password and ssid cannot be blank\", \"deleteSuccess\": \"Delete success!\", \"deletingError\": \"There was an error deleting the saved network {name}.\" }, \"password\": \"Password\", \"ssid\": \"Ssid\" } }, \"search\": { \"details\": { \"accessLevel\": { \"info\": \"Enter Access Level\", \"label\": \"Access Level\", \"placeholder\": \"Optional\" }, \"authCode\": { \"info\": \"Enter An Auth Code\", \"label\": \"Auth Code\", \"placeholder\": \"Optional\" }, \"buttons\": { \"charge\": \"Charge\", \"close\": \"Close\", \"details\": \"Details\", \"export\": \"Export\", \"exportToCsv\": \"Export to CSV\", \"more\": \"More\", \"search\": \"Search\", \"sendEmail\": \"Send Email\", \"unlockTab\": \"Unlock Tab\", \"void\": \"Void\" }, \"cashlessTag\": { \"label\": \"Cashless Tag\", \"placeholder\": \"optional\" }, \"cashlessUID\": { \"info\": \"Enter Cashless UID\", \"label\": \"Cashless UID\", \"placeholder\": \"Optional\" }, \"creditCardExpiration\": { \"label\": \"Credit Card Expiration\", \"placeholder\": \"mm/yy - optional\" }, \"creditCardType\": { \"info\": \"Select A Card Type\", \"label\": \"Card Type\" }, \"expiration\": { \"info\": \"Enter The Expiration\", \"label\": \"Expiration\", \"placeholder\": \"Optional\" }, \"fromDate\": { \"placeholder\": \"Select a date...\" }, \"gateway\": { \"info\": \"Select A Gateway\", \"label\": \"Gateway\", \"placeholder\": \"Optional\" }, \"gratuity\": { \"info\": \"Select A Gratuity\", \"label\": \"Gratuity\" }, \"lastFour\": { \"info\": \"Enter The Last 4\", \"label\": \"Last Four\", \"placeholder\": \"Optional\" }, \"lastName\": { \"info\": \"Enter A Last Name\", \"label\": \"Last Name\", \"placeholder\": \"Optional\" }, \"location\": { \"info\": \"Select A Location\", \"label\": \"Location\", \"placeholder\": \"All Locations\" }, \"locationGroup\": { \"info\": \"Select An Event/Venue\", \"label\": \"Event/Venue\", \"placeholder\": \"All Events\" }, \"menu\": { \"info\": \"Select A Menu\", \"label\": \"Menus\", \"placeholder\": \"All Menus\" }, \"modal\": { \"amount\": \"Amount\", \"authCode\": \"Auth Code\", \"cashlessTag\": \"Cashless Tag\", \"chargingOrder\": \"Charging Order\", \"clerk\": \"Clerk\", \"creditCard\": \"Credit Card\", \"customFeeTotal\": \"Custom Fee Total\", \"destination\": \"Delivery destination\", \"giftWithPurchaseDiscount\": \"Gift with Purchase Discount\", \"grandTotal\": \"Grand Total\", \"guestMessages\": { \"kind\": { \"cancelled\": \"Order cancelled\", \"ready\": \"Order ready\", \"received\": \"Order received\", \"unknown\": \"Message\" }, \"outcome\": { \"failed\": \"Not sent. The carrier refused it.\", \"no_consent\": \"Not sent. The guest did not agree to texts.\", \"no_number\": \"Not sent. The guest did not enter a mobile number.\", \"opted_out\": \"Not sent. The guest replied STOP. They can text START to start them again.\", \"sent\": \"Sent\", \"unknown\": \"Not sent.\" }, \"title\": \"Guest messages\" }, \"itemsTitle\": \"Items\", \"location\": \"Location\", \"locationGroup\": \"Event/Venue\", \"menu\": \"Menu\", \"multiProductDiscount\": \"Multi-Product Discount\", \"occurenceDate\": \"Occurrence Date\", \"orderCode\": \"Order code\", \"orderEmail\": \"Email\", \"orderGeneral\": \"General\", \"orderNote\": \"Note\", \"orderStatus\": \"Order Status\", \"paymentDate\": \"Payment Date\", \"paymentStatus\": \"Status\", \"paymentTitle\": \"Payments\", \"paymentType\": \"Payment Type\", \"price\": \"Price\", \"product\": \"Product\", \"quantity\": \"Quantity\", \"roundUpDonation\": \"Round Up Donation\", \"serviceFee\": \"Service Fee ({rate}%)\", \"status\": \"Status\", \"subtotal\": \"Subtotal\", \"surcharge\": \"Surcharge\", \"tabName\": \"Tab\", \"tabStatus\": \"Tab Status\", \"tenderType\": \"Tender Type\", \"tips\": \"Tips\", \"title\": \"Order Details {tabletGeneratedId}\", \"totalPrice\": \"Total Price\", \"totalTaxes\": \"Total Taxes\", \"voidingOrder\": \"Voiding Order\" }, \"orderId\": { \"info\": \"Enter A User ID\", \"label\": \"Order ID\", \"placeholder\": \"Optional\" }, \"orderNote\": { \"info\": \"Enter An Order Note\", \"label\": \"Order Note\", \"placeholder\": \"Optional\" }, \"orderPaymentStatus\": { \"info\": \"Select An Order Payment Status\", \"label\": \"Order Payment Status\", \"placeholder\": \"Any Status\" }, \"orderStatus\": { \"info\": \"Select An Order Status\", \"label\": \"Order Status\", \"placeholder\": \"Any Status\" }, \"paymentMethods\": { \"label\": \"Payment Methods\", \"placeholder\": \"optional\" }, \"paymentMode\": { \"info\": \"Select A Payment Mode\", \"label\": \"Payment Mode\", \"placeholder\": \"Any Mode\" }, \"paymentStatus\": { \"info\": \"Select A Payment Status\", \"label\": \"Payment Status\", \"placeholder\": \"Any Status\" }, \"priceStatus\": { \"info\": \"Select A Price Status\", \"label\": \"Price Status\" }, \"product\": { \"info\": \"Select A Product\", \"label\": \"Product\", \"placeholder\": \"Optional\" }, \"productType\": { \"info\": \"Select A Product Type\", \"label\": \"Product Type\", \"placeholder\": \"Optional\" }, \"reference\": { \"info\": \"Enter Reference\", \"label\": \"Reference\", \"placeholder\": \"Optional\" }, \"roundUpDonation\": { \"info\": \"Enable to search payments with Round Up Donation\", \"label\": \"Round Up\", \"placeholder\": \"Optional\" }, \"searchText\": { \"placeholder\": \"Event/Venue, Location, Menu, Order Id\" }, \"surcharge\": { \"info\": \"Enable to search payments with surcharge\", \"label\": \"Surcharge\", \"placeholder\": \"Optional\" }, \"tab\": { \"info\": \"Enter A Tab Name\", \"label\": \"Tab Name\", \"placeholder\": \"optional\" }, \"tabStatus\": { \"info\": \"Select A Tab Status\", \"label\": \"Tab Status\", \"placeholder\": \"Any Status\" }, \"toDate\": { \"placeholder\": \"Select a date...\" }, \"user\": { \"info\": \"Select A User\", \"label\": \"User\", \"placeholder\": \"Optional\" }, \"userProfile\": { \"info\": \"Select A User Profile\", \"label\": \"User Profile\", \"placeholder\": \"Optional\" }, \"vendor\": { \"info\": \"Select A Vendor\", \"label\": \"Vendor\", \"placeholder\": \"All Vendors\" } }, \"errors\": { \"emptyFromDate\": \"You must select a From Date\", \"emptySearchText\": \"You must add at least a text to search\", \"emptyToDate\": \"You must select a To Date\", \"errorCharging\": \"Unable to charge order.\", \"errorInvalidExpirationDate\": \"Invalid expiration date.\", \"errorInvalidLastFour\": \"Invalid entry for credit card Last Four numbers\", \"errorInvalidMonth\": \"Invalid month in expiration date.\", \"errorReportOption\": \"You must select a report option\", \"errorResultSendingAction\": \"Unable to send action {action}, result: {result} - {message}\", \"errorSendingAction\": \"Unable to send action.\", \"errorSendingEmail\": \"Unable to send email.\", \"errorVoiding\": \"Unable to void order.\", \"invalidDateRange\": \"From date cannot be after To date\", \"noTab\": \"No Tab for selected order\", \"successActionSent\": \"Success action \\\"{action}\\\" sent.\" }, \"list\": { \"amount\": \"Amount\", \"authCode\": \"Auth Code\", \"dataNotFound\": \"No data found.\", \"date\": \"Date/Time\", \"eventVenue\": \"Event/Venue\", \"loading\": \"loading...\", \"orderId\": \"Order Id\", \"status\": \"Order Status\", \"tabStatus\": \"Tab Status\", \"total\": \"Total Results Found:\" }, \"sections\": { \"general\": \"General\", \"payments\": \"Payments\", \"products\": \"Products\" }, \"summary\": { \"title\": \"Result Summary:\", \"totalAmount\": \"Total Amount:\" } }, \"toppingTemplate\": { \"modal\": { \"buttons\": { \"create\": { \"label\": \"Create Extra\" } }, \"name\": { \"label\": \"Name\", \"placeholder\": \"Topping name\" }, \"price\": { \"label\": \"Price\" } } }, \"trait\": { \"details\": { \"buttons\": { \"accept\": \"Save\", \"add\": \"Add\", \"cancel\": \"Cancel\" }, \"company\": { \"label\": \"Company\", \"loadingMessage\": \"waiting for data...\", \"placeholder\": \"Select a company...\" }, \"errors\": { \"savingError\": \"There was an error saving the trait {name}.\", \"successSave\": \"{name} saved!\", \"usedTrait\": \"Cannot delete, trait is being used\" }, \"name\": { \"label\": \"Trait name\", \"placeholder\": \"Name\" }, \"title\": \"Manage Modifier Traits\" }, \"list\": { \"buttons\": { \"delete\": \"Delete\", \"edit\": \"Edit\", \"new\": \"New Trait\" }, \"company\": \"Company\", \"errors\": { \"blankTraitError\": \"Trait name cannot be blank\", \"deleteSuccess\": \"Delete success!\", \"deletingError\": \"There was an error deleting the trait {name}.\", \"duplicatedTraitName\": \"Trait {name} already exists\", \"notLockedToCompanyError\": \"User must be locked to a company\", \"usedTraitNameError\": \"{name} is currently in use and cannot be deleted.\" }, \"name\": \"Trait\" } }, \"user\": { \"details\": { \"buttons\": { \"cancel\": \"Cancel\", \"resetPassword\": \"Reset Password\", \"save\": \"Save\" }, \"cashlessUserLocationGroups\": { \"cashlessInformation\": \"Cashless Information\", \"label\": \"Events/Venues\", \"placeholder\": \"Select events/venues...\" }, \"company\": { \"label\": \"Company\" }, \"companyInformation\": \"Company Information\", \"companyPassword\": { \"label\": \"Password\" }, \"editTitle\": \"Account Edit\", \"email\": { \"label\": \"Email\", \"placeholder\": \"Email\" }, \"errors\": { \"IllegalArgument\": \"Bad Request\", \"duplicatedEmailError\": \"Email {name} is already been used by another user. Please try a different email.\", \"duplicatedUserNameError\": \"Username {name} is already been used by another user. Please try a different username.\", \"missingEmailError\": \"Email is required to create a new user.\", \"passwordEmpty\": \"Password is required to create a new user.\", \"passwordNotMatch\": \"Password and Password confirmation do not match.\", \"passwordNotNumeric\": \"Server/Clerk passwords must be from 4 to 8 digits\", \"savingError\": \"There was an error saving the user. Please try again later.\", \"successPasswordChange\": \"Password changed successfully!\", \"successSave\": \"User saved!\" }, \"eventAccess\": { \"label\": \"Events/Venues\", \"legend\": \"Event Access\", \"noneAssigned\": \"No events assigned. This user can sign in, but has nowhere to work.\", \"placeholder\": \"Search events/venues...\" }, \"lastName\": { \"label\": \"Last Name\", \"placeholder\": \"Last Name\" }, \"name\": { \"label\": \"First Name\", \"placeholder\": \"First Name\" }, \"password\": { \"label\": \"Password\", \"placeholder\": \"Password\" }, \"passwordConfirmation\": { \"label\": \"Password (Confirmation)\", \"placeholder\": \"Password Confirmation\" }, \"state\": { \"label\": \"Account Status\" }, \"tabletLogin\": { \"label\": \"Tablet Login\" }, \"title\": \"Register\", \"userInformation\": \"User Information\", \"userProfile\": { \"label\": \"User Profile\" }, \"userType\": { \"label\": \"User Type\" }, \"username\": { \"label\": \"Username\", \"placeholder\": \"Username\" } }, \"list\": { \"buttons\": { \"changePassword\": \"Change password\", \"edit\": \"Edit\", \"importUsers\": \"Import User List\", \"new\": \"New User\", \"resetPassword\": \"Reset password\" }, \"messages\": { \"passwordResetEmailSent\": \"Password reset email sent\" }, \"table\": { \"company\": \"Company\", \"email\": \"Email\", \"lastName\": \"Last Name\", \"name\": \"First Name\", \"state\": \"Status\", \"userProfile\": \"User Profile\", \"username\": \"Username\" } }, \"modal\": { \"changePassword\": { \"buttons\": { \"cancel\": \"Cancel\", \"change\": \"Change\" }, \"password\": { \"label\": \"Password\", \"placeholder\": \"Password\" }, \"passwordConfirmation\": { \"label\": \"Password (Confirm)\", \"placeholder\": \"Password Confirmation\" }, \"title\": \"Change password\" }, \"errors\": { \"errorUploading\": \"Error uploading file. Please try again\" }, \"importUsers\": { \"importSettings\": { \"label\": \"Import Settings\", \"option1\": \"Create new users and ignore usernames that already exist\", \"option2\": \"Create new users and update existing usernames\" }, \"results\": { \"errors\": \"{errors} Failed Import(s)\", \"importedObjects\": \"{objects} Imported Object(s)\", \"label\": \"Results\", \"newUsers\": \"{newUsers} New User(s)\", \"updatedUsers\": \"{updatedUsers} Updated User(s)\" }, \"review\": \"Review and Import\", \"title\": \"Import User List\", \"uploadCSV\": \"Upload CSV\" } }, \"profiles\": { \"bradmin\": \"BrAdmin\", \"cashlessAdmin\": \"CashlessAdmin\", \"manager\": \"Manager\", \"reporting\": \"Reporting\", \"serverClerk\": \"Server/Clerk\" }, \"statuses\": { \"active\": \"Active\", \"inactive\": \"Inactive\" } }, \"userType\": { \"brUser\": \"Best Ring Admin\", \"cashlessUser\": \"Cashless User\", \"companyUser\": \"Company User\" } };\n});","define('fcs-dashboard/utils/chart-object', ['exports', 'ember-cli-chartjs/utils/chart-object'], function (exports, _emberCliChartjsUtilsChartObject) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCliChartjsUtilsChartObject['default'];\n    }\n  });\n});","define('fcs-dashboard/utils/digit-keypress-gate', ['exports', 'ember-credit-cards/utils/digit-keypress-gate'], function (exports, _emberCreditCardsUtilsDigitKeypressGate) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCreditCardsUtilsDigitKeypressGate['default'];\n    }\n  });\n});","define('fcs-dashboard/utils/fmt', ['exports', 'ember-models-table/utils/fmt'], function (exports, _emberModelsTableUtilsFmt) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberModelsTableUtilsFmt['default'];\n    }\n  });\n});","define('fcs-dashboard/utils/intl/missing-message', ['exports', 'ember', 'ember-intl/utils/links'], function (exports, _ember, _emberIntlUtilsLinks) {\n  exports['default'] = missingMessage;\n  var warn = _ember['default'].warn;\n\n  function missingMessage(key, locales) {\n    if (!locales) {\n      warn('[ember-intl] no locale has been set. Documentation: ' + _emberIntlUtilsLinks['default'].unsetLocale, false, {\n        id: 'ember-intl-no-locale-set'\n      });\n    } else {\n      warn('[ember-intl] translation: \\'' + key + '\\' on locale: \\'' + locales.join(', ') + '\\' was not found.', false, {\n        id: 'ember-intl-missing-translation'\n      });\n    }\n\n    return 'Missing translation: ' + key;\n  }\n});","define('fcs-dashboard/utils/keycodes', ['exports', 'ember-frost-core/utils/keycodes'], function (exports, _emberFrostCoreUtilsKeycodes) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberFrostCoreUtilsKeycodes['default'];\n    }\n  });\n});","define('fcs-dashboard/utils/location-prefixes', ['exports'], function (exports) {\n  // Location name prefixes to strip when automatic common prefix detection fails\n\n  var LOCATION_PREFIXES = ['lollapalooza', 'lolla'];\n\n  exports['default'] = LOCATION_PREFIXES;\n});","define('fcs-dashboard/utils/menu-positions', ['exports', 'ember'], function (exports, _ember) {\n  exports.nextPosition = nextPosition;\n  exports.positionOptions = positionOptions;\n\n  /**\n   * Compute the next available position for a new product (or product group)\n   * being added to a menu page (or to a product group). Returns\n   * `max(existing position) + 1`, treating `null` / `undefined` / missing\n   * positions as 0. Returns 1 for an empty collection.\n   *\n   * Accepts a plain JS array or an Ember array; reads `position` via `.get()`\n   * when available so Ember.Object records work as well as POJOs.\n   *\n   * Used by the Menu Builder -> Menu Structure table list view to avoid the\n   * duplicate-position bug from BRP-4023, where the prior bounded-iteration\n   * logic would reuse the same position for multiple newly-added items once\n   * the menu reached 24 items (the hardcoded ceiling).\n   *\n   * @param {Array} items - existing menu items (products and/or product groups)\n   * @returns {number} the next position (>= 1)\n   */\n\n  function nextPosition(items) {\n    if (!items || _ember['default'].get(items, 'length') === 0) {\n      return 1;\n    }\n    var max = 0;\n    var len = _ember['default'].get(items, 'length');\n    for (var i = 0; i < len; i++) {\n      var item = items.objectAt ? items.objectAt(i) : items[i];\n      var p = item && (item.get ? item.get('position') : item.position);\n      if (typeof p !== 'number') {\n        p = 0;\n      }\n      if (p > max) {\n        max = p;\n      }\n    }\n    return max + 1;\n  }\n\n  /**\n   * Build the list of position values to show in the position dropdown for the\n   * Menu Builder. Renders at least `minimum` (default 100) entries; grows past\n   * that when the collection already has more items than `minimum`.\n   *\n   * Used to replace the hardcoded `for (let i = 1; i < 25; i++)` loop in the\n   * Menu Structure components (BRP-4023).\n   *\n   * @param {Array} items - the current items (products + product groups)\n   * @param {number} [minimum=100] - the floor for the rendered list size\n   * @returns {number[]} an array `[1, 2, ..., max(minimum, items.length)]`\n   */\n\n  function positionOptions(items, minimum) {\n    var floor = typeof minimum === 'number' ? minimum : 100;\n    var total = items ? _ember['default'].get(items, 'length') || 0 : 0;\n    // `total + 1` ensures the dropdown always offers at least one slot beyond\n    // the current item count, so a freshly-added Nth+1 product is selectable\n    // from any existing row's dropdown without waiting for a re-render.\n    var max = Math.max(floor, total + 1);\n    var out = [];\n    for (var i = 1; i <= max; i++) {\n      out.push(i);\n    }\n    return out;\n  }\n});","define(\"fcs-dashboard/utils/string-similarity\", [\"exports\"], function (exports) {\n  exports.jaroSimilarity = jaroSimilarity;\n  exports.jaroWinklerSimilarity = jaroWinklerSimilarity;\n  exports.levenshteinDistance = levenshteinDistance;\n  exports.levenshteinSimilarity = levenshteinSimilarity;\n  exports.calculateSimilarity = calculateSimilarity;\n  /**\n   * String similarity algorithms for location name matching\n   */\n\n  /**\n   * Calculate Jaro similarity between two strings\n   * @param {string} str1 - First string\n   * @param {string} str2 - Second string\n   * @returns {number} Jaro similarity score (0-1)\n   */\n\n  function jaroSimilarity(str1, str2) {\n    if (!str1 || !str2) {\n      return 0;\n    }\n    if (str1 === str2) {\n      return 1;\n    }\n\n    var len1 = str1.length;\n    var len2 = str2.length;\n    var maxLen = Math.max(len1, len2);\n    var matchWindow = Math.max(0, Math.floor(maxLen / 2) - 1);\n\n    var str1Matches = new Array(len1).fill(false);\n    var str2Matches = new Array(len2).fill(false);\n\n    var matches = 0;\n    var transpositions = 0;\n\n    // Find matches\n    for (var i = 0; i < len1; i++) {\n      var start = Math.max(0, i - matchWindow);\n      var end = Math.min(i + matchWindow + 1, len2);\n\n      for (var j = start; j < end; j++) {\n        if (str2Matches[j] || str1[i] !== str2[j]) {\n          continue;\n        }\n        str1Matches[i] = true;\n        str2Matches[j] = true;\n        matches++;\n        break;\n      }\n    }\n\n    if (matches === 0) {\n      return 0;\n    }\n\n    // Find transpositions\n    var k = 0;\n    for (var i = 0; i < len1; i++) {\n      if (!str1Matches[i]) {\n        continue;\n      }\n      while (!str2Matches[k]) {\n        k++;\n      }\n      if (str1[i] !== str2[k]) {\n        transpositions++;\n      }\n      k++;\n    }\n\n    var jaro = (matches / len1 + matches / len2 + (matches - transpositions / 2) / matches) / 3.0;\n\n    return jaro;\n  }\n\n  /**\n   * Calculate Jaro-Winkler similarity between two strings\n   * Jaro-Winkler gives more favorable ratings to strings that match from the beginning\n   * @param {string} str1 - First string\n   * @param {string} str2 - Second string\n   * @param {number} prefixLength - Length of common prefix to consider (default: 4)\n   * @param {number} scalingFactor - Scaling factor for prefix bonus (default: 0.1)\n   * @returns {number} Jaro-Winkler similarity score (0-1)\n   */\n\n  function jaroWinklerSimilarity(str1, str2) {\n    var prefixLength = arguments.length <= 2 || arguments[2] === undefined ? 4 : arguments[2];\n    var scalingFactor = arguments.length <= 3 || arguments[3] === undefined ? 0.1 : arguments[3];\n\n    if (!str1 || !str2) {\n      return 0;\n    }\n    if (str1 === str2) {\n      return 1;\n    }\n\n    var jaro = jaroSimilarity(str1, str2);\n\n    if (jaro < 0.7) {\n      return jaro;\n    }\n\n    // Find common prefix length (up to prefixLength)\n    var prefix = 0;\n    var maxPrefix = Math.min(prefixLength, Math.min(str1.length, str2.length));\n    for (var i = 0; i < maxPrefix; i++) {\n      if (str1[i] === str2[i]) {\n        prefix++;\n      } else {\n        break;\n      }\n    }\n\n    return jaro + prefix * scalingFactor * (1 - jaro);\n  }\n\n  /**\n   * Calculate Levenshtein distance between two strings\n   * @param {string} str1 - First string\n   * @param {string} str2 - Second string\n   * @returns {number} Levenshtein distance\n   */\n\n  function levenshteinDistance(str1, str2) {\n    if (!str1 || !str2) {\n      return Math.max(str1 ? str1.length : 0, str2 ? str2.length : 0);\n    }\n\n    var len1 = str1.length;\n    var len2 = str2.length;\n    var matrix = [];\n\n    // Initialize matrix\n    for (var i = 0; i <= len1; i++) {\n      matrix[i] = [i];\n    }\n    for (var j = 0; j <= len2; j++) {\n      matrix[0][j] = j;\n    }\n\n    // Fill matrix\n    for (var i = 1; i <= len1; i++) {\n      for (var j = 1; j <= len2; j++) {\n        if (str1.charAt(i - 1) === str2.charAt(j - 1)) {\n          matrix[i][j] = matrix[i - 1][j - 1];\n        } else {\n          matrix[i][j] = Math.min(matrix[i - 1][j - 1] + 1, // substitution\n          matrix[i][j - 1] + 1, // insertion\n          matrix[i - 1][j] + 1 // deletion\n          );\n        }\n      }\n    }\n\n    return matrix[len1][len2];\n  }\n\n  /**\n   * Calculate similarity score (0-1) based on Levenshtein distance\n   * @param {string} str1 - First string\n   * @param {string} str2 - Second string\n   * @returns {number} Similarity score (0-1)\n   */\n\n  function levenshteinSimilarity(str1, str2) {\n    if (!str1 || !str2) {\n      return 0;\n    }\n    if (str1 === str2) {\n      return 1;\n    }\n\n    var maxLen = Math.max(str1.length, str2.length);\n    if (maxLen === 0) {\n      return 1;\n    }\n\n    var distance = levenshteinDistance(str1, str2);\n    return 1 - distance / maxLen;\n  }\n\n  /**\n   * Calculate similarity between two strings using the best algorithm for the string length\n   * For short strings (<= 20 chars), use Jaro-Winkler; otherwise use Levenshtein\n   * @param {string} str1 - First string\n   * @param {string} str2 - Second string\n   * @returns {number} Similarity score (0-1)\n   */\n\n  function calculateSimilarity(str1, str2) {\n    if (!str1 || !str2) {\n      return 0;\n    }\n    if (str1 === str2) {\n      return 1;\n    }\n\n    var maxLen = Math.max(str1.length, str2.length);\n\n    // Use Jaro-Winkler for short strings (better for location names)\n    if (maxLen <= 20) {\n      return jaroWinklerSimilarity(str1, str2);\n    }\n\n    // Use Levenshtein for longer strings\n    return levenshteinSimilarity(str1, str2);\n  }\n});","define('fcs-dashboard/utils/titleize', ['exports', 'ember-composable-helpers/utils/titleize'], function (exports, _emberComposableHelpersUtilsTitleize) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberComposableHelpersUtilsTitleize['default'];\n    }\n  });\n});","define('fcs-dashboard/utils/util', ['exports'], function (exports) {\n  exports.generateRandomString = generateRandomString;\n\n  function generateRandomString(length) {\n    var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n    var randomString = '';\n\n    for (var i = 0; i < length; i++) {\n      var randomIndex = Math.floor(Math.random() * characters.length);\n      randomString += characters.charAt(randomIndex);\n    }\n\n    return randomString;\n  }\n});","define('fcs-dashboard/validators/alias', ['exports', 'ember-cp-validations/validators/alias'], function (exports, _emberCpValidationsValidatorsAlias) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsAlias['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/belongs-to', ['exports', 'ember-cp-validations/validators/belongs-to'], function (exports, _emberCpValidationsValidatorsBelongsTo) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsBelongsTo['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/collection', ['exports', 'ember-cp-validations/validators/collection'], function (exports, _emberCpValidationsValidatorsCollection) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsCollection['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/confirmation', ['exports', 'ember-cp-validations/validators/confirmation'], function (exports, _emberCpValidationsValidatorsConfirmation) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsConfirmation['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/date', ['exports', 'ember-cp-validations/validators/date'], function (exports, _emberCpValidationsValidatorsDate) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsDate['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/dependent', ['exports', 'ember-cp-validations/validators/dependent'], function (exports, _emberCpValidationsValidatorsDependent) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsDependent['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/ds-error', ['exports', 'ember-cp-validations/validators/ds-error'], function (exports, _emberCpValidationsValidatorsDsError) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsDsError['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/exclusion', ['exports', 'ember-cp-validations/validators/exclusion'], function (exports, _emberCpValidationsValidatorsExclusion) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsExclusion['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/format', ['exports', 'ember-cp-validations/validators/format'], function (exports, _emberCpValidationsValidatorsFormat) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsFormat['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/has-many', ['exports', 'ember-cp-validations/validators/has-many'], function (exports, _emberCpValidationsValidatorsHasMany) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsHasMany['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/inclusion', ['exports', 'ember-cp-validations/validators/inclusion'], function (exports, _emberCpValidationsValidatorsInclusion) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsInclusion['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/length', ['exports', 'ember-cp-validations/validators/length'], function (exports, _emberCpValidationsValidatorsLength) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsLength['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/messages', ['exports', 'ember-cp-validations/validators/messages'], function (exports, _emberCpValidationsValidatorsMessages) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsMessages['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/number', ['exports', 'ember-cp-validations/validators/number'], function (exports, _emberCpValidationsValidatorsNumber) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsNumber['default'];\n    }\n  });\n});","define('fcs-dashboard/validators/presence', ['exports', 'ember-cp-validations/validators/presence'], function (exports, _emberCpValidationsValidatorsPresence) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberCpValidationsValidatorsPresence['default'];\n    }\n  });\n});","/* jshint ignore:start */\n\n\n\n/* jshint ignore:end */\n","/* jshint ignore:start */\n\ndefine('fcs-dashboard/config/environment', ['ember'], function(Ember) {\n  var prefix = 'fcs-dashboard';\n/* jshint ignore:start */\n\ntry {\n  var metaName = prefix + '/config/environment';\n  var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n  var config = JSON.parse(unescape(rawConfig));\n\n  var exports = { 'default': config };\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n  return exports;\n}\ncatch(err) {\n  throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n/* jshint ignore:end */\n\n});\n\n/* jshint ignore:end */\n","/* jshint ignore:start */\n\nif (!runningTests) {\n  require(\"fcs-dashboard/app\")[\"default\"].create({\"loginRoute\":\"login\",\"registrationDomain\":\".bestringpos.com\",\"userApiKey\":\"Z37xwQ7lrG58z8HkdIgVP3uHqKnsLMOJwQ95vxke\",\"stage\":\"test\",\"secretKey\":\"u/Gu5kuengDsXUnJ8Yaq4g==\",\"iv\":\"Ao/d5OtyEaZkomhVbye+YQ==\",\"buildTimestamp\":\"2026-09-22T19:34:22.552Z\",\"name\":\"fcs-dashboard\",\"version\":\"5.4.54-SNAPSHOT+e6319a65\"});\n}\n\n/* jshint ignore:end */\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;ACpDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;ACpEA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;AACA;;AC5BA;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;;ACVA;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;;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;;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;;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;;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;;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;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;ACZA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;ACZA;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;;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;;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;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;ACNA;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;;ACVA;AACA;AACA;AACA;;ACHA;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;AACA;AACA;;ACZA;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;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;;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;AACA;AACA;;ACZA;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;AACA;;ACXA;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;;ACfA;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;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;;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;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;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;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;AClDA;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;;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;;ACvCA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvjBA;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;;ACRA;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;;ACRA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACvBA;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;;ACtBA;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;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;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;;ACLA;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;;ACRA;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;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;;ACRA;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;;ACvBA;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;;AC9EA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACpCA;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;;ACvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;;ACJA;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;;ACtBA;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;;ACxBA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/jBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;ACzBA;AACA;AACA;AACA;AACA;;ACJA;AACA;;ACDA;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;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;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;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;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;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;;ACLA;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;;ACzBA;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;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;;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;;AChDA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;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;;ACpBA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;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;;ACxBA;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;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;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;;AClHA;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;;ACjFA;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;;AClCA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;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;;ACjCA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;AC9IA;AACA;;ACDA;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;;ACzIA;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;;AClFA;AACA;;ACDA;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;;ACtGA;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;;AC5CA;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;;ACvEA;AACA;;ACDA;AACA;AACA;;ACFA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACjHA;AACA;;ACDA;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;;ACjHA;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;;AC3FA;AACA;;ACDA;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;;ACtGA;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;;AC9DA;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;;AClUA;AACA;;ACDA;AACA;AACA;AACA;;ACHA;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;;AC/GA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;AClrEA;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;;AC9HA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;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;;ACnDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;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;;AC3FA;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;;ACtGA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;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;;ACrEA;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;;AC7KA;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;;AC9gBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;;ACDA;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;;ACnIA;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;;ACjEA;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;;AC5CA;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;;AC3IA;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;;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;;ACnGA;AACA;;ACDA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;;ACDA;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;;AClKA;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;;AC/CA;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;;ACrCA;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;;ACtDA;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;;AC/CA;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;;AC7BA;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;;AClGA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;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;;ACjNA;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;;ACnOA;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;;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;;AC1DA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;ACjlCA;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;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACDA;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;;ACr/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;;AC/EA;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;;AClGA;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;;ACrFA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;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;;AClFA;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;;ACjDA;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;;AClKA;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;;AChOA;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;;AClEA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;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;;ACvCA;AACA;;ACDA;AACA;;ACDA;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;;ACvCA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;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;;ACtFA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;AC9IA;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;;ACvMA;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;;ACjOA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;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;;AC9DA;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;;AC7EA;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;;ACpMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9EA;AACA;;ACDA;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;;AC7aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrYA;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;;AC7HA;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;;ACrDA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACDA;AACA;;ACDA;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;;ACzLA;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;;ACzBA;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;;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;;AC9DA;AACA;;ACDA;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;;AC3BA;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;;AC9YA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;ACrQA;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;;ACjCA;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;;ACnXA;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;;ACtCA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;;ACDA;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;;ACrGA;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;;ACzGA;AACA;;ACDA;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;;AC3FA;AACA;;ACDA;AACA;;ACDA;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;;AC1HA;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;;AC/BA;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;;AClKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;;ACDA;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;;ACvJA;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;;ACjZA;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;;AChJA;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;;AClFA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;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;;AC5MA;AACA;;ACDA;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;;ACtGA;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;;AClEA;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;;ACnFA;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;;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;;AClEA;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;;ACpEA;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;;AC5EA;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;;AC/DA;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;;ACpQA;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;;ACtEA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;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;;AChEA;AACA;;ACDA;AACA;AACA;;ACFA;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;;AClFA;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;;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;;AC5BA;AACA;;ACDA;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;;AClvBA;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;;AClJA;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;;AC/BA;AACA;;ACDA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACDA;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;;ACrGA;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;;ACpDA;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;;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;;AC7GA;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;;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;;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;;AC/FA;AACA;;ACDA;AACA;;ACDA;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;;ACvEA;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;;ACjCA;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;;AC/LA;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;;AC/EA;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;;AClIA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;;ACDA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;;ACHA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;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;;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;;AC1BA;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;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;ACtDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;ACxKA;AACA;;ACDA;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;;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;;AC3BA;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;;ACpfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;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;;AC3DA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;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;;AC3DA;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;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;AACA;;ACFA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;;ACDA;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;;ACzDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;;ACDA;AACA;;ACDA;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;;ACjJA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;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;;AC7HA;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;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;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;;AC5EA;AACA;;ACDA;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;;AChCA;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;;ACvDA;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;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;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;;ACtDA;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;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;AC1HA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;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;;AC1FA;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;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;ACnCA;AACA;;ACDA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;;ACDA;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;;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;;AC5KA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;ACtEA;AACA;;ACDA;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;;AC5CA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;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;;ACxDA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACDA;AACA;AACA;AACA;;ACHA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACPA;AACA;;ACDA;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;;AC7GA;AACA;;ACDA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;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;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;;ACDA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;;ACDA;AACA;;ACDA;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;;ACvEA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;;ACDA;AACA;;ACDA;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;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;AACA;AACA;;ACHA;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;;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;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;;ACpBA;AACA;AACA;;ACFA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACXA;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;;AClEA;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;;AChIA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;;ACDA;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;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;;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;;AClGA;AACA;;ACDA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvPA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;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;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;;ACHA;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;;ACPA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;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;AACA;AACA;AACA;AACA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;ACjEA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;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;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;;ACDA;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;;ACxFA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;;ACHA;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;;AC3EA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvTA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;;ACHA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;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;;AC/MA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;;ACJA;AACA;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;","file":"fcs-dashboard.js"}