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CDf,MAAMmyF,GAAYF,E,SAAAA,ICJV,WAAgC,IAAbG,EAAMrwH,UAAA2B,OAAA,QAAAC,IAAA5B,UAAA,GAAAA,UAAA,GAAG,GACzC,GAAsB,iBAAXqwH,EACT,MAAM,IAAIC,UAAU,4BAADtpH,cAAoCqpH,IAGzD,OAAOA,EAAOh7G,aAChB,IDDA,GAAe2nB,EAAAA,EAAAA,QAAOozF,E","sources":["./enterprise/access-control/access-plans/edit/template.hbs","./enterprise/access-control/access-plans/index/template.hbs","./enterprise/access-control/access-plans/new/template.hbs","./enterprise/access-control/access-plans/template.hbs","./enterprise/access-control/access-points/edit/template.hbs","./enterprise/access-control/access-points/index/template.hbs","./enterprise/access-control/access-points/template.hbs","./enterprise/access-control/elevators/index/template.hbs","./enterprise/access-control/elevators/template.hbs","./enterprise/access-control/holidays/edit/template.hbs","./enterprise/access-control/logins/add-enterprise-logins-options/template.hbs","./enterprise/access-control/logins/associate/multi-group-login/template.hbs","./enterprise/access-control/logins/edit/edit-scheduled-device-login/template.hbs","./enterprise/access-control/logins/edit/multi-group-login/template.hbs","./enterprise/access-control/logins/elevate-logins/template.hbs","./enterprise/access-control/logins/index/template.hbs","./enterprise/access-control/logins/new-login/new-multi-group-login/template.hbs","./enterprise/access-control/logins/new-login/new-scheduled-device-login/template.hbs","./enterprise/access-control/system-mode-configuration/lockdown-configuration/index/template.hbs","./enterprise/access-control/users/bulk-create/template.hbs","./enterprise/access-control/users/edit-not-supported/template.hbs","./enterprise/access-control/users/edit/access-plans/template.hbs","./enterprise/access-control/users/edit/add-contact/template.hbs","./enterprise/access-control/users/edit/expiring-credentials/template.hbs","./enterprise/access-control/users/edit/index/template.hbs","./enterprise/access-control/users/edit/language/template.hbs","./enterprise/access-control/users/edit/link-login/template.hbs","./enterprise/access-control/users/edit/user-attributes/edit/template.hbs","./enterprise/access-control/users/edit/user-attributes/index/template.hbs","./enterprise/access-control/users/edit/user-group/template.hbs","./enterprise/access-control/users/edit/user-information/template.hbs","./enterprise/access-control/users/edit/username/template.hbs","./enterprise/access-control/users/index/template.hbs","./enterprise/access-control/users/merge-users-list/template.hbs","./enterprise/access-control/users/merge-users-preview/template.hbs","./enterprise/access-control/users/promote-user/template.hbs","./enterprise/access-control/users/template.hbs","./enterprise/access-control/users/user-groups/edit/template.hbs","./enterprise/access-control/users/user-groups/index/template.hbs","./enterprise/access-control/users/user-groups/new/template.hbs","./enterprise/activity/event-history/image/template.hbs","./enterprise/activity/event-history/index/template.hbs","./enterprise/activity/event-history/template.hbs","./enterprise/activity/event-history/video/template.hbs","./enterprise/activity/extended-activity-history/template.hbs","./enterprise/alerts-issues/template.hbs","./components/action-sheets/enterprise/groups/confirm-move-systems/index.hbs","./components/action-sheets/enterprise/groups/confirm-move-systems/index.ts","./enterprise/groups/add-location/template.hbs","./components/enterprise/groups/tool-bar/index.hbs","./components/enterprise/groups/tool-bar/index.ts","./components/enterprise/groups/group-level-user-access-selector/index.hbs","./components/enterprise/groups/group-level-user-access-selector/index.ts","./components/action-sheets/enterprise/groups/remove-group/index.hbs","./components/action-sheets/enterprise/groups/remove-group/index.ts","./components/action-sheets/enterprise/groups/move-group/index.hbs","./components/action-sheets/enterprise/groups/move-group/index.ts","./enterprise/groups/index/template.hbs","./enterprise/groups/new-group/template.hbs","./components/enterprise/locations/locations-device-access-container/index.hbs","./components/enterprise/locations/locations-device-access-container/index.ts","./enterprise/locations/device-access/template.hbs","../../../../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/startOfWeek/index.js","../../../../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js","./components/enterprise/locations/fleet-alert-items-column/index.hbs","./components/enterprise/locations/fleet-alert-items-column/index.js","./components/enterprise/locations/locations-fleet-container/index.hbs","./components/enterprise/locations/locations-fleet-container/index.ts","./enterprise/locations/fleet/template.hbs","./enterprise/locations/location/access-points/template.hbs","./enterprise/locations/location/edit/index/template.hbs","./components/enterprise/locations/user-select/index.hbs","./components/enterprise/locations/user-select/index.ts","./enterprise/locations/location/edit/users/template.hbs","./components/enterprise/locations/manage-resident-v2/index.hbs","./components/enterprise/locations/manage-resident-v2/index.js","./components/enterprise/locations/add-single-resident-form/index.hbs","./components/enterprise/locations/add-single-resident-form/index.ts","./components/action-sheets/enterprise/locations/add-residents/index.hbs","./components/action-sheets/enterprise/locations/add-residents/index.ts","./components/action-sheets/enterprise/locations/delete-residents/index.hbs","./components/action-sheets/enterprise/locations/delete-residents/index.ts","./components/action-sheets/enterprise/locations/manage-residents/index.hbs","./components/action-sheets/enterprise/locations/manage-residents/index.ts","./enterprise/locations/location/manage-residents-v2/template.hbs","./components/enterprise/locations/manage-resident-row/index.hbs","./components/enterprise/locations/manage-resident-row/index.js","./components/enterprise/locations/manage-resident-add-row/index.hbs","./components/enterprise/locations/manage-resident-add-row/index.js","./components/enterprise/locations/manage-resident/index.hbs","./components/enterprise/locations/manage-resident/index.js","./enterprise/locations/location/manage-residents/template.hbs","./components/enterprise/locations/add-tenant-row/index.hbs","./components/enterprise/locations/add-tenant-row/index.ts","./components/enterprise/locations/add-tenant/index.hbs","./components/enterprise/locations/add-tenant/index.ts","./enterprise/locations/location/manual-move-in/template.hbs","./enterprise/locations/location/panel/template.hbs","./enterprise/locations/location/template.hbs","./enterprise/locations/location/thermostats/template.hbs","./components/enterprise/locations/occupancy-dropdown-select-wrapper/index.hbs","./components/enterprise/locations/occupancy-dropdown-select-wrapper/index.js","./components/enterprise/locations/locations-occupancy-container/index.hbs","./components/enterprise/locations/locations-occupancy-container/index.ts","./enterprise/locations/occupancy/template.hbs","./components/enterprise/locations/mpers-device-status/index.hbs","./components/enterprise/locations/mpers-device-status/index.ts","./components/enterprise/locations/personal-safety-column-item/index.hbs","./components/enterprise/locations/personal-safety-column-item/index.ts","./components/enterprise/locations/locations-personal-safety-container/index.hbs","./components/enterprise/locations/locations-personal-safety-container/index.ts","./enterprise/locations/personal-safety/template.hbs","./components/enterprise/locations/locations-summary-container/self-guided-tours-improvements-tour/tour.ts","./components/enterprise/locations/locations-summary-container/index.hbs","./components/enterprise/locations/locations-summary-container/index.ts","./enterprise/locations/summary/template.hbs","./components/enterprise/locations/locations-temperatures-container/index.hbs","./components/enterprise/locations/locations-temperatures-container/index.ts","./enterprise/locations/temperatures/template.hbs","./components/enterprise/locations/common-areas/index.hbs","./components/enterprise/locations/common-areas/index.js","./enterprise/locations/template.hbs","./components/enterprise/locations/locations-thermostats-container/index.hbs","./components/enterprise/locations/locations-thermostats-container/index.ts","./enterprise/locations/thermostats/template.hbs","./components/enterprise/locations/video-dashboard-popover-menu/index.hbs","./components/enterprise/locations/video-dashboard-popover-menu/index.ts","./components/enterprise/locations/video-clip-count-bar/index.hbs","./components/enterprise/locations/video-clip-count-bar/index.ts","./components/enterprise/locations/locations-video-container/index.hbs","./components/enterprise/locations/locations-video-container/index.ts","./enterprise/locations/video/template.hbs","./enterprise/logins/add-enterprise-logins-options/template.hbs","./enterprise/logins/associate/multi-group-login/template.hbs","./enterprise/logins/edit/edit-scheduled-device-login/template.hbs","./enterprise/logins/edit/multi-group-login/template.hbs","./enterprise/logins/elevate-logins/template.hbs","./enterprise/logins/index/template.hbs","./enterprise/logins/new-login/new-multi-group-login/template.hbs","./enterprise/logins/new-login/new-scheduled-device-login/template.hbs","./enterprise/multi-group-settings/template.hbs","./enterprise/overview/locations/template.hbs","./enterprise/reports/catalog/template.hbs","./enterprise/reports/edit/template.hbs","./enterprise/reports/index/template.hbs","./enterprise/settings/access-control-restricted-access/template.hbs","./enterprise/settings/access-settings/template.hbs","./enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/template.hbs","./enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/template.hbs","./enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/template.hbs","./enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/template.hbs","./components/enterprise/settings/active-directory/group-plan-mapping/index.hbs","./components/enterprise/settings/active-directory/group-plan-mapping/index.ts","./components/settings/active-directory-group-plan-mapping/index.hbs","./components/settings/active-directory-group-plan-mapping/index.ts","./enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/template.hbs","./enterprise/settings/active-directory-setup/active-directory-location-group-mapping/template.hbs","./components/settings/active-directory-test-setup/index.hbs","./components/settings/active-directory-test-setup/index.ts","./components/enterprise/settings/active-directory/setting-option/index.hbs","./components/enterprise/settings/active-directory/setting-option/index.ts","./enterprise/settings/active-directory-setup/index/template.hbs","./enterprise/settings/arming-schedule-templates/apply/template.hbs","./enterprise/settings/arming-schedule-templates/edit-arming-schedule/template.hbs","./enterprise/settings/arming-schedule-templates/edit/template.hbs","./enterprise/settings/arming-schedule-templates/index/template.hbs","./enterprise/settings/auto-relock/template.hbs","./enterprise/settings/automatic-panel-arming/template.hbs","./enterprise/settings/automatically-enable-background-capture/template.hbs","./enterprise/settings/backup-codes/template.hbs","./enterprise/settings/business-hour-templates/template.hbs","./enterprise/settings/communication-settings/template.hbs","./enterprise/settings/company-logo/template.hbs","./enterprise/settings/company-name/template.hbs","./enterprise/settings/customize-welcome-email/template.hbs","./enterprise/settings/delete-expired-users/template.hbs","./enterprise/settings/delete-inactive-users/template.hbs","./enterprise/settings/energy-saver-rules/template.hbs","./enterprise/settings/energy-settings/template.hbs","./enterprise/settings/guest-login-access/template.hbs","./enterprise/settings/house-ready-early/template.hbs","./enterprise/settings/index/template.hbs","./components/enterprise/settings/login-template-list/index.hbs","./components/enterprise/settings/login-template-list/index.ts","./enterprise/settings/login-templates/template.hbs","./enterprise/settings/managed-account-access/template.hbs","./enterprise/settings/mobile-badge/template.hbs","./enterprise/settings/new-business-hour-templates/apply/template.hbs","./components/enterprise/settings/edit-business-hour-templates-timetable/index.hbs","./components/enterprise/settings/edit-business-hour-templates-timetable/index.ts","./components/enterprise/settings/edit-business-hour-templates/index.hbs","./components/enterprise/settings/edit-business-hour-templates/index.ts","./enterprise/settings/new-business-hour-templates/edit/template.hbs","./enterprise/settings/new-business-hour-templates/index/template.hbs","./enterprise/settings/noise-monitor-settings-templates/edit/template.hbs","./enterprise/settings/noise-monitor-settings-templates/index/template.hbs","./enterprise/settings/noise-monitor-settings/template.hbs","./enterprise/settings/occupancy-based-pool-controller-rules/edit/template.hbs","./enterprise/settings/occupancy-based-pool-controller-rules/index/template.hbs","./enterprise/settings/occupancy-based-thermostat-rules/edit/template.hbs","./enterprise/settings/occupancy-based-thermostat-rules/index/template.hbs","./enterprise/settings/panel-settings/template.hbs","./enterprise/settings/permissions-and-integrations/template.hbs","./components/settings/day-of-week-selection-row/index.hbs","./components/settings/day-of-week-selection-row/index.ts","./enterprise/settings/pool-control-filter-pump-schedules/edit/template.hbs","./enterprise/settings/pool-control-filter-pump-schedules/index/template.hbs","./enterprise/settings/preloaded-codes-for-user-creation/template.hbs","./enterprise/settings/property-management-integration/template.hbs","./enterprise/settings/schedule-email/template.hbs","./enterprise/settings/schedule-welcome-message/template.hbs","./enterprise/settings/self-guided-tours-appointment-length/template.hbs","./enterprise/settings/self-guided-tours-cc-verification/template.hbs","./enterprise/settings/self-guided-tours-checkpoint-id/template.hbs","./enterprise/settings/self-guided-tours-community-site-map/template.hbs","./enterprise/settings/self-guided-tours-configure-funnel-crm/template.hbs","./enterprise/settings/self-guided-tours-configure-knock-crm/template.hbs","./enterprise/settings/self-guided-tours-custom-url/template.hbs","./enterprise/settings/self-guided-tours-customer-logo/template.hbs","./enterprise/settings/self-guided-tours-gate-code/template.hbs","./enterprise/settings/self-guided-tours-geofence/template.hbs","./enterprise/settings/self-guided-tours-hours-of-operation/template.hbs","./enterprise/settings/self-guided-tours-support-phone/template.hbs","./enterprise/settings/self-guided-tours-terms-and-conditions/template.hbs","./enterprise/settings/self-guided-tours-web-primary-color/template.hbs","./enterprise/settings/self-guided-tours/template.hbs","./enterprise/settings/send-email-by-default/template.hbs","./enterprise/settings/send-follow-up-text/template.hbs","./enterprise/settings/support-phone-number/template.hbs","./enterprise/settings/temporary-access-code-availability-schedule/template.hbs","./enterprise/settings/temporary-access-code-duration/template.hbs","./enterprise/settings/temporary-access-code-settings/template.hbs","./enterprise/settings/temporary-access-codes/template.hbs","./enterprise/settings/thermostat-schedule-templates/template.hbs","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/helpers/w.js","./components/enterprise/settings/thermostat-settings-templates/setting-row/index.hbs","./components/enterprise/settings/thermostat-settings-templates/setting-row/index.ts","./components/enterprise/settings/thermostat-settings-templates/temperature-field/index.hbs","./components/enterprise/settings/thermostat-settings-templates/temperature-field/index.js","./components/enterprise/settings/thermostat-settings-templates/offset-field/index.hbs","./components/enterprise/settings/thermostat-settings-templates/offset-field/index.js","./components/enterprise/settings/thermostat-settings-templates/percentage-field/index.hbs","./components/enterprise/settings/thermostat-settings-templates/percentage-field/index.ts","./components/modals/enterprise/locations/device-selection/thermostat-selection/index.hbs","./components/modals/enterprise/locations/device-selection/thermostat-selection/index.ts","./components/enterprise/location-selection/thermostat-location-selection/index.hbs","./components/enterprise/location-selection/thermostat-location-selection/index.ts","./enterprise/settings/thermostat-settings-templates/edit/template.hbs","./enterprise/settings/thermostat-settings-templates/index/template.hbs","./enterprise/settings/user-code-times/template.hbs","./enterprise/settings/user-settings/template.hbs","./components/modals/enterprise/locations/device-selection/water-meter-selection/index.hbs","./components/modals/enterprise/locations/device-selection/water-meter-selection/index.ts","./components/enterprise/location-selection/water-meter-location-selection/index.hbs","./components/enterprise/location-selection/water-meter-location-selection/index.ts","./enterprise/settings/water-meter-configuration/edit/template.hbs","./enterprise/settings/water-meter-configuration/index/template.hbs","./enterprise/settings/water-settings/template.hbs","./enterprise/settings/welcome-message/template.hbs","./enterprise/users/edit/access-period/template.hbs","./enterprise/users/edit/add-contact/template.hbs","./enterprise/users/edit/device-access/access-type/template.hbs","./components/users/item/device-access/locations/index.hbs","./components/users/item/device-access/locations/index.js","./enterprise/users/edit/device-access/index/template.hbs","./components/users/item/device-access/location-devices/index.hbs","./components/users/item/device-access/location-devices/index.js","./enterprise/users/edit/device-access/location-devices/template.hbs","./enterprise/users/edit/device-access/template.hbs","./enterprise/users/edit/device-access/user-code/template.hbs","./enterprise/users/edit/index/template.hbs","./enterprise/users/edit/language/template.hbs","./enterprise/users/edit/link-login/template.hbs","./enterprise/users/edit/not-supported/template.hbs","./enterprise/users/edit/user-attributes/edit/template.hbs","./enterprise/users/edit/user-attributes/index/template.hbs","./enterprise/users/edit/user-information/template.hbs","./enterprise/users/edit/user-type/template.hbs","./enterprise/users/edit/username/template.hbs","./components/enterprise/users/quick-filters/config-panel/index.hbs","./components/enterprise/users/quick-filters/config-panel/index.ts","./components/enterprise/users/filter-bar/index.hbs","./components/enterprise/users/filter-bar/index.ts","./components/enterprise/users/quick-filters/index.hbs","./components/enterprise/users/quick-filters/index.ts","./enterprise/users/index/template.hbs","./enterprise/users/merge-users-list/template.hbs","./enterprise/users/merge-users-preview/template.hbs","./enterprise/video/advanced-video-search/template.hbs","./enterprise/video/camera-groups/edit/template.hbs","./enterprise/video/camera-groups/template.hbs","./enterprise/video/clips/index/template.hbs","./enterprise/video/clips/template.hbs","./enterprise/video/gallery/index/template.hbs","./enterprise/video/gallery/template.hbs","./enterprise/video/live-view/template.hbs","./enterprise/video/svr-timeline/template.hbs","./enterprise/video/thumbnail-search/template.hbs","./assets/_route_/enterprise.access-control.access-plans.js","./components/app/route-performance/index.hbs","./components/app/route-performance/index.js","./components/dashboard-cards/multiple-device-types-detail-layout/index.hbs","./components/dashboard-cards/multiple-device-types-detail-layout/index.ts","./components/enterprise-settings-page/index.hbs","./components/enterprise-settings-page/index.ts","./components/enterprise/system-list-select/index.hbs","./components/enterprise/system-list-select/index.ts","./components/modals/enterprise/settings/partial-locations-selector/index.hbs","./components/modals/enterprise/settings/partial-locations-selector/index.ts","./components/enterprise/all-partial-locations/index.hbs","./components/enterprise/all-partial-locations/index.ts","./components/enterprise/groups/group-row.js","./components/enterprise/groups/groups-admin-logins-list/index.hbs","./components/enterprise/groups/groups-admin-logins-list/index.ts","./components/enterprise/groups/item-row/index.hbs","./components/enterprise/groups/item-row/index.js","./components/enterprise/groups/groups-list/index.hbs","./components/enterprise/groups/groups-list/index.js","./components/enterprise/groups/groups-roles-list/index.hbs","./components/enterprise/groups/groups-roles-list/index.ts","./components/enterprise/groups/parent-group-row.js","./components/logins/login-permission-row/index.hbs","./components/logins/login-permission-row/index.ts","./components/logins/user-permission-row/index.hbs","./components/logins/user-permission-row/index.ts","./components/logins/custom-login-permissions/index.hbs","./components/logins/custom-login-permissions/index.ts","./components/action-sheets/enterprise/logins/custom-login-permissions/index.hbs","./components/action-sheets/enterprise/logins/custom-login-permissions/index.ts","./components/modals/logins/administrator-role/index.hbs","./components/modals/logins/administrator-role/index.ts","./components/modals/logins/remove-role-warning/index.hbs","./components/modals/logins/remove-role-warning/index.ts","./components/enterprise/groups/role-item-row/index.hbs","./components/enterprise/groups/role-item-row/index.ts","./components/enterprise/groups/system-row.js","./components/enterprise/groups/user-access-selector/index.hbs","./components/enterprise/groups/user-access-selector/index.js","./components/enterprise/location-selection/base-location-selection/index.hbs","./components/enterprise/location-selection/base-location-selection/index.ts","./components/enterprise/locations/group-row/index.hbs","./components/enterprise/locations/group-row/index.ts","./components/enterprise/locations/location-row/index.hbs","./components/enterprise/locations/location-row/index.ts","./components/enterprise/locations/locations-list/index.hbs","./components/enterprise/locations/locations-list/index.ts","./components/enterprise/locations/show-trouble-issues/index.hbs","./components/enterprise/locations/show-trouble-issues/index.ts","./components/enterprise/locations/view-more-locations-button/index.hbs","./components/enterprise/locations/view-more-locations-button/index.ts","./components/enterprise/logins/add-enterprise-logins-options/index.hbs","./components/enterprise/logins/add-enterprise-logins-options/index.ts","./components/logins/scheduled-device-login/index.hbs","./components/logins/scheduled-device-login/index.ts","./components/enterprise/logins/edit/edit-scheduled-device-login/index.hbs","./components/enterprise/logins/edit/edit-scheduled-device-login/index.ts","./components/enterprise/groups/standalone-locations-roles-list/index.hbs","./components/enterprise/groups/standalone-locations-roles-list/index.ts","./components/enterprise/logins/edit/multi-group-login/index.hbs","./components/enterprise/logins/edit/multi-group-login/index.ts","./components/enterprise/logins/logins-page/index.hbs","./components/enterprise/logins/logins-page/index.ts","./components/enterprise/bulk-processing/csv-parse-alerts/index.hbs","./components/enterprise/bulk-processing/csv-parse-alerts/index.ts","./components/enterprise/settings/active-directory/bulk-import/index.hbs","./components/enterprise/settings/active-directory/bulk-import/index.ts","./components/enterprise/settings/active-directory/mapping/index.hbs","./components/enterprise/settings/active-directory/mapping/index.ts","./components/enterprise/settings/group-setting-page/index.hbs","./components/enterprise/settings/group-setting-page/index.ts","./components/enterprise/templates/template-collection/index.hbs","./components/enterprise/templates/template-collection/index.ts","./components/logins/list/index.hbs","./components/logins/list/index.ts","./components/modals/enterprise/locations/device-selection/base-device-selection/index.hbs","./components/modals/enterprise/locations/device-selection/base-device-selection/index.ts","./components/modals/enterprise/locations/device-selection/device-selection-interface.ts","./components/modals/enterprise/settings/apply-multiple-groups/index.hbs","./components/modals/enterprise/settings/apply-multiple-groups/index.js","./components/enterprise/settings/active-directory/group-mapping/index.hbs","./components/enterprise/settings/active-directory/group-mapping/index.ts","./components/settings/active-directory-group-mapping/index.hbs","./components/settings/active-directory-group-mapping/index.ts","./enterprise/access-control/access-plans/controller.ts","./enterprise/access-control/access-plans/edit/controller.ts","./enterprise/access-control/access-plans/edit/route.ts","./enterprise/access-control/access-plans/index/controller.ts","./enterprise/access-control/access-plans/index/route.ts","./enterprise/access-control/access-plans/new/controller.ts","./enterprise/access-control/access-plans/new/route.ts","./enterprise/access-control/access-plans/route.ts","./enterprise/access-control/access-points/controller.js","./enterprise/access-control/access-points/edit/controller.js","./enterprise/access-control/access-points/edit/route.ts","./enterprise/access-control/access-points/index/controller.ts","./enterprise/access-control/access-points/index/route.ts","./enterprise/access-control/access-points/route.js","./enterprise/access-control/elevators/controller.js","./enterprise/access-control/elevators/index/controller.js","./enterprise/access-control/elevators/index/route.js","./enterprise/access-control/elevators/route.js","./enterprise/access-control/holidays/edit/route.ts","./enterprise/access-control/index/route.js","./enterprise/access-control/logins/add-enterprise-logins-options/controller.ts","./enterprise/access-control/logins/add-enterprise-logins-options/route.ts","./enterprise/access-control/logins/associate/multi-group-login/controller.ts","./enterprise/access-control/logins/associate/multi-group-login/route.ts","./enterprise/access-control/logins/associate/route.ts","./enterprise/access-control/logins/edit/edit-scheduled-device-login/controller.ts","./enterprise/access-control/logins/edit/edit-scheduled-device-login/route.ts","./enterprise/access-control/logins/edit/multi-group-login/controller.ts","./enterprise/access-control/logins/edit/multi-group-login/route.ts","./enterprise/access-control/logins/edit/route.ts","./enterprise/access-control/logins/elevate-logins/route.ts","./enterprise/access-control/logins/index/controller.ts","./enterprise/access-control/logins/index/route.ts","./enterprise/access-control/logins/new-login/new-multi-group-login/controller.ts","./enterprise/access-control/logins/new-login/new-multi-group-login/route.ts","./enterprise/access-control/logins/new-login/new-scheduled-device-login/controller.ts","./enterprise/access-control/logins/new-login/new-scheduled-device-login/route.ts","./enterprise/access-control/logins/new-login/route.ts","./enterprise/access-control/system-mode-configuration/lockdown-configuration/edit/controller.ts","./enterprise/access-control/system-mode-configuration/lockdown-configuration/edit/route.ts","./enterprise/access-control/system-mode-configuration/lockdown-configuration/index/controller.ts","./enterprise/access-control/system-mode-configuration/lockdown-configuration/index/route.ts","./enterprise/access-control/users/bulk-create/route.ts","./enterprise/access-control/users/controller.ts","./enterprise/access-control/users/edit-not-supported/route.ts","./enterprise/access-control/users/edit/access-plans/controller.js","./enterprise/access-control/users/edit/access-plans/route.js","./enterprise/access-control/users/edit/add-contact/route.ts","./enterprise/access-control/users/edit/contact-information/controller.ts","./enterprise/access-control/users/edit/contact-information/route.ts","./enterprise/access-control/users/edit/expiring-credentials/controller.js","./enterprise/access-control/users/edit/expiring-credentials/route.js","./enterprise/access-control/users/edit/index/controller.ts","./enterprise/access-control/users/edit/index/route.js","./enterprise/access-control/users/edit/language/controller.ts","./enterprise/access-control/users/edit/language/route.ts","./enterprise/access-control/users/edit/link-login/controller.ts","./enterprise/access-control/users/edit/link-login/route.ts","./enterprise/access-control/users/edit/route.ts","./enterprise/access-control/users/edit/user-attributes/edit/route.js","./enterprise/access-control/users/edit/user-attributes/index/route.js","./enterprise/access-control/users/edit/user-group/controller.ts","./enterprise/access-control/users/edit/user-group/route.js","./enterprise/access-control/users/edit/user-information/controller.ts","./enterprise/access-control/users/edit/user-information/route.ts","./enterprise/access-control/users/edit/username/route.ts","./enterprise/access-control/users/index/controller.ts","./enterprise/access-control/users/index/route.ts","./enterprise/access-control/users/merge-users-list/controller.ts","./enterprise/access-control/users/merge-users-list/route.ts","./enterprise/access-control/users/merge-users-preview/route.ts","./enterprise/access-control/users/promote-user/route.ts","./enterprise/access-control/users/route.ts","./enterprise/access-control/users/user-groups/edit/controller.js","./enterprise/access-control/users/user-groups/edit/route.js","./enterprise/access-control/users/user-groups/index/controller.js","./enterprise/access-control/users/user-groups/index/route.js","./enterprise/access-control/users/user-groups/new/controller.js","./enterprise/access-control/users/user-groups/new/route.js","./enterprise/activity/event-history/controller.ts","./enterprise/activity/event-history/image/controller.ts","./enterprise/activity/event-history/image/route.ts","./enterprise/activity/event-history/index/controller.ts","./enterprise/activity/event-history/index/route.ts","./enterprise/activity/event-history/route.ts","./enterprise/activity/event-history/video/route.ts","./enterprise/activity/extended-activity-history/controller.js","./enterprise/activity/extended-activity-history/route.js","./enterprise/activity/group-event-history/route.js","./enterprise/alerts-issues/controller.ts","./enterprise/alerts-issues/route.ts","./enterprise/groups/add-location/controller.ts","./enterprise/groups/add-location/route.ts","./components/modals/enterprise/groups/add-systems/index.hbs","./components/modals/enterprise/groups/add-systems/index.js","./components/modals/enterprise/groups/confirm-delete-empty-group/index.hbs","./components/modals/enterprise/groups/confirm-delete-empty-group/index.ts","./components/modals/enterprise/groups/base-user-access-modal-component.js","./components/modals/enterprise/groups/user-access-modal-wrapper/index.hbs","./components/modals/enterprise/groups/user-access-modal-wrapper/index.ts","./components/modals/enterprise/groups/move-systems/index.hbs","./components/modals/enterprise/groups/move-systems/index.js","./components/modals/enterprise/groups/remove-systems/index.hbs","./components/modals/enterprise/groups/remove-systems/index.js","./enterprise/groups/index/controller.js","./enterprise/groups/index/route.ts","./enterprise/groups/new-enterprise/controller.js","./enterprise/groups/new-enterprise/route.js","./components/modals/enterprise/groups/elevate-group-logins/index.hbs","./components/modals/enterprise/groups/elevate-group-logins/index.js","./enterprise/groups/new-group/controller.js","./enterprise/groups/new-group/route.js","./enterprise/locations/controller.js","./components/enterprise/locations/access-points-str-tour/access-points-str-tour.ts","./enterprise/locations/device-access/controller.js","./enterprise/locations/device-access/route.ts","./enterprise/locations/fleet/controller.ts","./enterprise/locations/fleet/route.ts","./enterprise/locations/index/route.ts","./enterprise/locations/location/access-points/controller.js","./enterprise/locations/location/access-points/route.ts","./enterprise/locations/location/controller.js","./enterprise/locations/location/edit/index/controller.ts","./enterprise/locations/location/edit/index/route.ts","./enterprise/locations/location/edit/users/controller.ts","./enterprise/locations/location/edit/users/route.ts","./enterprise/locations/location/index/route.ts","./components/enterprise/locations/manage-resident-v2/tool-bar/index.hbs","./components/enterprise/locations/manage-resident-v2/tool-bar/index.js","./enterprise/locations/location/manage-residents-v2/controller.js","./enterprise/locations/location/manage-residents-v2/route.js","./components/modals/enterprise/locations/manage-residents/index.hbs","./components/modals/enterprise/locations/manage-residents/index.ts","./enterprise/locations/location/manage-residents/controller.js","./enterprise/locations/location/manage-residents/route.js","./enterprise/locations/location/manual-move-in/controller.ts","./enterprise/locations/location/manual-move-in/route.ts","./enterprise/locations/location/panel/controller.js","./enterprise/locations/location/panel/route.js","./enterprise/locations/location/route.js","./enterprise/locations/location/thermostats/controller.js","./enterprise/locations/location/thermostats/route.js","./enterprise/locations/occupancy/controller.js","./enterprise/locations/occupancy/route.js","./enterprise/locations/personal-safety/controller.js","./enterprise/locations/personal-safety/route.js","./enterprise/locations/route.js","./enterprise/locations/summary/controller.js","./enterprise/locations/summary/route.js","./enterprise/locations/temperatures/controller.js","./enterprise/locations/temperatures/route.js","./enterprise/locations/thermostats/controller.ts","./enterprise/locations/thermostats/route.ts","./enterprise/locations/video/controller.js","./enterprise/locations/video/route.js","./enterprise/logins/add-enterprise-logins-options/controller.ts","./enterprise/logins/add-enterprise-logins-options/route.ts","./enterprise/logins/associate/multi-group-login/controller.ts","./enterprise/logins/associate/multi-group-login/route.ts","./enterprise/logins/associate/route.ts","./enterprise/logins/edit/edit-scheduled-device-login/controller.ts","./enterprise/logins/edit/edit-scheduled-device-login/route.ts","./enterprise/logins/edit/multi-group-login/controller.ts","./enterprise/logins/edit/multi-group-login/route.ts","./enterprise/logins/edit/route.ts","./enterprise/logins/elevate-logins/route.ts","./enterprise/logins/index/controller.ts","./enterprise/logins/index/route.ts","./enterprise/logins/new-login/new-multi-group-login/controller.ts","./enterprise/logins/new-login/new-multi-group-login/route.ts","./enterprise/logins/new-login/new-scheduled-device-login/controller.ts","./enterprise/logins/new-login/new-scheduled-device-login/route.ts","./enterprise/logins/new-login/route.ts","./enterprise/multi-group-settings/route.js","./enterprise/overview/community-dashboard/route.ts","./enterprise/overview/locations/controller.js","./enterprise/overview/locations/route.js","./enterprise/reports/catalog/controller.ts","./enterprise/reports/catalog/route.ts","./enterprise/reports/edit/access-history-report/controller.ts","./enterprise/reports/edit/access-history-report/route.js","./enterprise/reports/edit/alarms-issues-report/controller.ts","./enterprise/reports/edit/alarms-issues-report/route.js","./enterprise/reports/edit/battery-level-report/controller.ts","./enterprise/reports/edit/business-activity-analytics-report/controller.ts","./enterprise/reports/edit/business-activity-analytics-report/route.ts","./enterprise/reports/edit/controller.ts","./enterprise/reports/edit/route.ts","./enterprise/reports/edit/self-guided-tours-report/controller.ts","./enterprise/reports/edit/self-guided-tours-report/route.ts","./enterprise/reports/edit/trouble-condition-details-report/controller.ts","./enterprise/reports/edit/trouble-condition-details-report/route.ts","./enterprise/reports/edit/trouble-condition-report/controller.ts","./enterprise/reports/edit/trouble-condition-report/route.js","./enterprise/reports/edit/user-activity-report/controller.ts","./enterprise/reports/edit/user-activity-report/route.ts","./enterprise/reports/edit/user-summary-report/controller.ts","./enterprise/reports/edit/user-summary-report/route.ts","./enterprise/reports/edit/video-health-report/controller.ts","./enterprise/reports/edit/video-health-report/route.ts","./enterprise/reports/index/controller.ts","./enterprise/reports/index/route.ts","./enterprise/settings/access-control-restricted-access/route.ts","./enterprise/settings/access-settings/controller.ts","./enterprise/settings/access-settings/route.ts","./enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/controller.ts","./enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/route.ts","./enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/route.ts","./enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/route.ts","./enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/route.ts","./enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/route.ts","./enterprise/settings/active-directory-setup/active-directory-location-group-mapping/route.ts","./enterprise/settings/active-directory-setup/index/route.js","./enterprise/settings/active-directory-setup/route.ts","./enterprise/settings/arming-schedule-templates/apply/controller.ts","./enterprise/settings/arming-schedule-templates/apply/route.ts","./enterprise/settings/arming-schedule-templates/edit-arming-schedule/controller.ts","./enterprise/settings/arming-schedule-templates/edit-arming-schedule/route.ts","./enterprise/settings/arming-schedule-templates/edit/controller.ts","./enterprise/settings/arming-schedule-templates/edit/route.ts","./enterprise/settings/arming-schedule-templates/index/controller.ts","./enterprise/settings/arming-schedule-templates/index/route.ts","./enterprise/settings/auto-relock/controller.ts","./enterprise/settings/auto-relock/route.ts","./enterprise/settings/automatic-panel-arming/controller.ts","./enterprise/settings/automatic-panel-arming/route.ts","./enterprise/settings/automatically-enable-background-capture/controller.js","./enterprise/settings/automatically-enable-background-capture/route.js","./enterprise/settings/backup-codes/controller.ts","./enterprise/settings/backup-codes/route.ts","./enterprise/settings/business-hour-templates/controller.js","./enterprise/settings/business-hour-templates/route.js","./enterprise/settings/communication-settings/controller.ts","./enterprise/settings/communication-settings/route.ts","./enterprise/settings/company-logo/controller.ts","./enterprise/settings/company-logo/route.ts","./enterprise/settings/company-name/controller.ts","./enterprise/settings/company-name/route.ts","./components/modals/enterprise/settings/customizable-welcome-email-test-email/index.hbs","./components/modals/enterprise/settings/customizable-welcome-email-test-email/index.ts","./enterprise/settings/customize-welcome-email/controller.ts","./enterprise/settings/customize-welcome-email/route.ts","./enterprise/settings/delete-expired-users/controller.ts","./enterprise/settings/delete-expired-users/route.ts","./enterprise/settings/delete-inactive-users/controller.ts","./enterprise/settings/delete-inactive-users/route.ts","./enterprise/settings/energy-saver-rules/controller.ts","./enterprise/settings/energy-saver-rules/route.ts","./enterprise/settings/energy-settings/route.ts","./enterprise/settings/guest-login-access/controller.js","./enterprise/settings/guest-login-access/route.js","./enterprise/settings/house-ready-early/controller.ts","./enterprise/settings/house-ready-early/route.ts","./enterprise/settings/index/route.js","./enterprise/settings/login-templates/controller.ts","./enterprise/settings/login-templates/route.ts","./enterprise/settings/managed-account-access/route.js","./enterprise/settings/mobile-badge/route.ts","./enterprise/settings/new-business-hour-templates/apply/controller.ts","./enterprise/settings/new-business-hour-templates/apply/route.ts","./enterprise/settings/new-business-hour-templates/edit/controller.ts","./enterprise/settings/new-business-hour-templates/edit/route.ts","./enterprise/settings/new-business-hour-templates/index/controller.ts","./enterprise/settings/new-business-hour-templates/index/route.ts","./enterprise/settings/noise-monitor-settings-templates/edit/controller.ts","./enterprise/settings/noise-monitor-settings-templates/edit/route.ts","./enterprise/settings/noise-monitor-settings-templates/index/controller.ts","./enterprise/settings/noise-monitor-settings-templates/index/route.ts","./enterprise/settings/noise-monitor-settings/controller.ts","./enterprise/settings/noise-monitor-settings/route.ts","./enterprise/settings/occupancy-based-pool-controller-rules/edit/controller.ts","./enterprise/settings/occupancy-based-pool-controller-rules/edit/route.ts","./enterprise/settings/occupancy-based-pool-controller-rules/index/controller.ts","./enterprise/settings/occupancy-based-pool-controller-rules/index/route.ts","./enterprise/settings/occupancy-based-thermostat-rules/edit/controller.ts","./enterprise/settings/occupancy-based-thermostat-rules/edit/route.ts","./enterprise/settings/occupancy-based-thermostat-rules/index/controller.js","./enterprise/settings/occupancy-based-thermostat-rules/index/route.js","./enterprise/settings/panel-settings/controller.ts","./enterprise/settings/panel-settings/route.ts","./enterprise/settings/permissions-and-integrations/route.ts","./enterprise/settings/pool-control-filter-pump-schedules/edit/controller.ts","./enterprise/settings/pool-control-filter-pump-schedules/edit/route.ts","./enterprise/settings/pool-control-filter-pump-schedules/index/controller.ts","./enterprise/settings/pool-control-filter-pump-schedules/index/route.ts","./enterprise/settings/preloaded-codes-for-user-creation/controller.ts","./enterprise/settings/preloaded-codes-for-user-creation/route.ts","./components/modals/enterprise/settings/property-management-resident-select/index.hbs","./components/modals/enterprise/settings/property-management-resident-select/index.ts","./enterprise/settings/property-management-integration/controller.ts","./enterprise/settings/property-management-integration/route.ts","./enterprise/settings/route.ts","./enterprise/settings/schedule-email/controller.js","./enterprise/settings/schedule-email/route.js","./enterprise/settings/schedule-welcome-message/controller.ts","./enterprise/settings/schedule-welcome-message/route.ts","./enterprise/settings/self-guided-tours-appointment-length/controller.js","./enterprise/settings/self-guided-tours-appointment-length/route.js","./enterprise/settings/self-guided-tours-cc-verification/controller.js","./enterprise/settings/self-guided-tours-cc-verification/route.js","./enterprise/settings/self-guided-tours-checkpoint-id/controller.ts","./enterprise/settings/self-guided-tours-checkpoint-id/route.ts","./enterprise/settings/self-guided-tours-community-site-map/controller.ts","./enterprise/settings/self-guided-tours-community-site-map/route.ts","./enterprise/settings/self-guided-tours-configure-funnel-crm/controller.ts","./enterprise/settings/self-guided-tours-configure-funnel-crm/route.ts","./enterprise/settings/self-guided-tours-configure-knock-crm/controller.ts","./enterprise/settings/self-guided-tours-configure-knock-crm/route.ts","./enterprise/settings/self-guided-tours-custom-url/controller.js","./enterprise/settings/self-guided-tours-custom-url/route.js","./enterprise/settings/self-guided-tours-customer-logo/controller.js","./enterprise/settings/self-guided-tours-customer-logo/route.js","./enterprise/settings/self-guided-tours-gate-code/controller.ts","./enterprise/settings/self-guided-tours-gate-code/route.ts","./enterprise/settings/self-guided-tours-geofence/controller.ts","./enterprise/settings/self-guided-tours-geofence/route.ts","./enterprise/settings/self-guided-tours-hours-of-operation/controller.ts","./enterprise/settings/self-guided-tours-hours-of-operation/route.ts","./enterprise/settings/self-guided-tours-support-phone/controller.js","./enterprise/settings/self-guided-tours-support-phone/route.js","./enterprise/settings/self-guided-tours-terms-and-conditions/controller.ts","./enterprise/settings/self-guided-tours-terms-and-conditions/route.ts","./enterprise/settings/self-guided-tours-web-primary-color/controller.js","./enterprise/settings/self-guided-tours-web-primary-color/route.js","./enterprise/settings/self-guided-tours/route.ts","./enterprise/settings/send-email-by-default/controller.js","./enterprise/settings/send-email-by-default/route.js","./enterprise/settings/send-follow-up-text/controller.js","./enterprise/settings/send-follow-up-text/route.js","./enterprise/settings/support-phone-number/controller.ts","./enterprise/settings/support-phone-number/route.ts","./enterprise/settings/temporary-access-code-availability-schedule/controller.js","./enterprise/settings/temporary-access-code-availability-schedule/route.js","./enterprise/settings/temporary-access-code-duration/controller.js","./enterprise/settings/temporary-access-code-duration/route.js","./enterprise/settings/temporary-access-code-settings/route.ts","./enterprise/settings/temporary-access-codes/controller.ts","./enterprise/settings/temporary-access-codes/route.ts","./enterprise/settings/thermostat-schedule-templates/controller.js","./enterprise/settings/thermostat-schedule-templates/route.js","./enterprise/settings/thermostat-settings-templates/edit/controller.js","./enterprise/settings/thermostat-settings-templates/edit/route.js","./enterprise/settings/thermostat-settings-templates/index/controller.ts","./enterprise/settings/thermostat-settings-templates/index/route.ts","./enterprise/settings/user-code-times/controller.ts","./enterprise/settings/user-code-times/route.ts","./enterprise/settings/user-settings/route.ts","./enterprise/settings/water-meter-configuration/edit/controller.ts","./enterprise/settings/water-meter-configuration/edit/route.ts","./enterprise/settings/water-meter-configuration/index/controller.ts","./enterprise/settings/water-meter-configuration/index/route.ts","./enterprise/settings/water-settings/controller.ts","./enterprise/settings/water-settings/route.ts","./enterprise/settings/welcome-message/controller.ts","./enterprise/settings/welcome-message/route.ts","./enterprise/users/edit/access-period/controller.ts","./enterprise/users/edit/access-period/route.ts","./enterprise/users/edit/add-contact/route.ts","./enterprise/users/edit/contact-information/controller.ts","./enterprise/users/edit/contact-information/route.ts","./enterprise/users/edit/device-access/access-type/controller.ts","./enterprise/users/edit/device-access/access-type/route.ts","./enterprise/users/edit/device-access/controller.ts","./enterprise/users/edit/device-access/index/route.js","./enterprise/users/edit/device-access/location-devices/controller.ts","./enterprise/users/edit/device-access/location-devices/route.ts","./enterprise/users/edit/device-access/route.ts","./enterprise/users/edit/device-access/user-code/controller.ts","./enterprise/users/edit/device-access/user-code/route.ts","./enterprise/users/edit/index/controller.ts","./enterprise/users/edit/index/route.ts","./enterprise/users/edit/language/controller.ts","./enterprise/users/edit/language/route.ts","./enterprise/users/edit/link-login/controller.ts","./enterprise/users/edit/link-login/route.ts","./enterprise/users/edit/new-user-add-contact-information/controller.ts","./enterprise/users/edit/new-user-add-contact-information/route.ts","./enterprise/users/edit/not-supported/route.js","./enterprise/users/edit/route.ts","./enterprise/users/edit/user-attributes/edit/route.js","./enterprise/users/edit/user-attributes/index/route.js","./enterprise/users/edit/user-information/controller.ts","./enterprise/users/edit/user-information/route.ts","./enterprise/users/edit/user-type/controller.ts","./enterprise/users/edit/user-type/route.ts","./enterprise/users/edit/username/route.ts","./enterprise/users/index/controller.ts","./enterprise/users/index/route.ts","./enterprise/users/merge-users-list/controller.ts","./enterprise/users/merge-users-list/route.ts","./enterprise/users/merge-users-preview/route.ts","./enterprise/users/route.ts","./enterprise/video/advanced-video-search/controller.js","./enterprise/video/advanced-video-search/route.js","./enterprise/video/camera-groups/controller.ts","./enterprise/video/camera-groups/edit/route.ts","./enterprise/video/camera-groups/route.ts","./enterprise/video/clips/controller.ts","./enterprise/video/clips/index/controller.ts","./enterprise/video/clips/index/route.ts","./enterprise/video/clips/route.ts","./enterprise/video/gallery/controller.ts","./enterprise/video/gallery/index/controller.ts","./enterprise/video/gallery/index/route.ts","./enterprise/video/gallery/route.ts","./enterprise/video/live-view/controller.ts","./enterprise/video/live-view/route.ts","./enterprise/video/svr-timeline/controller.js","./enterprise/video/svr-timeline/route.js","./enterprise/video/thumbnail-search/controller.ts","./enterprise/video/thumbnail-search/route.ts","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/helpers/camelize.js","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/helpers/lowercase.js","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/utils/lowercase.js"],"sourcesContent":["import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/access-plans/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/access-plans/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/access-plans/new/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/access-control/access-plans/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/access-points/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/access-points/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/access-control/access-points/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n \\n <:items-count>\\n \\n {{#if this.contextManager.identityModel.viewingParentGroup}}\\n {{t \\'components.access-control.access-points.index-route.elevatorsCount\\' numPoints=this.parentElevatorsCount}}\\n {{else}}\\n {{t \\'components.access-control.access-points.index-route.floorsCount\\' numPoints=this.floors.length}}\\n {{/if}}\\n \\n \\n \\n\\n \\n\\n \\n\\n \\n\\n \\n {{#if this.contextManager.identityModel.viewingParentGroup}}\\n {{#each this.enterpriseElevatorsList as |systemGroup|}}\\n

{{systemGroup.enterpriseGroupDescription}}

\\n {{#each systemGroup.systems as |system|}}\\n \\n \\n <:header>\\n

{{system.systemDescription}}

\\n \\n <:body>\\n {{#each system.elevators as |elevator|}}\\n \\n {{/each}}\\n \\n \\n
\\n {{/each}}\\n {{/each}}\\n {{else}}\\n {{#each this.enterpriseElevatorsList as |singleSystem|}}\\n

{{singleSystem.name}}

\\n {{#each singleSystem.elevators as |elevator|}}\\n \\n \\n <:header>\\n

{{elevator.name}}

\\n \\n <:body>\\n {{#each elevator.floors as |floor|}}\\n \\n {{/each}}\\n \\n \\n
\\n {{/each}}\\n {{/each}}\\n {{/if}}\\n \\n
\\n
\",{ moduleName: \"customer-site/enterprise/access-control/elevators/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/access-control/elevators/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/holidays/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/associate/multi-group-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/edit/multi-group-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error The searchString property does not exist, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/elevate-logins/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/bulk-create/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit-not-supported/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/access-plans/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/add-contact/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/expiring-credentials/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: Glint has trouble with this file due to missing context, not sure why. Please convert route to TS and try to resolve. }}\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-expect-error: Types don\\'t match, please fix this. }}\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/language/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-expect-error: Types don\\'t match, please fix this. }}\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/link-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/user-attributes/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/user-attributes/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/user-group/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/user-information/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: @model type doesn\\'t match, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/edit/username/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/access-control/users/merge-users-list/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/merge-users-preview/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/promote-user/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/access-control/users/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/user-groups/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/user-groups/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/access-control/users/user-groups/new/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/activity/event-history/image/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar>\\n \\n \\n \\n \\n \\n \\n\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n {{#if this.appliedFilters.length}}\\n {{!-- @glint-expect-error: Need to figure out how to type metadata. --}}\\n \\n {{/if}}\\n\\n {{#each data as |day|}}\\n {{#unless (and this.hasNonDateFilterApplied day.noActivity)}}\\n \\n {{/unless}}\\n {{/each}}\\n\\n \\n\\n
\\n\\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n {{/if}}\\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:no-results as |PageViewNoResults|>\\n \\n \\n \\n \\n
\\n \\n
\\n\",{ moduleName: \"customer-site/enterprise/activity/event-history/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/activity/event-history/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: @model.permissions type is not compatible, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/activity/event-history/video/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/activity/extended-activity-history/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n <:default>\\n {{#unless this.alerts}}\\n \\n {{else}}\\n \\n <:header>\\n \\n \\n \\n {{/unless}}\\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/alerts-issues/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default>\\n {{#if this.addLocations}}\\n

{{this.addLocationsDescription}}

\\n

{{this.addLocationsListTitle}}

\\n
    \\n {{#each this.movableSystems as |movableSystem|}}\\n
  • {{movableSystem}}
  • \\n {{/each}}\\n
\\n {{/if}}\\n\\n {{#if this.copyUsers}}\\n {{! @glint-expect-error: This component needs to be converted to TS. }}\\n \\n {{/if}}\\n\\n {{#if this.moveLocations}}\\n

{{this.moveLocationsDescription}}

\\n {{/if}}\\n \\n\\n <:footer>\\n \\n
\\n {{#each buttons as |btn|}}\\n \\n {{/each}}\\n
\\n
\\n \\n\\n\",{ moduleName: \"customer-site/components/action-sheets/enterprise/groups/confirm-move-systems/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, computed, get } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport UserAccessHelper from 'customer-site/classes/enterprise/groups/user-access-helper';\nimport { RetainUsers, RemoveUsers, RetainAndElevateUsers } from 'customer-site/enums/UserAccess';\nimport { escapeHtml } from 'customer-site/utils/strings';\nimport { intlPath } from '@adc/i18n/path';\nimport { EmberEnterpriseGroups } from '../../../../../enums/CustomerPageUrl';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ActionSheetButton } from '@adc/ui-components/components/action-sheet';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type System from 'customer-site/models/systems/system';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { SafeString } from 'handlebars';\n\nenum ViewState {\n AddLocations,\n CopyUsers,\n MoveLocations\n}\n\ninterface ConfirmMoveSystemsSignature {\n Args: {\n isActive: boolean;\n close: VoidFunction;\n selectedCustomers: System[];\n selectedGroup: SystemGroup;\n };\n}\n\n@intlPath({ path: 'action-sheets/enterprise/groups/confirm-move-systems' })\nexport default class ConfirmMoveSystems extends Component {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n\n // Constructing our User Helper\n userAccessHelper = new UserAccessHelper(\n this,\n this.isAccessControl,\n this.selectedCustomerIds,\n this.args.selectedGroup\n );\n\n // #region Component State\n\n @tracked currentState = ViewState.AddLocations;\n\n /**\n * Clear all states and restart.\n */\n @action restart(): void {\n this.currentState = ViewState.AddLocations;\n }\n\n // #endregion\n\n // #region View state\n\n @equal('currentState', ViewState.AddLocations)\n declare addLocations: boolean;\n\n @equal('currentState', ViewState.CopyUsers)\n declare copyUsers: boolean;\n\n @equal('currentState', ViewState.MoveLocations)\n declare moveLocations: boolean;\n\n private updateViewState(state: ViewState): void {\n this.currentState = state;\n }\n\n /**\n * The buttons to render for the current state.\n */\n get buttons(): Promise {\n return (async () => {\n const { intl, currentState } = this,\n fnGetBtn = (\n text: string,\n fn: VoidFunction,\n props: { disabled?: boolean; isPrimary?: boolean } = {}\n ): ActionSheetButton => ({\n text,\n fn,\n disabled: props.disabled ?? false,\n color: props.isPrimary ? 'primary' : undefined\n }),\n txtBack = intl.t('generic.back'),\n txtNext = intl.t('generic.next');\n\n /**\n * Temporary version of this state's buttons\n */\n switch (currentState) {\n case ViewState.AddLocations:\n return [\n fnGetBtn(this.intl.t('generic.cancel'), this.args.close),\n fnGetBtn(txtNext, () => this.updateViewState(ViewState.CopyUsers), {\n isPrimary: true\n })\n ];\n case ViewState.CopyUsers:\n return [\n fnGetBtn(txtBack, () => this.updateViewState(ViewState.AddLocations)),\n fnGetBtn(txtNext, () => this.updateViewState(ViewState.MoveLocations), {\n isPrimary: true\n })\n ];\n case ViewState.MoveLocations:\n return [\n fnGetBtn(txtBack, () => this.updateViewState(ViewState.CopyUsers)),\n fnGetBtn(\n intl.tc(this, 'moveLocations', {\n count: this.args.selectedCustomers.length\n }),\n () => this.saveSelectionAndCloseActionSheet(),\n {\n isPrimary: true\n }\n )\n ];\n default:\n return [];\n }\n })();\n }\n\n // #endregion\n\n // #region Getters\n /**\n * The action sheet title\n * Sets the title depending on the current state of our action sheet\n */\n @computed('currentState', 'args.selectedCustomers.length')\n get actionSheetTitle(): string {\n const { intl, currentState, args } = this;\n switch (currentState) {\n case ViewState.AddLocations: {\n return intl.tc(this, 'addLocations', {\n count: args.selectedCustomers.length\n });\n }\n case ViewState.CopyUsers: {\n return intl.tc(this, 'copyUsers');\n }\n case ViewState.MoveLocations: {\n return intl.tc(this, 'moveLocations', {\n count: args.selectedCustomers.length\n });\n }\n default: {\n return intl.tc(this, 'addLocations');\n }\n }\n }\n\n @computed('contextManager.identityModel.isAccessControl')\n get isAccessControl(): boolean {\n return this.contextManager.identityModel.isAccessControl;\n }\n\n @computed('args.selectedCustomers')\n get selectedCustomerIds(): number[] {\n return this.args.selectedCustomers.map((system) => parseInt(system.id));\n }\n\n // #region Add Locations\n\n @computed('args.selectedCustomers.length')\n get addLocationsDescription(): string {\n return this.intl.tc(this, 'addLocationsBody.description', {\n count: this.args.selectedCustomers.length\n });\n }\n\n @computed('args.selectedCustomers.length')\n get addLocationsListTitle(): string {\n return this.intl.tc(this, 'addLocationsBody.listTitle', {\n count: this.args.selectedCustomers.length\n });\n }\n\n @computed('args.selectedCustomers')\n get movableSystems(): string[] {\n return this.args.selectedCustomers.map((system) => system.description);\n }\n\n // #endregion\n\n // #region Moving Locations\n\n @computed('args.{selectedCustomerIds.length,selectedGroup.description}')\n get moveLocationsDescription(): SafeString {\n const { intl, args, selectedCustomerIds } = this;\n return htmlSafe(\n intl.tc(this, 'moveLocationsBody.description', {\n count: selectedCustomerIds.length,\n selectedGroupName: escapeHtml(get(args.selectedGroup, 'description'))\n })\n );\n }\n\n async moveSelectedSystems(removeAccessEnum: number) {\n const { args, selectedCustomerIds, contextManager } = this;\n return await args.selectedGroup\n .moveSystemsToGroup(selectedCustomerIds, removeAccessEnum)\n .then(async ({ meta: { groupIdToSwitchTo } = {} }) => {\n if (groupIdToSwitchTo) {\n contextManager.switchToNewGroup(Number(groupIdToSwitchTo), EmberEnterpriseGroups);\n } else {\n contextManager.refreshAvailableSystems();\n }\n });\n }\n\n async saveSelectionAndCloseActionSheet() {\n const { userAccessHelper, args, intl, notificationManager } = this;\n // Setting our removeAccessEnum\n let removeAccessEnum = RetainUsers;\n if (userAccessHelper.removeAccess) {\n removeAccessEnum = RemoveUsers;\n } else if (userAccessHelper.movingSystemsWithinSameEnterprise) {\n removeAccessEnum = RetainAndElevateUsers;\n }\n\n // Move our systems\n await this.moveSelectedSystems(removeAccessEnum);\n\n // Successful notification\n notificationManager.addSuccess(\n intl.tc(this, 'moveLocationsBody.locationsMovedSuccessMessage', {\n count: args.selectedCustomers.length,\n groupName: args.selectedGroup.description\n })\n );\n\n // Close out of the action sheet\n args.close();\n }\n\n // #endregion\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'ActionSheets::Enterprise::Groups::ConfirmMoveSystems': typeof ConfirmMoveSystems;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n

{{tc this \\'addLocationHeader\\' groupName=this.groupName}}

\\n \\n
\\n\\n\",{ moduleName: \"customer-site/enterprise/groups/add-location/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n
\\n \\n
\\n
\\n {{yield}}\\n
\\n
\",{ moduleName: \"customer-site/components/enterprise/groups/tool-bar/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\nimport type { GroupsRouteModel } from 'customer-site/enterprise/groups/index/route';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\n\nexport interface EnterpriseGroupToolbarSignature {\n Args: {\n model?: GroupsRouteModel;\n enterprises: SystemGroup[];\n selectedEnterprise: SystemGroup;\n 'enterprise-value-change': (id?: string) => void;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst EnterpriseGroupToolbar = templateOnlyComponent();\nexport default EnterpriseGroupToolbar;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Groups::Toolbar': typeof EnterpriseGroupToolbar;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error Please convert this component to TS --}}\\n\",{ moduleName: \"customer-site/components/enterprise/groups/group-level-user-access-selector/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\n\ninterface GroupLevelUserAccessSelectorSignature {\n Args: {\n parentGroupName: string;\n childGroupName: string;\n userAccessDescriptionPath: string;\n selectAccessOption: VoidFunction;\n shouldRemoveAccess: boolean;\n useAPUMRetainUsers: boolean;\n };\n}\n\n/**\n * @classdesc\n * The model used within an enterprise modal for choosing a user access level at the group level.\n */\n@intlPath({ path: 'enterprise/groups/group-level-user-access-selector' })\nexport default class GroupLevelUserAccessSelector extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n @computed('args.{parentGroupName,childGroupName,userAccessDescriptionPath,selectAccessOption,shouldRemoveAccess}')\n get userAccessArgs(): {\n removeAccess: boolean;\n retainUsersDescription: string;\n removeUsersDescription: string;\n userAccessDescriptionKey: string;\n selectAccessOption: VoidFunction;\n } {\n const {\n intl,\n args: { parentGroupName, childGroupName, userAccessDescriptionPath, selectAccessOption, shouldRemoveAccess }\n } = this;\n\n return {\n removeAccess: shouldRemoveAccess,\n retainUsersDescription: intl.tc(this, 'copyGroupUsers'),\n removeUsersDescription: intl.tc(this, 'doNotCopyGroupUsers'),\n userAccessDescriptionKey: intl.t(\n `components.action-sheets.enterprise.groups.${userAccessDescriptionPath}`,\n {\n parentGroupName: parentGroupName,\n groupName: childGroupName\n }\n ),\n selectAccessOption\n };\n }\n\n /**\n * Bullet point text for the retain users option.\n */\n @computed('args.{childGroupName,useAPUMRetainUsers}')\n get retainUsersBulletText(): string[] {\n return [\n this.getBulletText('retainUsersFirstBulletText'),\n this.args.useAPUMRetainUsers\n ? this.getBulletText('APUMRetainUsersSecondBulletText')\n : this.getBulletText('retainUsersSecondBulletText')\n ];\n }\n\n /**\n * Bullet point text for the remove users option.\n */\n @computed('args.{childGroupName,useAPUMRetainUsers}')\n get removeUsersBulletText(): string[] {\n return [\n this.getBulletText('removeUsersFirstBulletText'),\n this.args.useAPUMRetainUsers\n ? this.getBulletText('APUMRemoveUsersSecondBulletText')\n : this.getBulletText('removeUsersSecondBulletText')\n ];\n }\n\n getBulletText(resource: string): string {\n return this.intl.tc(this, resource, { groupName: this.args.childGroupName });\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Groups::GroupLevelUserAccessSelector': typeof GroupLevelUserAccessSelector;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default>\\n \\n \\n\\n <:footer>\\n
\\n {{#each this.buttons as |btn|}}\\n \\n {{/each}}\\n
\\n \\n\",{ moduleName: \"customer-site/components/action-sheets/enterprise/groups/remove-group/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { RemoveUsers, RetainUsers } from 'customer-site/enums/UserAccess';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ActionSheetButton } from '@adc/ui-components/components/action-sheet';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type SystemGroupsManagerService from 'customer-site/services/system-groups-manager';\n\ninterface ActionSheetsEnterpriseGroupsRemoveGroupArgs {\n isActive: boolean;\n close: VoidFunction;\n groupToRemove: SystemGroup;\n useAPUMRetainUsers: boolean;\n}\n\n@intlPath({ path: 'action-sheets/enterprise/groups/remove-group' })\nexport default class RemoveGroup extends Component {\n @service declare intl: ADCIntlService;\n @service declare systemGroupsManager: SystemGroupsManagerService;\n\n /**\n * Whether we should remove access when removing a subgroup.\n */\n @tracked shouldRemoveAccess = false;\n\n @alias('args.groupToRemove.parentGroup.description')\n declare parentGroupName: string;\n\n get buttons(): ActionSheetButton[] {\n return [\n {\n text: this.intl.t('generic.cancel'),\n fn: this.args.close\n },\n {\n text: this.intl.tc(this, 'removeButton'),\n fn: () => this.saveSelectionAndCloseActionSheet(),\n color: 'danger'\n }\n ];\n }\n\n async saveSelectionAndCloseActionSheet(): Promise {\n const {\n shouldRemoveAccess,\n args: { groupToRemove }\n } = this,\n userAccessSelection = shouldRemoveAccess ? RemoveUsers : RetainUsers,\n removeSubgroupResponse = await groupToRemove.removeSubgroup(Number(groupToRemove.id), userAccessSelection);\n\n this.shouldRemoveAccess = false;\n await this.systemGroupsManager.simpleContextSwitchHandler(removeSubgroupResponse);\n this.args.close();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'ActionSheets::Enterprise::Groups::RemoveGroup': typeof RemoveGroup;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default>\\n {{#if (eq this.viewState this.ViewStateEnum.GroupSelection)}}\\n {{! @glint-expect-error: This component needs to be converted to TS. }}\\n \\n {{else if (eq this.viewState this.ViewStateEnum.UserAccessSelection)}}\\n \\n {{else}}\\n \\n {{/if}}\\n \\n\\n <:footer>\\n
\\n {{#each this.buttons as |btn|}}\\n \\n {{/each}}\\n
\\n \\n\\n\",{ moduleName: \"customer-site/components/action-sheets/enterprise/groups/move-group/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, computed, set, get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ParentGroupRow from 'customer-site/components/enterprise/groups/parent-group-row';\nimport { RemoveUsers, RetainUsers } from 'customer-site/enums/UserAccess';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ActionSheetButton } from '@adc/ui-components/components/action-sheet';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type BaseItemRow from 'customer-site/components/enterprise/groups/base-item-row';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type SystemGroupsManagerService from 'customer-site/services/system-groups-manager';\n\n/**\n * Deselects the given group.\n * @private\n */\nfunction clearSelectedGroup(group?: BaseItemRow): void {\n if (group) {\n group.isSelected = false;\n }\n}\n\ninterface MoveGroupProperties {\n childGroup: SystemGroup;\n systemGroups: SystemGroup[];\n isMovingChildGroup: boolean;\n afterSuccessfulSave: (parentGroupRow: BaseItemRow) => void;\n}\n\ninterface EnterpriseGroupsMoveGroupSignature {\n Args: {\n isActive: boolean;\n close: VoidFunction;\n moveGroupProperties: MoveGroupProperties;\n useAPUMRetainUsers: boolean;\n };\n}\n\n/**\n * @classdesc\n * The action Sheet used for moving a group to a different group.\n */\n@intlPath({ path: 'action-sheets/enterprise/groups/move-group' })\nexport default class EnterpriseGroupsMoveGroupComponent extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n @service declare notificationManager: NotificationManager;\n @service declare contextManager: ContextManager;\n @service declare systemGroupsManager: SystemGroupsManagerService;\n\n ViewStateEnum = {\n GroupSelection: 0,\n UserAccessSelection: 1,\n ElevateLogins: 2\n };\n\n /**\n * Group object of the group that is currently selected (if any).\n */\n selectedGroup?: BaseItemRow;\n\n /**\n * Which page the action sheet should be showing.\n */\n @tracked\n viewState = this.ViewStateEnum.GroupSelection;\n\n /**\n * The admin logins selected for elevation to the parent group.\n */\n @tracked\n selectedLogins: string[] = [];\n\n /**\n * Whether we should remove access when moving a subgroup.\n */\n @tracked shouldRemoveAccess = false;\n\n @computed(\n 'selectedGroup',\n 'viewState',\n 'args.moveGroupProperties.isMovingChildGroup',\n 'ViewStateEnum.{GroupSelection,UserAccessSelection,ElevateLogins}'\n )\n get buttons(): ActionSheetButton[] {\n const {\n intl,\n args: {\n moveGroupProperties: { isMovingChildGroup }\n }\n } = this,\n cancelText = intl.t('generic.cancel'),\n nextText = intl.t('generic.next'),\n backText = intl.t('generic.back'),\n moveText = intl.t('generic.move'),\n fnGetBtn = (\n text: string,\n fn: VoidFunction,\n props: { disabled?: boolean; isPrimary?: boolean } = {}\n ): ActionSheetButton => ({\n text,\n fn,\n disabled: props.disabled ?? false,\n color: props.isPrimary ? 'primary' : undefined\n }),\n secondPageButtons = [\n fnGetBtn(backText, () => this.toggleViewState(this.ViewStateEnum.GroupSelection)),\n fnGetBtn(moveText, () => this.saveSelectionAndCloseActionSheet(), { isPrimary: true })\n ];\n\n switch (this.viewState) {\n case this.ViewStateEnum.GroupSelection:\n return [\n fnGetBtn(cancelText, () => this.clearSelectionAndCloseActionSheet()),\n fnGetBtn(\n nextText,\n () =>\n this.toggleViewState(\n isMovingChildGroup\n ? this.ViewStateEnum.UserAccessSelection\n : this.ViewStateEnum.ElevateLogins\n ),\n { disabled: this.selectedGroup === undefined, isPrimary: true }\n )\n ];\n case this.ViewStateEnum.UserAccessSelection:\n case this.ViewStateEnum.ElevateLogins:\n return secondPageButtons;\n default:\n return [];\n }\n }\n\n /**\n * The list of groups to show up in the action sheet, ordered hierarchically.\n */\n @computed('args.moveGroupProperties.systemGroups.[]')\n get enterprises(): ParentGroupRow[] {\n const {\n args: { moveGroupProperties },\n intl,\n store\n } = this;\n\n const enterprises = ((moveGroupProperties || {}).systemGroups || []).filter(\n (g) =>\n g.id !== moveGroupProperties.childGroup.id &&\n g.id !== get(moveGroupProperties.childGroup.parentGroup, 'id') &&\n !g.hasParentGroup &&\n g.isSystemlessGroup\n );\n\n return enterprises.map((group) => {\n return new ParentGroupRow(store, group, {\n showDropdownForChildGroups: false,\n showDropdown: !group.isChildlessGroup,\n isSelectable: true,\n areChildrenSelectable: false,\n childGroupErrorMessage: intl.t('components.action-sheets.enterprise.groups.move-group.childGroupError')\n });\n });\n }\n\n /**\n * When a radio button is clicked.\n */\n @action\n selectRow(group: BaseItemRow) {\n clearSelectedGroup(this.selectedGroup);\n group.isSelected = true;\n set(this, 'selectedGroup', group);\n }\n\n /**\n * Toggles whether the group selection section is visible.\n */\n toggleViewState(viewState: number) {\n this.viewState = viewState;\n }\n\n /**\n * Clears the currently selected group and closes the action sheet.\n */\n @action\n clearSelectionAndCloseActionSheet() {\n clearSelectedGroup(this.selectedGroup);\n this.toggleViewState(this.ViewStateEnum.GroupSelection);\n this.shouldRemoveAccess = false;\n this.args.close();\n }\n\n /**\n * Performs the move of the systems, clears the currently selected group, and closes the action sheet.\n */\n async saveSelectionAndCloseActionSheet(): Promise {\n if (!this.selectedGroup) {\n return;\n }\n\n const { selectedGroup, shouldRemoveAccess } = this,\n systemGroupModel = selectedGroup.model as SystemGroup,\n { moveGroupProperties } = this.args,\n userAccessSelection = shouldRemoveAccess ? RemoveUsers : RetainUsers;\n\n let addSubgroupResponse = null;\n\n try {\n addSubgroupResponse = await systemGroupModel.addSubgroup(\n Number(moveGroupProperties.childGroup.id),\n userAccessSelection\n );\n } catch {\n this.clearSelectionAndCloseActionSheet();\n return;\n }\n\n moveGroupProperties.childGroup.set('parentGroup', systemGroupModel);\n moveGroupProperties.afterSuccessfulSave(selectedGroup);\n\n try {\n if (!moveGroupProperties.isMovingChildGroup) {\n await systemGroupModel.elevateChildGroupAdminLogins(this.selectedLogins);\n }\n this.clearSelectionAndCloseActionSheet();\n } catch (ex) {\n this.notificationManager.addError(ex.errors.errors[0].detail);\n } finally {\n // Switch context to new group if necessary.\n await this.systemGroupsManager.simpleContextSwitchHandler(addSubgroupResponse);\n }\n }\n\n /**\n * The groups (in this case just the current child group) to pass to the group admin logins list.\n */\n @computed('args.moveGroupProperties.childGroup')\n get adminLoginsModel(): { groups: SystemGroup[] } {\n return {\n groups: [this.args.moveGroupProperties.childGroup]\n };\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'ActionSheets::Enterprise::Groups::MoveGroup': typeof EnterpriseGroupsMoveGroupComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n\\n\\n
\\n \\n \\n {{#if @model.loginPermissionsCollection.showAddEnterpriseGroupButton}}\\n \\n {{/if}}\\n \\n \\n\\n {{#unless this.isLoading}}\\n {{#if this.showInfoRibbon}}\\n \\n \\n {{this.infoRibbonText}}\\n  {{tc this \\'learnMore\\'}}\\n \\n \\n {{/if}}\\n\\n {{#if this.selectedCustomerIds.length}}\\n
\\n

{{tc this \\'propertiesSelected\\' count=this.selectedCustomerIds.length}}

\\n
\\n \\n {{#if this.showRemoveButton}}\\n \\n {{/if}}\\n
\\n
\\n {{/if}}\\n {{/unless}}\\n
\\n\\n {{#if this.isLoading}}\\n \\n {{else}}\\n \\n \\n {{#if (is-pending this.categorySection.loadingStatus)}}\\n \\n {{else}}\\n
\\n {{#if this.selectedEnterprise.icon}}\\n \\n {{/if}}\\n

{{this.selectedEnterprise.description}}

\\n
\\n {{#unless (or this.showLocationsNotInEnterprise (not this.selectedEnterprise))}}\\n {{#if (media \\'isMobile\\')}}\\n \\n \\n \\n {{else if this.isStandaloneGroupWithMLEG}}\\n \\n \\n \\n \\n\\n {{#each (await this.renameAndDeleteMenuItems) as |item|}}\\n \\n {{/each}}\\n {{else}}\\n {{#each (await this.manageEnterpriseMenuItems) as |item|}}\\n \\n {{/each}}\\n {{/if}}\\n {{/unless}}\\n
\\n
\\n\\n \\n {{/if}}\\n\\n \\n\\n \\n\\n
\\n
\\n {{/if}}\\n\",{ moduleName: \"customer-site/enterprise/groups/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n
\\n
\\n \\n
\\n\\n \\n\\n {{#if (and this.showGroupSelector (not this.noEnterprisesAvailable))}}\\n
\\n \\n \\n
\\n\\n {{#unless this.isEmptyGroup}}\\n
\\n \\n\\n \\n
\\n {{/unless}}\\n {{/if}}\\n\\n \\n
\\n
\\n\",{ moduleName: \"customer-site/enterprise/groups/new-group/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! template-lint-disable no-invalid-interactive }}\\n
\\n \\n {{#each @locationInfos as |locationInfo|}}\\n {{!-- @glint-expect-error Not sure how to type model.meta access. --}}\\n \\n
\\n
\\n {{!-- @glint-expect-error the hasNoDevices property doesn\\'t seem to exist. --}}\\n {{#if (await locationInfo.hasNoDevices)}}\\n {{!-- @glint-expect-error the noDevicesMessage property doesn\\'t seem to exist. --}}\\n

{{this.noDevicesMessage}}

\\n {{else}}\\n \\n {{/if}}\\n
\\n
\\n
\\n {{/each}}\\n {{yield}}\\n
\\n
\",{ moduleName: \"customer-site/components/enterprise/locations/locations-device-access-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nimport './_style.scss';\nimport type { LocationRowSignature } from 'customer-site/components/enterprise/locations/location-row/index';\nimport type { EnterpriseLocationsListSignature } from 'customer-site/components/enterprise/locations/locations-list/index';\n\ninterface LocationsDeviceAccessContainerSignature {\n Args: Pick & {\n locationInfos: LocationRowSignature['Args']['locationInfo'][];\n };\n Blocks: {\n default: [];\n };\n}\n\nexport default class LocationsDeviceAccessContainer extends Component {\n /**\n * If we click a device, we don't want to be brought to the single system.\n */\n @action\n stopPropagation(evt: Event): void {\n evt.stopPropagation();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsDeviceAccessContainer': typeof LocationsDeviceAccessContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/locations/device-access/template.hbs\" })","import toDate from \"../toDate/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\n/**\n * @name startOfWeek\n * @category Week Helpers\n * @summary Return the start of a week for the given date.\n *\n * @description\n * Return the start of a week for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @returns {Date} the start of a week\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n *\n * @example\n * // The start of a week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Mon Sep 01 2014 00:00:00\n */\n\nexport default function startOfWeek(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(1, arguments);\n var defaultOptions = getDefaultOptions();\n var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = date.getDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setDate(date.getDate() - diff);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import startOfWeek from \"../startOfWeek/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000;\n/**\n * @name differenceInCalendarWeeks\n * @category Week Helpers\n * @summary Get the number of calendar weeks between the given dates.\n *\n * @description\n * Get the number of calendar weeks between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @returns {Number} the number of calendar weeks\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n *\n * @example\n * // How many calendar weeks are between 5 July 2014 and 20 July 2014?\n * const result = differenceInCalendarWeeks(\n * new Date(2014, 6, 20),\n * new Date(2014, 6, 5)\n * )\n * //=> 3\n *\n * @example\n * // If the week starts on Monday,\n * // how many calendar weeks are between 5 July 2014 and 20 July 2014?\n * const result = differenceInCalendarWeeks(\n * new Date(2014, 6, 20),\n * new Date(2014, 6, 5),\n * { weekStartsOn: 1 }\n * )\n * //=> 2\n */\n\nexport default function differenceInCalendarWeeks(dirtyDateLeft, dirtyDateRight, options) {\n requiredArgs(2, arguments);\n var startOfWeekLeft = startOfWeek(dirtyDateLeft, options);\n var startOfWeekRight = startOfWeek(dirtyDateRight, options);\n var timestampLeft = startOfWeekLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfWeekLeft);\n var timestampRight = startOfWeekRight.getTime() - getTimezoneOffsetInMilliseconds(startOfWeekRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK);\n}","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if (is-pending this.numberOfAlertItems)}}\\n \\n{{else if (await this.numberOfAlertItems)}}\\n \\n
\\n

{{tc this \\'alertsHeader\\'}}

\\n \\n
\\n\\n {{#each (await this.vehiclesWithAlerts) as |vehicleWithAlerts|}}\\n
\\n \\n
\\n

{{vehicleWithAlerts.vehicleName}}

\\n

{{vehicleWithAlerts.alertsDescription}}

\\n
\\n
\\n {{/each}}\\n \\n
\\n \\n \\n
\\n {{await this.vehiclesHaveAlertItemsTranslation}}\\n {{#if (eq @alertType \\'carIssue\\')}}\\n {{await this.oldestMaintenanceAlert}}\\n {{/if}}\\n
\\n \\n \\n \\n \\n
\\n{{else}}\\n
\\n \\n

{{tc this \\'noVehicleAlerts\\'}}

\\n
\\n{{/if}}\",{ moduleName: \"customer-site/components/enterprise/locations/fleet-alert-items-column/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport differenceInCalendarDays from 'date-fns/differenceInCalendarDays';\nimport differenceInCalendarMonths from 'date-fns/differenceInCalendarMonths';\nimport differenceInCalendarWeeks from 'date-fns/differenceInCalendarWeeks';\n\n/**\n * Displays info related to car alerts for a given location.\n */\n@intlPath({ path: 'enterprise/locations/fleet-alert-items-column' })\nexport default class FleetAlertItemsColumn extends Component {\n @service intl;\n\n @alias('args.locationInfo')\n locationInfo;\n\n @alias('args.alertType')\n alertType;\n\n /**\n * Whether or not the fleet alert items popover should be displayed.\n */\n @tracked showPopover = false;\n\n /**\n * Gets the number of alert items across all vehicles on this location for a given alert type.\n *\n * @returns {Promise}\n */\n @computed('alertItemsMap')\n get numberOfAlertItems() {\n return (async () => {\n const alertItemsMap = await this.alertItemsMap;\n return alertItemsMap.map((entry) => entry[1]).flat().length;\n })();\n }\n\n /**\n * Gets the translation to display the number of vehicles with alerts of the given type.\n *\n * @returns {Promise}\n */\n @computed('alertItemsMap', 'alertType')\n get vehiclesHaveAlertItemsTranslation() {\n return (async () => {\n const { length: numberOfVehicles } = await this.alertItemsMap;\n\n if (this.alertType == 'tripAlert') {\n return this.intl.t('enterprise.locations.fleet.vehiclesWithAlerts', { numberOfVehicles });\n }\n\n return this.intl.t('enterprise.locations.fleet.vehiclesWithIssues', { numberOfVehicles });\n })();\n }\n\n /**\n * Returns a list of car monitors and their alerts of the given type.\n *\n * @returns {Promise}\n */\n @computed('locationInfo', 'alertType', 'alertItemsChangedTrigger')\n get alertItemsMap() {\n return this.locationInfo.getAlertItemsMap(`${this.alertType}Items`);\n }\n\n /**\n * Creates a list of objects containing the vehicle name, icon to be displayed,\n * and a description of alerts belonging to that vehicle. These objects will be\n * used to show the vehicles with alerts in the popups.\n *\n * @returns {Promise<{vehicleName: string, icon: string, alertsDescription: string}>>}\n */\n @computed('alertItemsMap')\n get vehiclesWithAlerts() {\n return (async () => {\n const alertItems = await this.alertItemsMap;\n\n return alertItems.map(([description, alertItems]) => {\n const { issueDesc: firstAlertDesc } = alertItems[0],\n remainingAlertCount = alertItems.length - 1;\n\n return {\n vehicleName: description,\n icon: 'car-unauthorized',\n alertsDescription: this.intl.tc(this, 'alertPlusCountRemaining', {\n firstAlertDesc,\n remainingAlertCount\n })\n };\n });\n })();\n }\n\n /**\n * Finds the oldest maintenance issue and builds the string to display\n * when it was first reported.\n *\n * @returns {Promise}\n */\n @computed('locationInfo.loginCurrentDateUtc', 'alertType', 'alertItemsMap')\n get oldestMaintenanceAlert() {\n return (async () => {\n if (this.alertType !== 'carIssue') {\n return '';\n }\n\n const carIssueItemsMap = await this.alertItemsMap,\n carIssueItems = carIssueItemsMap.map((entry) => entry[1]).flat(),\n earliestDate = new Date(carIssueItems.sortBy('issueDateUtc')[0].issueDateUtc),\n today = new Date(this.locationInfo.loginCurrentDateUtc),\n daysBack = differenceInCalendarDays(today, earliestDate) + 1;\n\n switch (true) {\n case daysBack < 1:\n return this.intl.tc(this, 'firstReportedMessage.today');\n case daysBack < 7:\n return this.intl.tc(this, 'firstReportedMessage.days', { count: daysBack });\n case daysBack < 31:\n return this.intl.tc(this, 'firstReportedMessage.weeks', {\n count: differenceInCalendarWeeks(today, earliestDate)\n });\n default:\n return this.intl.tc(this, 'firstReportedMessage.months', {\n count: differenceInCalendarMonths(today, earliestDate)\n });\n }\n })();\n }\n\n // #region Recompute alerts trigger\n\n /**\n * When this value gets updated, this.alertItemsMap will get recomputed. Since we can't have\n * dynamic elements for the computed decorator, this is a way to get around that.\n */\n @tracked alertItemsChangedTrigger = 0;\n\n /**\n * If the carIssueItems property for a car monitor changes, we'll attempt to recompute\n * the car to maintenance issues map.\n */\n @computed('locationInfo.model.allCarMonitors.@each.carIssueItems')\n get recomputeCarIssueItems() {\n return this.triggerAlertItemsComputation('carIssue');\n }\n\n /**\n * If the dailyTripAlertItems property for a car monitor changes, we'll attempt to recompute\n * the car to daily trip alerts map.\n */\n @computed('locationInfo.model.allCarMonitors.@each.tripAlertItems')\n get recomputedailyTripAlertItems() {\n return this.triggerAlertItemsComputation('tripAlert');\n }\n\n /**\n * Triggers this.alertItemsmap to be recomputed if the changed\n * property on the car monitor matches the alert type for this component.\n *\n * @param {string} itemKeyToRecompute\n * @returns {number}\n */\n triggerAlertItemsComputation(itemKeyToRecompute) {\n return itemKeyToRecompute === this.alertType ? this.alertItemsChangedTrigger++ : 0;\n }\n\n // #endregion\n\n /**\n * Toggles the fleet alert items popover.\n *\n * @param {*} mouseEvent\n */\n @action\n togglePopover(mouseEvent) {\n mouseEvent.stopPropagation();\n this.showPopover = !this.showPopover;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n \\n {{#each @locationInfos as |locationInfo|}}\\n \\n {{#if locationInfo.hasFleetDevices}}\\n
\\n
\\n \\n

{{locationInfo.numberOfVehiclesDrivenTranslation}}

\\n
{{this.mobileColumnHeaders.numberOfVehiclesDriven}}
\\n
\\n
\\n
\\n
\\n \\n

{{locationInfo.fuelUsedTranslation}}

\\n
{{this.mobileColumnHeaders.fuelUsed}}
\\n
\\n
\\n
\\n {{!-- @glint-expect-error Please convert this component to TS. --}}\\n \\n
{{this.mobileColumnHeaders.vehicleStatus}}
\\n
\\n
\\n {{!-- @glint-expect-error Please convert this component to TS. --}}\\n \\n
{{this.mobileColumnHeaders.drivingAlerts}}
\\n
\\n
\\n \\n {{#if (media \\'isMobile\\')}}\\n

\\n {{tc this \\'runFleetTripReport\\'}}\\n

\\n {{/if}}\\n
\\n {{else}}\\n \\n \\n \\n

{{t \\'enterprise.locations.fleet.noFleetDevices\\'}}

\\n
\\n
\\n {{/if}}\\n
\\n {{/each}}\\n {{yield}}\\n
\\n
\",{ moduleName: \"customer-site/components/enterprise/locations/locations-fleet-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { displayReportFromResponse } from 'customer-site/enterprise/locations/controller';\nimport { Fleet } from 'customer-site/enums/LocationDataType';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type BaseLocationsSubrouteRoute from 'customer-site/enterprise/locations/base-locations-subroute-route';\nimport type LocationFleetInfo from 'customer-site/enterprise/locations/helper-objects/location-fleet-info';\nimport type LocationInfo from 'customer-site/enterprise/locations/helper-objects/location-info';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport interface LocationsFleetContainerSignature {\n Element: HTMLDivElement;\n Args: {\n locationInfos: LocationFleetInfo[];\n columnHeaders: { header: string; extraClass: string }[];\n model: ModelFrom;\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * Displays a list of locations that are in the same group.\n */\n@intlPath({ path: 'enterprise/locations/locations-fleet-container' })\nexport default class LocationsFleetContainer extends Component {\n @service declare intl: ADCIntlService;\n @service declare identityManager: IdentityManager;\n @service declare navigation: NavigationService;\n @service declare notificationManager: NotificationManager;\n\n @computed('args.columnHeaders.@each.header')\n get mobileColumnHeaders() {\n const { columnHeaders } = this.args;\n return columnHeaders\n ? {\n numberOfVehiclesDriven: columnHeaders[1].header,\n fuelUsed: columnHeaders[2].header,\n vehicleStatus: columnHeaders[3].header,\n drivingAlerts: columnHeaders[4].header\n }\n : {};\n }\n\n @action\n async runSingleFleetTripReport(locationInfo: LocationInfo): Promise {\n displayReportFromResponse(\n await locationInfo.model.runFleetTripReport(),\n Fleet,\n this.navigation,\n this.notificationManager,\n this.identityManager,\n this.intl\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsFleetContainer': typeof LocationsFleetContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: selectedSystemGroup is async, please fix this. --}}\\n{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n {{!-- @glint-expect-error: types don\\'t match, please fix this. --}}\\n \\n {{!-- @glint-expect-error: types don\\'t match, please fix this. --}}\\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
\\n {{/unless}}\\n {{/each}}\\n{{else}}\\n {{!-- @glint-expect-error: types don\\'t match, please fix this. --}}\\n \\n{{/if}}\",{ moduleName: \"customer-site/enterprise/locations/fleet/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if hasNoDevices}}\\n

\\n {{this.noDevicesMessage}}\\n

\\n {{else}}\\n \\n {{/if}}\\n
\\n\\n\\n\",{ moduleName: \"customer-site/enterprise/locations/location/access-points/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n \\n \\n
\\n
\\n

{{tc this \\\"locationDescription\\\"}}

\\n\\n
\\n\\n \\n
\\n
\\n\\n {{#if data.canViewUnattendedShowingSettings}}\\n
\\n

{{tc this \\\"unattendedShowingsSettings\\\"}}

\\n \\n \\n \\n\\n {{#if this.showDelistingPropertyWarning}}\\n
\\n \\n

{{tc this \\'delistPropertyWarning\\' numAppointments=data.unattendedShowingSetting.upcomingAppointmentCount}}

\\n
\\n
\\n {{/if}}\\n\\n {{#each this.unattendedShowingSettings as |setting| }}\\n \\n \\n \\n {{/each}}\\n\\n
\\n
\\n\\n

{{tc this \\\"uploadLocationPhoto\\\"}}

\\n {{tc this \\\"uploadLocationPhotoDescription\\\"}}\\n \\n\\n
{{tc this \\\"or\\\"}}
\\n\\n \\n\\n {{#if this.shouldShowPreviewButton}}\\n
\\n
\\n \\n
\\n {{/if}}\\n\\n {{#if this.showLegalDisclaimer}}\\n
\\n \\n \\n \\n {{/if}}\\n
\\n
\\n
\\n {{/if}}\\n {{#if this.showPropertyManagementIntegrationSection}}\\n
\\n

{{tc this \\\"propertyManagementIntegration\\\"}}

\\n

{{tc this \\\"integrationName\\\"}}: {{this.propertyManagementIntegration.integrationName}}

\\n

{{tc this \\\"integrationStatus\\\"}}: {{this.propertyManagementIntegration.status}}

\\n

{{tc this \\\"integrationStatusQueryTimeLocal\\\"}}: {{this.propertyManagementIntegration.statusQueryTimeLocal}}

\\n
\\n
\\n {{/if}}\\n {{#unless this.userSectionHidden}}\\n
\\n

{{tc this \\\"userAccess\\\"}}

\\n\\n \\n
\\n
\\n {{#if this.systemIsFull}}\\n
{{tc this \\\"systemIsFull\\\"}}
\\n {{/if}}\\n
\\n
\\n\\n
\\n
\\n
{{tc this \\\"userAccessDescription\\\"}}
\\n
\\n
\\n\\n
\\n
\\n
{{tc this \\\"enterpriseUsers\\\" numUsers=this.numberOfUsers}}
\\n\\n \\n
\\n
\\n \\n
\\n
\\n {{/unless}}\\n\\n {{#if data.canViewBusinessHours}}\\n
\\n

{{tc this \\\"businessHours\\\"}}

\\n {{#if this.contextManager.identityModel.isMobileApp}}\\n
\\n
\\n
{{tc this \\\"businessHoursOnlyOnWebsite\\\"}}
\\n
\\n
\\n {{else}}\\n {{tc this \\\"businessHoursLinkText\\\"}}\\n {{/if}}\\n
\\n
\\n {{/if}}\\n\\n {{#if data.canChangeCommonArea}}\\n
\\n

{{tc this \\\"locationParameters\\\"}}

\\n \\n
\\n
\\n {{/if}}\\n\\n
\\n \\n
\\n\\n\",{ moduleName: \"customer-site/enterprise/locations/location/edit/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/components/enterprise/locations/user-select/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ScrollingListSelectItem from 'customer-site/classes/access-control/scrolling-list-select/scrolling-list-select-item';\nimport { intlPath } from '@adc/i18n/path';\nimport { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type CheckboxTreeItem from '@adc/ui-components/utils/checkbox-tree-item';\nimport type ArrayProxy from '@ember/array/proxy';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { ScrollingListSelectComponentSignature } from 'customer-site/components/access-control/scrolling-list-select/index';\nimport type User from 'customer-site/models/users/user';\nimport type CustomerSiteIntlService from 'customer-site/services/intl';\n\nconst USER_TYPE_TRANSLATION_PATH =\n 'components.users.user-attributes.user-attribute-list.pointCentralUserTypeDescription-';\n\ninterface UsersSelectSignature {\n Args: {\n selectedUsers: User[];\n saveItems: ScrollingListSelectComponentSignature['Args']['saveItems'];\n setActionButtons: ScrollingListSelectComponentSignature['Args']['setActionButtons'];\n locationDescription?: string;\n allUsers?: ArrayProxy;\n userTypeFilters?: CheckboxTreeItem[];\n filterVisible?: boolean;\n unselectableUserIds?: string[];\n };\n}\n\nclass UserSelectionItem extends ScrollingListSelectItem {\n model: User;\n constructor(model: User, ...args: any[]) {\n super(...args);\n this.model = model;\n }\n}\n\nasync function createUserCheckboxItem(\n user: User,\n intl: CustomerSiteIntlService,\n filterVisible = false,\n selectedUsers: User[] = [],\n unselectableUserIds: string[] = []\n): Promise {\n const deviceAccess = await user.deviceAccess,\n disabled = unselectableUserIds.includes(user.id) || !user.isEditSupported;\n return UserSelectionItem.create({\n name: user.displayName,\n id: user.id,\n systemDescription: filterVisible\n ? intl.t(USER_TYPE_TRANSLATION_PATH + deviceAccess.resolvedUserType)\n : undefined,\n state: selectedUsers.map((user) => user.id).includes(user.id) ? SELECTED : UNSELECTED,\n model: user,\n icon: 'user',\n disabledWarning: disabled,\n disabled\n });\n}\n\n/**\n * This component is used for selecting users\n */\n@intlPath({ path: 'enterprise/locations/user-select' })\nexport default class UsersSelect extends Component {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare intl: CustomerSiteIntlService;\n\n @tracked options: ScrollingListSelectComponentSignature['Args']['options'] = {};\n @tracked filterProperties: ScrollingListSelectComponentSignature['Args']['filterProperties'] = {};\n\n /**\n * Total number of enterprise users.\n */\n @reads('args.allUsers.length')\n declare totalItemCount: boolean;\n\n get loadSelectedUsersFn(): ScrollingListSelectComponentSignature['Args']['loadSelectedItems'] {\n const { args, intl } = this;\n return async () => {\n return {\n items: A(\n await Promise.all(\n args.selectedUsers.map((user) =>\n createUserCheckboxItem(\n user,\n intl,\n args.filterVisible,\n args.selectedUsers,\n args.unselectableUserIds\n )\n )\n )\n ),\n totalCount: args.selectedUsers.length,\n index: args.selectedUsers.length\n };\n };\n }\n\n get loadUsersFn(): ScrollingListSelectComponentSignature['Args']['loadItems'] {\n const { args, intl } = this;\n return async (_batchSize, _index, params) => {\n const users = await args.allUsers,\n { search = '', userTypes } = params ?? {};\n let filteredUsers =\n users?.filter((user) => user.displayName.toLowerCase().includes(search.toLowerCase())) ?? A([]);\n\n if (args.filterVisible && userTypes) {\n // Filter by user types as well\n filteredUsers = A(\n (\n await Promise.all(\n filteredUsers.map(async (user) => {\n const deviceAccess = await user.deviceAccess;\n return {\n user,\n userType: deviceAccess.resolvedUserType\n };\n })\n )\n )\n .filter(({ userType }) => userTypes.includes(String(userType)))\n .map(({ user }) => user)\n );\n }\n\n return {\n items: A(\n await Promise.all(\n filteredUsers.map((user) =>\n createUserCheckboxItem(\n user,\n intl,\n args.filterVisible,\n args.selectedUsers,\n args.unselectableUserIds\n )\n )\n )\n ),\n totalCount: users?.length ?? 0,\n index: users?.length ?? 0\n };\n };\n }\n\n @action initializeOptions(): void {\n this.filterProperties = { userTypeFilters: this.args.userTypeFilters };\n this.options = { showSystem: this.args.filterVisible };\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::UserSelect': typeof UsersSelect;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n\\n\\n\",{ moduleName: \"customer-site/enterprise/locations/location/edit/users/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n \\n <:label as |item|>\\n
\\n {{item.label}}\\n
\\n \\n <:content as |item|>\\n
\\n {{#if item.props.phoneNumber}}\\n \\n
\\n {{item.props.emailAddress}} | {{item.props.phoneNumber}}\\n
\\n {{else}} \\n
\\n {{item.props.emailAddress}}\\n
\\n {{/if}}\\n
\\n \\n\\n \\n \\n
\",{ moduleName: \"customer-site/components/enterprise/locations/manage-resident-v2/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { tracked } from '@glimmer/tracking';\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * Component for inputting information for multiple tenants.\n *\n * @class components.enterprise.locations.ManageResidentV2Component\n * @extends Ember.Component\n */\n@intlPath({ path: 'enterprise/locations/manage-resident-v2' })\nexport default class ManageResidentV2Component extends Component {\n tagName = '';\n\n @service contextManager;\n @service intl;\n\n /**\n * Customer id of the current location.\n *\n * @type {number}\n */\n @tracked customerId;\n\n selectedTenantsIds = [];\n updateSelected = null;\n\n /**\n * Whether or not the phone number field is required (eSuite is enabled).\n *\n * @type {boolean}\n */\n @reads('contextManager.identityModel.selectedSystemGroup.isESuiteEnabled')\n requirePhoneNumber;\n\n /**\n * The column headers for the tenant table.\n *\n * @returns {Array<{fieldName: string, isMandatory: boolean}>}\n */\n get headerLabels() {\n return [\n ['firstName', true],\n ['lastName', true],\n ['emailAddress', true],\n ['phoneNumber', this.requirePhoneNumber],\n ['actions', false]\n ].map(([name, y]) => {\n return { fieldName: this.intl.tc(this, name), isMandatory: y };\n });\n }\n\n /**\n * Populating selected tenants list when tenant row is checked\n */\n @action\n toggleCheckedCount(tenantRows) {\n this.selectedTenantsIds = [];\n tenantRows.forEach((tenant) => {\n if (tenant.state) {\n this.selectedTenantsIds.push(tenant.props.id);\n }\n });\n this.updateSelected(this.selectedTenantsIds);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n
\\n
\\n {{tc this \\'residentNumberLabel\\' num=@tenant.tenantFormId}}\\n
\\n
\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n \\n
\\n \\n
\\n
\\n
\\n
\\n
\",{ moduleName: \"customer-site/components/enterprise/locations/add-single-resident-form/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { set } from '@ember/object';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type { NewTenantFormItem } from 'customer-site/components/action-sheets/enterprise/locations/add-residents/index';\n\ninterface AddSingleResidentFormSignature {\n Args: {\n deleteCurrentForm: (tenant: NewTenantFormItem) => void;\n updateChildValidationStatus: () => void;\n tenant: NewTenantFormItem;\n numNewTenants: number;\n };\n}\n\n/**\n * @classdesc\n * Displays an action sheet for adding multiple residents.\n *\n * @class AddSingleResidentForm\n * @memberof components.enterprise.locations.add-single-resident-form\n */\n@intlPath({ path: 'enterprise/locations/add-single-resident-form' })\nexport default class AddSingleResidentForm extends Component {\n /**\n * The tenant object that tracks all of the input fields for this tenant row. Any changes to the input fields will update\n * this object.\n */\n tenant: NewTenantFormItem | undefined;\n\n @computed('args.tenant.firstName', 'tenant')\n get displayFirstNameErrorString(): boolean {\n const { firstName } = this.args.tenant;\n // If firstName is undefined, we don't want to show an error string. We only want to show one if the string is defined and empty.\n return this.isEmpty(firstName);\n }\n\n /**\n * Returns whether we want to display an error for the last name text input.\n */\n @computed('args.tenant.lastName', 'this.args.tenant')\n get displayLastNameErrorString(): boolean {\n const { lastName } = this.args.tenant;\n // If lastName is undefined, we don't want to show an error string. We only want to show one if the string is defined and empty.\n return this.isEmpty(lastName);\n }\n\n @computed('args.tenant.emailAddress', 'this.args.tenant')\n get isEmailInvalid(): boolean {\n const { emailAddress } = this.args.tenant;\n // Show an error string if emailAddress is defined and its empty or an incorrect format.\n if (emailAddress === undefined) {\n return false;\n }\n\n const email = emailAddress.trim();\n return email === '' || !email.match(/\\S+@\\S+\\.\\S+/);\n }\n\n @computed('args.tenant.phoneNumber', 'tenant')\n get isPhoneNumberInvalid(): boolean {\n const { requirePhoneNumber, phoneNumber } = this.args.tenant;\n // Because phoneNumber is optional (non-eSuite), we dont need to show an error string if it's undefined or empty.\n if (phoneNumber === undefined || phoneNumber === null || (!requirePhoneNumber && phoneNumber === '')) {\n return false;\n }\n\n // If its defined and not empty, we show the error string if phoneNumber is in an incorrect format.\n return !this.phoneNumberRegex(phoneNumber);\n }\n\n phoneNumberRegex(p: string): boolean {\n return p.trim().match(/^[+]?[(]?[0-9]{3}[)]?[-\\s.]?[0-9]{3}[-\\s.]?[0-9]{4,6}$/im) !== null;\n }\n\n /**\n * For the submit button, keep it disabled if either the first name or last name are empty\n */\n isEmpty(str: string): boolean {\n return str == null || (typeof str === 'string' && str.trim().length === 0);\n }\n\n @action\n deleteForm(): void {\n this.args.deleteCurrentForm(this.args.tenant);\n }\n\n @action\n updateFieldAndValidation(fieldName: string, updatedFieldValue: string): void {\n set(this.args.tenant, fieldName, updatedFieldValue);\n this.args.tenant.isValid = !this.areFieldsInvalid;\n this.args.updateChildValidationStatus();\n }\n\n @computed(\n 'args.tenant.{emailAddress,firstName,lastName,phoneNumber}',\n 'isEmailInvalid',\n 'isPhoneNumberInvalid',\n 'this.args.tenant'\n )\n get areFieldsInvalid(): boolean {\n return (\n this.isEmpty(this.args.tenant.firstName) ||\n this.isEmpty(this.args.tenant.lastName) ||\n this.isEmpty(this.args.tenant.emailAddress) ||\n this.isEmailInvalid ||\n this.isPhoneNumberInvalid\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::AddSingleResidentForm': typeof AddSingleResidentForm;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: The action sheet button type doesn\\'t support a `css` field, so it\\'s not doing anything. }}\\n\\n

\\n {{tc this \\'addResidentMessage\\'}}\\n

\\n
\\n\\n {{#each this.newTenantForms as |tenant|}}\\n \\n {{/each}}\\n
\\n \\n
\\n\",{ moduleName: \"customer-site/components/action-sheets/enterprise/locations/add-residents/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\n\nexport type NewTenantFormItem = {\n [x: string]: any;\n id?: number;\n tenantFormId: number;\n firstName: string;\n lastName: string;\n emailAddress: string;\n phoneNumber: string;\n requirePhoneNumber: boolean;\n isValid: boolean;\n};\n\ninterface ManageResidentsSignature {\n Args: {\n model: {\n detailLocation: Promise;\n };\n closeAddActionSheet: () => void;\n isAddActionSheetActive: boolean;\n };\n}\n\n/**\n * @classdesc\n * Displays an action sheet for adding multiple residents.\n *\n * @class AddResidents\n * @memberof components.action-sheets.enterprise.location.add-residents\n */\n@intlPath({ path: 'action-sheets/enterprise/locations/add-residents' })\nexport default class AddResidents extends Component {\n @service declare store: Store;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n\n /**\n * Whether or not the phone number field is required (eSuite is enabled).\n */\n @reads('contextManager.identityModel.selectedSystemGroup.isESuiteEnabled')\n requirePhoneNumber!: boolean;\n\n /**\n * Whether or not the save button has been clicked, if true then show the spinner\n */\n @tracked\n isSavingNewTenants = false;\n\n tenant: NewTenantFormItem = {\n tenantFormId: 1,\n firstName: '',\n lastName: '',\n emailAddress: '',\n phoneNumber: '',\n requirePhoneNumber: this.requirePhoneNumber,\n isValid: false\n };\n\n @tracked\n newTenantForms: NewTenantFormItem[] = [this.tenant];\n\n @tracked anyChildInvalid = true;\n\n @action\n addNewForm(): void {\n this.anyChildInvalid = true;\n this.newTenantForms.pushObject({\n tenantFormId: this.newTenantForms.length + 1,\n firstName: '',\n lastName: '',\n emailAddress: '',\n phoneNumber: '',\n requirePhoneNumber: this.requirePhoneNumber,\n isValid: false\n });\n }\n\n @action\n deleteCurrentForm(cur: NewTenantFormItem): void {\n this.newTenantForms.removeAt(cur.tenantFormId - 1);\n this.updateTenantFormIds();\n this.anyChildInvalid = this.newTenantForms.some((tenantForm) => !tenantForm.isValid);\n }\n\n updateTenantFormIds(): void {\n this.newTenantForms = this.newTenantForms.map((el, idx) => {\n return {\n ...el,\n tenantFormId: idx + 1\n };\n });\n }\n\n @action\n updateChildValidationStatus() {\n this.anyChildInvalid = this.newTenantForms.some((tenantForm) => !tenantForm.isValid);\n }\n\n @action\n async addNewResidents(): Promise {\n const location = await this.args.model.detailLocation;\n const tenants = this.store.peekAll('enterprise/locations/tenant');\n tenants.forEach((tenantRecord) => location.tenants.pushObject(tenantRecord));\n let tenantId = parseInt(location.tenants.lastObject?.id ?? '0') + 1;\n let isError = false;\n try {\n this.newTenantForms.map((tenant) => {\n const newTenant = this.store.createRecord('enterprise/locations/tenant', {\n id: tenantId,\n firstName: tenant.firstName,\n lastName: tenant.lastName,\n emailAddress: tenant.emailAddress,\n phoneNumber: tenant.phoneNumber,\n phoneNumberRequired: this.requirePhoneNumber ? 'true' : 'false',\n moveOut: false\n });\n tenantId++;\n location.tenants.pushObject(newTenant);\n });\n location.isMovingTenants = true;\n await location.save();\n } catch (error) {\n // If location.save() gets an error back, it adds to the notification manager.\n // Doing this prevents logging duplicate errors.\n if (this.notificationManager.notifications.length == 0) {\n this.notificationManager.addError(error.errors[0].detail);\n }\n isError = true;\n } finally {\n if (!isError) {\n this.notificationManager.addSuccess(\n this.newTenantForms.length > 1\n ? this.intl.tc(this, 'addMultipleResidentsSuccess')\n : this.intl.tc(this, 'addSingleResidentSuccess')\n );\n this.args.closeAddActionSheet();\n\n // Set the newTenantForms list to a clean tenant.\n this.tenant = {\n tenantFormId: 1,\n firstName: '',\n lastName: '',\n emailAddress: '',\n phoneNumber: '',\n requirePhoneNumber: this.requirePhoneNumber,\n isValid: false\n };\n this.newTenantForms = [this.tenant];\n }\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'ActionSheets::Enterprise::Locations::AddResidents': typeof AddResidents;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: The action sheet button type doesn\\'t support a `css` field, so it\\'s not doing anything.\\n Also, `selectedTenants` is a promise so we have to await it. }}\\n\\n
\\n
\\n {{tc this \\\"deleteResidentsMessage\\\"}}\\n
\\n
\\n
\\n {{#each this.selectedTenants as |selectedTenant|}}\\n
  • {{selectedTenant.firstName}} {{selectedTenant.lastName}}
  • \\n {{/each}}\\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/action-sheets/enterprise/locations/delete-residents/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type Tenant from 'customer-site/models/enterprise/locations/tenant';\n\ninterface ManageResidentsSignature {\n Args: {\n model: {\n detailLocation: Promise;\n };\n selectedTenantsIds: string[];\n resetTenantCount: () => void;\n closeDeleteActionSheet: () => void;\n isDeleteActionSheetActive: boolean;\n };\n}\n\n/**\n * @classdesc\n * Displays an action sheet for deleting residents.\n */\n@intlPath({ path: 'action-sheets/enterprise/locations/delete-residents' })\nexport default class DeleteResidents extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n @service declare notificationManager: NotificationManager;\n\n /**\n * List of tenants that are checked in the Manage Residents view\n */\n\n async selectedTenants(): Promise {\n const location = await this.args.model.detailLocation;\n if (location) {\n return location.tenants.filter(\n (tenant) =>\n tenant.firstName != undefined &&\n tenant.lastName != undefined &&\n tenant.emailAddress != undefined &&\n this.args.selectedTenantsIds.includes(tenant.id)\n );\n }\n return [];\n }\n\n /**\n * Deleting selected tenants\n */\n @action\n async deleteTenantRows(): Promise {\n let isError = false;\n const location = await this.args.model.detailLocation;\n const tenants = this.store.peekAll('enterprise/locations/tenant');\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This should be replaced with `location.tenants.setObjects(tenants);`.\n location.tenants = [];\n tenants.forEach((tenantRecord) => location.tenants.pushObject(tenantRecord));\n const tenantsList = location.tenants;\n try {\n const tenantsListCopy = tenantsList.toArray();\n tenantsListCopy.forEach((tenant) => {\n if (this.args.selectedTenantsIds.includes(tenant.id)) {\n tenantsList.removeObject(tenant);\n }\n });\n await this.updateTenantStore(tenantsList.toArray());\n } catch (error) {\n isError = true;\n } finally {\n if (!isError) {\n this.notificationManager.addSuccess(\n this.args.selectedTenantsIds.length > 1\n ? this.intl.tc(this, 'deleteMultipleResidentsSuccess')\n : this.intl.tc(this, 'deleteSingleResidentSuccess')\n );\n }\n }\n this.args.closeDeleteActionSheet();\n this.args.resetTenantCount();\n }\n\n async updateTenantStore(newTenantsList: Tenant[]): Promise {\n let tenantId = 1;\n const location = await this.args.model.detailLocation;\n const currentTenantsList = this.store\n .peekAll('enterprise/locations/tenant')\n .filter((tenant) => tenant.id != undefined);\n currentTenantsList.forEach((tenant) => tenant.deleteRecord());\n newTenantsList.forEach((tenant) => {\n this.store.createRecord('enterprise/locations/tenant', {\n id: tenantId,\n firstName: tenant.firstName,\n lastName: tenant.lastName,\n emailAddress: tenant.emailAddress,\n phoneNumber: tenant.phoneNumber,\n moveOut: false\n });\n tenantId++;\n });\n location.isMovingTenants = true;\n const updatedTenantsList = this.store.peekAll('enterprise/locations/tenant');\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This should be replaced with `location.tenants.setObjects(updateTenantsList.toArray());`.\n location.tenants = updatedTenantsList.toArray();\n await location.save();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'ActionSheets::Enterprise::Locations::DeleteResidents': typeof DeleteResidents;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n

    \\n {{tc this \\\"residentsMovingIn\\\"}}\\n

      \\n {{#each this.residentsMovingIn as |residentIn|}}\\n
    • \\n {{residentIn.firstName}} {{residentIn.lastName}}\\n
        \\n
      • \\n {{residentIn.email}}\\n
      • \\n
      • \\n {{residentIn.phone}}\\n
      • \\n
      \\n
    • \\n {{/each}}\\n
    \\n

    \\n

    \\n {{tc this \\\"residentsMovingOut\\\"}} \\n

      \\n {{#each this.residentsMovingOut as |residentOut|}}\\n
    • \\n {{residentOut.firstName}} {{residentOut.lastName}}\\n
        \\n
      • \\n {{residentOut.email}}\\n
      • \\n
      • \\n {{residentOut.phone}}\\n
      • \\n
      \\n
    • \\n {{/each}}\\n
    \\n

    \\n
    \\n\",{ moduleName: \"customer-site/components/action-sheets/enterprise/locations/manage-residents/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type Args from '@glimmer/component';\nimport type ResidentInfo from 'customer-site/models/point-central/manage-residents/resident-info';\nimport type ResidentMoveInfo from 'customer-site/models/point-central/manage-residents/resident-move-info';\n\ninterface ManageResidentsArgs extends Args {\n residentMoveInfo: ResidentMoveInfo;\n closeManageResidentsActionSheet: () => void;\n isManageResidentsActionSheetActive: boolean;\n}\n\n@intlPath({ path: 'action-sheets/enterprise/locations/manage-residents' })\nexport default class ManaggeResidents extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n @service declare notificationManager: NotificationManager;\n\n @tracked residentsMovingIn: ResidentInfo[] = [];\n @tracked residentsMovingOut: ResidentInfo[] = [];\n\n @action\n async loadResidents(): Promise {\n const residentsMovingIn = await this.args.residentMoveInfo?.residentsMovingIn;\n const residentsMovingOut = await this.args.residentMoveInfo?.residentsMovingOut;\n\n this.residentsMovingIn = residentsMovingIn?.toArray() || [];\n this.residentsMovingOut = residentsMovingOut?.toArray() || [];\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'ActionSheets::Enterprise::Locations::ManageResidents': typeof ManaggeResidents;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n {{#if (await this.isTenantTurnoverInProgress)}}\\n \\n \\n \\n {{#if this.isTenantTurnoverFailed}}\\n
    \\n
    \\n \\n

    {{tc this \\'failedText\\'}}

    \\n

    {{tc this \\'failedSubText\\'}}

    \\n \\n
    \\n\\n
    \\n\\n {{#each this.statusSection as |status|}}\\n
    \\n {{#each status as |statusElement|}}\\n \\n

    {{statusElement.text}}

    \\n {{/each}}\\n
    \\n {{/each}}\\n\\n
    \\n\\n
    \\n

    {{tc this \\'needHelp\\'}}

    \\n \\n
    \\n
    \\n {{else}}\\n
    \\n
    \\n \\n

    {{tc this \\'inProgressText\\'}}

    \\n

    {{tc this \\'inProgressSubText\\'}}

    \\n
    \\n
    \\n {{/if}}\\n
    \\n\\n \\n \\n {{else}}\\n
    \\n \\n
    \\n\\n \\n \\n \\n \\n\\n \\n\\n \\n\\n \\n \\n\\n \\n \\n {{/if}}\\n \\n
    \",{ moduleName: \"customer-site/enterprise/locations/location/manage-residents-v2/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/manage-resident-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * Component for displaying information for multiple tenants.\n *\n * @class components.enterprise.locations.ManageResidentComponent\n * @extends Ember.Component\n */\nexport default class ManageResidentRowComponent extends Component {\n tagName = '';\n\n @service store;\n\n /**\n * The tenant object that tracks all of the fields for this tenant row.\n *\n * @type {Array}\n */\n tenant = null;\n\n /**\n * Whether or not the user will be deleted\n *\n * @type {boolean}\n */\n isChecked = false;\n\n /**\n * If isChecked is true and the function is called, that means the user would like to uncheck\n * the move out option for this tenant so the moveOut value for the tenant is set to false.\n * Otherwise, set the tenant's moveOut value to true.\n */\n @action\n toggleDeleteTenant() {\n this.isChecked = !this.isChecked;\n this.tenant.set('moveOut', this.isChecked);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/manage-resident-add-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { assert } from '@ember/debug';\nimport { action, computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { fnEmpty } from 'customer-site/utils/ember';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * Component for displaying and getting input for the tenant row.\n *\n * @class components.enterprise.locations.edit.ManageResidentAddRowComponent\n * @extends Ember.Component\n */\n@intlPath({ path: 'enterprise.locations.manage-resident-add-row' })\nexport default class ManageResidentAddRowComponent extends Component {\n tagName = '';\n\n @service contextManager;\n\n /**\n * The function getting called when we want to delete this row.\n *\n * @type {Function}\n */\n deleteTenantRow = fnEmpty;\n\n /**\n * The tenant object that tracks all of the input fields for this tenant row. Any changes to the input fields will update\n * this object.\n *\n * @type {Array}\n */\n tenant = null;\n\n /**\n * Whether or not the phone number field is required (eSuite is enabled).\n *\n * @type {boolean}\n */\n @reads('contextManager.identityModel.selectedSystemGroup.isESuiteEnabled')\n requirePhoneNumber;\n\n /** override */\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-component-lifecycle-hooks\n didReceiveAttrs() {\n super.didReceiveAttrs();\n\n assert(\n 'The deleteTenantRow closure function must be passed to the add tenant row component.',\n this.deleteTenantRow !== fnEmpty\n );\n assert('The tenant object must be passed to the login template list component.', this.tenant !== null);\n }\n\n /**\n * Returns whether we want to display an error for the first name text input.\n *\n * @function\n * @returns {Boolean}\n */\n @computed('tenant.firstName')\n get displayFirstNameErrorString() {\n const { firstName } = this.tenant;\n // If firstName is undefined, we don't want to show an error string. We only want to show one if the string is defined and empty.\n return this.isInvalidNameString(firstName);\n }\n\n /**\n * Returns whether we want to display an error for the last name text input.\n *\n * @function\n * @returns {Boolean}\n */\n @computed('tenant.lastName')\n get displayLastNameErrorString() {\n const { lastName } = this.tenant;\n // If lastName is undefined, we don't want to show an error string. We only want to show one if the string is defined and empty.\n return this.isInvalidNameString(lastName);\n }\n\n /**\n * Checks to see if the str inputted for the name fields is invalid.\n *\n * @param str The string that we want to check the validity for.\n * @returns {boolean}\n */\n isInvalidNameString(str) {\n if (str === undefined) {\n return false;\n }\n\n return str.trim() === '';\n }\n\n /**\n * Deletes this tenant row from the add tenant section.\n */\n @action deleteTenant() {\n this.deleteTenantRow(this.tenant);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n {{#each this.headerLabels as |label|}}\\n
    \\n

    {{label.fieldName}}

    \\n {{#if label.isMandatory}}\\n

    {{tc this \\'asterisk\\'}}

    \\n {{/if}}\\n
    \\n {{/each}}\\n
    \\n {{#each this.existingTenantsList as |tenant|}}\\n \\n {{/each}}\\n {{#each this.newTenantsList as |tenant|}}\\n \\n {{/each}}\\n\\n \\n
    \\n\\n\\n\",{ moduleName: \"customer-site/components/enterprise/locations/manage-resident/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { tracked } from '@glimmer/tracking';\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * Component for inputting information for multiple tenants.\n *\n * @class components.enterprise.locations.ManageResidentComponent\n * @extends Ember.Component\n */\n@intlPath({ path: 'enterprise.locations.manage-resident' })\nexport default class ManageResidentComponent extends Component {\n tagName = '';\n\n @service contextManager;\n @service store;\n @service intl;\n @service ajax;\n\n /**\n * Customer id of the current location.\n *\n * @type {number}\n */\n @tracked customerId;\n\n /**\n * List of tenants in the unit.\n *\n * @type {Array}\n */\n get existingTenantsList() {\n return this.store.peekAll('enterprise/locations/tenant').filter((tenant) => tenant.id != null);\n }\n\n /**\n * List of tenants that are new residents in the location.\n *\n * @type {Array}\n */\n newTenantsList = this.store\n .peekAll('enterprise/locations/tenant')\n .filter(\n (tenant) =>\n tenant.firstName != undefined &&\n tenant.lastName != undefined &&\n tenant.emailAddress != undefined &&\n tenant.id == undefined\n );\n\n /**\n * Whether or not the phone number field is required (eSuite is enabled).\n *\n * @type {boolean}\n */\n @reads('contextManager.identityModel.selectedSystemGroup.isESuiteEnabled')\n requirePhoneNumber;\n\n /**\n * The column headers for the tenant table.\n *\n * @returns {Array<{fieldName: string, isMandatory: boolean}>}\n */\n get headerLabels() {\n return [\n ['firstName', true],\n ['lastName', true],\n ['emailAddress', true],\n ['phoneNumber', this.requirePhoneNumber],\n ['actions', false]\n ].map(([name, y]) => {\n return { fieldName: this.intl.tc(this, name), isMandatory: y };\n });\n }\n\n /**\n * Creates a tenant row component and displays it into the add tenant section.\n */\n @action\n addTenantRow() {\n const { newTenantsList, store } = this;\n newTenantsList.addObject(store.createRecord('enterprise/locations/tenant', { moveOut: false }));\n }\n\n /**\n * Deletes the tenant row from the tenantsList and so, from the add tenant section.\n *\n * @param {models.enterprise.locations.Tenant} tenant The tenant object intended for deletion\n */\n @action\n async deleteTenantRow(tenant) {\n const { store, newTenantsList } = this;\n\n // Delete the one tenant element from the tenant list at the index specified.\n newTenantsList.removeObject(tenant);\n\n // Destroy the record for the tenant object.\n await tenant.destroyRecord();\n store.unloadRecord(tenant);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n\\n \\n {{#if this.isPMSIntegration}}\\n \\n {{/if}}\\n\\n
    \\n

    {{tc this \\'manageResidentsTitle\\'}}

    \\n\\n

    {{tc this \\'manageResidentsMessage\\'}}

    \\n
    \\n {{tc this \\'asterisk\\'}}\\n {{tc this \\'requiredFieldsText\\'}}\\n
    \\n\\n {{#if this.isPMSIntegration}}\\n

    {{tc this \\'manageResidentsPMSSyncMessage\\'}}

    \\n {{/if}}\\n
    \\n\\n \\n
    \\n\\n \\n
    \\n\\n\",{ moduleName: \"customer-site/enterprise/locations/location/manage-residents/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/add-tenant-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { reads, empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type Tenant from 'customer-site/models/enterprise/locations/tenant';\n\nexport interface AddTenantRowSignature {\n Args: {\n tenant: Tenant;\n labelId: string;\n deleteTenantRow: (tenant: Tenant) => void;\n };\n}\n\n/**\n * @classdesc\n * Component for displaying and getting input for the tenant row.\n */\n@intlPath({ path: 'enterprise.locations.add-tenant-row' })\nexport default class AddTenantRowComponent extends Component {\n @service declare contextManager: ServiceRegistry['context-manager'];\n\n /**\n * Whether or not the phone number field is required (eSuite is enabled).\n */\n @reads('contextManager.identityModel.selectedSystemGroup.isESuiteEnabled')\n declare requirePhoneNumber: boolean;\n\n /**\n * Returns whether we want to display an error for the first name text input.\n */\n @empty('args.tenant.firstName')\n declare displayFirstNameErrorString: boolean;\n\n /**\n * Returns whether we want to display an error for the last name text input.\n */\n @empty('args.tenant.lastName')\n declare displayLastNameErrorString: boolean;\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::AddTenantRow': typeof AddTenantRowComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n {{#each this.headerLabels as |lbl|}}\\n \\n {{lbl.fieldName}}\\n {{#if lbl.isMandatory}}\\n *\\n {{/if}}\\n \\n {{/each}}\\n {{!-- Empty SPAN to allow space for delete button in tenants list. --}}\\n
    \\n\\n {{#each @tenantsList as |tenant|}}\\n \\n {{/each}}\\n\\n \\n
    \\n\\n\\n\",{ moduleName: \"customer-site/components/enterprise/locations/add-tenant/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { guidFor } from '@ember/object/internals';\nimport { inject as service } from '@ember/service';\nimport { dasherize } from '@ember/string';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type { AsyncHasMany } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type Tenant from 'customer-site/models/enterprise/locations/tenant';\n\nexport interface AddTenantSignature {\n Args: {\n /** List of tenants that are displayed in the add tenants section. */\n tenantsList: Awaited>;\n };\n}\n\n/**\n * @classdesc\n * Component for inputting information for multiple tenants.\n */\n@intlPath({ path: 'enterprise.locations.add-tenant' })\nexport default class AddTenantComponent extends Component {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare store: ServiceRegistry['store'];\n @service declare intl: ServiceRegistry['adc-intl'];\n\n /**\n * Whether or not the phone number field is required (eSuite is enabled).\n */\n @reads('contextManager.identityModel.selectedSystemGroup.isESuiteEnabled')\n declare requirePhoneNumber: boolean;\n\n /**\n * The column headers for the tenant table.\n */\n get headerLabels(): { fieldName: string; isMandatory: boolean; id: string }[] {\n const id = guidFor(this);\n return [\n ['firstName', true],\n ['lastName', true],\n ['emailAddress', true],\n ['phoneNumber', this.requirePhoneNumber]\n ].map(([name, y]: [string, boolean]) => ({\n fieldName: this.intl.tc(this, name),\n isMandatory: y,\n id: `${id}-${dasherize(name)}`\n }));\n }\n\n /**\n * Creates a tenant row component and displays it into the add tenant section.\n */\n @action\n addTenantRow(): void {\n const { tenantsList } = this.args;\n tenantsList.setObjects([...tenantsList.slice(), this.store.createRecord('enterprise/locations/tenant')]);\n }\n\n /**\n * Deletes the tenant row from the tenantsList and so, from the add tenant section.\n */\n @action\n async deleteTenantRow(tenant: Tenant): Promise {\n const { tenantsList } = this.args;\n // Delete the one tenant element from the tenant list at the index specified.\n tenantsList.setObjects(tenantsList.filter((t) => t !== tenant));\n\n // Destroy the record for the tenant object.\n await tenant.destroyRecord();\n tenant.unloadRecord();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::AddTenant': typeof AddTenantComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if this.isPMSIntegration}}\\n \\n {{/if}}\\n\\n
    \\n

    {{tc this \\'confirmResidentsTitle\\'}}

    \\n\\n

    {{tc this \\'confirmResidentsMessage\\'}}

    \\n\\n

    \\n {{tc this \\'asterisk\\'}}\\n {{tc this \\'requiredFieldsText\\'}}\\n

    \\n\\n {{#if this.isPMSIntegration}}\\n

    {{tc this \\'confirmResidentsPMSSyncMessage\\'}}

    \\n {{/if}}\\n
    \\n\\n
    \\n {{tc this \\'residentsToMoveIn\\'}}\\n
    \\n\\n \\n\\n\",{ moduleName: \"customer-site/enterprise/locations/location/manual-move-in/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if data.hasNoDevices}}\\n

    \\n {{this.noDevicesMessage}}\\n

    \\n {{else}}\\n
    \\n {{#each data.partitions as |_ idx|}}\\n \\n {{/each}}\\n\\n {{#if data.sensors}}\\n \\n {{/if}}\\n
    \\n {{/if}}\\n
    \\n\",{ moduleName: \"customer-site/enterprise/locations/location/panel/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{outlet}}\\n
    \\n\",{ moduleName: \"customer-site/enterprise/locations/location/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if models.length}}\\n
    \\n {{#each models as |card idx|}}\\n \\n {{/each}}\\n
    \\n {{else}}\\n

    \\n {{this.noDevicesMessage}}\\n

    \\n {{/if}}\\n
    \\n\",{ moduleName: \"customer-site/enterprise/locations/location/thermostats/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n <:default as |id classes togglePopoverVisibility|>\\n \\n {{#if this.statusIcon}}\\n \\n {{/if}}\\n
    \\n {{#unless (media \\'isMobile\\')}}\\n {{#if this.descriptionText}}\\n

    \\n {{this.descriptionText}}\\n {{#if this.items.length}}\\n \\n {{/if}}\\n

    \\n {{/if}}\\n {{#if this.addendumText}}\\n

    \\n {{#if this.italicizeAddendum}}\\n {{this.addendumText}}\\n {{else}}\\n {{this.addendumText}}\\n {{/if}}\\n {{#if (and this.items.length (not this.descriptionText))}}\\n \\n {{/if}}\\n

    \\n {{/if}}\\n {{else}}\\n

    \\n {{this.mobileText}}\\n

    \\n {{/unless}}\\n
    \\n \\n \\n \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/locations/occupancy-dropdown-select-wrapper/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\n\nimport './_style.scss';\n\n/**\n * Acts as a wrapper around dropdown-select so we can have a dropdown arrow\n * and disable the dropdown when it wouldn't have any options.\n */\nexport default class OccupancyDropdownSelectWrapperComponent extends Component {\n tagName = '';\n\n /**\n * Holds dropdown's options.\n *\n * @type {Array}\n */\n items = null;\n\n /**\n * Holds the action that actually changes the options given\n * passed on to dropdown-select's value-change.\n */\n valueChangeAction = null;\n\n /**\n * Passed on to dropdown-select's popoverClass.\n *\n * @tpye string\n */\n popoverClass = 'dropdownWrapper';\n\n /**\n * The name of an icon to be displayed before the description text\n * if blank, nothing will be shown.\n *\n * @type {string}\n */\n statusIcon = '';\n\n /**\n * A class to add to the statusIcon.\n *\n * @type {string}\n */\n statusIconClass = '';\n\n /*\n * Main text that will be displayed and that can be clicked on.\n *\n * @type {string}\n */\n descriptionText = '';\n\n /**\n * Secondary text displayed smaller and under description text.\n *\n * @type {string}\n */\n addendumText = '';\n\n /**\n * Specify if the addendumText should be italicized.\n *\n * @type {bool}\n */\n italicizeAddendum = false;\n\n /**\n * Text to be displayed if shown on mobile.\n *\n * @type {string}\n */\n mobileText = '';\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#each @locationInfos as |locationInfo|}}\\n \\n
    \\n {{!-- @glint-expect-error occupancyState is async, we need to await and use get to query it\\'s properties, please fix this.--}}\\n {{#if locationInfo.occupancyState.reservationScheduled}}\\n
    \\n {{!-- @glint-expect-error Please convert this component to TS --}}\\n \\n
    \\n {{#unless (media \\\"isMobile\\\")}}\\n
    \\n
    \\n

    \\n {{!-- @glint-expect-error occupancyState is async, we need to await and use get to query it\\'s properties, please fix this.--}}\\n {{locationInfo.occupancyState.checkInDate}}\\n

    \\n

    \\n {{!-- @glint-expect-error occupancyState is async, we need to await and use get to query it\\'s properties, please fix this.--}}\\n {{locationInfo.occupancyState.checkInTime}}\\n

    \\n
    \\n
    \\n
    \\n
    \\n

    \\n {{!-- @glint-expect-error occupancyState is async, we need to await and use get to query it\\'s properties, please fix this.--}}\\n {{locationInfo.occupancyState.checkOutDate}}\\n

    \\n

    \\n {{!-- @glint-expect-error occupancyState is async, we need to await and use get to query it\\'s properties, please fix this.--}}\\n {{locationInfo.occupancyState.checkOutTime}}\\n

    \\n
    \\n
    \\n {{else}}\\n
    \\n
    \\n

    {{await locationInfo.reservationDateRange}}

    \\n
    \\n
    \\n {{/unless}}\\n {{else}}\\n
    \\n {{!-- @glint-expect-error Please convert this component to TS --}}\\n \\n
    \\n {{/if}}\\n
    \\n {{!-- @glint-expect-error Please convert this component to TS --}}\\n \\n
    \\n
    \\n \\n {{/each}}\\n {{yield}}\\n
    \\n\\n{{!-- @glint-expect-error Please convert this component to TS --}}\\n\\n\",{ moduleName: \"customer-site/components/enterprise/locations/locations-occupancy-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { modifiableStateProperties } from 'customer-site/enterprise/locations/helper-objects/location-occupancy-info';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\nimport type { EnterpriseLocationsListSignature } from 'customer-site/components/enterprise/locations/locations-list/index';\nimport type LocationOccupancyInfo from 'customer-site/enterprise/locations/helper-objects/location-occupancy-info';\n\ninterface LocationsOccupancyContainerSignature {\n Args: Pick & {\n locationInfos: LocationOccupancyInfo[];\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * Displays a list of locations that are in the same group for the Occupancy page.\n */\n@intlPath({ path: 'enterprise/locations/locations-occupancy-container' })\nexport default class LocationsOccupancyContainer extends Component {\n @service declare intl: ADCIntlService;\n\n /** @ignore */\n /**\n * Gets the selection state of all the modifiable occupancy states, and submits a custom api call to update the occupancy state\n * using these selections.\n */\n @action\n async modifyState(locationInfo: LocationOccupancyInfo, statusChanger: Array) {\n // Note that .flat() is not supported in IE, so we have to use a workaround for stateOptions.\n const occupancyState = await locationInfo.occupancyState,\n stateOptions = await statusChanger\n .map((header) => header.subitems)\n .reduce((acc, val) => acc.concat(val), []);\n\n // Set the occupancyState's IsChecked properties based on the stateOptions.\n stateOptions.forEach((stateOption: DropdownSelectItem) => {\n const checkWhetherIsSelectedProperty = (modifiableStateProperties[stateOption.value as any] as any)\n .checkWhetherIsSelectedProperty;\n occupancyState.set(checkWhetherIsSelectedProperty, stateOption.isFullySelected);\n });\n\n await occupancyState.save().catch(() => {\n occupancyState.rollbackAttributes();\n });\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsOccupancyContainer': typeof LocationsOccupancyContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n \\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
    \\n {{/unless}}\\n {{/each}}\\n{{else}}\\n \\n{{/if}}\",{ moduleName: \"customer-site/enterprise/locations/occupancy/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n
    \\n

    {{@mpersDevice.description}}

    \\n

    \\n {{if @isBatteryStatus this.batteryStatusText this.emergencyStatusText}}\\n

    \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/mpers-device-status/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { Alarm, AuxiliaryPanic } from 'customer-site/enums/EventType';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type MpersDevice from 'customer-site/models/devices/mpers-device';\n\ninterface MpersDeviceStatusArgs {\n mpersDevice: MpersDevice;\n isBatteryStatus: boolean;\n}\n\n/**\n * Displays the status and text info for a single mpers device.\n */\n@intlPath({ path: 'enterprise/locations/mpers-device-status' })\nexport default class MpersDeviceStatus extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * The text to display for the battery level.\n */\n @computed('args.mpersDevice.batteryLevel')\n get batteryStatusText(): string {\n return this.intl.tc(this, 'batteryLevel', { batteryLevel: this.args.mpersDevice.batteryLevel });\n }\n\n /**\n * The text to display for the current emergency event.\n * Alarm = Fall Confirmed, AuxiliaryPanic = Button Pressed Confirmed.\n */\n @computed('args.mpersDevice.{emergencyEvent,emergencyTimestampUtc}')\n get emergencyStatusText(): string {\n const { intl } = this,\n mpersDevice = this.args.mpersDevice,\n eventType =\n {\n [Alarm as number]: 'Alarm',\n [AuxiliaryPanic as number]: 'AuxiliaryPanic'\n }[mpersDevice.emergencyEvent ?? 0] ?? 'Emergency';\n\n return intl.tc(this, 'emergencyStatus', {\n eventType,\n timestamp: intl.formatDateTz(mpersDevice.emergencyTimestampUtc ?? new Date(), {\n month: 'long',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric'\n })\n });\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::MpersDeviceStatus': typeof MpersDeviceStatus;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/components/enterprise/locations/personal-safety-column-item/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { equal, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type MpersDevice from 'customer-site/models/devices/mpers-device';\n\ninterface PersonalSafetyColumnItemSignature {\n Element: HTMLButtonElement;\n Args: {\n locationRowId: string;\n column: string;\n mpersDevices: MpersDevice[];\n statusDescription: string;\n icon: string;\n label?: string;\n };\n}\n\n/**\n * Displays the mpers device status info and a popover with the device list.\n */\n@intlPath({ path: 'enterprise/locations/personal-safety-column-item' })\nexport default class PersonalSafetyColumnItem extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * Whether or not the fleet alert items popover should be displayed.\n */\n @tracked showPopover = false;\n\n /**\n * Toggles the fleet alert items popover.\n */\n @action\n togglePopover(mouseEvent: Event): void {\n mouseEvent.stopPropagation();\n this.showPopover = !this.showPopover;\n }\n\n /**\n * Whether this column item is for battery status or active emergencies.\n */\n @equal('args.column', 'battery-status')\n declare isBatteryStatus: boolean;\n\n /**\n * Whether we have any devices with the status condition to display.\n */\n @notEmpty('args.mpersDevices')\n declare hasDevices: boolean;\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::PersonalSafetyColumnItem': typeof PersonalSafetyColumnItem;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n {{#each @locationInfos as |locationInfo|}}\\n \\n {{#if locationInfo.mpersDevices.length}}\\n \\n
    \\n \\n
    \\n
    \\n \\n
    \\n \\n {{else}}\\n
    \\n \\n

    {{t \\'enterprise.locations.personal-safety.noPersonalSafetyDevices\\'}}

    \\n
    \\n {{/if}}\\n
    \\n {{/each}}\\n {{yield}}\\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/locations-personal-safety-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type LocationPersonalSafetyInfo from 'customer-site/enterprise/locations/helper-objects/location-personal-safety-info';\nimport type { EnterpriseLocationsListSignature } from '../locations-list/index';\n\nexport interface LocationsPersonalSafetyContainerSignature {\n Args: {\n locationInfos: LocationPersonalSafetyInfo[];\n columnHeaders: EnterpriseLocationsListSignature['Args']['columnHeaders'];\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * Displays a list of locations that are in the same group.\n */\n@intlPath({ path: 'enterprise/locations/locations-personal-safety-container' })\nexport default class LocationsPersonalSafetyContainer extends Component {\n @service declare intl: ADCIntlService;\n\n @computed('args.columnHeaders.@each.header')\n get columnLabels() {\n const { columnHeaders } = this.args;\n return columnHeaders\n ? {\n activeEmergency: columnHeaders[1].header,\n batteryStatus: columnHeaders[2].header\n }\n : {};\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsPersonalSafetyContainer': typeof LocationsPersonalSafetyContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n \\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
    \\n {{/unless}}\\n {{/each}}\\n{{else}}\\n \\n{{/if}}\",{ moduleName: \"customer-site/enterprise/locations/personal-safety/template.hbs\" })","import { schedule } from '@adc/ember-utils/utils/runloop';\nimport Step, { StepDisplayType } from 'customer-site/components/help-tour/step';\nimport StepContent, { getAnchorSelector } from 'customer-site/components/help-tour/step-content';\nimport Tour from 'customer-site/components/help-tour/tour';\nimport { EmberGroupSettings } from 'customer-site/enums/CustomerPageUrl';\nimport { SelfGuidedToursSettingsImprovementsTour } from 'customer-site/enums/HelpTourType';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type HelpTourService from 'customer-site/services/help-tour';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type LocationsSummaryContainer from '../index';\n\nconst KNOWLEDGE_BASE_CPID =\n 'https://answers.alarm.com/PC/Property_Management_Support/Self-Guided_Tours/CheckpointID_for_Self-Guided_Tours';\nconst KNOWLEDGE_BASE_SGT =\n 'https://answers.alarm.com/PC/Property_Management_Support/Self-Guided_Tours/PointCentral_Self-Guided_Tours_Solution';\n\n/**\n * Starts the improved self guided tours settings tour.\n */\nexport function startSelfGuidedToursSettingsImprovementsTour(\n this: LocationsSummaryContainer,\n intl: ADCIntlService,\n identityManager: IdentityManager,\n helpTour: HelpTourService\n) {\n const tour = Tour.create({\n name: 'self-guided-tours-settings-improvements-tour',\n steps: [\n Step.create({\n type: StepDisplayType.Modal,\n model: StepContent.create({\n title: intl.tc(this, 'selfGuidedToursSettingsImprovementsTitle'),\n content: `

    ${intl.tc(this, 'selfGuidedToursSettingsImprovementsDescSentence1')}

    \n

    ${intl.tc(this, 'selfGuidedToursSettingsImprovementsDescSentence2', {\n link1: KNOWLEDGE_BASE_CPID\n })}

    \n

    ${intl.tc(this, 'selfGuidedToursSettingsImprovementsDescSentence3', {\n link2: KNOWLEDGE_BASE_SGT\n })}

    \n

    ${intl.tc(this, 'selfGuidedToursSettingsImprovementsDescSentence4', {\n link3: KNOWLEDGE_BASE_SGT\n })}

    \n `,\n buttons: {\n previous: {\n show: false\n },\n next: {\n text: intl.t('generic.done')\n }\n }\n }),\n isStepAvailable: () => {\n return Promise.resolve(\n document.querySelector(getAnchorSelector(`${EmberGroupSettings}`)) !== undefined\n );\n }\n })\n ],\n async beforeStart() {\n await schedule('afterRender', () => {});\n },\n afterEnd() {\n identityManager.identityModel?.markHelpTourAsCompleted(SelfGuidedToursSettingsImprovementsTour);\n return Promise.resolve();\n }\n });\n\n return helpTour.start(tour);\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! template-lint-disable no-invalid-interactive }}\\n
    \\n \\n {{#each @locationInfos as |locationInfo|}}\\n {{!-- @glint-expect-error Need to figure out how to type the model metadata --}}\\n \\n {{!-- @glint-expect-error: Not 100%, but I don\\'t think contextManager is a property on location info, please fix this. --}}\\n {{#if locationInfo.contextManager.identityModel.isPointCentral}}\\n
    \\n {{/if}}\\n \\n {{!-- @glint-expect-error: `openCloseEvents` is async, we need to await before use, please fix this. --}}\\n {{#each locationInfo.openCloseEvents as |openCloseEvent|}}\\n {{!-- @glint-expect-error: `openCloseEvents` is async, we need to await before use, please fix this. --}}\\n
    \\n \\n
      \\n
    • {{openCloseEvent.openCloseInfo}}
    • \\n
    • {{openCloseEvent.openCloseTime}}
    • \\n
    \\n
    \\n {{/each}}\\n \\n \\n\\n \\n\\n {{!-- @glint-expect-error Need to figure out how to type the model metadata --}}\\n {{#if @model.meta.showLocationsDetailsView}}\\n\\n
    \\n

    {{locationInfo.model.city}}

    \\n
    \\n\\n
    \\n

    {{locationInfo.model.state}}

    \\n
    \\n\\n
    \\n

    {{locationInfo.model.zipCode}}

    \\n
    \\n {{#if (or locationInfo.model.centralStationAccountNumber (not (media \\'isMobile\\')))}}\\n
    \\n

    {{locationInfo.model.centralStationAccountNumber}}

    \\n
    \\n {{/if}}\\n\\n {{else}}\\n\\n {{#if locationInfo.showBusinessStatus}}\\n {{#if (is-pending locationInfo.mostRecentOpenCloseEvent)}}\\n
    \\n \\n
    \\n {{else if (or (not (media \\'isMobile\\')) (await locationInfo.mostRecentOpenCloseEvent))}}\\n {{!-- @glint-expect-error: stop-propagation expects a function to be passed in, please fix this. --}}\\n
    \\n {{#let (await locationInfo.mostRecentOpenCloseEvent) as |mostRecentOpenCloseEvent|}}\\n {{#if mostRecentOpenCloseEvent}}\\n \\n {{!-- @glint-expect-error: glint doesn\\'t know what mostRecentOpenCloseEvent is, please fix this. --}}\\n \\n
      \\n {{!-- @glint-expect-error: glint doesn\\'t know what mostRecentOpenCloseEvent is, please fix this. --}}\\n
    • {{mostRecentOpenCloseEvent.openCloseInfo}}
    • \\n {{!-- @glint-expect-error: glint doesn\\'t know what mostRecentOpenCloseEvent is, please fix this. --}}\\n
    • {{mostRecentOpenCloseEvent.openCloseTime}}
    • \\n
    \\n
    \\n \\n {{#if (await locationInfo.showWarningIcon)}}\\n \\n {{/if}}\\n
    \\n \\n {{/if}}\\n {{/let}}\\n
    \\n {{/if}}\\n {{/if}}\\n\\n {{#if locationInfo.showPanels}}\\n {{#if (is-pending locationInfo.partitions)}}\\n
    \\n \\n
    \\n {{else}}\\n {{!-- @glint-expect-error: Is partitions a property, or is the type wrong. Please fix this. --}}\\n {{#let (await locationInfo.partitions) as |partitions|}}\\n {{!-- @glint-expect-error: Is partitions a property, or is the type wrong. Please fix this. --}}\\n {{#if (or (not (media \\'isMobile\\')) partitions.length)}}\\n
    \\n {{#if partitions}}\\n {{!-- @glint-expect-error: Is partitions a property, or is the type wrong. Please fix this. --}}\\n {{#each partitions as |partition|}}\\n {{!-- @glint-expect-error: stop-propagation expects a function to be passed in, please fix this. --}}\\n
    \\n \\n \\n
    \\n {{#if (await locationInfo.hasMultiplePartitions)}}\\n
    {{partition.description}}
    \\n {{/if}}\\n
    \\n

    {{if partition.hasActiveAlarm (t \\'enterprise.locations.summary.inAlarm\\') partition.stateText}}

    \\n
    \\n
    \\n {{#if partition.hasOpenSensors}}\\n
    \\n \\n
    \\n {{/if}}\\n \\n
    \\n {{/each}}\\n {{/if}}\\n
    \\n {{/if}}\\n {{/let}}\\n {{/if}}\\n {{/if}}\\n\\n {{#if locationInfo.showAccessPoints}}\\n {{#if (is-pending locationInfo.accessPointsButtons)}}\\n
    \\n \\n
    \\n {{else}}\\n {{#let (await locationInfo.accessPointsButtons) as |accessPointsButtons|}}\\n {{#if (or (not (media \\'isMobile\\')) accessPointsButtons.length)}}\\n
    \\n {{#if accessPointsButtons}}\\n {{#each accessPointsButtons as |deviceButtons|}}\\n
    \\n {{!-- @glint-expect-error: glint doesn\\'t think this is iterable, please fix this. --}}\\n {{#each deviceButtons as |deviceButton|}}\\n {{!-- @glint-expect-error: stop-propagation expects a function to be passed in, please fix this. --}}\\n
    \\n \\n \\n
    \\n {{#unless deviceButton.multipleDevices}}\\n
    {{deviceButton.description}}
    \\n {{/unless}}\\n
    \\n {{if deviceButton.multipleDevices deviceButton.buttonText deviceButton.stateText}}\\n
    \\n
    \\n \\n
    \\n {{/each}}\\n
    \\n {{/each}}\\n {{/if}}\\n
    \\n {{/if}}\\n {{/let}}\\n {{/if}}\\n {{/if}}\\n\\n {{#if locationInfo.showTenantTurnoverStatus}}\\n
    \\n {{#if locationInfo.isTenantTurnoveInProgress}}\\n {{#if locationInfo.isTenantTurnoverFailed}}\\n
    \\n \\n
    \\n

    {{tc this \\'failedText\\'}}

    \\n

    {{tc this \\'failedSubText\\'}}

    \\n
    \\n \\n
    \\n {{else}}\\n
    \\n \\n
    \\n

    {{tc this \\'inProgressText\\'}}

    \\n

    {{tc this \\'inProgressSubText\\'}}

    \\n
    \\n
    \\n {{/if}}\\n {{/if}}\\n
    \\n {{/if}}\\n {{/if}}\\n
    \\n {{/each}}\\n {{yield}}\\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/locations/locations-summary-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed, get } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { startSelfGuidedToursSettingsImprovementsTour } from 'customer-site/components/enterprise/locations/locations-summary-container/self-guided-tours-improvements-tour/tour';\nimport { SelfGuidedToursSettingsImprovementsTour } from 'customer-site/enums/HelpTourType';\nimport { intlPath } from '@adc/i18n/path';\nimport setMilliseconds from 'date-fns/setMilliseconds';\nimport subDays from 'date-fns/subDays';\nimport { BusinessHourWarnings } from '../../../../enums/CustomerEventHistoryEventFilter';\nimport { EmberEnterpriseEventHistory } from '../../../../enums/CustomerPageUrl';\nimport { EmberLocationsPersonalSafety } from '../../../../enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type LocationSummaryInfo from 'customer-site/enterprise/locations/helper-objects/location-summary-info';\nimport type { EnterpriseLocationsListSignature } from '../locations-list/index';\n\ninterface LocationsSummaryContainerSignature {\n Args: {\n locationInfos: LocationSummaryInfo[];\n columnHeaders: EnterpriseLocationsListSignature['Args']['columnHeaders'];\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * Displays a list of locations that are in the same group.\n */\n@intlPath({ path: 'enterprise/locations/locations-summary-container' })\nexport default class LocationsSummaryContainer extends Component {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n @service declare helpTour: ServiceRegistry['help-tour'];\n\n get hideEditButton(): boolean {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line @adc/ember/no-context-manager-get-route\n return !!this.contextManager.getRouteItem(EmberLocationsPersonalSafety);\n }\n\n /**\n * Alias to validate if the page is being displayed in a mobile app.\n */\n @alias('contextManager.identityModel.isMobileApp')\n declare isMobileApp: boolean;\n\n /**\n * Is the current context parent group?\n */\n @computed('contextManager.identityModel.selectedSystemGroup.isParentGroup')\n get isParentGroup(): boolean {\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error selectedSystemGroup is async, so we should await it before we query it's properties.\n return get(this.contextManager.identityModel.selectedSystemGroup, 'isParentGroup');\n }\n\n /**\n * Toggles the business events popover.\n */\n @action\n toggleOpenCloseHistoryPopover(locationInfo: LocationSummaryInfo): void {\n locationInfo.showOpenCloseHistoryPopover = !locationInfo.showOpenCloseHistoryPopover;\n }\n\n /**\n * Switches to the context of the selected location, then redirects to the Activity page.\n */\n @action\n async viewAllActivity(locationInfo: LocationSummaryInfo): Promise {\n this.navigation.transitionToRouteId(EmberEnterpriseEventHistory, {\n queryParams: {\n locations: [String(locationInfo.model.id)],\n evtTypes: [String(BusinessHourWarnings)],\n startDate: subDays(setMilliseconds(new Date(), 0), 7)\n }\n });\n }\n\n /**\n * Loads the improved self guided tours settings tour if the login hasn't viewed it yet and needs to.\n */\n @action\n loadSelfGuidedToursSettingsImprovementsTourIfNeeded() {\n if (this.identityManager.identityModel?.helpTours.includes(SelfGuidedToursSettingsImprovementsTour)) {\n startSelfGuidedToursSettingsImprovementsTour.call(this, this.intl, this.identityManager, this.helpTour);\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsSummaryContainer': typeof LocationsSummaryContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n \\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
    \\n {{/unless}}\\n {{/each}}\\n{{else}}\\n \\n{{/if}}\\n\\n\",{ moduleName: \"customer-site/enterprise/locations/summary/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n {{#each @locationInfos as |locationInfo|}}\\n \\n {{#if locationInfo.model.commercialTemperatureSensors.length}}\\n
    \\n
    \\n {{locationInfo.model.commercialTemperatureSensors.length}}\\n
    \\n {{#if (media \\\"isMobile\\\")}}\\n

    \\n {{t \\'enterprise.locations.temperatures.sensors\\'}}\\n

    \\n {{/if}}\\n
    \\n \\n {{!-- @glint-expect-error The type for locationInfo is too broad, doesn\\'t have a showTemperatureStatusPopover, please fix this. --}}\\n {{#each (await locationInfo.issueItems) as |item|}}\\n
    \\n \\n
    \\n

    {{item.status}}

    \\n

    {{item.name}}

    \\n
    \\n

    {{item.temperature}}

    \\n
    \\n {{/each}}\\n \\n
    \\n {{!-- @glint-expect-error The type for locationInfo is too broad, doesn\\'t have a showTemperatureStatusPopover, please fix this. --}}\\n {{#if (await locationInfo.issueItems)}}\\n \\n {{else}}\\n
    \\n \\n {{t \\\"enterprise.locations.temperatures.allOk\\\"}}\\n
    \\n {{/if}}\\n
    \\n {{else}}\\n
    \\n \\n {{t \\\"enterprise.locations.temperatures.noSensors\\\"}}\\n
    \\n {{/if}}\\n
    \\n {{/each}}\\n {{yield}}\\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/locations-temperatures-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type LocationInfo from 'customer-site/enterprise/locations/helper-objects/location-info';\nimport type LocationTemperaturesInfo from 'customer-site/enterprise/locations/helper-objects/location-temperatures-info';\n\ninterface LocationsTemperaturesContainerSignature {\n Args: {\n columnHeaders: Array<{ header: string; extraClass: string }>;\n locationInfos: Array;\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * Displays temperature dashboard data for a parent group.\n */\n@intlPath({ path: 'enterprise/locations/locations-temperatures-container' })\nexport default class LocationsTemperaturesContainer extends Component {\n @action\n toggleTemperatureStatusPopover(locationTemperaturesInfo: LocationTemperaturesInfo): void {\n locationTemperaturesInfo.showTemperatureStatusPopover = !locationTemperaturesInfo.showTemperatureStatusPopover;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsTemperaturesContainer': typeof LocationsTemperaturesContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n \\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
    \\n {{/unless}}\\n {{/each}}\\n{{else}}\\n \\n{{/if}}\\n\\n\",{ moduleName: \"customer-site/enterprise/locations/temperatures/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n \\n\\n \\n\\n \\n
    \\n {{#each this.commonAreaLocationInfos as |locationInfo|}}\\n \\n
    \\n {{#unless (media \\'isMobile\\')}}\\n
    \\n

    \\n {{tc this \\'commonArea\\'}}\\n

    \\n
    \\n {{/unless}}\\n
    \\n {{#if (is-fulfilled locationInfo.accessPointsButtons)}}\\n {{#let (await locationInfo.accessPointsButtons) as |accessPointsButtons|}}\\n {{#each accessPointsButtons as |deviceButtons|}}\\n
    \\n {{#each deviceButtons as |deviceButton|}}\\n
    \\n \\n \\n
    \\n {{#unless deviceButton.multipleDevices}}\\n
    {{deviceButton.description}}
    \\n {{/unless}}\\n
    \\n {{if deviceButton.multipleDevices deviceButton.buttonText deviceButton.stateText}}\\n
    \\n
    \\n
    \\n
    \\n {{/each}}\\n
    \\n {{/each}}\\n {{/let}}\\n {{/if}}\\n
    \\n
    \\n \\n {{/each}}\\n
    \\n \\n\\n \\n\\n \\n\\n\",{ moduleName: \"customer-site/components/enterprise/locations/common-areas/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { set, action } from '@ember/object';\nimport { empty, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport LocationAccessPointInfo from '../../../../enterprise/locations/helper-objects/location-access-point-info';\n\nimport './_style.scss';\n\n/**\n * Displays the locations of a group that are marked as common areas.\n *\n * @class CommonAreas\n * @extends Ember.Component\n * @memberof components.enterprise.locations\n */\n@intlPath({ path: 'enterprise.locations.common-areas' })\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/require-tagless-components\nexport default class extends Component {\n @service contextManager;\n\n classNameBindings = ['isHidden:hide-areas'];\n\n /**\n * We want to hide the component if there are no common areas.\n *\n * @function\n * @returns {boolean}\n */\n @empty('commonAreaLocationInfos')\n isHidden;\n\n /**\n * Alias to validate if the page is being displayed in a mobile app.\n *\n * @function\n * @returns {boolean}\n */\n @alias('contextManager.identityModel.isMobileApp')\n isMobileApp;\n\n /**\n * Creates LocationSummaryInfo objects for the locations that are marked as common areas.\n *\n * @param locations\n */\n @action dataLoaded(locations) {\n // Do nothing if the data hasn't loaded yet.\n // This should never get called until the locations data has loaded, but somehow it is.\n if (locations) {\n set(\n this,\n 'commonAreaLocationInfos',\n locations.filterBy('isCommonArea').map((model) => new LocationAccessPointInfo(model, true))\n );\n }\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n\\n {{#unless this.shouldHideSearchBar}}\\n {{#if this.isOccupancy}}\\n \\n {{#if this.isParentGroup}}\\n \\n {{/if}}\\n \\n {{else}}\\n \\n\\n
    \\n {{if this.locationsCountText this.locationsCountText}}\\n
    \\n\\n {{#unless (media \\'isMobile\\')}}\\n {{#if this.showLocationsDetailsViewToggle}}\\n
    \\n \\n
    \\n {{/if}}\\n {{/unless}}\\n\\n {{#if this.isPMSIntegration}}\\n
    \\n \\n \\n \\n
    \\n {{/if}}\\n\\n {{#unless (media \\'isMobile\\')}}\\n {{#if this.model.meta.lastLoadTime}}\\n

    \\n {{tc this \\'updatedAt\\' lastLoadTime=this.lastLoadTime}}\\n

    \\n {{/if}}\\n {{/unless}}\\n \\n {{/if}}\\n {{/unless}}\\n\\n {{#if (and (media \\'isMobile\\') this.showLocationsDetailsViewToggle)}}\\n
    \\n \\n
    \\n {{/if}}\\n\\n {{#unless (or this.model.filters.isPending this.isDeviceAccess)}}\\n
    \\n {{#if this.isOccupancy}}\\n {{tc this \\'todaysSummary\\'}}\\n {{#unless (media \\'isMobile\\')}}\\n {{#if this.model.meta.lastLoadTime}}\\n

    {{tc this \\'updatedAt\\' lastLoadTime=this.model.meta.lastLoadTime}}

    \\n {{/if}}\\n {{/unless}}\\n \\n

    {{tc this (if this.showFilters \\'hideStatus\\' \\'showStatus\\')}}

    \\n \\n {{else}}\\n \\n {{#if this.isParentGroup}}\\n \\n {{/if}}\\n {{#if this.model.locations}}\\n {{#if this.showEnterpriseVHRButton}}\\n \\n {{else if this.showEnterpriseFleetTripReportButton}}\\n \\n {{/if}}\\n {{/if}}\\n {{/if}}\\n
    \\n\\n
    \\n \\n
    \\n {{/unless}}\\n\\n {{#if this.isOccupancy}}\\n \\n {{/if}}\\n\\n \\n
    \\n {{container.loading}}\\n\\n \\n {{outlet}}\\n {{#if this.showViewMoreButton}}\\n
    \\n \\n
    \\n {{/if}}\\n
    \\n\\n {{container.error}}\\n\\n \\n
    \\n

    {{t (concat \\'generic.\\' (if this.searchString \\'noFilterResults\\' \\'noItems\\')) type=(tc this \\'locations\\')}}

    \\n
    \\n\\n \\n
    \\n
    \\n
    \\n\",{ moduleName: \"customer-site/enterprise/locations/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n\\n \\n {{#each @locationInfos as |locationInfo|}}\\n \\n
    \\n \\n {{#if thermostatRows.length}}\\n {{#if locationInfo.contextManager.identityModel.isPointCentral}}\\n
    \\n {{/if}}\\n {{#each thermostatRows as |thermostatRow|}}\\n
    \\n
    \\n \\n \\n

    \\n {{#if thermostatRow.thermostat.requiresSetup}}\\n {{t \\'enterprise.locations.thermostats.configureThermostat\\'}}\\n {{else}}\\n {{thermostatRow.thermostat.description}}\\n {{/if}}\\n

    \\n \\n
    \\n
    \\n
    \\n
    \\n

    \\n {{#if (media \\'isMobile\\')}}\\n {{t \\'enterprise.locations.thermostats.temp\\'}}\\n {{/if}}\\n {{safe-html thermostatRow.thermostat.temperatureText}}\\n

    \\n {{#if thermostatRow.thermostat.showRts}}\\n \\n {{else}}\\n \\n {{/if}}\\n
    \\n
    \\n
    \\n
    \\n \\n

    \\n {{thermostatRow.thermostat.stateText}}\\n

    \\n
    \\n
    \\n {{#each thermostatRow.optionalIcons as |icon|}}\\n
    \\n
    \\n {{#if icon.visible}}\\n \\n {{#if (media \\'isMobile\\')}}\\n

    \\n {{icon.title}}\\n

    \\n {{/if}}\\n {{else}}\\n
    \\n

    \\n --\\n

    \\n {{#if (media \\'isMobile\\')}}\\n

    \\n {{t \\'generic.na\\'}}\\n

    \\n {{/if}}\\n
    \\n {{/if}}\\n
    \\n
    \\n {{/each}}\\n
    \\n
    \\n {{/each}}\\n {{else}}\\n

    \\n \\n {{t \\'enterprise.locations.thermostats.noThermostatsMessage\\'}}\\n

    \\n {{/if}}\\n
    \\n
    \\n
    \\n {{/each}}\\n {{yield}}\\n
    \\n
    \\n\\n{{!-- @glint-expect-error Please convert this to TS. --}}\\n\",{ moduleName: \"customer-site/components/enterprise/locations/locations-thermostats-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ContextManager from '@adc/app-infrastructure/services/context-manager';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { EnterpriseLocationsListSignature } from 'customer-site/components/enterprise/locations/locations-list/index';\nimport type LocationThermostatsInfo from 'customer-site/enterprise/locations/helper-objects/location-thermostats-info';\n\ninterface LocationsThermostatsContainerSignature {\n Args: Pick & {\n locationInfos: LocationThermostatsInfo[];\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * TODO: Add description.\n */\n@intlPath({ path: 'enterprise/locations/locations-thermostats-container' })\nexport default class LocationsThermostatsContainer extends Component {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n\n /**\n * Alias to validate if the page is being displayed in a mobile app.\n */\n @alias('contextManager.identityModel.isMobileApp')\n declare isMobileApp: boolean;\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsThermostatsContainer': typeof LocationsThermostatsContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: selectedSystemGroup is async, please fix this. --}}\\n{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n {{!-- @glint-expect-error: Type doesn\\'t match, please fix this. --}}\\n \\n {{!-- @glint-expect-error: Type doesn\\'t match, please fix this. --}}\\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
    \\n {{/unless}}\\n {{/each}}\\n{{else}}\\n {{!-- @glint-expect-error: Type doesn\\'t match, please fix this. --}}\\n \\n{{/if}}\",{ moduleName: \"customer-site/enterprise/locations/thermostats/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{#unless this.isRecordedVideo}}\\n {{#if (await (if this.isVideoCameraPopover @locationInfo.issueCameras @locationInfo.issueSvrs))}}\\n {{#each (await (if this.isVideoCameraPopover @locationInfo.issueCameras @locationInfo.issueSvrs)) as |device index|}}\\n

    \\n \\n \\n {{tc this \\\"issueDevice\\\" name=device.name model=device.deviceModel mac=device.macAddress}}\\n \\n {{tc this \\\"issueDeviceSupervisionDate\\\" date=(unless device.lastDate (t \\\"generic.none\\\") (format-date-tz device.lastDate\\n month=\\\"numeric\\\"\\n day=\\\"numeric\\\"\\n year=\\\"numeric\\\"\\n hour=\\\"numeric\\\"\\n minute=\\\"2-digit\\\"\\n second=\\\"numeric\\\"\\n ))}}\\n \\n \\n

    \\n {{/each}}\\n {{else}}\\n {{#if this.isVideoCameraPopover}}\\n {{#if @locationInfo.model.numDoorbell}}\\n

    \\n \\n \\n {{tc this \\\"doorbells\\\" count=@locationInfo.model.numDoorbell}}\\n \\n

    \\n {{/if}}\\n {{#if @locationInfo.model.numSecurity}}\\n

    \\n \\n \\n {{tc this \\\"securities\\\" count=@locationInfo.model.numSecurity}}\\n \\n

    \\n {{/if}}\\n {{else}}\\n {{#each (await @locationInfo.onlineSvrsAndCams) as |svrCams index|}}\\n

    \\n \\n \\n

    \\n \\n {{tc this \\\"deviceNameLabel\\\" device=svrCams.description}}\\n \\n

    \\n

    \\n {{coalesce svrCams.cameras (tc this \\\"noAssociatedCameras\\\")}}\\n

    \\n \\n

    \\n {{/each}}\\n {{/if}}\\n {{/if}}\\n {{else}}\\n {{#each (await this.recordedVideoDevices) as |recordedVideoDevice index|}}\\n

    \\n \\n

    \\n \\n

    \\n \\n {{tc this \\\"deviceNameLabel\\\" device=recordedVideoDevice.description}}\\n \\n

    \\n

    \\n {{tc this \\\"recordedDaysDevice\\\" count=recordedVideoDevice.daysOfRecording}}\\n

    \\n
    \\n {{#if recordedVideoDevice.earliestRecord}}\\n \\n

    \\n {{tc this (if recordedVideoDevice.isSdCard \\\"oldestOnboardRecordedVideoDate\\\" \\\"oldestRecordedVideoDate\\\") date=recordedVideoDevice.earliestRecord}}\\n

    \\n
    \\n {{/if}}\\n
    \\n

    \\n {{/each}}\\n {{/unless}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/locations/video-dashboard-popover-menu/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type LocationVideoInfo from 'customer-site/enterprise/locations/helper-objects/location-video-info';\nimport type IdentityModel from 'customer-site/models/identity';\nimport type SdCardCamera from 'customer-site/models/video/devices/sd-card-camera';\nimport type Svr from 'customer-site/models/video/devices/svr';\n\ninterface VideoDashboardPopoverMenuSignature {\n Args: {\n model?: IdentityModel;\n locationInfo: LocationVideoInfo;\n popoverName: string;\n };\n}\n\n/**\n * @classdesc\n *\n * Component for the popover menu to display device information\n */\n@intlPath({ path: 'enterprise/locations/video-dashboard-popover-menu' })\nexport default class VideoDashboardPopoverMenu extends Component {\n @service declare intl: ADCIntlService;\n\n @equal('args.popoverName', 'camera')\n declare isVideoCameraPopover: boolean;\n\n @equal('args.popoverName', 'svr')\n declare isSvrPopover: boolean;\n\n @equal('args.popoverName', 'recorded-video')\n declare isRecordedVideo: boolean;\n\n /**\n * Returns a promise for the concatenation of svr & sd card recorded video info\n *\n * @type {Promise>}\n */\n @computed('args.locationInfo.model.{allSvrs.@each.svrUsageInfo,allSdCardCameras}')\n get recordedVideoDevices(): Promise> {\n return (async () => {\n const svrs = await this.args.locationInfo.model.get('allSvrs'),\n sdCardCameras = await this.args.locationInfo.model.get('allSdCardCameras'),\n svrRecordedInfo = Promise.all(\n svrs\n .map(async (svr: Svr) => {\n const svrUsageInfo = await svr.svrUsageInfo;\n\n return {\n daysOfRecording: svrUsageInfo.daysOfRecordedVideo,\n description: svr.description,\n earliestRecord: svrUsageInfo.oldestRecordingDate\n };\n })\n .concat(\n sdCardCameras.map(async (camera: SdCardCamera) => {\n const sdCardCameraUsageInfo = await camera.sdCardCameraUsageInfo;\n\n return {\n daysOfRecording: sdCardCameraUsageInfo.daysOfSdRecording,\n description: this.intl.tc(this, 'onboardSdCard', { device: camera.description }),\n isSdCard: true,\n earliestRecord: sdCardCameraUsageInfo.earliestSdRecord\n };\n })\n )\n );\n return svrRecordedInfo;\n })();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::VideoDashboardPopoverMenu': typeof VideoDashboardPopoverMenu;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n
    \\n {{#if @clipData.cameraTriggeredClips}}\\n
    \\n {{/if}}\\n {{#if @clipData.eventTriggeredClips}}\\n
    \\n {{/if}}\\n {{#if @clipData.alarmTriggeredClips}}\\n
    \\n {{/if}}\\n
    \\n
    \\n \\n

    {{tc this \\\"cameraTriggered\\\" count=@clipData.cameraTriggeredClips}}

    \\n \\n

    {{tc this \\\"eventTriggered\\\" count=@clipData.eventTriggeredClips}}

    \\n {{#if @clipData.alarmTriggeredClips}}\\n \\n

    {{tc this \\\"alarmTriggered\\\" count=@clipData.alarmTriggeredClips}}

    \\n {{/if}}\\n
    \\n
    \\n
    \\n

    {{tc this \\\"clipsRatio\\\" clips=@clipData.clipsUploaded quota=@clipData.videoQuotaClips htmlSafe=true}}

    \\n

    {{tc this \\\"clipsUploaded\\\" count=@clipData.clipsUploaded}}

    \\n
    \\n \\n
    \\n {{#if this.didExceedQuota}}\\n

    {{tc this \\\"alreadyExceededClipLimit\\\"}}

    \\n {{else if @clipData.isExceedingClipRateLimit}}\\n

    {{tc this \\\"onPaceToExceedClipLimit\\\"}}

    \\n {{/if}}\\n
    \\n \\n {{#if (or this.didExceedQuota @clipData.isExceedingClipRateLimit)}}\\n \\n {{/if}}\\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/video-clip-count-bar/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type IdentityModel from 'customer-site/models/identity';\nimport type { SafeString } from 'handlebars';\n\n/**\n * Calculates the CSS class to apply to one of the clip type bars.\n */\nfunction calculateWidthCSS(value: number, total: number): SafeString {\n const widthPercent = value > total ? 100 : (value / total) * 100;\n\n return htmlSafe(`width: ${widthPercent}%;`);\n}\n\ninterface VideoDeviceNameAndStatusSignature {\n Args: {\n model?: IdentityModel;\n clipData: ClipData;\n };\n}\n\ntype ClipData = {\n cameraTriggeredClips: number;\n eventTriggeredClips: number;\n clipsUploaded: number;\n videoQuotaClips: number;\n alarmTriggeredClips: number;\n isExceedingClipRateLimit: boolean;\n id: string;\n};\n\n/**\n * @classdesc\n *\n * Component for the bar used to display the clip count in the Video Health Report.\n */\n@intlPath({ path: 'enterprise/locations/video-clip-count-bar' })\nexport default class VideoDeviceNameAndStatus extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * This calculates the width that is needed for the camera triggered clips bar based on the number of camera triggered clips and the clip quota, and\n * it returns the width as a CSS rule to be applied to the appropriate div.\n */\n @computed('args.clipData.{cameraTriggeredClips,videoQuotaClips}')\n get cameraTriggeredClipStyle(): SafeString {\n return calculateWidthCSS(this.args.clipData.cameraTriggeredClips, this.args.clipData.videoQuotaClips);\n }\n\n /**\n * This calculates the width that is needed for the event triggered clips bar based on the number of event triggered clips and the clip quota, and\n * it returns the width as a CSS rule to be applied to the appropriate div.\n */\n @computed('args.clipData.{eventTriggeredClips,videoQuotaClips}')\n get eventTriggeredClipStyle(): SafeString {\n return calculateWidthCSS(this.args.clipData.eventTriggeredClips, this.args.clipData.videoQuotaClips);\n }\n\n /**\n * This calculates the width that is needed for the alarm triggered clips bar based on the number of alarm triggered clips and the clip quota, and\n * it returns the width as a CSS rule to be applied to the appropriate div.\n */\n @computed('args.clipData.{alarmTriggeredClips,videoQuotaClips}')\n get alarmTriggeredClipStyle(): ReturnType {\n return calculateWidthCSS.call(this, this.args.clipData.alarmTriggeredClips, this.args.clipData.videoQuotaClips);\n }\n\n @computed('args.clipData.{clipsUploaded,videoQuotaClips}')\n get didExceedQuota(): boolean {\n return this.args.clipData.clipsUploaded >= this.args.clipData.videoQuotaClips;\n }\n\n @action\n toggleClipStatusPopover(mouseEvent: MouseEvent): void {\n mouseEvent.stopPropagation();\n this.showClipStatusPopover = !this.showClipStatusPopover;\n }\n\n /**\n * Whether or not to show the clip status popover\n */\n @tracked showClipStatusPopover = false;\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::VideoClipCountBar': typeof VideoDeviceNameAndStatus;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n {{#each @locationInfos as |locationInfo|}}\\n \\n \\n {{#unless locationInfo.hasNoVideoDevices}}\\n \\n \\n \\n\\n {{!-- @glint-expect-error The someSvrs field is incorrectly defined as a method, it should be a getter. Please fix this. --}}\\n {{#if this.someSvrs}}\\n {{!-- @glint-expect-error This condition will always return true, please fix this. --}}\\n {{#if locationInfo.model.allSvrs}}\\n \\n \\n \\n
    \\n \\n {{#if (media \\\"isMobile\\\")}}\\n

    \\n {{t \\\"enterprise.locations.video.svrsOnline\\\"}}\\n

    \\n {{/if}}\\n
    \\n {{else}}\\n
    \\n {{/if}}\\n {{/if}}\\n
    \\n \\n {{#if (media \\\"isMobile\\\")}}\\n

    \\n {{t \\\"enterprise.locations.video.camerasOnline\\\"}}\\n

    \\n {{/if}}\\n
    \\n\\n {{!-- @glint-expect-error Need to figure out how to type model metadata. --}}\\n {{#if @model.meta.showRecordedVideo}}\\n {{#if (await locationInfo.hasRecordedVideoDevice)}}\\n \\n \\n \\n
    \\n \\n {{#if (media \\\"isMobile\\\")}}\\n

    \\n {{t \\\"enterprise.locations.video.recordedVideo\\\"}}\\n

    \\n {{/if}}\\n
    \\n {{else}}\\n
    \\n {{/if}}\\n {{/if}}\\n
    \\n \\n
    \\n {{#if locationInfo.model.hasVhrAccess}}\\n
    \\n \\n {{#if (media \\\"isMobile\\\")}}\\n

    \\n {{t \\\"enterprise.locations.video.singleSystemVHR\\\"}}\\n

    \\n {{/if}}\\n
    \\n {{/if}}\\n {{else}}\\n \\n \\n \\n

    {{t \\\"enterprise.locations.video.noVideoDevices\\\"}}

    \\n
    \\n
    \\n
    \\n {{/unless}}\\n
    \\n {{/each}}\\n {{yield}}\\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/locations-video-container/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { displayReportFromResponse } from 'customer-site/enterprise/locations/controller';\nimport { Video } from 'customer-site/enums/LocationDataType';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type AdcBaseRoute from 'customer-site/classes/base-route';\nimport type LocationVideoInfo from 'customer-site/enterprise/locations/helper-objects/location-video-info';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\ninterface LocationsVideoContainerSignature {\n Args: {\n columnHeaders: Array<{ header: string; extraClass: string }>;\n locationInfos: Array;\n model: ModelFrom;\n };\n Blocks: {\n default: [];\n };\n}\n\n@intlPath({ path: 'enterprise/locations/locations-video-container' })\nexport default class LocationsVideoContainer extends Component {\n @service declare intl: ADCIntlService;\n @service declare identityManager: IdentityManager;\n @service declare navigation: NavigationService;\n @service declare notificationManager: NotificationManager;\n\n @alias('args.locationInfos')\n declare locationInfos: LocationVideoInfo[];\n\n /**\n * Determines whether there exists any svrs in the system\n */\n someSvrs(): boolean {\n return this.locationInfos.some((item) => item.model.allSvrs.length);\n }\n\n /**\n * Produces a popup displaying info about the given (name) property\n * The recorded video popup is only displayed if the location has more than 1 svr\n */\n @action\n toggleLocationInfoProperty(locationInfo: any, name: string, mouseEvent: MouseEvent): void {\n mouseEvent.stopPropagation();\n locationInfo[name] = !locationInfo[name];\n }\n\n /**\n * Runs the Single System Video Health Report for the associated location\n */\n @action\n async runSingleSystemVideoHealthReport(locationInfo: LocationVideoInfo, mouseEvent: MouseEvent): Promise {\n mouseEvent.stopPropagation();\n displayReportFromResponse(\n await locationInfo.model.runVideoHealthReport(),\n Video,\n this.navigation,\n this.notificationManager,\n this.identityManager,\n this.intl\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsVideoContainer': typeof LocationsVideoContainer;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.identityManager.identityModel.selectedSystemGroup.isParentGroup}}\\n {{#each this.groups as |group|}}\\n \\n \\n \\n \\n \\n {{#unless (eq group this.lastGroup)}}\\n
    \\n {{/unless}}\\n {{/each}}\\n{{else}}\\n \\n{{/if}}\",{ moduleName: \"customer-site/enterprise/locations/video/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/add-enterprise-logins-options/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/associate/multi-group-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/edit/edit-scheduled-device-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/edit/multi-group-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: searchString property doesn\\'t exist, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/logins/elevate-logins/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/new-login/new-multi-group-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/logins/new-login/new-scheduled-device-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/multi-group-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n
    \\n {{await this.groupCountDescription}}\\n
    \\n \\n\\n {{#each View.model as |childGroup|}}\\n \\n {{Container.loading}}\\n\\n \\n \\n \\n \\n

    {{data.description}}

    \\n
    \\n {{tc this \\'locations\\'}} {{data.unitCount}}\\n \\n
    \\n\\n \\n\\n \\n {{/each}}\\n\\n\",{ moduleName: \"customer-site/enterprise/overview/locations/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/reports/catalog/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/reports/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/reports/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/access-control-restricted-access/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/access-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n
    \\n \\n\\n {{#if this.isTokenVisible}}\\n
    \\n {{this.authTokenUrl}}\\n \\n\\n
    \\n {{/if}}\\n
    \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n \\n\\n\",{ moduleName: \"customer-site/components/enterprise/settings/active-directory/group-plan-mapping/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type AccessControlAccessPlanModel from 'customer-site/models/access-control/access-control-access-plan';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group';\nimport type GroupToAccessPlanMapping from 'customer-site/models/settings/active-directory-setup/group-to-access-plan-mapping';\n\nexport interface ActiveDirectoryGroupPlanMappingSignature {\n Element: HTMLDivElement;\n Args: {\n mapping: GroupToAccessPlanMapping;\n accessPlans?: AccessControlAccessPlanModel[];\n adGroups?: ActiveDirectoryGroup[];\n };\n}\n\nexport default class ActiveDirectoryGroupPlanMapping extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n @computed('args.accessPlans')\n get accessPlansDropdownItems(): DropdownSelectItem[] {\n return (\n this.args.accessPlans?.map((plan) => {\n return DropdownSelectItem.create({ value: plan.id, name: plan.name });\n }) ?? []\n );\n }\n\n @action\n updatePlanId(value: string): void {\n this.args.mapping.planId = Number(value);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ActiveDirectory::GroupPlanMapping': typeof ActiveDirectoryGroupPlanMapping;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer api|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n
    \\n
    \\n {{#if (media \\'isMobile\\')}}\\n
    \\n

    {{tc this \\'mapGroupsToAccessPlansHeader\\'}}

    \\n
    \\n

    {{tc this \\'accessPlansDescription\\'}}

    \\n
    \\n
    \\n \\n
    \\n
    \\n
    \\n

    {{tc this \\'mapGroupsToPlansDescription\\'}}

    \\n
    \\n {{else}}\\n

    {{tc this \\'mapGroupsToAccessPlansHeader\\'}}

    \\n
    \\n {{tc this \\'mapGroupsToPlansDescription\\'}}\\n {{safe-html (tc this \\'manageAccessPlansDescription\\' link=(href-to \\'enterprise.access-control.access-plans\\'))}}\\n
    \\n {{/if}}\\n
    \\n \\n
    \\n {{#if data.clientIdentifier.mapGroupsToAccessPlans}}\\n {{#if this.hasGroupToPlansMappings}}\\n {{#each this.mappings as |mapping| }}\\n \\n {{/each}}\\n {{else}}\\n {{tc this \\'noGroupsToPlansMappingsText\\'}}\\n {{/if}}\\n \\n {{/if}}\\n
    \\n \\n
    \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n \\n \\n
    \",{ moduleName: \"customer-site/components/settings/active-directory-group-plan-mapping/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberGroupSettingsActiveDirectorySetup } from 'customer-site/enums/CustomerPageUrl';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type AccessControlAccessPlanModel from 'customer-site/models/access-control/access-control-access-plan';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group';\nimport type ActiveDirectoryClientIdentifier from 'customer-site/models/settings/active-directory-setup/active-directory-client-identifier';\nimport type GroupToAccessPlanMapping from 'customer-site/models/settings/active-directory-setup/group-to-access-plan-mapping';\nimport type { ResolvedObject } from 'customer-site/utils/type-utils';\n\ninterface SettingsActiveDirectoryGroupMappingSignature {\n Element: HTMLDivElement;\n Args: {\n mappingsPromise: ADCAsyncStoreFindAll;\n clientIdentifierPromise: ADCAsyncStoreFindRecord;\n groupsPromise: ADCAsyncStoreFindAll;\n plansPromise: ADCAsyncStoreFindAll;\n };\n}\n\n@intlPath({ path: 'settings/active-directory-group-plan-mapping' })\nexport default class SettingsActiveDirectoryGroupMapping extends Component {\n @service declare store: ServiceRegistry['store'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare intl: ServiceRegistry['adc-intl'];\n\n resolvedModel?: ResolvedObject<{\n mappings: ADCAsyncStoreFindAll;\n accessPlans: ADCAsyncStoreFindAll;\n clientIdentifier: ADCAsyncStoreFindRecord;\n adGroups: ADCAsyncStoreFindAll;\n }>;\n\n /**\n * The client identifier for the integration\n */\n @alias('resolvedModel.clientIdentifier')\n clientIdentifier?: ActiveDirectoryClientIdentifier;\n\n @computed('resolvedModel.mappings.[]')\n get mappings(): GroupToAccessPlanMapping[] {\n return this.resolvedModel?.mappings.slice() ?? [];\n }\n\n @computed('clientIdentifier.hasDirtyAttributes', 'mappings.@each.{groupId,planId,hasDirtyAttributes,isDeleted}')\n get canBeSaved(): boolean {\n const { mappings } = this;\n return !!(\n this.clientIdentifier?.hasDirtyAttributes ||\n (mappings.some((map) => map.hasDirtyAttributes || map.isDeleted) &&\n mappings.every(({ groupId, planId }) => groupId && planId))\n );\n }\n\n @alias('resolvedModel.accessPlans')\n accessPlans?: AccessControlAccessPlanModel[];\n\n @alias('resolvedModel.adGroups')\n adGroups?: ActiveDirectoryGroup[];\n\n @computed('mappings.length')\n get hasGroupToPlansMappings(): boolean {\n return this.mappings.length > 0;\n }\n\n @action\n addNewMapping(): void {\n this.store.createRecord('settings/active-directory-setup/group-to-access-plan-mapping');\n }\n\n @action\n async save(): Promise {\n if (this.clientIdentifier?.hasDirtyAttributes) {\n await this.clientIdentifier.save();\n }\n\n if (this.clientIdentifier?.mapGroupsToAccessPlans) {\n const mappings = await Promise.all(this.mappings.filter((map) => map.hasDirtyAttributes || map.isDeleted));\n mappings.forEach((map) => map.save());\n }\n }\n\n @action\n cancel(): void {\n this.mappings.forEach((mapping) => {\n mapping.rollbackAttributes();\n });\n\n this.clientIdentifier?.rollbackAttributes();\n this.navigation.transitionToRouteId(EmberGroupSettingsActiveDirectorySetup);\n }\n\n @action\n mapGroupsToAccessPlans(): void {\n if (this.clientIdentifier) {\n this.clientIdentifier.mapGroupsToAccessPlans = !this.clientIdentifier.mapGroupsToAccessPlans;\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::ActiveDirectoryGroupPlanMapping': typeof SettingsActiveDirectoryGroupMapping;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/active-directory-location-group-mapping/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.showInputs}}\\n
    \\n \\n \\n \\n\\n \\n \\n \\n\\n \\n \\n \\n
    \\n \\n{{else}}\\n
    \\n

    {{@header}}

    \\n

    {{this.linkedStateProperties.descriptionText}}

    \\n
    \\n

    {{this.linkedStateProperties.labelText}}

    \\n {{#if (and this.canBeModified this.hasExistingLink)}}\\n \\n \\n \\n {{/if}}\\n
    \\n
    \\n{{/if}}\",{ moduleName: \"customer-site/components/settings/active-directory-test-setup/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownActionItem from '@adc/ui-components/utils/dropdown-action-item';\n\nimport type { NativeButtonType } from '@adc/ui-components/components/button/native';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ActiveDirectoryClientIdentifier from 'customer-site/models/settings/active-directory-setup/active-directory-client-identifier';\nimport './_style.scss';\n\nexport enum ADClientIdentifierStatusEnum {\n NoLink = -1,\n Ok = 0,\n NotOk = 1,\n Pending = 2,\n Disabled = 3,\n LinkAbove = 4,\n LinkBelow = 5\n}\n\ninterface SettingsActiveDirectoryTestSetupSignature {\n Args: {\n clientIdentifier: ActiveDirectoryClientIdentifier;\n disposeNativeButtons?: (buttons: string[]) => void;\n updateNativeToolbarButtons?: (buttons: NativeButtonType[]) => void;\n header?: string;\n };\n}\n\n@intlPath({ path: 'settings/active-directory-test-setup' })\nexport default class SettingsActiveDirectoryTestSetup extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare store: ServiceRegistry['store'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n /**\n * status variable for showing edit inputs\n */\n @tracked\n showInputs = false;\n\n @alias('args.clientIdentifier.adStatus')\n adStatus?: number;\n\n @alias('args.clientIdentifier.canBeModified')\n canBeModified?: boolean;\n\n @alias('args.clientIdentifier.nameOfGroupForErrorMessage')\n nameOfGroupForErrorMessage?: string;\n\n @computed('adStatus')\n get hasLinkOnAnotherLevel(): boolean {\n return (\n this.adStatus === ADClientIdentifierStatusEnum.LinkAbove ||\n this.adStatus === ADClientIdentifierStatusEnum.LinkBelow\n );\n }\n\n @computed('adStatus', 'hasLinkOnAnotherLevel')\n get hasExistingLink(): boolean {\n return this.adStatus !== ADClientIdentifierStatusEnum.NoLink && !this.hasLinkOnAnotherLevel;\n }\n\n @computed('adStatus', 'editLink', 'removeLink')\n get linkDropdownItems(): DropdownActionItem[] {\n const options: [string, string, () => void][] = [\n ['edit', this.intl.tc(this, 'editLinkText'), this.editLink],\n ['trash', this.intl.tc(this, 'removeLinkText'), this.removeLink]\n ];\n\n return options.map(([icon, name, action]) => DropdownActionItem.create({ icon, name, action }));\n }\n\n @computed('adStatus', 'hasExistingLink', 'hasLinkOnAnotherLevel', 'nameOfGroupForErrorMessage')\n get linkedStateProperties(): { descriptionText: string; labelText: string; labelCssClass: string } {\n const { intl } = this;\n let descriptionText = intl.tc(this, 'noLinkText'),\n labelTextKey = 'notLinked',\n labelCssClass = '';\n\n if (this.adStatus === ADClientIdentifierStatusEnum.LinkAbove) {\n descriptionText = intl.tc(this, 'hasLinkAboveText', {\n parentGroupName: this.nameOfGroupForErrorMessage\n });\n } else if (this.adStatus === ADClientIdentifierStatusEnum.LinkBelow) {\n descriptionText = intl.tc(this, 'hasLinkBelowText', {\n parentGroupName: this.nameOfGroupForErrorMessage\n });\n } else if (this.hasExistingLink) {\n descriptionText = intl.tc(this, 'hasLinkText');\n labelTextKey = 'linked';\n labelCssClass = 'linked';\n }\n\n return {\n descriptionText,\n labelText: this.intl.tc(this, labelTextKey),\n labelCssClass\n };\n }\n\n @action\n editLink(): void {\n this.showInputs = true;\n }\n\n @action\n cancel(): void {\n this.args.clientIdentifier.rollbackAttributes();\n this.showInputs = false;\n }\n\n @action\n saveLink(): void {\n // call save on the model\n this.args.clientIdentifier.save();\n this.showInputs = false;\n }\n\n @action\n removeLink(): void {\n // set the status to 'no link' and save, this lets backend know to remove the link\n this.args.clientIdentifier.adStatus = -1;\n this.args.clientIdentifier.save();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::ActiveDirectoryTestSetup': typeof SettingsActiveDirectoryTestSetup;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n

    {{@header}}

    \\n

    {{@description}}

    \\n
    \\n
    \\n \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/settings/active-directory/setting-option/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nexport interface ActiveDirectorySettingOptionSignature {\n Element: HTMLDivElement;\n Args: {\n header: string;\n description: string;\n buttonText: string;\n buttonAction: VoidFunction;\n };\n}\n\nconst ActiveDirectorySettingOption = templateOnlyComponent();\nexport default ActiveDirectorySettingOption;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ActiveDirectory::SettingOption': typeof ActiveDirectorySettingOption;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck }}\\n\\n\\n <:default as |PageViewContainer api|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n
    \\n
    \\n \\n
    \\n {{#if this.canBeModified}}\\n {{#if this.hasExistingLinkAndEnabled}}\\n
    \\n \\n
    \\n {{#if data.permissions.useMLADBulkManagement}}\\n \\n \\n {{else}}\\n {{#if this.selectedSystemGroup.isParentGroup}}\\n \\n \\n {{else}}\\n \\n {{/if}}\\n \\n \\n {{/if}}\\n
    \\n \\n
    \\n \\n {{/if}}\\n {{#unless this.isDisabled}}\\n
    \\n

    {{tc this \\'oauthTokenHeader\\'}}

    \\n

    \\n {{tc this \\'generateOAuthTokenDescription\\'}}\\n

    \\n \\n
    \\n \\n
    \\n {{#if this.showCopyButton}}\\n
    \\n
    \\n {{this.accessToken}}\\n \\n
    \\n
    \\n {{this.baseSCIMUrl}}\\n \\n
    \\n
    \\n {{/if}}\\n
    \\n {{/unless}}\\n {{/if}}\\n
    \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/active-directory-setup/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/arming-schedule-templates/apply/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/arming-schedule-templates/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n {{!-- template-lint-disable no-bare-strings --}}\\n

    Ember Arming Schedules Page

    \\n\\n \\n \\n\\n \\n \\n \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/arming-schedule-templates/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:default as |data|>\\n

    {{tc this \\'pageDescription\\'}}

    \\n\\n
    \\n

    {{tc this \\'lockVacantPropertiesDescription\\'}}

    \\n\\n \\n\\n
    \\n \\n
    \\n\\n {{#if this.showNightlySettings}}\\n \\n {{/if}}\\n
    \\n\\n {{#if this.showNightlySettings}}\\n
    \\n

    {{tc this \\'lockOccupiedPropertiesDescription\\'}}

    \\n \\n
    \\n {{/if}}\\n\\n
    \\n
    \\n \\n\\n \\n
    \\n
    \\n \\n
    \\n
    \",{ moduleName: \"customer-site/enterprise/settings/auto-relock/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:default as |data|>\\n \\n

    {{tc this \\'forAllProperties\\'}}

    \\n\\n
    \\n \\n\\n
    \\n

    {{tc this \\'startingAt\\'}}

    \\n \\n
    \\n\\n \\n
    \\n \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/automatic-panel-arming/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n

    \\n {{tc this \\'pageDescription\\'}}\\n

    \\n\\n \\n\\n
    \\n \\n
    \\n
    \\n\\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/automatically-enable-background-capture/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:default as |data|>\\n \\n
    \\n \\n
    \\n \\n \\n
    \\n \\n
    \\n\\n\",{ moduleName: \"customer-site/enterprise/settings/backup-codes/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n \\n\\n \\n \\n\\n \\n

    {{tc this \\'businessHourHeader\\'}}

    \\n\\n

    \\n {{tc this \\'pageDescription\\'}}\\n

    \\n\\n \\n
    \\n\\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/business-hour-templates/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/communication-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n\\n
    \\n\\n {{#if this.needLegalDisclaimer}}\\n
    \\n \\n
    \\n
    \\n {{/if}}\\n
    \\n \\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/company-logo/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n \\n
    \\n

    {{tc this \\'companyName\\'}}

    \\n \\n
    \\n \\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/company-name/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n \\n
    \\n
    \\n
    \\n
    \\n

    {{tc this \\'optionalInstruction1\\'}}

    \\n

    {{tc this \\'title\\'}}

    \\n \\n

    {{tc this \\'body\\'}}

    \\n \\n
    \\n
    \\n

    {{tc this \\'optionalInstruction2\\'}}

    \\n

    {{tc this \\'title\\'}}

    \\n \\n

    {{tc this \\'body\\'}}

    \\n \\n
    \\n
    \\n

    {{tc this \\'optionalInstruction3\\'}}

    \\n

    {{tc this \\'title\\'}}

    \\n \\n

    {{tc this \\'body\\'}}

    \\n \\n
    \\n \\n
    \\n
    \\n

    {{tc this \\'sampleEmail\\'}}

    \\n {{tc\\n
    \\n
    \\n
    \\n \\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/customize-welcome-email/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n \\n \\n
    \\n \\n \\n {{/if}}\\n \\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/delete-expired-users/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n \\n \\n

    {{tc this \\'dropdownLabel\\'}}

    \\n \\n
    \\n \\n {{/if}}\\n \\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/delete-inactive-users/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n \\n
    \\n \\n
    \\n \\n {{/if}}\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/energy-saver-rules/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/energy-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n

    {{tc this \\'pageDescription\\'}}

    \\n\\n \\n\\n \\n
    \\n\\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/guest-login-access/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n

    {{tc this \\'pageHeader\\'}}

    \\n\\n

    \\n {{tc this \\'pageDescription\\'}}\\n

    \\n\\n \\n\\n
    \\n\\n \\n\\n \\n\\n \\n\\n

    \\n {{tc this \\'featureExplanation\\'}}\\n

    \\n\\n
    \\n \\n
    \\n
    \\n\\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/house-ready-early/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/settings/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n
    \\n

    {{@pageHeader}}

    \\n
    \\n {{#unless this.hideShowAllTemplatesButton}}\\n \\n {{/unless}}\\n {{#if this.hasLoginTemplatesEditAccess}}\\n \\n {{/if}}\\n
    \\n
    \\n\\n

    {{@pageDescription}}

    \\n
    \\n
    \\n

    {{t \\'generic.name\\'}}

    \\n

    {{t \\'generic.description\\'}}

    \\n

    {{tc this \\'lastUpdated\\'}}

    \\n

    \\n
    \\n {{#each this.itemsToShow as |itemToShow|}}\\n \\n

    {{itemToShow.template.name}}

    \\n

    {{itemToShow.template.description}}

    \\n

    {{itemToShow.template.lastUpdatedLocal}}

    \\n \\n {{/each}}\\n
    \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/settings/login-template-list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { A } from '@ember/array';\nimport { action, computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport ActionItem, { DeleteActionItem, EditActionItem } from '@adc/ui-components/utils/action-item';\n\nimport './_style.scss';\nimport type { SyncHasMany } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type LoginTemplate from 'customer-site/models/enterprise/settings/login-template';\n\ninterface LoginTemplateListSignature {\n Args: {\n items: SyncHasMany;\n pageHeader: string;\n pageDescription: string;\n editTemplate: (arg: string) => void;\n newTemplate: VoidFunction;\n copyTemplate: (arg: LoginTemplate) => void;\n deleteTemplate: (arg: LoginTemplate) => void;\n hideTemplate: (arg: LoginTemplate) => void;\n showAllTemplates: VoidFunction;\n };\n}\n\n/**\n * Displays a list of templates with a name and description.\n */\n@intlPath({ path: 'enterprise.settings.login-template-list' })\nexport default class LoginTemplateList extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n @reads('contextManager.identityModel.hasCopyTemplateAccess')\n declare hasCopyTemplateAccess: boolean;\n\n @reads('identityManager.identityModel.hasLoginTemplatesEditAccess')\n declare hasLoginTemplatesEditAccess: boolean;\n\n /**\n * The login templates and action buttons that should show up on the UI.\n */\n @computed('args.items.@each.isHidden')\n get itemsToShow(): { template: LoginTemplate; actionItems: ActionItem[] }[] {\n return (this.args.items ?? [])\n .filter((item) => !item.isHidden)\n .map((template) => {\n // At the moment, we can only copy login templates if we have the ember logins beta\n // enrolled for the group.\n const { intl, hasCopyTemplateAccess, hasLoginTemplatesEditAccess } = this;\n\n const actionItems = A([\n EditActionItem.create({\n action: () => this.args.editTemplate(template.id)\n }),\n hasCopyTemplateAccess && hasLoginTemplatesEditAccess\n ? ActionItem.create({\n text: intl.tc(this, 'copyTemplate'),\n iconTitle: intl.tc(this, 'copyTemplate'),\n icon: 'copy',\n className: 'copy-template',\n action: () => this.args.copyTemplate(template)\n })\n : undefined,\n hasLoginTemplatesEditAccess\n ? template.canBeDeleted\n ? DeleteActionItem.create({\n action: () => this.args.deleteTemplate(template),\n disabled: !template.canBeDeleted\n })\n : ActionItem.create({\n text: intl.tc(this, 'hideTemplate'),\n iconTitle: intl.tc(this, 'hideTemplate'),\n icon: 'invisible',\n className: 'view-template',\n action: () => this.args.hideTemplate(template)\n })\n : undefined\n ]).compact();\n\n return {\n template,\n actionItems\n };\n });\n }\n\n /**\n * Whether we should show the 'Show All Templates' button. Only show this button if templates\n * have been hidden.\n */\n @computed('itemsToShow.[]', 'args.items.[]')\n get hideShowAllTemplatesButton(): boolean {\n // By default, don't show the show all templates button.\n const { itemsToShow } = this,\n { items } = this.args;\n return !items || !itemsToShow || itemsToShow.length === items.length;\n }\n\n /**\n * Show all the templates in the UI. For each template passed into this component, change its property\n * of isHidden to be false to allow it to appear in the UI.\n */\n @action\n showAll(): void {\n // Need to check the permission again just in case the user used the debugger to re-enable the button.\n if (this.hasLoginTemplatesEditAccess) {\n this.args.showAllTemplates();\n this.args.items.forEach((item: LoginTemplate) => (item.isHidden = false));\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::LoginTemplateList': typeof LoginTemplateList;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#each this.loginTemplateTypeProperties as |loginTemplateProperties|}}\\n \\n{{/each}}\",{ moduleName: \"customer-site/enterprise/settings/login-templates/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/managed-account-access/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n \\n {{tc\\n

    {{tc this \\\"assignMobileBadgeToResidentsDescription\\\"}}

    \\n\\n
    \\n\\n
    \\n \\n
    \\n\\n
    \\n \\n {{/if}}\\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/mobile-badge/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n
    \\n

    {{tc this \\'selectLocations\\'}}

    \\n \\n
    \\n
    \\n \\n
    \\n
    \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/new-business-hour-templates/apply/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n {{#each (array 1 2 3 4 5 6 0) as |day|}}\\n
    \\n {{/each}}\\n
    \\n \\n
    \\n
    \\n
    \\n {{tc this \\'employeeArrival\\'}}\\n
    \\n
    \\n
    \\n {{tc this \\'businessHours\\'}}\\n
    \\n
    \\n
    \\n {{tc this \\'employeeDeparture\\'}}\\n
    \\n
    \\n\\n \\n\\n

    {{this.currentSelectedDay}}

    \\n
    \\n \\n \\n
    \\n
    \\n
    \\n

    {{tc this \\'employeeArrival\\'}}

    \\n
    \\n \\n \\n
    \\n
    \\n
    \\n

    {{tc this \\'businessHours\\'}}

    \\n
    \\n \\n \\n
    \\n
    \\n
    \\n

    {{tc this \\'employeeDeparture\\'}}

    \\n
    \\n \\n \\n
    \\n
    \\n {{#if this.hasConflicts }}\\n
    {{tc this \\'conflictMessage\\'}}
    \\n {{/if}}\\n
    \\n \\n \\n

    {{this.copyHoursText}}

    \\n
    \\n \\n \\n\\n \\n
    \",{ moduleName: \"customer-site/components/enterprise/settings/edit-business-hour-templates-timetable/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { MINUTES_IN_DAY, MINUTES_IN_WEEK } from '@adc/ember-utils/constants/time';\nimport { action, computed, setProperties } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { intlPath } from '@adc/i18n/path';\nimport CheckboxTreeItem, { SELECTED } from '@adc/ui-components/utils/checkbox-tree-item';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type BusinessHourDay from '@adc/login-setup-addon/models/settings/business-hours/day/business-hour-day';\nimport type { SafeString } from '@ember/template/-private/handlebars';\nimport type BusinessHourTemplate from 'customer-site/models/enterprise/settings/business-hour-template';\nimport type ContextManager from 'customer-site/services/context-manager';\n\nexport const DEFAULT_ARRIVAL_START_TIME = 360,\n DEFAULT_ARRIVAL_END_TIME = 420,\n DEFAULT_BUSINESS_START_TIME = 420,\n DEFAULT_BUSINESS_END_TIME = 1140,\n DEFAULT_DEPARTURE_START_TIME = 1140,\n DEFAULT_DEPARTURE_END_TIME = 1200;\n\ninterface EditBusinessHoursTimetableSignature {\n Args: {\n enableHasChanged: () => void;\n updatePreview: (day: string) => void;\n initialOpenForBusinessStates: boolean[];\n selectedPreviewDay: BusinessHourDay;\n\n model: {\n businessHourTemplate: BusinessHourTemplate;\n };\n };\n}\n\nenum TimeSelectionsEnum {\n arrivalStart,\n arrivalEnd,\n businessHoursStart,\n businessHoursEnd,\n departureStart,\n departureEnd\n}\n\n/**\n * Convert the day minutes (0 - 2160) to a localized time string. If greater than 1440,\n * it indicates that it takes place in the next day.\n *\n * @param dayMinutes - Number of elapsed minutes from the beginning of day.\n * @param intl Dependency inject ADCIntlService.\n */\nexport function dayMinutesToTimeString(dayMinutes: number, intl: ADCIntlService): string {\n // If we recieve an undefined value, default to a blank time.\n if (!dayMinutes && dayMinutes != 0) {\n return '--:--';\n }\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line @adc/ember/require-tz-functions\n return intl.formatDate(new Date(0, 0, 2, 0, dayMinutes), { format: 'shortTimeFormat' });\n}\n\n/**\n * Displays the business hours as a weekly view.\n *\n * @class EditBusinessHoursTimetable\n * @extends Component\n *\n * @param {NativeArray}\n */\n@intlPath({ path: 'enterprise/settings/edit-business-hour-templates-timetable' })\nexport default class EditBusinessHoursTimetable extends Component {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n\n // CSS Timeblock Class Names\n ARRIVAL_CLASS = ' arrival';\n BUSINESS_HOURS_CLASS = ' business';\n DEPARTURE_CLASS = ' departure';\n HIDDEN_CLASS = ' hidden';\n CONFLICT_CLASS = ' conflict';\n HIDELABEL_CLASS = ' hide-label';\n\n /**\n * Used as a pseudo-computed property so that we can update the schedule\n * when it's hours have been updated.\n */\n @tracked\n didUpdateHours = false;\n\n @tracked\n showEditTimeblockPopover = false;\n\n @tracked\n showCopyTimeblockPopover = false;\n\n /**\n * Should we show the time block popover?\n */\n @tracked showTimeblockPopover = false;\n\n /**\n * The value of the currently selected day\n */\n @tracked\n selectedDay = 0;\n\n /**\n * The ID of the currently selected time block\n *\n * @type {number}\n */\n @tracked\n selectedTimeBlockId?: number;\n\n /**\n * List of the days to copy to when the copyBusinessHours action executes\n */\n @tracked\n daysToCopyTo: number[] = [];\n\n @alias('args.model.businessHourTemplate')\n declare businessHourData: BusinessHourTemplate;\n\n // TODO: Update intervals to dynamically respond to each other and prevent overlap\n @tracked\n dropdownArrivalStartIntervals = this.getTimes(TimeSelectionsEnum.arrivalStart);\n\n @tracked\n dropdownArrivalEndIntervals = this.getTimes(TimeSelectionsEnum.arrivalEnd);\n\n @tracked\n dropdownBusinessStartIntervals = this.getTimes(TimeSelectionsEnum.businessHoursStart);\n\n @tracked\n dropdownBusinessEndIntervals = this.getTimes(TimeSelectionsEnum.businessHoursEnd);\n\n @tracked\n dropdownDepartureStartIntervals = this.getTimes(TimeSelectionsEnum.departureStart);\n\n @tracked\n dropdownDepartureEndIntervals = this.getTimes(TimeSelectionsEnum.departureEnd);\n\n @tracked\n declare arrivalStartHasConflicts: boolean;\n\n @tracked\n declare arrivalEndHasConflicts: boolean;\n\n @tracked\n declare businessHoursStartHasConflicts: boolean;\n\n @tracked\n declare businessHoursEndHasConflicts: boolean;\n\n @tracked\n declare departureStartHasConflicts: boolean;\n\n @tracked\n declare departureEndHasConflicts: boolean;\n\n /**\n * List of options in copy modal.\n */\n @computed('selectedDay')\n get copyTimeblockDayOptions(): CheckboxTreeItem[] {\n return [\n CheckboxTreeItem.create({\n name: this.intl.tc(this, 'pleaseSelect'),\n isSelectable: false,\n showAllNoneSelectors: true,\n subitems: ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'].map(\n (key, idx) => {\n const day = idx === 6 ? 0 : idx + 1;\n\n return CheckboxTreeItem.create({\n name: this.intl.tc(this, key),\n value: String(day),\n isSelectable: true,\n disabled: this.selectedDay === day\n });\n }\n )\n })\n ];\n }\n\n /**\n * The BusinessHourDay object associated with the currently selected day\n *\n * @type {BusinessHourDay}\n */\n @computed('selectedDay', 'businessHourData.businessHourDays')\n get currentBusinessHourDay(): BusinessHourDay {\n return this.businessHourData.businessHourDays[this.selectedDay];\n }\n\n /**\n * Return the currently selected day as the translated string\n */\n @computed('selectedDay')\n get currentSelectedDay() {\n const weekArray = [\n 'sundayHeader',\n 'mondayHeader',\n 'tuesdayHeader',\n 'wednesdayHeader',\n 'thursdayHeader',\n 'fridayHeader',\n 'saturdayHeader'\n ];\n return this.intl.tc(this, weekArray[this.selectedDay]);\n }\n /**\n * Schedule to be rendered into the grid\n *\n * @type {NativeArray}\n */\n @computed(\n 'businessHourData.{businessHourDays.@each.locationOpenForBusiness,enabled}',\n 'didUpdateHours',\n 'args.initialOpenForBusinessStates',\n 'ARRIVAL_CLASS',\n 'BUSINESS_HOURS_CLASS',\n 'DEPARTURE_CLASS',\n 'HIDDEN_CLASS',\n 'CONFLICT_CLASS',\n 'HIDELABEL_CLASS'\n )\n get scheduleElements() {\n const timeblocks = this.businessHourData.businessHourDays\n .filter((businessHourDay) => businessHourDay.locationOpenForBusiness)\n .flatMap((businessHourDay: BusinessHourDay) => {\n const day = parseInt(businessHourDay.day),\n arrivalStartTime = businessHourDay.hours['EmployeeArrival'].StartTime,\n arrivalEndTime = businessHourDay.hours['EmployeeArrival'].EndTime,\n businessStartTime = businessHourDay.hours['OpenForBusiness'].StartTime,\n businessEndTime = businessHourDay.hours['OpenForBusiness'].EndTime,\n departureStartTime = businessHourDay.hours['EmployeeDeparture'].StartTime,\n departureEndTime = businessHourDay.hours['EmployeeDeparture'].EndTime;\n\n // Initialize standard timeblocks and hide those that are not valid.\n return [\n {\n id:\n arrivalStartTime +\n MINUTES_IN_DAY * day +\n (arrivalStartTime < arrivalEndTime ? this.ARRIVAL_CLASS : this.HIDDEN_CLASS) +\n (arrivalEndTime - arrivalStartTime < 60 ? this.HIDELABEL_CLASS : ''),\n day: day,\n startMinutesLocal: arrivalStartTime + MINUTES_IN_DAY * day,\n endMinutesLocal: arrivalEndTime + MINUTES_IN_DAY * day\n },\n {\n id:\n businessStartTime +\n MINUTES_IN_DAY * day +\n (businessStartTime < businessEndTime ? this.BUSINESS_HOURS_CLASS : this.HIDDEN_CLASS) +\n (businessEndTime - businessStartTime < 60 ? this.HIDELABEL_CLASS : ''),\n day: day,\n startMinutesLocal: businessStartTime + MINUTES_IN_DAY * day,\n endMinutesLocal: businessEndTime + MINUTES_IN_DAY * day\n },\n {\n id:\n departureStartTime +\n MINUTES_IN_DAY * day +\n (departureStartTime < departureEndTime ? this.DEPARTURE_CLASS : this.HIDDEN_CLASS) +\n (departureEndTime - departureStartTime < 60 ? this.HIDELABEL_CLASS : ''),\n day: day,\n startMinutesLocal: departureStartTime + MINUTES_IN_DAY * day,\n endMinutesLocal: departureEndTime + MINUTES_IN_DAY * day\n }\n ];\n });\n\n const conflictTimeblocks = [];\n const times = timeblocks.flatMap((x) => [x.startMinutesLocal, x.endMinutesLocal]);\n\n const HALF_DAY = MINUTES_IN_DAY * 0.5 + 20;\n\n // To handle conflicts between Saturday timeblocks and Sunday timeblocks,\n // add MINUTES_IN_WEEK to each time from sunday and append it to a separate list of times.\n const timesPlusSunday = [...times],\n sundayTimes = times.filter((time) => time < HALF_DAY).map((time) => time + MINUTES_IN_WEEK);\n timesPlusSunday.push(...sundayTimes);\n\n // Draw a red timeblock everywhere where one time is greater than its next x times.\n for (let i = 0; i < times.length; i++) {\n const day = Math.floor(times[i] / MINUTES_IN_DAY);\n // Conflicts are only possible til 12:20pm the next day.\n const conflictDelta = day * MINUTES_IN_DAY + MINUTES_IN_DAY + HALF_DAY;\n\n // Variable to store the start time for conflict timeblocks\n // occurring between day 0 (Sunday) and day 6 (Saturday)\n let start;\n const end = times[i];\n\n // Find start and end of red boxes.\n for (let j = i; j < timesPlusSunday.length; j++) {\n if (timesPlusSunday[j] < times[i] || this.startTimeEqualsEndTime(i, j, times)) {\n // If there is a conflict, update start.\n // If start is not set, we now know where the red box begins.\n // Otherwise, check if the red box should be expanded to an earlier time.\n start = start ? Math.min(start, timesPlusSunday[j]) : timesPlusSunday[j];\n\n // Continue through all j because we can't prove that future values in the collidable set are not going to conflict without comparing them.\n } else if (timesPlusSunday[j] > conflictDelta) {\n break;\n }\n }\n\n if (start != undefined && end != undefined) {\n conflictTimeblocks.push({\n id: start + this.CONFLICT_CLASS,\n day: day,\n startMinutesLocal: start,\n endMinutesLocal: end\n });\n start = undefined;\n }\n }\n return timeblocks.concat(conflictTimeblocks);\n }\n\n /**\n * Format copy modal header\n */\n get copyHoursText(): SafeString {\n return htmlSafe(\n this.intl.tc(this, 'copyHoursDesc', {\n dayOfWeek: this.currentSelectedDay\n })\n );\n }\n\n /**\n * Create a new time block on the specified day at the specified time. Then trigger the selectTimeBlock action.\n *\n * @param {number} dayNum - Day number of the week that was clicked.\n */\n @action\n createTimeBlock(dayNum: number): void {\n if (this.businessHourData.enabled && !this.args.model.businessHourTemplate.isReadOnly) {\n const useDefaultValues = !this.args.initialOpenForBusinessStates[dayNum],\n day = this.businessHourData.businessHourDays[dayNum];\n\n setProperties(day, {\n locationOpenForBusiness: true,\n hours: {\n EmployeeArrival: {\n StartTime: useDefaultValues\n ? DEFAULT_ARRIVAL_START_TIME\n : day.hours['EmployeeArrival'].StartTime,\n EndTime: useDefaultValues ? DEFAULT_ARRIVAL_END_TIME : day.hours['EmployeeArrival'].EndTime\n },\n OpenForBusiness: {\n StartTime: useDefaultValues\n ? DEFAULT_BUSINESS_START_TIME\n : day.hours['OpenForBusiness'].StartTime,\n EndTime: useDefaultValues ? DEFAULT_BUSINESS_END_TIME : day.hours['OpenForBusiness'].EndTime\n },\n EmployeeDeparture: {\n StartTime: useDefaultValues\n ? DEFAULT_DEPARTURE_START_TIME\n : day.hours['EmployeeDeparture'].StartTime,\n EndTime: useDefaultValues ? DEFAULT_DEPARTURE_END_TIME : day.hours['EmployeeDeparture'].EndTime\n }\n }\n });\n\n this.selectTimeBlock.call(this, day.hours['OpenForBusiness'].StartTime + MINUTES_IN_DAY * dayNum);\n\n this.args.updatePreview(this.args.selectedPreviewDay.day);\n this.args.enableHasChanged();\n }\n }\n\n /**\n * Show / hide the Copy Business Hours popover\n */\n @action\n toggleCopyTimeblockPopover(): void {\n this.showCopyTimeblockPopover = !this.showCopyTimeblockPopover;\n }\n\n /**\n * Sets the given day's business hours to \"Closed for Business\"\n * and removes that day's timeblocks from the schedule component\n */\n @action\n closeBusinessOnDay(): void {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay], {\n locationOpenForBusiness: false\n });\n\n this.showEditTimeblockPopover = !this.showEditTimeblockPopover;\n this.args.enableHasChanged();\n this.args.updatePreview(this.args.selectedPreviewDay.day);\n }\n\n /**\n * Propagate the click action up to the parent.\n *\n * @param {string} timeBlockId - Id of the time block that was clicked.\n */\n @action\n timeBlockClicked(timeBlockId: string) {\n this.selectTimeBlock.call(this, parseInt(timeBlockId, 10));\n }\n\n /**\n * Update the schedule component in response to a change in the Arrival Start Time dropdown\n */\n @action\n selectedArrivalStartTimeChanged(time: string) {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay].hours['EmployeeArrival'], {\n StartTime: Number(time)\n });\n\n this.performUpdateActions();\n }\n\n /**\n * Update the schedule component in response to a change in the Arrival End Time dropdown\n */\n @action\n selectedArrivalEndTimeChanged(time: string) {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay].hours['EmployeeArrival'], {\n EndTime: Number(time)\n });\n\n this.performUpdateActions();\n }\n\n /**\n * Update the schedule component in response to a change in the Business Start Time dropdown\n */\n @action\n selectedBusinessStartTimeChanged(time: string) {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay].hours['OpenForBusiness'], {\n StartTime: Number(time)\n });\n\n this.performUpdateActions();\n }\n\n /**\n * Update the schedule component in response to a change in the Business End Time dropdown\n */\n @action\n selectedBusinessEndTimeChanged(time: string) {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay].hours['OpenForBusiness'], {\n EndTime: Number(time)\n });\n\n this.performUpdateActions();\n }\n\n /**\n * Update the schedule component in response to a change in the Departure Start Time dropdown\n */\n @action\n selectedDepartureStartTimeChanged(time: string) {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay].hours['EmployeeDeparture'], {\n StartTime: Number(time)\n });\n\n this.performUpdateActions();\n }\n\n /**\n * Update the schedule component in response to a change in the Departure End Time dropdown\n */\n @action\n selectedDepartureEndTimeChanged(time: string) {\n setProperties(this.businessHourData.businessHourDays[this.selectedDay].hours['EmployeeDeparture'], {\n EndTime: Number(time)\n });\n\n this.performUpdateActions();\n }\n\n /**\n * Update the daysToCopyTo property each time a box in the Copy popover is checked or unchecked\n */\n @action\n async selectionChanged(checkboxTree: Array): Promise {\n this.daysToCopyTo = checkboxTree\n .flatMap((parent) => parent.subitems)\n .filterBy('state', SELECTED)\n .map((item) => parseInt(item.value));\n }\n\n /**\n * Apply the current day's timeblocks to each day selected in the Copy popover\n */\n @action\n copyBusinessHours(): void {\n const { businessHourDays } = this.businessHourData,\n dayToCopy = businessHourDays[this.selectedDay];\n\n this.daysToCopyTo.forEach((element) => {\n setProperties(businessHourDays[element], {\n hours: JSON.parse(JSON.stringify(dayToCopy.hours)),\n locationOpenForBusiness: dayToCopy.locationOpenForBusiness\n });\n });\n\n this.didUpdateHours = !this.didUpdateHours;\n this.args.enableHasChanged();\n this.toggleCopyTimeblockPopover();\n this.daysToCopyTo = [];\n this.args.updatePreview(this.args.selectedPreviewDay.day);\n this.showEditTimeblockPopover = false;\n }\n\n /**\n * Select a time block so the user is presented with the time block popover.\n *\n * @param timeBlockId\n *\n * @private\n * @instance\n *\n * @memberof components.settings.business-hours.edit-business-hours-timetable.EditBusinessHoursTimetable\n */\n private selectTimeBlock(timeBlockId: number): void {\n const scheduleElements = this.scheduleElements,\n selectedTimeBlock = scheduleElements?.findBy('startMinutesLocal', timeBlockId);\n\n // If there is no time block to select or business hours are disabled, return\n if (!selectedTimeBlock || !this.businessHourData.enabled) {\n return;\n }\n\n const { startMinutesLocal, day } = selectedTimeBlock;\n\n setProperties(this, {\n selectedDay: day,\n selectedTimeBlockId: startMinutesLocal,\n showEditTimeblockPopover: true\n });\n this.updateConflictsForCurrentBusinessDay();\n }\n\n /**\n * Get times from 12:00 AM to 12PM the next day in ten minute increments.\n *\n * @param timeBlockId\n *\n * @private\n * @instance\n *\n * @memberof components.settings.business-hours.edit-business-hours-timetable.EditBusinessHoursTimetable\n */\n private getTimes(time: TimeSelectionsEnum): DropdownSelectItem[] {\n const minuteValues = [];\n let offset = 0;\n\n for (let i = 0; i <= MINUTES_IN_DAY * 1.5 + 30; i = i + 10) {\n // Adjust range per timespan.\n switch (time) {\n case TimeSelectionsEnum.arrivalStart: {\n if (i > MINUTES_IN_DAY * 1.5 - 10) {\n continue;\n }\n break;\n }\n case TimeSelectionsEnum.arrivalEnd:\n case TimeSelectionsEnum.businessHoursStart: {\n offset = 10;\n if (i == 0 || i > MINUTES_IN_DAY - 40) {\n continue;\n }\n break;\n }\n case TimeSelectionsEnum.businessHoursEnd:\n case TimeSelectionsEnum.departureStart: {\n offset = 20;\n if (i < offset || i > MINUTES_IN_DAY * 1.5 + 10) {\n continue;\n }\n break;\n }\n case TimeSelectionsEnum.departureEnd: {\n offset = 30;\n if (i < offset || i > MINUTES_IN_DAY * 1.5 + 20) {\n continue;\n }\n break;\n }\n }\n\n // Push time into dropdown list.\n if (i > MINUTES_IN_DAY - 1) {\n minuteValues.push(\n this.intl.tc(this, 'theNextDay', {\n timeOfDay: dayMinutesToTimeString(i, this.intl)\n })\n );\n } else {\n minuteValues.push(dayMinutesToTimeString(i, this.intl));\n }\n }\n\n return minuteValues.map((name, idx) =>\n DropdownSelectItem.create({\n name,\n value: String(idx * 10 + offset)\n })\n );\n }\n\n /**\n * Returns a day's times as an array which can be iterated through.\n * @param day The number of the day. Supports any amount of wraparound.\n */\n private getArrayOfDaysTimes(day: number) {\n // Convert any given day number into the proper range (0-6) using modulus.\n const businessHourDay = this.businessHourData.businessHourDays[((day % 7) + 7) % 7];\n if (businessHourDay?.locationOpenForBusiness) {\n return [\n businessHourDay.hours['EmployeeArrival'].StartTime,\n businessHourDay.hours['EmployeeArrival'].EndTime,\n businessHourDay.hours['OpenForBusiness'].StartTime,\n businessHourDay.hours['OpenForBusiness'].EndTime,\n businessHourDay.hours['EmployeeDeparture'].StartTime,\n businessHourDay.hours['EmployeeDeparture'].EndTime\n ];\n }\n return [];\n }\n\n @computed(\n 'arrivalStartHasConflicts',\n 'arrivalEndHasConflicts',\n 'businessHoursStartHasConflicts',\n 'businessHoursEndHasConflicts',\n 'departureStartHasConflicts',\n 'departureEndHasConflicts'\n )\n get hasConflicts(): boolean {\n return (\n this.arrivalStartHasConflicts ||\n this.arrivalEndHasConflicts ||\n this.businessHoursStartHasConflicts ||\n this.businessHoursEndHasConflicts ||\n this.departureStartHasConflicts ||\n this.departureEndHasConflicts\n );\n }\n\n private resetConflicts() {\n // Prepare to recalculate conflicts.\n this.arrivalStartHasConflicts = false;\n this.arrivalEndHasConflicts = false;\n this.businessHoursStartHasConflicts = false;\n this.businessHoursEndHasConflicts = false;\n this.departureStartHasConflicts = false;\n this.departureEndHasConflicts = false;\n }\n\n /**\n * Updates computed values, enables save buttons, calculates conflicts, and updates preview.\n */\n private performUpdateActions() {\n this.didUpdateHours = !this.didUpdateHours;\n this.updateConflictsForCurrentBusinessDay();\n this.args.updatePreview(this.args.selectedPreviewDay.day);\n this.args.enableHasChanged();\n }\n\n /**\n * Update time selection conflicts for a given business day.\n * @remarks The computed properties are not working on business-hour-day so we're doing it here.\n * @param day The number of the day; 0-6; Monday-Sunday\n */\n private updateConflictsForCurrentBusinessDay() {\n // Must recalculate conflicts.\n this.resetConflicts();\n\n // Extract what we need from business hour days. Load previous and next days.\n const currentDayTimes = this.getArrayOfDaysTimes(this.selectedDay);\n const previousDayTimes = this.getArrayOfDaysTimes(this.selectedDay - 1);\n const nextDayTimes = this.getArrayOfDaysTimes(this.selectedDay + 1);\n\n // Iterate through six timespans for the day, comparing to self, previous day, and next day.\n for (let i = 0; i < currentDayTimes.length; i++) {\n for (let j = 0; j < currentDayTimes.length; j++) {\n // Check against times from previous day.\n if (\n j < previousDayTimes.length &&\n previousDayTimes[j] > MINUTES_IN_DAY &&\n previousDayTimes[j] % MINUTES_IN_DAY > currentDayTimes[i]\n ) {\n this.enableTimeConflict(i);\n }\n\n // Check against times within this day.\n if (\n i < j &&\n (currentDayTimes[i] > currentDayTimes[j] || this.startTimeEqualsEndTime(i, j, currentDayTimes))\n ) {\n this.enableTimeConflict(i);\n this.enableTimeConflict(j);\n }\n\n // Check against times from next day.\n if (\n j < nextDayTimes.length &&\n currentDayTimes[i] > MINUTES_IN_DAY &&\n currentDayTimes[i] % MINUTES_IN_DAY > nextDayTimes[j]\n ) {\n this.enableTimeConflict(i);\n }\n }\n }\n }\n\n /**\n * Somewhat like the inverse of getArrayOfDayTimes. Converts index back to time selection and sets the boolean value.\n * @param day The index of the day to be updated (usually currently selected day)\n * @param index The index of the time (from getArrayOfDayTimes)\n */\n private enableTimeConflict(index: number) {\n switch (index) {\n case 0:\n this.arrivalStartHasConflicts = true;\n break;\n case 1:\n this.arrivalEndHasConflicts = true;\n break;\n case 2:\n this.businessHoursStartHasConflicts = true;\n break;\n case 3:\n this.businessHoursEndHasConflicts = true;\n break;\n case 4:\n this.departureStartHasConflicts = true;\n break;\n case 5:\n this.departureEndHasConflicts = true;\n break;\n }\n }\n\n /**\n * Determines if we have encountered start and end times of a single timeblock\n * that are equal to each other.\n * @param startIndex The index of the begining of the passed in timeframe\n * @param endIndex The index of the end of the passed in timeframe\n * @param times Array of time values (in minutes)\n */\n private startTimeEqualsEndTime(startIndex: number, endIndex: number, times: number[]) {\n return endIndex == startIndex + 1 && startIndex % 2 == 0 && times[startIndex] == times[endIndex];\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::EditBusinessHourTemplatesTimetable': typeof EditBusinessHoursTimetable;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{#unless this.scheduleComponentsHidden}}\\n {{!-- Timetable --}}\\n \\n {{!-- Exception and Alert Preview Dropdown --}}\\n
    \\n \\n {{#if this.expandExceptionAndAlertPreview}}\\n
    \\n
    \\n \\n
    \\n
    \\n {{#if this.selectedPreviewDay.locationOpenForBusiness}}\\n {{tc this \\'openedOnTime\\'}}

    {{get this.previewLabels 0}}

    \\n {{tc this \\'openedLate\\'}}

    {{get this.previewLabels 1}}

    \\n {{#if (eq this.countOfDaysWithHours 1)}}\\n {{tc this \\'openedUnexpectedly\\'}}

    {{get this.previewLabels 11}}

    \\n {{else}}\\n {{tc this \\'openedUnexpectedly\\'}}

    {{get this.previewLabels 2}}

    \\n {{/if}}\\n
    \\n {{tc this \\'notOpenedOnTime\\'}}

    {{get this.previewLabels 3}}

    \\n
    \\n {{tc this \\'closedOnTime\\'}}

    {{get this.previewLabels 4}}

    \\n {{tc this \\'closedEarly\\'}}

    {{get this.previewLabels 5}}

    \\n {{tc this \\'closedLate\\'}}

    {{get this.previewLabels 6}}

    \\n {{#if (eq this.countOfDaysWithHours 1)}}\\n {{tc this \\'closedUnexpectedly\\'}}

    {{get this.previewLabels 12}}

    \\n {{else}}\\n {{tc this \\'closedUnexpectedly\\'}}

    {{get this.previewLabels 7}}

    \\n {{/if}}\\n
    \\n {{tc this \\'notClosedOnTime\\'}}

    {{get this.previewLabels 8}}

    \\n {{else}}\\n {{#if (eq this.countOfDaysWithHours 1)}}\\n {{tc this \\'openedUnexpectedly\\'}}

    {{get this.previewLabels 11}}

    \\n {{tc this \\'closedUnexpectedly\\'}}

    {{get this.previewLabels 12}}

    \\n {{else if (eq this.countOfDaysWithHours 0)}}\\n {{tc this \\'openedUnexpectedly\\'}}

    {{tc this \\'openedUnexpectedlyBlank\\'}}

    \\n {{tc this \\'closedUnexpectedly\\'}}

    {{tc this \\'closedUnexpectedlyBlank\\'}}

    \\n {{else}}\\n {{tc this \\'openedUnexpectedly\\'}}

    {{get this.previewLabels 9}}

    \\n {{tc this \\'closedUnexpectedly\\'}}

    {{get this.previewLabels 10}}

    \\n {{/if}}\\n {{/if}}\\n
    \\n
    \\n {{/if}}\\n
    \\n\\n \\n {{/unless}}\\n
    \",{ moduleName: \"customer-site/components/enterprise/settings/edit-business-hour-templates/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { MINUTES_IN_DAY } from '@adc/ember-utils/constants/time';\nimport { action, computed, setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport CustomerKnowledgeBase from 'customer-site/enums/CustomerKnowledgeBase';\nimport { buildKnowledgeBaseURL } from 'customer-site/helpers/knowledge-base-link';\nimport { intlPath } from '@adc/i18n/path';\nimport { dayMinutesToTimeString } from '@adc/login-setup-addon/components/settings/business-hours/edit-business-hours-timetable';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\nimport {\n DEFAULT_ARRIVAL_END_TIME,\n DEFAULT_ARRIVAL_START_TIME,\n DEFAULT_BUSINESS_END_TIME,\n DEFAULT_BUSINESS_START_TIME,\n DEFAULT_DEPARTURE_END_TIME,\n DEFAULT_DEPARTURE_START_TIME\n} from '../edit-business-hour-templates-timetable/index';\n\nimport type { SafeString } from 'handlebars';\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type BusinessHourDay from '@adc/login-setup-addon/models/settings/business-hours/day/business-hour-day';\nimport type BusinessHourTemplate from 'customer-site/models/enterprise/settings/business-hour-template';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface EditBusinessHoursSignature {\n Args: {\n saveAction: () => Promise;\n model: {\n businessHourTemplate: BusinessHourTemplate;\n };\n cancelAction: VoidFunction;\n };\n}\n\n/**\n * Shows edit view for Business Hours\n */\n@intlPath({ path: 'enterprise/settings/edit-business-hour-templates' })\nexport default class EditBusinessHours extends Component {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n\n /**\n * Whether to show exception and alert preview\n */\n @tracked\n expandExceptionAndAlertPreview = false;\n\n /**\n * Whether there are unsaved changes.\n */\n @tracked\n hasChanged = false;\n\n @computed('hasChanged', 'args.model.businessHourTemplate.businessHourDays.@each.hours')\n get canSave(): boolean {\n return this.hasChanged && document.querySelector('.conflict') == null;\n }\n\n /**\n * Gets the enabled / disabled status of the business hours model\n */\n get businessHoursEnabled(): boolean {\n return this.args.model.businessHourTemplate.enabled;\n }\n\n /**\n * Whether the schedule component should be visible or not\n * @note This will only be true when business hours have been saved as \"disabled\"\n */\n @tracked\n scheduleComponentsHidden = !this.args.model.businessHourTemplate.enabled;\n\n /**\n * Whether the business hours enabled / disabled toggle should\n * be toggleable or not\n */\n @tracked\n toggleDisabled = true;\n\n /**\n * Stores the open / closed status for each day of the week\n * as of the most recent save\n */\n @tracked initialOpenForBusinessStates = this.getInitialOpenForBusinessStates();\n\n /**\n * Gets the business hour days\n */\n get businessHourDays() {\n return this.args.model.businessHourTemplate.businessHourDays;\n }\n\n /**\n * Currently selected day in the preview section. Defaults to Monday.\n */\n @tracked\n selectedPreviewDay = this.businessHourDays[1];\n\n /**\n * The different time for the day that is selected for the alerts preview\n */\n @tracked\n previewIntervals = {\n openStart: this.selectedPreviewDay.hours['EmployeeArrival'].StartTime,\n openEnd: this.selectedPreviewDay.hours['EmployeeArrival'].EndTime,\n openLateStart: this.selectedPreviewDay.hours['EmployeeArrival'].EndTime,\n openLateEnd: this.selectedPreviewDay.hours['EmployeeDeparture'].StartTime,\n openUnexpectedlyStart: this.selectedPreviewDay.locationOpenForBusiness\n ? this.selectedPreviewDay.hours['EmployeeDeparture'].StartTime\n : this.getPreviousDayWithHours(this.selectedPreviewDay.day).hours['EmployeeDeparture'].StartTime,\n openUnexpectedlyEnd: this.getNextDayWithHours(this.selectedPreviewDay.day).hours['EmployeeArrival'].StartTime,\n notOpenedOnTime: this.selectedPreviewDay.hours['EmployeeArrival'].EndTime,\n closedOnTimeStart: this.selectedPreviewDay.hours['EmployeeDeparture'].StartTime,\n closedOnTimeEnd: this.selectedPreviewDay.hours['EmployeeDeparture'].EndTime,\n closedEarlyStart: this.selectedPreviewDay.hours['EmployeeArrival'].EndTime,\n closedEarlyEnd: this.selectedPreviewDay.hours['EmployeeDeparture'].StartTime,\n closedLateStart: this.selectedPreviewDay.hours['EmployeeDeparture'].EndTime,\n closedLateEnd: this.selectedPreviewDay.hours['EmployeeDeparture'].EndTime + 180,\n closedUnexpectedlyStart: this.selectedPreviewDay.locationOpenForBusiness\n ? this.selectedPreviewDay.hours['EmployeeDeparture'].EndTime + 180\n : this.getPreviousDayWithHours(this.selectedPreviewDay.day).hours['EmployeeDeparture'].EndTime + 180,\n closedUnexpectedlyEnd: this.getNextDayWithHours(this.selectedPreviewDay.day).hours['EmployeeArrival'].EndTime,\n notClosedOnTime: this.selectedPreviewDay.hours['EmployeeDeparture'].EndTime,\n currentDay: this.selectedPreviewDay.day,\n nextDay: this.getNextDayWithHours(this.selectedPreviewDay.day).day,\n previousDay: this.getPreviousDayWithHours(this.selectedPreviewDay.day).day\n };\n\n /**\n * Toggles the Exception and Alert Preview between the expanded\n * and collapsed state\n */\n @action\n toggleExpandExceptionAndAlertPreview(): void {\n this.expandExceptionAndAlertPreview = !this.expandExceptionAndAlertPreview;\n }\n\n /**\n * Navigates to the Settings page for this location\n */\n @action\n returnToSettingsPage(): void {\n this.contextManager.transitionToPreviousRoute();\n }\n\n /**\n * Allows the save button to be selected\n */\n @action\n enableHasChanged(): void {\n this.hasChanged = true;\n }\n\n /**\n * Toggles business hours between enabled and disabled\n */\n @action\n toggleBusinessHoursEnabled(): void {\n const { businessHourTemplate } = this.args.model;\n\n if ((businessHourTemplate.enabled = !businessHourTemplate.enabled)) {\n this.scheduleComponentsHidden = false;\n this.populateDefaultBusinessHours();\n }\n\n this.enableHasChanged();\n }\n\n /**\n * Populate each day in the business hours model\n */\n private populateDefaultBusinessHours(): void {\n this.args.model.businessHourTemplate.businessHourDays.forEach((day) => {\n setProperties(day, {\n locationOpenForBusiness: true,\n hours: {\n EmployeeArrival: {\n StartTime: DEFAULT_ARRIVAL_START_TIME,\n EndTime: DEFAULT_ARRIVAL_END_TIME\n },\n OpenForBusiness: {\n StartTime: DEFAULT_BUSINESS_START_TIME,\n EndTime: DEFAULT_BUSINESS_END_TIME\n },\n EmployeeDeparture: {\n StartTime: DEFAULT_DEPARTURE_START_TIME,\n EndTime: DEFAULT_DEPARTURE_END_TIME\n }\n }\n });\n });\n }\n\n /**\n * Saves the business hours currently applied to the schedule\n */\n @action\n async saveBusinessHours(): Promise {\n this.toggleDisabled = true;\n if (!this.args.model.businessHourTemplate.enabled) {\n this.closeAllDays();\n this.scheduleComponentsHidden = true;\n }\n this.initialOpenForBusinessStates = this.getInitialOpenForBusinessStates();\n await this.args.saveAction();\n this.toggleDisabled = false;\n }\n\n /**\n * Gets an array of the current open / closed status for each day\n */\n private getInitialOpenForBusinessStates(): boolean[] {\n return this.args.model.businessHourTemplate.businessHourDays.mapBy('locationOpenForBusiness');\n }\n\n /**\n * Sets locationOpenForBusiness to false for every day of the week\n */\n private closeAllDays(): void {\n this.args.model.businessHourTemplate.businessHourDays.setEach('locationOpenForBusiness', false);\n }\n\n /**\n * Updates the preview labels when the selected day is changed.\n * @param day - The selected day.\n */\n @action\n updatePreview(day: string): void {\n const selectedDay = this.args.model.businessHourTemplate.businessHourDays[Number(day)],\n nextOpenDay = this.getNextDayWithHours(day),\n previousOpenDay = this.getPreviousDayWithHours(day);\n\n setProperties(this.previewIntervals, {\n openStart: selectedDay.hours['EmployeeArrival'].StartTime,\n openEnd: selectedDay.hours['EmployeeArrival'].EndTime,\n openLateStart: selectedDay.hours['EmployeeArrival'].EndTime,\n openLateEnd: selectedDay.hours['EmployeeDeparture'].StartTime,\n openUnexpectedlyStart: selectedDay.locationOpenForBusiness\n ? selectedDay.hours['EmployeeDeparture'].StartTime\n : previousOpenDay.hours['EmployeeDeparture'].StartTime,\n openUnexpectedlyEnd: nextOpenDay.hours['EmployeeArrival'].StartTime,\n notOpenedOnTime: selectedDay.hours['EmployeeArrival'].EndTime,\n closedOnTimeStart: selectedDay.hours['EmployeeDeparture'].StartTime,\n closedOnTimeEnd: selectedDay.hours['EmployeeDeparture'].EndTime,\n closedEarlyStart: selectedDay.hours['EmployeeArrival'].EndTime,\n closedEarlyEnd: selectedDay.hours['EmployeeDeparture'].StartTime,\n closedLateStart: selectedDay.hours['EmployeeDeparture'].EndTime,\n closedLateEnd: selectedDay.hours['EmployeeDeparture'].EndTime + 180,\n closedUnexpectedlyStart: selectedDay.locationOpenForBusiness\n ? selectedDay.hours['EmployeeDeparture'].EndTime + 180\n : previousOpenDay.hours['EmployeeDeparture'].EndTime + 180,\n closedUnexpectedlyEnd: nextOpenDay.hours['EmployeeArrival'].EndTime,\n notClosedOnTime: selectedDay.hours['EmployeeDeparture'].EndTime,\n nextDay: nextOpenDay.day,\n previousDay: previousOpenDay.day\n });\n\n this.selectedPreviewDay = selectedDay;\n }\n\n /**\n * Format business hours editor description\n */\n get businessHoursEditorDescText(): SafeString {\n const link = buildKnowledgeBaseURL(\n CustomerKnowledgeBase.CommericalEnableConfigureBusinessHours,\n this.contextManager\n );\n return htmlSafe(\n this.intl.tc(this, 'businessHoursEditorDesc', {\n link\n })\n );\n }\n\n /**\n * Gets the amount of days that have business hours (are open).\n */\n @computed('args.model.businessHourTemplate.businessHourDays.@each.locationOpenForBusiness')\n get countOfDaysWithHours(): number {\n return this.args.model.businessHourTemplate.businessHourDays.filter((day) => day.locationOpenForBusiness)\n .length;\n }\n\n /**\n * A list of all the translated labels for the preview.\n */\n @computed(\n 'previewIntervals.{openStart,openEnd,openLateStart,openLateEnd,openUnexpectedlyStart,openUnexpectedlyEnd,nextDay,notOpenedOnTime,notClosedOnTime,closedOnTimeStart,closedOnTimeEnd,closedEarlyStart,closedEarlyEnd,closedLateStart,closedLateEnd,closedUnexpectedlyStart,closedUnexpectedlyEnd,previousDay}',\n 'args.model.businessHourTemplate.businessHourDays.@each.locationOpenForBusiness',\n 'selectedPreviewDay.day'\n )\n get previewLabels(): string[] {\n return [\n this.intl.tc(this, 'openedOnTimePreview', {\n employeeArrivalStartTime: dayMinutesToTimeString(this.previewIntervals.openStart, this.intl),\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.openEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.openStart),\n time2Day: this.getPreviewDayToDisplay(this.previewIntervals.openEnd)\n }),\n this.intl.tc(this, 'openedLatePreview', {\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.openLateStart, this.intl),\n employeeDepartureStartTime: dayMinutesToTimeString(this.previewIntervals.openLateEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.openLateStart),\n time2Day: this.getPreviewDayToDisplay(this.previewIntervals.openLateEnd)\n }),\n this.intl.tc(this, 'openedUnexpectedlyPreview', {\n employeeDepartureStartTime: dayMinutesToTimeString(\n this.previewIntervals.openUnexpectedlyStart,\n this.intl\n ),\n employeeArrivalStartTime: dayMinutesToTimeString(this.previewIntervals.openUnexpectedlyEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.openUnexpectedlyStart),\n time2Day: this.getDay(Number(this.previewIntervals.nextDay))\n }),\n this.intl.tc(this, 'notOpenedOnTimePreview', {\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.notOpenedOnTime, this.intl),\n day: this.getDay(Number(this.selectedPreviewDay.day))\n }),\n this.intl.tc(this, 'closedOnTimePreview', {\n employeeDepartureStartTime: dayMinutesToTimeString(this.previewIntervals.closedOnTimeStart, this.intl),\n employeeDepartureEndTime: dayMinutesToTimeString(this.previewIntervals.closedOnTimeEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.closedOnTimeStart),\n time2Day: this.getPreviewDayToDisplay(this.previewIntervals.closedOnTimeEnd)\n }),\n this.intl.tc(this, 'closedEarlyPreview', {\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.closedEarlyStart, this.intl),\n employeeDepartureStartTime: dayMinutesToTimeString(this.previewIntervals.closedEarlyEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.closedEarlyStart),\n time2Day: this.getPreviewDayToDisplay(this.previewIntervals.closedEarlyEnd)\n }),\n this.intl.tc(this, 'closedLatePreview', {\n employeeDepartureEndTime: dayMinutesToTimeString(this.previewIntervals.closedLateStart, this.intl),\n employeeDepartureEndTimePlus3: dayMinutesToTimeString(this.previewIntervals.closedLateEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.closedLateStart),\n time2Day: this.getPreviewDayToDisplay(this.previewIntervals.closedLateEnd)\n }),\n this.intl.tc(this, 'closedUnexpectedlyPreview', {\n employeeDepartureEndTimePlus3: dayMinutesToTimeString(\n this.previewIntervals.closedUnexpectedlyStart,\n this.intl\n ),\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.closedUnexpectedlyEnd, this.intl),\n time1Day: this.getPreviewDayToDisplay(this.previewIntervals.closedUnexpectedlyStart),\n time2Day: this.getDay(Number(this.previewIntervals.nextDay))\n }),\n this.intl.tc(this, 'notClosedOnTimePreview', {\n employeeDepartureEndTime: dayMinutesToTimeString(this.previewIntervals.notClosedOnTime, this.intl),\n day: this.getPreviewDayToDisplay(this.previewIntervals.notClosedOnTime)\n }),\n this.intl.tc(this, 'openedUnexpectedlyPreviewClosedBusiness', {\n employeeDepartureStartTime: dayMinutesToTimeString(\n this.previewIntervals.openUnexpectedlyStart,\n this.intl\n ),\n employeeArrivalStartTime: dayMinutesToTimeString(this.previewIntervals.openUnexpectedlyEnd, this.intl),\n nextBusinessDay: this.getDay(Number(this.previewIntervals.nextDay)),\n previousBusinessDay: this.getDay(Number(this.previewIntervals.previousDay))\n }),\n this.intl.tc(this, 'closedUnexpectedlyPreviewClosedBusiness', {\n employeeDepartureEndTimePlus3: dayMinutesToTimeString(\n this.previewIntervals.closedUnexpectedlyStart,\n this.intl\n ),\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.closedUnexpectedlyEnd, this.intl),\n nextBusinessDay: this.getDay(Number(this.previewIntervals.nextDay)),\n previousBusinessDay: this.getDay(Number(this.previewIntervals.previousDay))\n }),\n this.intl.tc(this, 'openedUnexpectedlyPreviewSingleDay', {\n employeeDepartureStartTime: dayMinutesToTimeString(\n this.previewIntervals.openUnexpectedlyStart,\n this.intl\n ),\n employeeArrivalStartTime: dayMinutesToTimeString(this.previewIntervals.openUnexpectedlyEnd, this.intl),\n nextBusinessDay: this.getDay(Number(this.previewIntervals.nextDay)),\n previousBusinessDay: this.getDay(Number(this.previewIntervals.previousDay))\n }),\n this.intl.tc(this, 'closedUnexpectedlyPreviewSingleDay', {\n employeeDepartureEndTimePlus3: dayMinutesToTimeString(\n this.previewIntervals.closedUnexpectedlyStart,\n this.intl\n ),\n employeeArrivalEndTime: dayMinutesToTimeString(this.previewIntervals.closedUnexpectedlyEnd, this.intl),\n nextBusinessDay: this.getDay(Number(this.previewIntervals.nextDay)),\n previousBusinessDay: this.getDay(Number(this.previewIntervals.previousDay))\n })\n ];\n }\n\n /**\n * Convert the dayMinutes (0 - 2160) to a localized day string.\n * If dayMinutes is >= 1440, it indicates that it takes place in the next day.\n *\n * @param dayMinutes - Number of elapsed minutes from the beginning of the day\n * @returns the localized day of the week\n */\n private getPreviewDayToDisplay(dayMinutes: number): string {\n const dayNumber = Number(this.selectedPreviewDay.day);\n return dayMinutes < MINUTES_IN_DAY ? this.getDay(dayNumber) : this.getDay(dayNumber + 1);\n }\n\n /**\n * Helper method which grabs the appropriate day string for the provided index.\n * @param dayNumber - The selected day index.\n */\n private getDay(dayNumber: number): string {\n let dayName = '';\n\n switch (dayNumber) {\n case 0:\n dayName = this.intl.t('components.enterprise.settings.edit-business-hour-templates-timetable.sunday');\n break;\n case 1:\n dayName = this.intl.t('components.enterprise.settings.edit-business-hour-templates-timetable.monday');\n break;\n case 2:\n dayName = this.intl.t('components.enterprise.settings.edit-business-hour-templates-timetable.tuesday');\n break;\n case 3:\n dayName = this.intl.t(\n 'components.enterprise.settings.edit-business-hour-templates-timetable.wednesday'\n );\n break;\n case 4:\n dayName = this.intl.t('components.enterprise.settings.edit-business-hour-templates-timetable.thursday');\n break;\n case 5:\n dayName = this.intl.t('components.enterprise.settings.edit-business-hour-templates-timetable.friday');\n break;\n case 6:\n dayName = this.intl.t('components.enterprise.settings.edit-business-hour-templates-timetable.saturday');\n break;\n }\n\n return dayName;\n }\n\n /**\n * Convert day of the week index to the corresponding string.\n */\n get daysOfWeek(): DropdownSelectItem[] {\n return [\n 'components.enterprise.settings.edit-business-hour-templates-timetable.monday',\n 'components.enterprise.settings.edit-business-hour-templates-timetable.tuesday',\n 'components.enterprise.settings.edit-business-hour-templates-timetable.wednesday',\n 'components.enterprise.settings.edit-business-hour-templates-timetable.thursday',\n 'components.enterprise.settings.edit-business-hour-templates-timetable.friday',\n 'components.enterprise.settings.edit-business-hour-templates-timetable.saturday',\n 'components.enterprise.settings.edit-business-hour-templates-timetable.sunday'\n ].map((key, idx) => {\n const day = (idx + 1) % 7;\n\n return DropdownSelectItem.create({\n name: this.intl.t(key),\n value: String(day)\n });\n });\n }\n\n /**\n * Helper method to get the last day with business hours.\n * @param selectedDay - The currently selected day index.\n */\n private getPreviousDayWithHours(selectedDay: string): BusinessHourDay {\n let count = 1,\n previousOpenDay = this.args.model.businessHourTemplate.businessHourDays[Number(selectedDay)];\n\n // Select the previous open day, if there is not another default to the next day.\n while (count < 7) {\n previousOpenDay =\n this.args.model.businessHourTemplate.businessHourDays[\n Number(selectedDay) - count < 0 ? Number(selectedDay) + 7 - count : Number(selectedDay) - count\n ];\n\n // We found a previous open day, break out of loop.\n if (previousOpenDay.locationOpenForBusiness) {\n break;\n }\n\n count++;\n }\n\n // Select default\n if (count == 7) {\n previousOpenDay = this.args.model.businessHourTemplate.businessHourDays[Number(selectedDay)];\n }\n\n return previousOpenDay;\n }\n\n /**\n * Helper method to get the next day with business hours.\n * @param selectedDay - The currently selected day index.\n */\n private getNextDayWithHours(selectedDay: string): BusinessHourDay {\n let count = 1,\n nextOpenDay = this.args.model.businessHourTemplate.businessHourDays[Number(selectedDay)];\n\n // Select the next open day, if there is not another default to the next day.\n while (count < 7) {\n nextOpenDay =\n this.args.model.businessHourTemplate.businessHourDays[\n Number(selectedDay) + count < 7 ? Number(selectedDay) + count : (Number(selectedDay) + count) % 7\n ];\n\n // We found the next open day, break out of loop.\n if (nextOpenDay.locationOpenForBusiness) {\n break;\n }\n\n count++;\n }\n\n // Select default\n if (count == 7) {\n nextOpenDay = this.args.model.businessHourTemplate.businessHourDays[Number(selectedDay)];\n }\n\n return nextOpenDay;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::EditBusinessHourTemplates': typeof EditBusinessHours;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n
    \\n

    \\n {{tc this \\'businessHoursInfo\\'}}\\n {{tc this \\'learnMore\\'}}\\n

    \\n
    \\n
    \\n \\n \\n \\n
    \\n
    \\n\\n \\n \\n \\n \\n\\n \\n \\n
    \\n

    {{tc this \\'namePlaceholder\\'}}

    \\n \\n
    \\n\\n
    \\n

    {{tc this \\'descriptionPlaceholder\\'}}

    \\n \\n
    \\n
    \\n
    \\n
    \\n \\n \\n \\n {{tc this \\'defaultTooltip\\'}}\\n \\n
    \\n
    \\n\\n
    \\n
    \\n {{!-- @glint-expect-error: Convert to PageView to get type safety. --}}\\n \\n
    \\n
    \\n
    \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/new-business-hour-templates/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{#unless (media \\'isMobile\\')}}\\n {{this.templatesCountText}}\\n {{/unless}}\\n\\n \\n \\n

    {{tc this \\'template\\'}}

    \\n \\n \\n\\n \\n \\n\\n \\n {{!-- @glint-expect-error: Convert to PageView to get type safety. --}}\\n {{#each data.businessHourTemplates as |template|}}\\n
    \\n
    \\n \\n

    {{template.name}}

    \\n {{#if template.isDefaultTemplate}}\\n
    \\n

    {{tc this \\'default\\'}}

    \\n
    \\n {{/if}}\\n
    \\n

    {{template.description}}

    \\n
    \\n \\n \\n \\n \\n \\n
    \\n {{/each}}\\n
    \\n\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/new-business-hour-templates/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n
    \\n \\n \\n
    \\n
    \\n

    {{t \\'settings.noise-settings.assignThresholds\\'}}

    \\n

    {{t \\'settings.noise-settings.thresholdsBody\\'}}

    \\n

    {{t \\'settings.noise-settings.thresholdsHelp\\'}}

    \\n
    \\n
    \\n
    \\n {{#each this.displayThresholds as |threshold index|}}\\n \\n {{/each}}\\n
    \\n \\n\\n
    \\n \\n
    \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n {{#if (await @model.hasValidNoiseSensors)}}\\n \\n \\n \\n {{/if}}\\n\\n \\n

    {{tc this \\'pageHeader\\'}}

    \\n

    {{tc this \\'pageDescription\\'}}

    \\n\\n {{#if (await @model.hasValidNoiseSensors)}}\\n \\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noNoiseMonitorsFound\\'}}\\n

    \\n {{/if}}\\n\\n
    \\n
    \",{ moduleName: \"customer-site/enterprise/settings/noise-monitor-settings-templates/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/noise-monitor-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n

    {{tc this \\'title\\'}}

    \\n\\n \\n\\n
    \\n

    {{tc this \\'description\\'}}

    \\n
    \\n\\n
    \\n \\n \\n
    \\n\\n
    \\n \\n \\n
    \\n\\n
    \\n \\n \\n
    \\n\\n
    \\n \\n
    \\n\\n
    \\n \\n {{tc this \\'info\\'}}\\n
    \\n\\n \\n\\n
    \\n \\n
    \\n\\n \\n
    \\n\\n\",{ moduleName: \"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n {{#if (await @model.hasValidPoolControllers)}}\\n \\n \\n \\n {{/if}}\\n\\n \\n

    {{tc this \\'pageHeader\\'}}

    \\n

    {{tc this \\'applyPoolControllerTemplates\\'}}

    \\n\\n {{#if (await @model.hasValidPoolControllers)}}\\n \\n\\n \\n \\n \\n\\n \\n\\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noPoolControllersFound\\'}}\\n

    \\n {{/if}}\\n\\n \\n\\n\\n\",{ moduleName: \"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n
    \\n

    {{tc this \\'title\\'}}

    \\n
    \\n

    {{tc this \\'templateName\\'}}

    \\n
    \\n\\n \\n\\n
    \\n \\n
    \\n

    {{tc this \\'defaultName\\'}}

    \\n

    {{tc this \\'applyByDefault\\'}}

    \\n
    \\n
    \\n\\n
    \\n \\n
    \\n

    {{tc this \\'disableToggle\\'}}

    \\n

    {{tc this \\'disableSubheader\\'}}

    \\n
    \\n
    \\n
    \\n
    \\n\\n \\n \\n \\n\\n \\n
    \\n
    \\n

    {{tc this \\'occupied\\'}}

    \\n

    {{tc this \\'occupiedSubheader\\'}}

    \\n
    \\n\\n \\n
    \\n\\n {{#if @model.template.occupiedChecked}}\\n
    \\n

    {{tc this \\'heatSetpoint\\'}}

    \\n\\n \\n
    \\n\\n
    \\n

    {{tc this \\'coolSetpoint\\'}}

    \\n\\n \\n
    \\n {{/if}}\\n
    \\n\\n \\n
    \\n
    \\n

    {{tc this \\'unoccupied\\'}}

    \\n

    {{tc this \\'unoccupiedSubheader\\'}}

    \\n
    \\n\\n \\n
    \\n\\n {{#if @model.template.unoccupiedChecked}}\\n
    \\n

    {{tc this \\'heatSetpoint\\'}}

    \\n\\n \\n
    \\n\\n
    \\n

    {{tc this \\'coolSetpoint\\'}}

    \\n\\n \\n
    \\n\\n
    \\n \\n
    \\n

    {{tc this \\'autoMode\\'}}

    \\n

    {{tc this \\'autoModeSubheader\\'}}

    \\n
    \\n
    \\n {{/if}}\\n
    \\n\\n \\n \\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n\\n \\n \\n\\n \\n

    {{tc this \\'pageHeader\\'}}

    \\n

    {{tc this \\'applyThermostatTemplates\\'}}

    \\n {{#if (await @model.hasValidThermostats)}}\\n \\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noThermostatsFound\\'}}\\n

    \\n {{/if}}\\n
    \\n\\n \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/panel-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/permissions-and-integrations/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n {{#if this.isDayEnabled}}\\n
    \\n \\n

    {{tc this \\'dateTo\\'}}

    \\n \\n
    \\n {{/if}}\\n
    \",{ moduleName: \"customer-site/components/settings/day-of-week-selection-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { getTimeModelFromMinutes } from '../../home/noise-sensor-threshold/index';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { SegmentedTimeModel } from '@adc/ui-components/components/segmented-time-picker';\n\ninterface DayOfWeekSelectionRowArgs {\n updateSchedule: (dayBit: number, startTime: number | undefined, endTime: number | undefined) => void;\n dayBit: number;\n startTime: number | undefined;\n endTime: number | undefined;\n}\n\n@intlPath({ path: 'settings/day-of-week-selection-row' })\nexport default class DayOfWeekSelectionRowComponent extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * The function passed in to update the schedule in the controller that uses this.\n */\n updateSchedule = this.args.updateSchedule;\n\n /**\n * The day that this day-of-week selection is for.\n */\n dayBit = this.args.dayBit;\n\n /**\n * The start time for the day-of-week selection. This is measured in minutes after midnight.\n */\n // Do not copy this deprecated usage. If you see this, please fix it.\n // eslint-disable-next-line ember/no-tracked-properties-from-args\n @tracked startTime = this.args.startTime;\n\n /**\n * The end time for the day-of-week selection. This is measured in minutes after midnight.\n */\n // Do not copy this deprecated usage. If you see this, please fix it.\n // eslint-disable-next-line ember/no-tracked-properties-from-args\n @tracked endTime = this.args.endTime;\n\n /**\n * Determines whether the checkbox is enabled. The default value is determined by whether the start/end times\n * are valid.\n */\n @computed('startTime', 'endTime')\n get isDayEnabled(): boolean {\n return this.startTime !== undefined && this.endTime !== undefined;\n }\n\n /**\n * The start time shown in the start time picker.\n */\n @computed('startTime')\n get startTimeDisplay(): SegmentedTimeModel {\n const { startTime } = this;\n return getTimeModelFromMinutes(startTime ?? 0);\n }\n\n /**\n * The end time shown in the end time picker\n */\n @computed('endTime')\n get endTimeDisplay(): SegmentedTimeModel {\n const { endTime } = this;\n return getTimeModelFromMinutes(endTime ?? 0);\n }\n\n /**\n * Gets the day of week string using the daybit.\n */\n @computed('args.dayBit')\n get dayOfWeek(): string {\n const { dayBit } = this.args;\n const days = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'];\n return this.intl.tc(this, days[dayBit]);\n }\n\n /**\n * Sets isDayEnabled which determines the visibility of the start/end time pickers. This will also set the start/end\n * times in the component to a default value.\n *\n * @param evt\n */\n @action\n updateDayEnabled(evt: KeyboardEvent) {\n const { checked } = evt.target as HTMLInputElement;\n\n this.startTime = checked ? 0 : undefined;\n this.endTime = checked ? 0 : undefined;\n this.updateTimes();\n }\n\n /**\n * Updates the startTime by calculating the minutes after midnight for the date passed in.\n *\n * @param value\n */\n @action\n updateStartTime(value: SegmentedTimeModel): void {\n this.startTime = value.min + value.hour * 60;\n this.updateTimes();\n }\n\n /**\n * Updates the endTime by calculating the minutes after midnight for the date passed in.\n *\n * @param value\n */\n @action\n updateEndTime(value: SegmentedTimeModel): void {\n this.endTime = value.min + value.hour * 60;\n this.updateTimes();\n }\n\n /**\n * Calls updateSchedule from the args to update the start/end times in the controller.\n */\n updateTimes(): void {\n const { dayBit, startTime, endTime, updateSchedule } = this;\n updateSchedule(dayBit, startTime, endTime);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::DayOfWeekSelectionRow': typeof DayOfWeekSelectionRowComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n

    {{tc this \\'header\\'}}

    \\n \\n

    {{tc this \\'subheader\\'}}

    \\n\\n
    \\n
    \\n
    \\n\\n
    \\n

    {{tc this \\'turnPumpOnMessage\\'}}

    \\n \\n
    \\n\\n
    \\n {{#each this.dayOfWeekSchedule as |day|}}\\n \\n {{/each}}\\n
    \\n\\n \\n\\n
    \\n \\n
    \\n\\n \\n
    \\n
    \",{ moduleName: \"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n {{#if (await @model.hasValidPoolControllers)}}\\n \\n \\n \\n {{/if}}\\n\\n \\n

    {{tc this \\'pageHeader\\'}}

    \\n

    {{tc this \\'subHeader\\'}}

    \\n\\n \\n {{#if (await data.hasValidPoolControllers)}}\\n \\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noPoolControllersFound\\'}}\\n

    \\n {{/if}}\\n
    \\n\\n \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n

    {{tc this \\'preloadedCodesWarning\\'}}

    \\n \\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/preloaded-codes-for-user-creation/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:default>\\n

    {{tc this \\'pageDescription\\'}}

    \\n

    {{tc this \\'processResidents\\'}}

    \\n

    {{tc this \\'toolUsage\\'}}

    \\n\\n \\n \\n\\n
    \\n \\n
    \\n \\n\\n
    \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/property-management-integration/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n
    \\n\\n
    \\n \\n \\n
    \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/schedule-email/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n
    \\n\\n
    \\n \\n \\n \\n
    \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/schedule-welcome-message/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n {{#if this.customerRelationshipManagementIntegration.overridesSelfGuidedToursDuration}}\\n
    \\n \\n

    {{tc this \\'crmIntegrationOverride\\' crmIntegrationName=this.customerRelationshipManagementIntegration.name}}

    \\n
    \\n
    \\n {{/if}}\\n\\n {{#each this.singleShowingAppointmentLengths as |appointmentLength|}}\\n \\n {{/each}}\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-appointment-length/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n \\n\\n

    {{tc this \\'verificationDetails\\'}}

    \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-cc-verification/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n \\n
    \\n \\n\\n {{#if this.checkpointIdEnabled}}\\n \\n {{tc this \\'checkpointIdHelp\\'}}\\n \\n\\n
    \\n\\n
    \\n

    {{tc this \\'checkpointIdValues\\'}}

    \\n
    \\n\\n
    \\n

    {{tc this \\'locationId\\'}}

    \\n \\n
    \\n \\n\\n
    \\n

    {{tc this \\'apiKey\\'}}

    \\n \\n
    \\n \\n\\n
    \\n\\n

    {{tc this \\'verificationSettings\\'}}

    \\n
    \\n {{#if this.showVerificationSettingsError}}\\n
    \\n \\n

    {{tc this \\'verificationSettingsError\\'}}

    \\n
    \\n
    \\n {{/if}}\\n \\n\\n \\n
    \\n\\n
    \\n\\n

    {{tc this \\'followUpTours\\'}}

    \\n

    {{tc this \\'followUpToursDescription\\'}}

    \\n \\n {{/if}}\\n
    \\n
    \\n \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |map|>\\n \\n
    \\n \\n\\n
    \\n\\n {{#if this.shouldShowPreviewButton}}\\n
    \\n \\n
    \\n
    \\n {{/if}}\\n\\n {{#if this.needLegalDisclaimer}}\\n
    \\n \\n
    \\n
    \\n {{/if}}\\n
    \\n \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-community-site-map/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n {{#if this.hasParentGroup}}\\n \\n
    \\n

    {{tc this \\'funnelAvailableTimes\\'}}

    \\n \\n
    \\n \\n {{else}}\\n

    {{tc this \\'notSupported\\'}}

    \\n {{/if}}\\n {{/if}}\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n {{#if this.hasParentGroup}}\\n \\n
    \\n
    \\n \\n \\n \\n\\n \\n \\n \\n\\n \\n \\n \\n
    \\n
    \\n \\n {{else}}\\n

    {{tc this \\'notSupported\\'}}

    \\n {{/if}}\\n {{/if}}\\n \\n
    \\n
    \",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n

    {{tc this \\'customUrlHeader\\'}}

    \\n\\n \\n\\n

    {{tc this \\'urlInstructions1\\'}}

    \\n
    \\n

    {{tc this \\'urlInstructions2\\'}}

    \\n

    {{tc this \\'urlInstructions3\\'}}

    \\n

    {{tc this \\'urlInstructions4\\'}}

    \\n
    \\n\\n
    \\n
    \\n {{this.urlPrefix}}\\n \\n {{this.urlSuffix}} \\n
    \\n \\n \\n \\n \\n
    \\n\\n {{#unless this.validUrl}}\\n \\n {{/unless}}\\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-custom-url/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n\\n
    {{tc this \\\"or\\\"}}
    \\n\\n
    \\n

    \\n {{tc this \\'logoUrlPrompt\\'}}\\n \\n

    \\n \\n

    {{tc this \\\"supportedFileTypes\\\"}}

    \\n
    \\n\\n
    \\n\\n {{#if this.shouldShowPreviewButton}}\\n
    \\n \\n
    \\n
    \\n {{/if}}\\n\\n {{#if this.needLegalDisclaimer}}\\n
    \\n \\n
    \\n
    \\n {{/if}}\\n
    \\n \\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-customer-logo/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default as |data|>\\n

    {{tc this \\'pageTitle\\'}}

    \\n\\n \\n\\n
    \\n\\n {{#if this.gateCodeEnabled}}\\n

    {{tc this \\'inputDescription\\'}}

    \\n \\n\\n {{#if this.codeAtMaxLength}}\\n \\n {{/if}}\\n\\n
    \\n\\n \\n\\n
    \\n {{/if}}\\n\\n \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-gate-code/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default as |data|>\\n \\n

    {{tc this \\'advancedFraudPrevention\\'}}

    \\n
    \\n\\n \\n
    \\n \\n
    \\n\\n {{#if this.needLegalDisclaimer}}\\n
    \\n \\n
    \\n
    \\n {{/if}}\\n
    \\n \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-geofence/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n {{#if this.customerRelationshipManagementIntegration.overridesSelfGuidedToursHoursOfOperation}}\\n
    \\n \\n

    {{tc this \\'crmIntegrationOverride\\' crmIntegrationName=this.customerRelationshipManagementIntegration.name}}

    \\n
    \\n
    \\n {{/if}}\\n\\n {{#if this.areHoursOfOperationChanged}}\\n
    \\n \\n

    {{tc this \\'changeHoursOfOperation\\'}}

    \\n
    \\n
    \\n {{/if}}\\n\\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n

    {{tc this \\'phoneNumber\\'}}

    \\n \\n
    \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-support-phone/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n\\n
    \\n\\n {{#if this.showLegalDisclaimer}}\\n
    \\n \\n
    \\n\\n
    \\n {{/if}}\\n
    \\n \\n \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n \\n\\n {{#if this.webPrimaryColor}}\\n \\n {{/if}}\\n
    \\n\\n {{#if this.isValidColor}}\\n

    \\n {{t \\'generic.selectedColor\\' color=(coalesce this.webPrimaryColor (t \\'generic.none\\'))}}\\n

    \\n {{else}}\\n \\n {{/if}}\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours-web-primary-color/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/self-guided-tours/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n \\n\\n \\n
    \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/send-email-by-default/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n\\n

    {{tc this \\'textBoxDesc\\'}}

    \\n\\n \\n\\n \\n
    \\n\\n \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/send-follow-up-text/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n
    \\n

    {{tc this \\'phoneNumber\\'}}

    \\n \\n
    \\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/support-phone-number/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n {{#if this.disabled}}\\n \\n

    {{safe-html (tc this \\'disabledMessage\\' link=(href-to \\'enterprise.settings.temporary-access-codes\\'))}}

    \\n
    \\n {{/if}}\\n\\n \\n\\n {{#unless this.hideTimePicker}}\\n {{#each (array \\'Enabled\\' \\'Expiration\\') as |type|}}\\n
    \\n {{#let (concat \\'selectedAccessCode\\' type \\'Time\\') as |field|}}\\n \\n {{/let}}\\n
    \\n {{/each}}\\n\\n {{#if this.endTimeIsBeforeStartTime}}\\n \\n

    \\n {{tc this \\\"endTimeBeforeStartTime\\\"\\n startTime=(format-time-tz this.selectedAvailabilitySchedule.selectedAccessCodeEnabledTime hour=\\\"numeric\\\" minute=\\\"numeric\\\" timeZone=\\\"UTC\\\")\\n endTime=(format-time-tz this.selectedAvailabilitySchedule.selectedAccessCodeExpirationTime hour=\\\"numeric\\\" minute=\\\"numeric\\\" timeZone=\\\"UTC\\\")\\n }}\\n

    \\n
    \\n {{/if}}\\n {{/unless}}\\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/temporary-access-code-availability-schedule/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n {{#if this.disabled}}\\n \\n

    {{safe-html (tc this \\'disabledMessage\\' link=(href-to \\'enterprise.settings.temporary-access-codes\\'))}}

    \\n
    \\n {{/if}}\\n\\n {{#each this.accessCodeDurations as |temporaryAccessCodeDuration|}}\\n \\n {{/each}}\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/temporary-access-code-duration/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/temporary-access-code-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data}}\\n \\n \\n \\n {{/if}}\\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/settings/temporary-access-codes/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n {{#if (await @model.hasValidThermostats)}}\\n \\n \\n \\n {{/if}}\\n\\n \\n

    {{tc this \\'ThermostatScheduleHeader\\'}}

    \\n

    {{tc this \\'pageDescription\\'}}

    \\n\\n {{#if (await @model.hasValidThermostats)}}\\n \\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noThermostatsFound\\'}}\\n

    \\n {{/if}}\\n
    \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/thermostat-schedule-templates/template.hbs\" })","import { helper } from '@ember/component/helper';\nimport { w as toWords } from '@ember/string';\n\nexport function w([...wordStrings]) {\n return wordStrings\n .map(toWords)\n .reduce((words, moreWords) => {\n return words.concat(moreWords);\n }, []);\n}\n\nexport default helper(w);\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n

    \\n {{t (concat \\'components.enterprise.settings.thermostat-settings-templates.setting-row.\\' @field)}}\\n

    \\n
    \\n \\n
    \\n
    \\n
    \\n {{yield}}\\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/settings/thermostat-settings-templates/setting-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nexport interface EnterpriseSettingsThermostatTemplatesSignature {\n Args: {\n field: string;\n tooltipDescriptions: Record;\n optionsCss: string;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst EnterpriseSettingsThermostatTemplates = templateOnlyComponent();\nexport default EnterpriseSettingsThermostatTemplates;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ThermostatSettingsTemplates': typeof EnterpriseSettingsThermostatTemplates;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n \\n
    \\n{{yield}}\",{ moduleName: \"customer-site/components/enterprise/settings/thermostat-settings-templates/temperature-field/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\n\n/**\n * Allows selection of a temperature setpoint in the thermostat settings template editor.\n */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/require-tagless-components\nexport default class TemperatureFieldComponent extends Component {\n /**\n * Updates the relevant template field to the specified value.\n *\n * @param {number} val The new value for the field\n */\n @action updateValue(val) {\n // Use closure action.\n this.update(this.field, val);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n \\n
    \\n{{yield}}\",{ moduleName: \"customer-site/components/enterprise/settings/thermostat-settings-templates/offset-field/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\n\n/**\n * Allows selection of an offset temperature in the thermostat settings template editor.\n */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/require-tagless-components\nexport default class OffsetFieldComponent extends Component {\n /**\n * Updates the relevant template field to the specified value.\n *\n * @param {number} val The new value for the field\n */\n @action updateValue(val) {\n // Use closure action.\n this.update(this.field, val);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n\\n
    \\n \\n \\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/settings/thermostat-settings-templates/percentage-field/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { camelize } from '@ember/string';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ThermostatSettingsTemplate from 'customer-site/models/enterprise/settings/thermostat-settings-template';\n\nexport interface PercentageFieldsSignature {\n Args: {\n settingsTemplate: ThermostatSettingsTemplate;\n field: 'minHumiditySetpoint' | 'maxHumiditySetpoint';\n labelKey: 'maximum' | 'minimum';\n toggle: VoidFunction;\n update: (name: string, value: number) => void;\n nonTempConfig: {\n maxHumiditySetpointDefaultValue: number;\n maxMaxHumiditySetpoint: number;\n maxMinHumiditySetpoint: number;\n minHumiditySetpointDefaultValue: number;\n minMaxHumiditySetpoint: number;\n minMinHumiditySetpoint: number;\n };\n };\n}\n\n@intlPath({ path: 'enterprise.settings.thermostat-settings-templates.percentage-field' })\nexport default class PercentageFields extends Component {\n private getBoundary(n: 'min' | 'max'): number {\n const { nonTempConfig, field } = this.args;\n return nonTempConfig[camelize(`${n} ${field}`) as keyof typeof nonTempConfig];\n }\n\n get min(): number {\n return this.getBoundary('min');\n }\n\n get max(): number {\n return this.getBoundary('max');\n }\n\n /**\n * Updates the relevant template field to the specified value.\n */\n @action updateValue(val: string): void {\n this.args.update(this.args.field, Number(val));\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ThermostatSettingsTemplates::PercentageField': typeof PercentageFields;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n
    \",{ moduleName: \"customer-site/components/modals/enterprise/locations/device-selection/thermostat-selection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { get } from '@ember/object';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { LocationDeviceList } from '../device-selection-interface';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\n\ninterface ThermostatSelectionSignature {\n Element: HTMLDivElement;\n Args: {\n model: {\n templateId: string;\n locations: LocationModel[];\n thermostats: ThermostatModel[];\n templateThermostats: ThermostatModel[];\n selectThermostats: (thermostats: ThermostatModel[]) => void;\n showSupportsAdvancedConfiguration: boolean;\n };\n };\n}\n\n/**\n * @classdesc\n * This is a modal for selecting thermostats within locations to apply settings to them.\n */\n@intlPath({ path: 'modals/enterprise/locations/device-selection/thermostat-selection' })\nexport default class ThermostatSelection extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * Thermostats filtered by if it supports advanced configuration\n */\n @computed('args.model.{locations,thermostats,showSupportsAdvancedConfiguration}')\n get locationThermostats(): LocationDeviceList[] {\n return this.args.model.locations.map((location) =>\n LocationDeviceList.create({\n locationId: location.id,\n devices: location.thermostats.filter(\n (item) =>\n get(item, 'supportsAdvancedConfiguration') === this.args.model.showSupportsAdvancedConfiguration\n )\n })\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Locations::DeviceSelection::ThermostatSelection': typeof ThermostatSelection;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n
    \",{ moduleName: \"customer-site/components/enterprise/location-selection/thermostat-location-selection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { compare } from '@ember/utils';\nimport ThermostatSelection from 'customer-site/components/modals/enterprise/locations/device-selection/thermostat-selection/index';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type Store from '@ember-data/store';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type ThermostatSettingsTemplateModel from 'customer-site/models/enterprise/settings/thermostat-settings-template';\n\n/**\n * Links the specified thermostats with the template.\n */\nfunction updateLocationSelections(\n this: EnterpriseThermostatLocationSelectionComponent,\n thermostats: Array\n): void {\n this.args.select(thermostats);\n\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This should be replaced with `this.args.settingsTemplate.thermostats.setObjects(thermostats);`.\n set(this.args.settingsTemplate, 'thermostats', thermostats);\n}\n\ninterface ThermostatLocationSelectionSignature {\n Element: HTMLDivElement;\n Args: {\n settingsTemplate: ThermostatSettingsTemplateModel;\n thermostats: ThermostatModel[];\n select: (t: ThermostatModel[]) => void;\n locations: LocationModel[];\n showSupportsAdvancedConfiguration?: boolean;\n templateThermostats?: ThermostatModel[];\n };\n}\n\n/**\n * @classdesc\n * Allows choosing between All Locations, Partial Locations, or No Locations.\n */\n@intlPath({ path: 'enterprise/location-selection/thermostat-location-selection' })\nexport default class EnterpriseThermostatLocationSelectionComponent extends Component {\n @service declare store: Store;\n @service declare modals: ModalService;\n\n /**\n * Opens thermostat selection modal.\n */\n @action openModal(): void {\n this.modals.showModal(ThermostatSelection, {\n templateId: this.args.settingsTemplate.id,\n locations: this.args.locations,\n thermostats: this.args.thermostats,\n templateThermostats: this.args.settingsTemplate.thermostats,\n selectThermostats: (thermostats: ThermostatModel[]) => this.selectPartial(thermostats),\n showSupportsAdvancedConfiguration: this.args.showSupportsAdvancedConfiguration ?? false\n });\n }\n\n /**\n * Selects all thermostats.\n */\n @action selectAll(): void {\n updateLocationSelections.call(this, this.args.thermostats);\n }\n\n /**\n * Deselects all thermostats.\n */\n @action selectNone(): void {\n updateLocationSelections.call(this, []);\n }\n\n /**\n * Selects thermostats specified in modal.\n */\n @action selectPartial(thermostats: Array): void {\n if (thermostats.length === 0) {\n return this.selectNone();\n }\n\n if (compare(thermostats.sortBy('id'), this.args.thermostats.sortBy('id')) === 0) {\n return this.selectAll();\n }\n\n updateLocationSelections.call(this, thermostats);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::LocationSelection::ThermostatLocationSelection': typeof EnterpriseThermostatLocationSelectionComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n
    \\n \\n

    {{ tc this \\'warningNotice\\' }}

    \\n
    \\n\\n
    \\n {{#each this.rowMap as |row|}}\\n {{#if (eq row.type \\'temperatureRange\\')}}\\n {{#each (w \\'heat cool\\') as |tempType|}}\\n \\n {{#each (w \\'min max\\') as |type|}}\\n \\n {{#if (eq type \\'min\\')}}{{/if}}\\n {{/each}}\\n \\n {{/each}}\\n {{/if}}\\n\\n {{#if (eq row.type \\'offset\\')}}\\n \\n \\n \\n {{/if}}\\n\\n {{#if (eq row.type \\'humidity\\')}}\\n \\n {{#each (w \\'max min\\') as |type|}}\\n \\n {{/each}}\\n \\n {{/if}}\\n\\n {{#if (eq row.type \\'temperature\\')}}\\n \\n \\n {{#if this.balancePointEnabled}}\\n \\n {{/if}}\\n \\n {{/if}}\\n\\n {{#if (eq row.type \\'lock\\')}}\\n \\n {{#each this.displayLockingModeOptions as |lockingModeOption idx|}}\\n \\n {{/each}}\\n \\n {{/if}}\\n {{/each}}\\n
    \\n\\n \\n\\n \\n\\n \\n
    \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/thermostat-settings-templates/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar>\\n {{#if (await @model.hasValidThermostats)}}\\n \\n \\n \\n {{/if}}\\n \\n \\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n

    {{tc this \\'pageHeader\\'}}

    \\n

    \\n {{tc this \\'pageDescription\\'}}\\n

    \\n\\n {{#if (await @model.hasValidThermostats)}}\\n \\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noThermostatsFound\\'}}\\n

    \\n {{/if}}\\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/enterprise/settings/thermostat-settings-templates/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |userCodeTimes|>\\n \\n
    \\n {{#each (array \\'start\\' \\'end\\') as |type|}}\\n
    \\n {{#let (concat type \\'Time\\') as |field|}}\\n \\n {{/let}}\\n
    \\n {{/each}}\\n
    \\n\\n \\n\\n {{#if this.earlyPinOnToggleChanged}}\\n \\n {{/if}}\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/user-code-times/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/user-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n
    \",{ moduleName: \"customer-site/components/modals/enterprise/locations/device-selection/water-meter-selection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { LocationDeviceList } from '../device-selection-interface';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type WaterMeterModel from 'customer-site/models/devices/water-meter';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\n\ninterface WaterMeterSelectionSignature {\n Element: HTMLDivElement;\n Args: {\n model: {\n templateId: string;\n locations: LocationModel[];\n waterMeters: WaterMeterModel[];\n templateWaterMeters: WaterMeterModel[];\n selectWaterMeters: (waterMeters: WaterMeterModel[]) => void;\n hasValve: boolean;\n };\n };\n}\n\n/**\n * @classdesc\n * This is a modal for selecting water meters within locations to apply settings to them.\n */\n@intlPath({ path: 'modals/enterprise/locations/device-selection/water-meter-selection' })\nexport default class WaterMeterSelection extends Component {\n @service declare inlt: ADCIntlService;\n\n /**\n * Get water meter devices in the current location.\n */\n @computed('args.model.{locations,waterMeters,hasValve}')\n get locationWaterMeters(): LocationDeviceList[] {\n return this.args.model.locations.map((location) =>\n LocationDeviceList.create({\n locationId: location.id,\n devices: location.waterMeters.filterBy('hasValve', this.args.model.hasValve)\n })\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Locations::DeviceSelection::WaterMeterSelection': typeof WaterMeterSelection;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n
    \",{ moduleName: \"customer-site/components/enterprise/location-selection/water-meter-location-selection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport WaterMeterSelection from 'customer-site/components/modals/enterprise/locations/device-selection/water-meter-selection/index';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type Store from '@ember-data/store';\nimport type WaterMeterModel from 'customer-site/models/devices/water-meter';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type WaterMeterConfigurationTemplateModel from 'customer-site/models/enterprise/settings/water-meter-configuration-template';\n\n/**\n * Links the specified water meters with the template.\n */\nfunction updateLocationSelections(\n this: EnterpriseWaterMeterLocationSelectionComponent,\n waterMeters: Array\n): void {\n this.args.select(waterMeters);\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This should be replaced with `this.args.settingsTemplate.waterMeters.setObjects(waterMeters);`.\n set(this.args.settingsTemplate, 'waterMeters', waterMeters);\n}\n\ninterface WaterMeterLocationSelectionSignature {\n Element: HTMLDivElement;\n Args: {\n settingsTemplate: WaterMeterConfigurationTemplateModel;\n waterMeters: WaterMeterModel[];\n select: (w: WaterMeterModel[]) => void;\n locations: LocationModel[];\n hasValve: boolean;\n templateWaterMeters?: WaterMeterModel[];\n };\n}\n\n/**\n * @classdesc\n * Allows choosing between all location, partial locations, or no locations.\n */\n@intlPath({ path: 'enterprise/location-selection/water-meter-location-selection' })\nexport default class EnterpriseWaterMeterLocationSelectionComponent extends Component {\n @service declare store: Store;\n @service declare modals: ModalService;\n\n /**\n * Opens water meter selection modal.\n */\n @action openModal(): void {\n this.modals.showModal(WaterMeterSelection, {\n templateId: this.args.settingsTemplate.id,\n locations: this.args.locations,\n waterMeters: this.args.waterMeters,\n templateWaterMeters: this.args.settingsTemplate.waterMeters,\n selectWaterMeters: (waterMeters: WaterMeterModel[]) => this.selectPartial(waterMeters),\n hasValve: this.args.hasValve\n });\n }\n\n /**\n * Selects all water meters.\n */\n @action selectAll(): void {\n updateLocationSelections.call(this, this.args.waterMeters);\n }\n\n /**\n * Deselects all water meters.\n */\n @action selectNone(): void {\n updateLocationSelections.call(this, []);\n }\n\n /**\n * Selects water meter specified in modal.\n */\n @action selectPartial(waterMeters: Array): void {\n updateLocationSelections.call(this, waterMeters);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::LocationSelection::WaterMeterLocationSelection': typeof EnterpriseWaterMeterLocationSelectionComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n

    {{tc this \\'title\\'}}

    \\n\\n \\n

    {{tc this \\'subheader\\'}}

    \\n\\n
    \\n {{#each this.configurations as |config|}}\\n
    \\n
    \\n

    {{config.name}}

    \\n
    \\n {{#if (eq config.units \\\"\\\")}}\\n
    \\n {{#each this.displayOptions as |configurationOptions idx|}}\\n \\n {{/each}}\\n
    \\n {{else}}\\n
    \\n \\n \\n
    \\n {{/if}}\\n
    \\n {{/each}}\\n
    \\n\\n \\n\\n
    \\n \\n
    \\n\\n \\n \\n
    \\n
    \",{ moduleName: \"customer-site/enterprise/settings/water-meter-configuration/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar>\\n {{#if (await @model.hasValidWaterMeters)}}\\n \\n \\n \\n {{/if}}\\n \\n\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n

    {{tc this \\'pageHeader\\'}}

    \\n

    \\n {{tc this \\'pageDescription\\'}}\\n

    \\n\\n {{#if (await @model.hasValidWaterMeters)}}\\n \\n {{else}}\\n

    \\n {{t \\'enterprise.settings.noWaterMetersFound\\'}}\\n

    \\n {{/if}}\\n \\n
    \\n \\n
    \",{ moduleName: \"customer-site/enterprise/settings/water-meter-configuration/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/settings/water-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |welcomeMessage|>\\n \\n
    \\n \\n \\n\\n \\n
    \\n\\n \\n\\n \\n\\n \\n
    \\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
    \\n \\n\",{ moduleName: \"customer-site/enterprise/settings/welcome-message/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/users/edit/access-period/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/users/edit/add-contact/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/users/edit/device-access/access-type/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{#if @userTypeSupportsDeviceAccess}}\\n
    \\n {{#if @deviceAccess.isCreationFlow}}\\n \\n {{/if}}\\n \\n \\n

    {{tc this \\'finishSetupDesc\\' htmlSafe=true}}

    \\n
    \\n
    \\n {{/if}}\\n\\n
    \\n {{#unless @userTypeSupportsDeviceAccess}}\\n \\n

    {{t \\'components.users.item.device-access.notificationsOnlyUser\\'}}

    \\n
    \\n {{/unless}}\\n
    \\n\\n
    \\n
    \\n \\n
    \\n\\n {{#if this.showGroupDropdown}}\\n
    \\n \\n

    {{tc this \\'manageMultipleGroupsAccess\\'}}

    \\n \\n
    \\n {{/if}}\\n\\n {{#if this.isAccessControl}}\\n
    \\n \\n {{tc this \\'selectAccessPlans\\'}}\\n \\n
    \\n {{else}}\\n
    \\n \\n
    \\n

    {{tc this \\'locationsDescription\\'}}

    \\n {{#unless (media \\'isMobile\\')}}\\n \\n {{/unless}}\\n
    \\n\\n
    \\n \\n
    \\n\\n {{#if (is-pending @deviceAccess.accessPointCollectionsSummary)}}\\n \\n {{else if this.noLocations}}\\n

    {{tc this \\'noLocations\\'}}

    \\n {{else}}\\n {{#each this.deviceAccessLocations as |location|}}\\n \\n {{/each}}\\n {{/if}}\\n\\n {{#if this.showViewMoreButton}}\\n
    \\n \\n
    \\n {{/if}}\\n\\n
    \\n {{/if}}\\n\\n {{#if @userTypeSupportsDeviceAccess}}\\n
    \\n \\n \\n
    \\n {{/if}}\\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/users/item/device-access/locations/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { computed, action, set } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n getSystemGroupDropdownSelectItems,\n isAccessControlSystemGroup\n} from 'customer-site/classes/helpers/pointcentral';\nimport {\n ACCESS_TYPE_BULK_ACTIONS_BATCH_SIZE,\n locationPassesSearchString\n} from 'customer-site/components/users/item/device-access/access-type-bulk-actions/index';\nimport { intlPath } from '@adc/i18n/path';\nimport {\n EmberEnterpriseEditUserDeviceAccessLocationDevices,\n EmberEnterpriseEditUserType,\n EmberEnterpriseUserEdit,\n EmberEnterpriseUsers\n} from '../../../../../enums/CustomerPageUrl';\n\nimport './_style.scss';\n\n/**\n * Gets the batch device access information from the start index.\n *\n * @param startIndex The index we start retrieving from.\n * @returns {{system: models.systems.System, accessDescription: string}[]}\n */\nfunction getDeviceAccessLocations(startIndex) {\n return this.systemAccessPointItemsForGroup\n .slice(startIndex, this.numLocationsToDisplay)\n .map(({ system, accessItems }) => {\n const numberWithAccess = accessItems.filterBy('hasAccess').length;\n\n let key = 'all',\n textParams = undefined;\n\n if (numberWithAccess !== accessItems.length) {\n key = 'no';\n\n if (numberWithAccess === 1) {\n key = 'one';\n }\n\n if (numberWithAccess > 1) {\n key = 'x';\n textParams = { x: numberWithAccess };\n }\n }\n\n return {\n system,\n accessDescription: this.intl.tc(this, `${key}Devices`, textParams)\n };\n })\n .sort((a, b) => {\n const locale = this.contextManager.identityModel.profile.locale.language;\n return a.system.get('description').localeCompare(b.system.get('description'), locale, { numeric: true });\n });\n}\n\n/**\n * @classdesc\n *\n * Component for enterprise device access.\n *\n * @class components.users.item.device-access.Locations\n * @extends Ember.Component\n *\n * @param {String} searchString\n * @param {Number} numLocationsToDisplay\n */\n@intlPath({ path: 'users.item.device-access.locations' })\nexport default class LocationsComponent extends Component {\n /** @override */\n tagName = '';\n\n @service intl;\n @service contextManager;\n @service ajax;\n @service store;\n @service notificationManager;\n\n /**\n * If the user type of the user doesn't support device access, don't allow the user's device access to be edited.\n *\n * @type {boolean}\n */\n userTypeSupportsDeviceAccess = true;\n\n /**\n * The access user to save if we add/remove access plans it has access to if an access control group is selected from the group dropdown.\n *\n * @type {models.access-control.AccessControlUser}\n */\n accessUser = undefined;\n\n // region Computed Properties\n\n /**\n * We should show the system group dropdown if the login has access to multiple groups and if we are\n * viewing the Users page in a PointCentral group.\n *\n * @returns {boolean}\n */\n @computed(\n 'contextManager.identityModel.isPointCentral',\n 'deviceAccess.accessPointCollectionsSummary.hasMultiGroupAccess',\n 'systemGroups.length'\n )\n get showGroupDropdown() {\n return (\n this.deviceAccess.get('accessPointCollectionsSummary.hasMultiGroupAccess') &&\n this.contextManager.identityModel.isPointCentral &&\n this.systemGroups.length > 1\n );\n }\n\n /**\n * The objects to use when listing locations and devices in the currently selected group.\n *\n * @returns {{system: models.systems.System, accessItems: models.users.access.AccessPointItem[], allAccess: boolean, noAccess: boolean, canAllAccessBeGranted:Promise, canAllAccessBeRevoked:Promise, byDevice: boolean}[]}\n */\n @computed(\n 'deviceAccess.accessPointCollectionsSummary.allAccessPointItems.@each.hasAccess',\n 'selectedSystemGroup',\n 'systemAccessPointItemsForGroup'\n )\n get deviceAccessLocations() {\n return getDeviceAccessLocations.call(this, 0);\n }\n\n /**\n * If there are more locations than the amount of locations to display, we show a button for them to\n * 'View More'.\n *\n * @returns {boolean}\n */\n @computed('numLocationsToDisplay', 'systemAccessPointItemsForGroup.length')\n get showViewMoreButton() {\n return this.systemAccessPointItemsForGroup.length > this.numLocationsToDisplay;\n }\n\n /**\n * The group to select from the system groups dropdown.\n *\n * @type {number}\n */\n @computed('deviceAccess.groupToSelect', 'contextManager.identityModel.selectedSystemGroup')\n get selectedSystemGroup() {\n return this.deviceAccess.groupToSelect || this.contextManager.identityModel.selectedSystemGroup.get('id');\n }\n\n /**\n * The access point items within this selected group, sorted alphabetically and filtered based on the search string.\n *\n * @returns {models.users.access.AccessPointItem[]}\n */\n @computed(\n 'contextManager.identityModel.profile.locale.language',\n 'deviceAccess.accessPointCollectionsSummary.systemsAccessPointItems',\n 'selectedSystemGroup',\n 'searchString'\n )\n get systemAccessPointItemsForGroup() {\n return (this.deviceAccess.get('accessPointCollectionsSummary.systemsAccessPointItems') ?? [])\n .filter(\n (item) => item.systemGroupId === this.selectedSystemGroup && locationPassesSearchString.call(this, item)\n )\n .sort((a, b) => {\n const locale = this.contextManager.identityModel.profile.locale.language;\n return a.system\n .get('description')\n .localeCompare(b.system.get('description'), locale, { numeric: true });\n });\n }\n\n /**\n * Sets up the groups the login has access to in the groups dropdown. By default the dropdown selects the\n * current group.\n *\n * @type { Array }\n */\n @computed('selectedGroup', 'systemGroups')\n get groupsForDropdown() {\n return getSystemGroupDropdownSelectItems(this.systemGroups, this.selectedGroup);\n }\n\n /**\n * The group to select from the system groups dropdown.\n *\n * @type {String}\n */\n @computed('deviceAccess.groupToSelect', 'contextManager.identityModel.selectedSystemGroup')\n get selectedGroup() {\n return this.deviceAccess.groupToSelect || this.contextManager.identityModel.selectedSystemGroup.get('id');\n }\n\n /**\n * Whether there are any locations to select from in the locations section for device access selection.\n * @returns {boolean}\n */\n @equal('deviceAccessLocations.length', 0)\n noLocations;\n\n // region Access Control Computed Properties\n\n /**\n * Is the currently selected group an access control group? If so, show access plans for this user.\n *\n * @returns {boolean}\n */\n @computed('selectedGroup', 'systemGroups')\n get isAccessControl() {\n return isAccessControlSystemGroup(this.systemGroups, this.selectedGroup);\n }\n\n // region Actions\n\n /**\n * Transitions to the locations device access list route.\n */\n @action\n async editLocationDevices(location) {\n this.contextManager.transitionToNativeRoute(EmberEnterpriseEditUserDeviceAccessLocationDevices, {\n deviceAccess: this.deviceAccess,\n system: location.system,\n id_system: location.system.get('id')\n });\n }\n\n /**\n * Transitions to route for editing the user type.\n */\n @action editUserType() {\n this.contextManager.transitionToNativeRoute(EmberEnterpriseEditUserType);\n }\n\n /**\n * Redirect back to users page\n */\n @action returnToUsersPage() {\n this.contextManager.replaceRouteWithNativeRoute(EmberEnterpriseUsers);\n }\n\n /**\n * Go to the user's main profile page.\n */\n @action goToUserProfile() {\n this.contextManager.transitionToNativeRoute(EmberEnterpriseUserEdit);\n }\n\n /**\n * Selects a new group, which triggers the new group's locations and devices to appear on the page.\n *\n * @param {number} groupId\n */\n @action selectSystemGroup(groupId) {\n this.deviceAccess.set('groupToSelect', groupId);\n\n // Reset batch size and search string.\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/classic-decorator-no-classic-methods\n this.setProperties({\n numLocationsToDisplay: ACCESS_TYPE_BULK_ACTIONS_BATCH_SIZE,\n searchString: ''\n });\n }\n\n /**\n * Assigns or un-assigns an access plan for the user.\n *\n * @param {models.access-control.AccessControlUser} accessControlUser\n * @param {Array} accessPlans\n */\n @action async selectAccessPlans(accessControlUser, accessPlans) {\n // This is a custom api method that is created to save access plans on a different scope than the access control group.\n await accessControlUser\n .saveAccessPlansOnDifferentScope(\n accessPlans.map((ap) => ap.id),\n this.selectedGroup\n )\n .then(() => accessControlUser.set('accessPlans', accessPlans));\n }\n\n /**\n * The action called when the user clicks 'View More'.\n * Grabs another batch of locations and append it to deviceAccessLocations.\n */\n @action viewMore() {\n const startIndex = this.numLocationsToDisplay;\n set(this, 'numLocationsToDisplay', startIndex + ACCESS_TYPE_BULK_ACTIONS_BATCH_SIZE);\n const additionalLocationItems = getDeviceAccessLocations.call(this, startIndex);\n this.deviceAccessLocations.addObjects(additionalLocationItems);\n }\n\n // endregion\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/users/edit/device-access/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n \\n \\n \\n\\n
    \\n\\n \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/components/users/item/device-access/location-devices/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { accessPointItemCanBeModified } from '../item-groups/index';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * Component for listing location devices.\n */\n@intlPath({ path: 'users/item/device-access/location-devices' })\nexport default class LocationDevicesComponent extends Component {\n @service intl;\n\n /**\n * Shortcut for getting the system's id.\n *\n * @type {Number}\n */\n @alias('args.system.id')\n systemId;\n\n /**\n * The device access model passed into this component.\n *\n * @type {models.users.access.DeviceAccess}\n */\n @alias('args.deviceAccess')\n deviceAccess;\n\n /**\n * The current state of the \"Toggle All\" button\n *\n * @type {boolean|Promise}\n */\n @tracked\n toggleAllButtonState = this.unifiedSelectionState;\n\n /**\n * All the access point items on the system.\n *\n * @returns {Array}\n */\n @computed('deviceAccess.accessPointCollectionsSummary.isFulfilled', 'systemId')\n get systemAccessPointItems() {\n const { deviceAccess } = this,\n accessPointCollectionsSummary = deviceAccess.get('accessPointCollectionsSummary') || {},\n accessPointItems = accessPointCollectionsSummary.get('systemsAccessPointItems');\n\n if (!accessPointItems) {\n return [];\n }\n\n const systemAccessPointObject = accessPointItems.findBy('system.id', this.systemId);\n if (systemAccessPointObject) {\n return systemAccessPointObject.accessItems;\n }\n\n return [];\n }\n\n /**\n * Do all the devices for the system have access?\n *\n * @type {Boolean}\n */\n @computed('deviceAccess', 'systemAccessPointItems.@each.hasAccess')\n get allSystemItemsHaveAccess() {\n const { systemAccessPointItems } = this;\n if (!systemAccessPointItems) {\n return false;\n }\n\n return systemAccessPointItems.every(\n (item) => !accessPointItemCanBeModified(item, this.deviceAccess) || item.hasAccess\n );\n }\n\n /**\n * Checks if all the triggers in the list have the same state, and if so, returns that state, otherwise undefined.\n *\n * @returns {Promise}\n */\n @computed('deviceAccess', 'systemAccessPointItems.@each.hasAccess')\n get unifiedSelectionState() {\n return (async () => {\n let unifiedState;\n\n // Loop over all the access point items and see if they all have the same state.\n for (const item of this.systemAccessPointItems) {\n const canBeModified = await accessPointItemCanBeModified(item, this.deviceAccess);\n\n // If this item can't be modified for some reason, then we skip checking it.\n if (!canBeModified) {\n continue;\n }\n\n // If this is the first modifiable item, then set the variable for the unified state and move on.\n if (unifiedState === undefined) {\n unifiedState = item.hasAccess;\n continue;\n }\n\n // Otherwise, check to see if this item has the same state as all the prior modifiable items.\n if (unifiedState !== item.hasAccess) {\n // This item has a different state than at least one other modifiable item.\n // That means that there is no unified state, so reset the tracker to undefined and end the loop.\n unifiedState = undefined;\n break;\n }\n }\n\n return unifiedState;\n })();\n }\n\n /**\n * Checks if every single available access point item is disabled.\n * If even a single access point is enabled, this will return false.\n *\n * @returns {Promise}\n */\n @computed('deviceAccess', 'systemAccessPointItems')\n get allUnitsAreDisabled() {\n return (async () => {\n for (const item of this.systemAccessPointItems) {\n const canBeModified = await accessPointItemCanBeModified(item, this.deviceAccess);\n if (canBeModified) {\n return false;\n }\n }\n\n return true;\n })();\n }\n\n /**\n * Determines if we need to disable the \"Toggle all\" button, such as when all devices are disabled.\n *\n * @returns {Promise}\n */\n @computed('allUnitsAreDisabled', 'deviceAccess.canChangeUserCode')\n get disableToggleAllButton() {\n return (async () => {\n return !this.deviceAccess.canChangeUserCode || (await this.allUnitsAreDisabled);\n })();\n }\n\n /**\n * Action to give or remove access to/from all devices in the system.\n * */\n @action toggleDevices() {\n (async () => {\n // Swap the current state of the \"Toggle All\" button.\n this.toggleAllButtonState = !this.toggleAllButtonState;\n\n // Set all locations to the new state.\n this.updateAllSystemModels();\n })();\n }\n\n /**\n * Looks for the case where the user manually changes all the selection items to the same state,\n * rather than using the \"toggle all\" button, and updates the button accordingly.\n */\n @action async checkToggleSelections() {\n const unifiedSelectionState = await this.unifiedSelectionState;\n\n // If there is no unified state, there's nothing to do.\n if (unifiedSelectionState === undefined) {\n return;\n }\n\n // If the \"Toggle All\" button is already in the correct state, then there's nothing to do.\n if (unifiedSelectionState === this.toggleAllButtonState) {\n return;\n }\n\n // Otherwise, all the toggle items have the same state, so\n // update the Toggle All button to the same state.\n this.toggleAllButtonState = unifiedSelectionState;\n }\n\n /**\n * Updates all the access point item models for a given system.\n *\n * @function\n */\n async updateAllSystemModels() {\n const { systemAccessPointItems } = this;\n if (!systemAccessPointItems) {\n return;\n }\n\n const systemAccessPointItemsLoaded = await Promise.all(systemAccessPointItems);\n\n for (const item of systemAccessPointItemsLoaded) {\n const canBeModified = await accessPointItemCanBeModified(item, this.deviceAccess);\n if (canBeModified) {\n item.set('hasAccess', this.toggleAllButtonState);\n }\n }\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n \\n\",{ moduleName: \"customer-site/enterprise/users/edit/device-access/location-devices/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/users/edit/device-access/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/users/edit/device-access/user-code/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: Glint has context issues with the template, not sure why. }}\\n\\n\",{ moduleName: \"customer-site/enterprise/users/edit/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: Type of model doesn\\'t match, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/users/edit/language/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: Type of model doesn\\'t match, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/users/edit/link-login/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/users/edit/not-supported/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/users/edit/user-attributes/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/users/edit/user-attributes/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/users/edit/user-information/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n

    \\n {{item.label}}\\n {{#if item.props.description}}\\n {{item.props.description}}\\n {{/if}}\\n

    \\n \\n
    \\n\\n\",{ moduleName: \"customer-site/enterprise/users/edit/user-type/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: model type does not match, please fix this. --}}\\n\",{ moduleName: \"customer-site/enterprise/users/edit/username/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n

    {{tc this (if this.isEditing \\'editQuickFilter\\' \\'createQuickFilter\\')}}

    \\n {{!-- @glint-expect-error The updateDesc action doesn\\'t exist, please fix this or remove it. --}}\\n
    \\n

    {{tc this \\'quickFilterName\\'}}

    \\n \\n
    \\n
    \\n {{#each (await this.filtersToShow) as |filter|}}\\n \\n {{#if (eq filter.filteringFieldName \\'pinsStartingWithinNumDays\\')}}\\n \\n {{else}}\\n \\n {{/if}}\\n \\n {{/each}}\\n
    \\n
    \\n {{#if this.isEditing}}\\n \\n {{/if}}\\n\\n
    \\n \\n \\n
    \\n\\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/users/quick-filters/config-panel/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action, getProperties, setProperties } from '@ember/object';\nimport { notEmpty, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { areFilterParamsVaildLength } from 'customer-site/classes/helpers/filter-manager';\nimport { DropdownFilter } from 'customer-site/classes/helpers/filters/filters';\nimport UsersQuickFilter from 'customer-site/models/users/quick-filter';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownSelectItem, { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type { BaseFilter } from 'customer-site/classes/helpers/filters/filters';\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type UsersFilterManager from 'customer-site/classes/enterprise/users/filter-manager';\n\ninterface UsersQuickFiltersConfigPanelSignature {\n Element: HTMLDivElement;\n Args: {\n filtersManager: UsersFilterManager;\n };\n}\n\ninterface QuickFilterConfig {\n userType?: string[];\n location?: string[];\n enterpriseAccessType?: string[];\n pinStatus?: string[];\n userCodeSchedule?: string[];\n pinsStartingWithinNumDays?: number;\n}\n\n@intlPath({ path: 'enterprise.users.quick-filters.config-panel' })\nexport default class UsersQuickFiltersConfigPanel extends Component {\n @service declare store: Store;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n\n constructor(owner: unknown, args: UsersQuickFiltersConfigPanelSignature['Args']) {\n super(owner, args);\n\n this.newFilterDesc = this.args.filtersManager.quickFilterToEdit?.description ?? '';\n\n if (!this.isEditing) {\n this.cachedFilterValues = {\n ...getProperties(\n this.args.filtersManager.queryParams,\n 'userType',\n 'location',\n 'enterpriseAccessType',\n 'pinStatus',\n 'userCodeSchedule',\n 'pinsStartingWithinNumDays'\n )\n };\n }\n }\n\n @alias('args.filtersManager.quickFilterToEdit')\n filterToEdit?: UsersQuickFilter;\n\n /**\n * The name of the new quick filter\n */\n @tracked\n newFilterDesc: string;\n\n /**\n * The cached filter values to save on user input\n */\n @tracked\n cachedFilterValues: QuickFilterConfig = {};\n\n /**\n * Base if we are editing off of existence of a passed filter\n */\n @notEmpty('args.filtersManager.quickFilterToEdit')\n declare isEditing: boolean;\n\n /**\n * Validate the description input and display an error message if invalid\n */\n private validateDesc(): boolean {\n const isDuplicateName = !!this.store\n .peekAll('users/quick-filter')\n .find(\n (filter) =>\n filter.description.toLowerCase() === this.newFilterDesc.toLowerCase() &&\n filter.id !== this.filterToEdit?.id\n );\n\n if (this.newFilterDesc.length > 25) {\n this.notificationManager.addError(this.intl.tc(this, 'invalidFilterNameLength'));\n return false;\n }\n\n if (!this.newFilterDesc || this.newFilterDesc === '' || isDuplicateName) {\n this.notificationManager.addError(this.intl.tc(this, 'invalidFilterName'));\n return false;\n }\n\n return true;\n }\n\n /**\n * Validate the total length of the filters and display an error message if invalid\n */\n private validateQuickFilterLength(filter: UsersQuickFilter | undefined): boolean {\n const recordToThrow: Record = {};\n UsersQuickFilter.eachAttribute((name) => (recordToThrow[name] = filter?.get(name)));\n\n if (!areFilterParamsVaildLength(recordToThrow)) {\n this.notificationManager.addError(this.intl.tc(this, 'invalidFilterLength'));\n return false;\n }\n\n return true;\n }\n\n /**\n * Save cached values for a new or existing quick filter\n */\n @action\n async saveQuickFilter(): Promise {\n if (!this.validateDesc()) {\n return;\n }\n\n const {\n filterToEdit,\n newFilterDesc,\n notificationManager,\n intl,\n args: { filtersManager }\n } = this;\n\n if (this.isEditing) {\n setProperties(filterToEdit, {\n description: newFilterDesc,\n ...this.cachedFilterValues\n });\n\n if (!this.validateQuickFilterLength(filterToEdit)) return;\n\n try {\n await filterToEdit?.save();\n notificationManager.addSuccess(intl.tc(this, 'addEditSuccess'));\n filtersManager.closeQuickFilterConfig();\n } catch (e) {\n const error = e?.errors?.[0]?.detail;\n if (error) {\n notificationManager.addError(error);\n }\n }\n } else {\n const newQuickFilter = this.store.createRecord('users/quick-filter', {\n description: newFilterDesc,\n ...this.cachedFilterValues\n });\n\n if (!this.validateQuickFilterLength(newQuickFilter)) return;\n\n try {\n await newQuickFilter.save();\n notificationManager.addSuccess(intl.tc(this, 'addSuccess'));\n filtersManager.closeQuickFilterConfig();\n } catch (e) {\n const error = e?.errors?.[0]?.detail;\n if (error) {\n notificationManager.addError(error);\n }\n newQuickFilter.deleteRecord();\n }\n }\n }\n\n /**\n * Get relative date filter and existing users page dropdown filters\n */\n @computed('args.{filtersManager.filters,filterToEdit}', 'isEditing', 'filterToEdit')\n get filtersToShow(): Promise {\n return (async () => {\n const filtersToAdd: BaseFilter[] = [];\n this.args.filtersManager.filters\n .filterBy('isDropdown' as keyof BaseFilter) // Please fix this casting\n .forEach(async (filter: DropdownFilter) => {\n const matchingFilter: any =\n this.filterToEdit?.[filter.filteringFieldName as keyof UsersQuickFilter];\n const newItems = await (async () => {\n const items = await filter.items;\n return (items || []).map(({ name, value, state }) =>\n DropdownSelectItem.create({\n name,\n value,\n state: this.isEditing\n ? filter.isMultiSelect\n ? matchingFilter?.includes(value)\n ? SELECTED\n : UNSELECTED\n : matchingFilter == value\n ? SELECTED\n : UNSELECTED\n : state\n })\n );\n })();\n\n if (newItems.length === 0) {\n return;\n }\n\n filtersToAdd.push(\n new DropdownFilter(filter.title, filter.filteringFieldName, newItems, {\n placeholder: filter.placeholder,\n maxItemCount: filter.maxItemCount\n })\n );\n });\n return filtersToAdd;\n })();\n }\n\n /**\n * Cache the selected filter to the appropriate key to be saved on user input\n */\n @action\n cacheFilterSelections(\n key: Exclude,\n filters: DropdownSelectItem[]\n ): void {\n this.cachedFilterValues[key] = [];\n filters.filterBy('state', SELECTED).forEach((filter) => {\n this.cachedFilterValues[key]?.push(String(filter.value));\n });\n }\n\n /**\n * Save the relative date filter value\n */\n @action\n cachePinsNumDaysSelection(value: string): void {\n this.cachedFilterValues.pinsStartingWithinNumDays = Number(value);\n }\n\n /**\n * Delete the filter we are editing\n */\n @action\n async deleteQuickFilter(): Promise {\n const { notificationManager, intl } = this;\n try {\n await this.filterToEdit?.destroyRecord();\n } catch (e) {\n notificationManager.addError(intl.tc(this, 'deleteError'));\n return;\n }\n\n notificationManager.addSuccess(intl.tc(this, 'addDeleteSuccess'));\n\n this.args.filtersManager.closeQuickFilterConfig();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Users::QuickFilters::ConfigPanel': typeof UsersQuickFiltersConfigPanel;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n {{#if @canExpandFilters}}\\n \\n {{/if}}\\n {{#if @filtersManager.hasAppliedFilters}}\\n \\n {{/if}}\\n\\n {{#unless (media \\'isMobile\\')}}\\n {{this.usersCountText}}\\n {{/unless}}\\n\\n
    \\n\\n {{yield}}\\n \\n\\n
    \\n {{#if @filtersManager.filterVisible}}\\n {{#if @filtersManager.isQuickFilterConfig}}\\n \\n {{else}}\\n \\n {{!-- @glint-expect-error The isMobile property doesn\\'t exist, please fix this. --}}\\n {{#unless this.isMobile}}\\n {{!-- @glint-expect-error Types don\\'t match, please fix this. --}}\\n \\n {{/unless}}\\n {{/if}}\\n {{/if}}\\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/users/filter-bar/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { bool } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { debounceTask } from 'ember-lifeline';\nimport { Guest } from 'customer-site/enums/PointCentralUserType';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type EnterpriseUsersFilterManager from 'customer-site/classes/enterprise/users/filter-manager';\nimport type BaseFilter from 'customer-site/classes/helpers/filters/base-filter';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\ninterface EnterpriseUsersFilterBarSignature {\n Args: {\n filtersManager: EnterpriseUsersFilterManager;\n usersCount: string | undefined;\n inInactiveUsersMode: boolean;\n refreshCurrentLoadUsersRequestId: VoidFunction;\n canExpandFilters?: boolean;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst SEARCH_QUERY_PARAM = 'searchString';\n\n@intlPath({ path: 'enterprise.users.filter-bar' })\nexport default class EnterpriseUsersFilterBar extends Component {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n @service declare identityManager: IdentityManager;\n\n @tracked searchValue = '';\n\n @bool('identityManager.pointCentralIdentity.hasUsersPageAutomaticFilterForGuestsOnly')\n declare hasUsersPageAutomaticFilterForGuestsOnly: boolean;\n\n constructor(owner: unknown, args: EnterpriseUsersFilterBarSignature['Args']) {\n super(owner, args);\n this.searchValue = args.filtersManager.queryParams[SEARCH_QUERY_PARAM];\n }\n\n /**\n * The search filter.\n */\n @computed('args.filtersManager.filters')\n get searchFilter(): BaseFilter {\n return this.args.filtersManager.getFilterByName(SEARCH_QUERY_PARAM);\n }\n\n /**\n * Title of the \"Filter\" button.\n */\n @computed('args.filtersManager.filters', 'hasUsersPageAutomaticFilterForGuestsOnly')\n get filterButtonTitle(): string {\n return this.isOnlyGuestUserTypeFilterApplied(this.args.filtersManager)\n ? this.intl.tc(this, 'filterGuestsOnly')\n : this.intl.t('generic.filter');\n }\n\n /**\n * Text describing the user count.\n **/\n @computed('args.usersCount')\n get usersCountText(): string | undefined {\n const { usersCount, inInactiveUsersMode } = this.args;\n if (usersCount === undefined) {\n return undefined;\n }\n\n return this.intl.t(inInactiveUsersMode ? 'users.index.inactiveUsersCount' : 'users.index.usersCount', {\n numUsers: usersCount\n });\n }\n\n /**\n * Reset filter values.\n */\n @action\n resetFilters(): void {\n this.args.filtersManager.resetFilterValues({ page: 1 });\n }\n\n @action\n handleSearchValueChange(value: string): void {\n this.args.refreshCurrentLoadUsersRequestId();\n debounceTask(this, 'applySearchValue', value, 500);\n }\n\n applySearchValue(value: string): void {\n this.searchFilter.apply?.(value);\n }\n\n /**\n * Determines if the only filter that's applied is the \"Guest\" user type filter.\n */\n isOnlyGuestUserTypeFilterApplied(filterManager: EnterpriseUsersFilterManager): boolean {\n // If we have the feature toggle enabled to load guest users only by default.\n if (this.hasUsersPageAutomaticFilterForGuestsOnly === true) {\n // If the only filter that's applied is the guest user type filter.\n if (filterManager.appliedFilters.length == 1) {\n if (\n Array.isArray(filterManager.userFilterSelection?.userType) &&\n filterManager.userFilterSelection?.userType.length == 1 &&\n filterManager.userFilterSelection?.userType[0] == Guest\n ) {\n return true;\n }\n }\n }\n\n return false;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Users::FilterBar': typeof EnterpriseUsersFilterBar;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n

    {{tc this \\'quickFilterTitle\\'}}

    \\n {{#each this.quickFilters as |filter|}}\\n
    \\n \\n {{!-- @glint-expect-error The isMobile property doesn\\'t exist, please fix or delete. --}}\\n {{#unless this.isMobile}}\\n \\n {{/unless}}\\n
    \\n {{/each}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/users/quick-filters/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport ArrayProxy from '@ember/array/proxy';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type UsersFilterManager from 'customer-site/classes/enterprise/users/filter-manager';\nimport type QuickFilter from 'customer-site/models/users/quick-filter';\n\n/**\n * Passed properties for Quick Filters component\n */\ninterface QuickFiltersSignature {\n Args: {\n filtersManager: UsersFilterManager;\n };\n}\n\n/**\n * Component for handling user quick filters navigation, application, and setting custom filters\n *\n * @classdesc\n */\n@intlPath({ path: 'enterprise/users/quick-filters' })\nexport default class QuickFilters extends Component {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n\n constructor(owner: unknown, args: QuickFiltersSignature['Args']) {\n super(owner, args);\n\n this.populateQuickFilters.perform();\n }\n\n /**\n * Array of quick filters to be rendered\n */\n @tracked\n quickFilters: ArrayProxy = new ArrayProxy();\n\n /**\n * Currently selected filter's Id\n */\n @tracked\n selectedFilterId?: string;\n\n /**\n * Fetch saved quick filters\n */\n populateQuickFilters = task({ drop: true }, async () => {\n const filters = await this.store.findAll('users/quick-filter');\n this.quickFilters = filters;\n });\n\n /**\n * Apply a given filter\n */\n @action\n applyFilter(filter: QuickFilter): void {\n let { enterpriseAccessType, pinStatus, userCodeSchedule, userType, pinsStartingWithinNumDays, location } =\n filter;\n\n enterpriseAccessType = enterpriseAccessType?.length === 0 ? undefined : enterpriseAccessType;\n pinStatus = pinStatus?.length === 0 ? undefined : pinStatus;\n userCodeSchedule = userCodeSchedule?.length === 0 ? undefined : userCodeSchedule;\n userType = userType?.length === 0 ? undefined : userType;\n location = location?.length === 0 ? undefined : location;\n pinsStartingWithinNumDays = pinsStartingWithinNumDays === 0 ? undefined : pinsStartingWithinNumDays;\n\n const newValues: Record = {\n enterpriseAccessType,\n pinStatus,\n userCodeSchedule,\n userType,\n location,\n pinsStartingWithinNumDays\n };\n\n this.args.filtersManager.applyCleanFilters(newValues);\n this.selectedFilterId = filter.id;\n }\n\n /**\n * Clear the selectedFilterId if the appliedFilters is set to zero\n */\n @action\n appliedFilterChange(): void {\n if (!this.args.filtersManager.hasAppliedFilters) {\n this.selectedFilterId = '';\n }\n }\n\n /**\n * Handle key presses\n */\n @action\n keyInput(actionFn: (arg0: QuickFilter) => void, filter: QuickFilter, event: KeyboardEvent): void {\n if (event.code === 'Enter') {\n actionFn(filter);\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Users::QuickFilters': typeof QuickFilters;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar as |api|>\\n
    \\n \\n {{#if this.displayLoadingIcon}}\\n
    \\n \\n
    \\n {{/if}}\\n\\n {{#if (and this.isPointCentral this.identityManager.pointCentralIdentity.hasDeleteExpiredInactivePCUsersFeatureToggle)}}\\n \\n {{/if}}\\n\\n \\n\\n {{!-- @glint-expect-error: isMobile doesn\\'t exist, please fix this. --}}\\n {{#unless this.isMobile}}\\n \\n {{/unless}}\\n \\n\\n \\n
    \\n \\n\\n <:default as |PageViewContainer|>\\n {{#if (and this.resolvedModel.permissions.viewMobileCredential this.hasPointCentralMobileCredentialsFeatureToggle)}}\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n \\n {{/if}}\\n\\n \\n <:default as |data|>\\n {{#if this.alarms.length}}\\n \\n
    \\n

    {{tc this \\'someLocationsInAlarm\\'}}

    \\n
      \\n {{#each this.alarms as |alarm|}}\\n
    • {{alarm.descriptionWithSystemNameAndDate}}
    • \\n {{/each}}\\n
    \\n
    \\n
    \\n {{/if}}\\n\\n {{#if this.users.length}}\\n {{!-- @glint-expect-error The class property should be a component property, not an html property. Please fix this. --}}\\n \\n
  • \\n {{#if this.hasUsersPageBulkActionsBeta}}\\n \\n {{else}}\\n {{!-- @glint-expect-error: Please convert this component to TS. --}}\\n \\n {{/if}}\\n
  • \\n \\n {{/if}}\\n\\n \\n\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
    \\n \\n\\n\\n{{!-- @glint-expect-error: isMobile doesn\\'t exist, please fix this. --}}\\n{{#unless this.isMobile}}\\n \\n {{! @glint-expect-error: filtersManager can be undefined, please fix this. }}\\n \\n
    \\n{{/unless}}\",{ moduleName: \"customer-site/enterprise/users/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/enterprise/users/merge-users-list/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/users/merge-users-preview/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n \\n \\n\\n \\n \\n\\n\",{ moduleName: \"customer-site/enterprise/video/advanced-video-search/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-expect-error: model type does not match, please fix this. }}\\n\",{ moduleName: \"customer-site/enterprise/video/camera-groups/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.isManageRoute}}\\n \\n{{/if}}\\n\\n{{outlet}}\",{ moduleName: \"customer-site/enterprise/video/camera-groups/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: Please convert to PageView for type safety. }}\\n\\n \\n\\n \\n\\n \\n\\n \\n \\n \\n \\n \\n\",{ moduleName: \"customer-site/enterprise/video/clips/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/video/clips/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: Please convert to PageView for type safety. }}\\n\\n \\n\\n \\n\\n \\n\\n \\n \\n \\n \\n \\n\",{ moduleName: \"customer-site/enterprise/video/gallery/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{outlet}}\",{ moduleName: \"customer-site/enterprise/video/gallery/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{!-- @glint-expect-error: Please convert this component to TS. --}}\\n\",{ moduleName: \"customer-site/enterprise/video/live-view/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/video/svr-timeline/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/enterprise/video/thumbnail-search/template.hbs\" })","\nimport { importSync as i } from '@embroider/macros';\nlet d = window.define;\nd(\"customer-site/enterprise/access-control/access-plans/template\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-plans/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/controller.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/route\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/route.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/edit/template\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/edit/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-plans/edit/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/edit/controller.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/edit/route.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/index/template\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-plans/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/index/controller.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/index/route\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/index/route.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/new/template\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/new/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-plans/new/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/new/controller.ts\");});\nd(\"customer-site/enterprise/access-control/access-plans/new/route\", function(){ return i(\"customer-site/enterprise/access-control/access-plans/new/route.ts\");});\nd(\"customer-site/enterprise/access-control/access-points/template\", function(){ return i(\"customer-site/enterprise/access-control/access-points/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-points/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-points/controller.js\");});\nd(\"customer-site/enterprise/access-control/access-points/route\", function(){ return i(\"customer-site/enterprise/access-control/access-points/route.js\");});\nd(\"customer-site/enterprise/access-control/access-points/edit/template\", function(){ return i(\"customer-site/enterprise/access-control/access-points/edit/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-points/edit/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-points/edit/controller.js\");});\nd(\"customer-site/enterprise/access-control/access-points/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/access-points/edit/route.ts\");});\nd(\"customer-site/enterprise/access-control/access-points/index/template\", function(){ return i(\"customer-site/enterprise/access-control/access-points/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/access-points/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/access-points/index/controller.ts\");});\nd(\"customer-site/enterprise/access-control/access-points/index/route\", function(){ return i(\"customer-site/enterprise/access-control/access-points/index/route.ts\");});\nd(\"customer-site/enterprise/access-control/elevators/template\", function(){ return i(\"customer-site/enterprise/access-control/elevators/template.hbs\");});\nd(\"customer-site/enterprise/access-control/elevators/controller\", function(){ return i(\"customer-site/enterprise/access-control/elevators/controller.js\");});\nd(\"customer-site/enterprise/access-control/elevators/route\", function(){ return i(\"customer-site/enterprise/access-control/elevators/route.js\");});\nd(\"customer-site/enterprise/access-control/elevators/index/template\", function(){ return i(\"customer-site/enterprise/access-control/elevators/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/elevators/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/elevators/index/controller.js\");});\nd(\"customer-site/enterprise/access-control/elevators/index/route\", function(){ return i(\"customer-site/enterprise/access-control/elevators/index/route.js\");});\nd(\"customer-site/enterprise/access-control/holidays/edit/template\", function(){ return i(\"customer-site/enterprise/access-control/holidays/edit/template.hbs\");});\nd(\"customer-site/enterprise/access-control/holidays/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/holidays/edit/route.ts\");});\nd(\"customer-site/enterprise/access-control/index/route\", function(){ return i(\"customer-site/enterprise/access-control/index/route.js\");});\nd(\"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/add-enterprise-logins-options/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/associate/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/associate/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/associate/multi-group-login/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/associate/multi-group-login/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/associate/multi-group-login/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/associate/multi-group-login/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/associate/multi-group-login/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/associate/multi-group-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/edit-scheduled-device-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/edit/multi-group-login/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/multi-group-login/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/edit/multi-group-login/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/multi-group-login/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/edit/multi-group-login/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/edit/multi-group-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/elevate-logins/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/elevate-logins/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/elevate-logins/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/elevate-logins/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/index/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/index/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/index/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/index/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/new-multi-group-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/template\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/template.hbs\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/controller\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/controller.ts\");});\nd(\"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/route\", function(){ return i(\"customer-site/enterprise/access-control/logins/new-login/new-scheduled-device-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/edit/controller\", function(){ return i(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/edit/controller.ts\");});\nd(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/edit/route.ts\");});\nd(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/template\", function(){ return i(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/controller.ts\");});\nd(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/route\", function(){ return i(\"customer-site/enterprise/access-control/system-mode-configuration/lockdown-configuration/index/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/template\", function(){ return i(\"customer-site/enterprise/access-control/users/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/route\", function(){ return i(\"customer-site/enterprise/access-control/users/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/bulk-create/template\", function(){ return i(\"customer-site/enterprise/access-control/users/bulk-create/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/bulk-create/route\", function(){ return i(\"customer-site/enterprise/access-control/users/bulk-create/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit-not-supported/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit-not-supported/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit-not-supported/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit-not-supported/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/access-plans/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/access-plans/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/access-plans/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/access-plans/controller.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/access-plans/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/access-plans/route.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/add-contact/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/add-contact/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/add-contact/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/add-contact/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/contact-information/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/contact-information/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/contact-information/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/contact-information/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/expiring-credentials/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/expiring-credentials/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/expiring-credentials/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/expiring-credentials/controller.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/expiring-credentials/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/expiring-credentials/route.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/index/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/index/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/index/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/index/route.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/language/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/language/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/language/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/language/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/language/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/language/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/link-login/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/link-login/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/link-login/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/link-login/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/link-login/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/link-login/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-attributes/edit/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-attributes/edit/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-attributes/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-attributes/edit/route.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-attributes/index/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-attributes/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-attributes/index/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-attributes/index/route.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-group/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-group/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-group/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-group/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-group/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-group/route.js\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-information/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-information/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-information/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-information/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/user-information/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/user-information/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/edit/username/template\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/username/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/edit/username/route\", function(){ return i(\"customer-site/enterprise/access-control/users/edit/username/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/index/template\", function(){ return i(\"customer-site/enterprise/access-control/users/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/index/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/index/route\", function(){ return i(\"customer-site/enterprise/access-control/users/index/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/merge-users-list/template\", function(){ return i(\"customer-site/enterprise/access-control/users/merge-users-list/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/merge-users-list/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/merge-users-list/controller.ts\");});\nd(\"customer-site/enterprise/access-control/users/merge-users-list/route\", function(){ return i(\"customer-site/enterprise/access-control/users/merge-users-list/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/merge-users-preview/template\", function(){ return i(\"customer-site/enterprise/access-control/users/merge-users-preview/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/merge-users-preview/route\", function(){ return i(\"customer-site/enterprise/access-control/users/merge-users-preview/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/promote-user/template\", function(){ return i(\"customer-site/enterprise/access-control/users/promote-user/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/promote-user/route\", function(){ return i(\"customer-site/enterprise/access-control/users/promote-user/route.ts\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/edit/template\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/edit/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/edit/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/edit/controller.js\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/edit/route\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/edit/route.js\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/index/template\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/index/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/index/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/index/controller.js\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/index/route\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/index/route.js\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/new/template\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/new/template.hbs\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/new/controller\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/new/controller.js\");});\nd(\"customer-site/enterprise/access-control/users/user-groups/new/route\", function(){ return i(\"customer-site/enterprise/access-control/users/user-groups/new/route.js\");});\nd(\"customer-site/enterprise/activity/event-history/template\", function(){ return i(\"customer-site/enterprise/activity/event-history/template.hbs\");});\nd(\"customer-site/enterprise/activity/event-history/controller\", function(){ return i(\"customer-site/enterprise/activity/event-history/controller.ts\");});\nd(\"customer-site/enterprise/activity/event-history/route\", function(){ return i(\"customer-site/enterprise/activity/event-history/route.ts\");});\nd(\"customer-site/enterprise/activity/event-history/image/template\", function(){ return i(\"customer-site/enterprise/activity/event-history/image/template.hbs\");});\nd(\"customer-site/enterprise/activity/event-history/image/controller\", function(){ return i(\"customer-site/enterprise/activity/event-history/image/controller.ts\");});\nd(\"customer-site/enterprise/activity/event-history/image/route\", function(){ return i(\"customer-site/enterprise/activity/event-history/image/route.ts\");});\nd(\"customer-site/enterprise/activity/event-history/index/template\", function(){ return i(\"customer-site/enterprise/activity/event-history/index/template.hbs\");});\nd(\"customer-site/enterprise/activity/event-history/index/controller\", function(){ return i(\"customer-site/enterprise/activity/event-history/index/controller.ts\");});\nd(\"customer-site/enterprise/activity/event-history/index/route\", function(){ return i(\"customer-site/enterprise/activity/event-history/index/route.ts\");});\nd(\"customer-site/enterprise/activity/event-history/video/template\", function(){ return i(\"customer-site/enterprise/activity/event-history/video/template.hbs\");});\nd(\"customer-site/enterprise/activity/event-history/video/route\", function(){ return i(\"customer-site/enterprise/activity/event-history/video/route.ts\");});\nd(\"customer-site/enterprise/activity/extended-activity-history/template\", function(){ return i(\"customer-site/enterprise/activity/extended-activity-history/template.hbs\");});\nd(\"customer-site/enterprise/activity/extended-activity-history/controller\", function(){ return i(\"customer-site/enterprise/activity/extended-activity-history/controller.js\");});\nd(\"customer-site/enterprise/activity/extended-activity-history/route\", function(){ return i(\"customer-site/enterprise/activity/extended-activity-history/route.js\");});\nd(\"customer-site/enterprise/activity/group-event-history/route\", function(){ return i(\"customer-site/enterprise/activity/group-event-history/route.js\");});\nd(\"customer-site/enterprise/alerts-issues/template\", function(){ return i(\"customer-site/enterprise/alerts-issues/template.hbs\");});\nd(\"customer-site/enterprise/alerts-issues/controller\", function(){ return i(\"customer-site/enterprise/alerts-issues/controller.ts\");});\nd(\"customer-site/enterprise/alerts-issues/route\", function(){ return i(\"customer-site/enterprise/alerts-issues/route.ts\");});\nd(\"customer-site/enterprise/groups/add-location/template\", function(){ return i(\"customer-site/enterprise/groups/add-location/template.hbs\");});\nd(\"customer-site/enterprise/groups/add-location/controller\", function(){ return i(\"customer-site/enterprise/groups/add-location/controller.ts\");});\nd(\"customer-site/enterprise/groups/add-location/route\", function(){ return i(\"customer-site/enterprise/groups/add-location/route.ts\");});\nd(\"customer-site/enterprise/groups/index/template\", function(){ return i(\"customer-site/enterprise/groups/index/template.hbs\");});\nd(\"customer-site/enterprise/groups/index/controller\", function(){ return i(\"customer-site/enterprise/groups/index/controller.js\");});\nd(\"customer-site/enterprise/groups/index/route\", function(){ return i(\"customer-site/enterprise/groups/index/route.ts\");});\nd(\"customer-site/enterprise/groups/new-enterprise/controller\", function(){ return i(\"customer-site/enterprise/groups/new-enterprise/controller.js\");});\nd(\"customer-site/enterprise/groups/new-enterprise/route\", function(){ return i(\"customer-site/enterprise/groups/new-enterprise/route.js\");});\nd(\"customer-site/enterprise/groups/new-group/template\", function(){ return i(\"customer-site/enterprise/groups/new-group/template.hbs\");});\nd(\"customer-site/enterprise/groups/new-group/controller\", function(){ return i(\"customer-site/enterprise/groups/new-group/controller.js\");});\nd(\"customer-site/enterprise/groups/new-group/route\", function(){ return i(\"customer-site/enterprise/groups/new-group/route.js\");});\nd(\"customer-site/enterprise/locations/template\", function(){ return i(\"customer-site/enterprise/locations/template.hbs\");});\nd(\"customer-site/enterprise/locations/controller\", function(){ return i(\"customer-site/enterprise/locations/controller.js\");});\nd(\"customer-site/enterprise/locations/route\", function(){ return i(\"customer-site/enterprise/locations/route.js\");});\nd(\"customer-site/enterprise/locations/device-access/template\", function(){ return i(\"customer-site/enterprise/locations/device-access/template.hbs\");});\nd(\"customer-site/enterprise/locations/device-access/controller\", function(){ return i(\"customer-site/enterprise/locations/device-access/controller.js\");});\nd(\"customer-site/enterprise/locations/device-access/route\", function(){ return i(\"customer-site/enterprise/locations/device-access/route.ts\");});\nd(\"customer-site/enterprise/locations/fleet/template\", function(){ return i(\"customer-site/enterprise/locations/fleet/template.hbs\");});\nd(\"customer-site/enterprise/locations/fleet/controller\", function(){ return i(\"customer-site/enterprise/locations/fleet/controller.ts\");});\nd(\"customer-site/enterprise/locations/fleet/route\", function(){ return i(\"customer-site/enterprise/locations/fleet/route.ts\");});\nd(\"customer-site/enterprise/locations/index/route\", function(){ return i(\"customer-site/enterprise/locations/index/route.ts\");});\nd(\"customer-site/enterprise/locations/location/template\", function(){ return i(\"customer-site/enterprise/locations/location/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/controller\", function(){ return i(\"customer-site/enterprise/locations/location/controller.js\");});\nd(\"customer-site/enterprise/locations/location/route\", function(){ return i(\"customer-site/enterprise/locations/location/route.js\");});\nd(\"customer-site/enterprise/locations/location/access-points/template\", function(){ return i(\"customer-site/enterprise/locations/location/access-points/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/access-points/controller\", function(){ return i(\"customer-site/enterprise/locations/location/access-points/controller.js\");});\nd(\"customer-site/enterprise/locations/location/access-points/route\", function(){ return i(\"customer-site/enterprise/locations/location/access-points/route.ts\");});\nd(\"customer-site/enterprise/locations/location/edit/index/template\", function(){ return i(\"customer-site/enterprise/locations/location/edit/index/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/edit/index/controller\", function(){ return i(\"customer-site/enterprise/locations/location/edit/index/controller.ts\");});\nd(\"customer-site/enterprise/locations/location/edit/index/route\", function(){ return i(\"customer-site/enterprise/locations/location/edit/index/route.ts\");});\nd(\"customer-site/enterprise/locations/location/edit/users/template\", function(){ return i(\"customer-site/enterprise/locations/location/edit/users/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/edit/users/controller\", function(){ return i(\"customer-site/enterprise/locations/location/edit/users/controller.ts\");});\nd(\"customer-site/enterprise/locations/location/edit/users/route\", function(){ return i(\"customer-site/enterprise/locations/location/edit/users/route.ts\");});\nd(\"customer-site/enterprise/locations/location/index/route\", function(){ return i(\"customer-site/enterprise/locations/location/index/route.ts\");});\nd(\"customer-site/enterprise/locations/location/manage-residents-v2/template\", function(){ return i(\"customer-site/enterprise/locations/location/manage-residents-v2/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/manage-residents-v2/controller\", function(){ return i(\"customer-site/enterprise/locations/location/manage-residents-v2/controller.js\");});\nd(\"customer-site/enterprise/locations/location/manage-residents-v2/route\", function(){ return i(\"customer-site/enterprise/locations/location/manage-residents-v2/route.js\");});\nd(\"customer-site/enterprise/locations/location/manage-residents/template\", function(){ return i(\"customer-site/enterprise/locations/location/manage-residents/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/manage-residents/controller\", function(){ return i(\"customer-site/enterprise/locations/location/manage-residents/controller.js\");});\nd(\"customer-site/enterprise/locations/location/manage-residents/route\", function(){ return i(\"customer-site/enterprise/locations/location/manage-residents/route.js\");});\nd(\"customer-site/enterprise/locations/location/manual-move-in/template\", function(){ return i(\"customer-site/enterprise/locations/location/manual-move-in/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/manual-move-in/controller\", function(){ return i(\"customer-site/enterprise/locations/location/manual-move-in/controller.ts\");});\nd(\"customer-site/enterprise/locations/location/manual-move-in/route\", function(){ return i(\"customer-site/enterprise/locations/location/manual-move-in/route.ts\");});\nd(\"customer-site/enterprise/locations/location/panel/template\", function(){ return i(\"customer-site/enterprise/locations/location/panel/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/panel/controller\", function(){ return i(\"customer-site/enterprise/locations/location/panel/controller.js\");});\nd(\"customer-site/enterprise/locations/location/panel/route\", function(){ return i(\"customer-site/enterprise/locations/location/panel/route.js\");});\nd(\"customer-site/enterprise/locations/location/thermostats/template\", function(){ return i(\"customer-site/enterprise/locations/location/thermostats/template.hbs\");});\nd(\"customer-site/enterprise/locations/location/thermostats/controller\", function(){ return i(\"customer-site/enterprise/locations/location/thermostats/controller.js\");});\nd(\"customer-site/enterprise/locations/location/thermostats/route\", function(){ return i(\"customer-site/enterprise/locations/location/thermostats/route.js\");});\nd(\"customer-site/enterprise/locations/occupancy/template\", function(){ return i(\"customer-site/enterprise/locations/occupancy/template.hbs\");});\nd(\"customer-site/enterprise/locations/occupancy/controller\", function(){ return i(\"customer-site/enterprise/locations/occupancy/controller.js\");});\nd(\"customer-site/enterprise/locations/occupancy/route\", function(){ return i(\"customer-site/enterprise/locations/occupancy/route.js\");});\nd(\"customer-site/enterprise/locations/personal-safety/template\", function(){ return i(\"customer-site/enterprise/locations/personal-safety/template.hbs\");});\nd(\"customer-site/enterprise/locations/personal-safety/controller\", function(){ return i(\"customer-site/enterprise/locations/personal-safety/controller.js\");});\nd(\"customer-site/enterprise/locations/personal-safety/route\", function(){ return i(\"customer-site/enterprise/locations/personal-safety/route.js\");});\nd(\"customer-site/enterprise/locations/summary/template\", function(){ return i(\"customer-site/enterprise/locations/summary/template.hbs\");});\nd(\"customer-site/enterprise/locations/summary/controller\", function(){ return i(\"customer-site/enterprise/locations/summary/controller.js\");});\nd(\"customer-site/enterprise/locations/summary/route\", function(){ return i(\"customer-site/enterprise/locations/summary/route.js\");});\nd(\"customer-site/enterprise/locations/temperatures/template\", function(){ return i(\"customer-site/enterprise/locations/temperatures/template.hbs\");});\nd(\"customer-site/enterprise/locations/temperatures/controller\", function(){ return i(\"customer-site/enterprise/locations/temperatures/controller.js\");});\nd(\"customer-site/enterprise/locations/temperatures/route\", function(){ return i(\"customer-site/enterprise/locations/temperatures/route.js\");});\nd(\"customer-site/enterprise/locations/thermostats/template\", function(){ return i(\"customer-site/enterprise/locations/thermostats/template.hbs\");});\nd(\"customer-site/enterprise/locations/thermostats/controller\", function(){ return i(\"customer-site/enterprise/locations/thermostats/controller.ts\");});\nd(\"customer-site/enterprise/locations/thermostats/route\", function(){ return i(\"customer-site/enterprise/locations/thermostats/route.ts\");});\nd(\"customer-site/enterprise/locations/video/template\", function(){ return i(\"customer-site/enterprise/locations/video/template.hbs\");});\nd(\"customer-site/enterprise/locations/video/controller\", function(){ return i(\"customer-site/enterprise/locations/video/controller.js\");});\nd(\"customer-site/enterprise/locations/video/route\", function(){ return i(\"customer-site/enterprise/locations/video/route.js\");});\nd(\"customer-site/enterprise/logins/add-enterprise-logins-options/template\", function(){ return i(\"customer-site/enterprise/logins/add-enterprise-logins-options/template.hbs\");});\nd(\"customer-site/enterprise/logins/add-enterprise-logins-options/controller\", function(){ return i(\"customer-site/enterprise/logins/add-enterprise-logins-options/controller.ts\");});\nd(\"customer-site/enterprise/logins/add-enterprise-logins-options/route\", function(){ return i(\"customer-site/enterprise/logins/add-enterprise-logins-options/route.ts\");});\nd(\"customer-site/enterprise/logins/associate/route\", function(){ return i(\"customer-site/enterprise/logins/associate/route.ts\");});\nd(\"customer-site/enterprise/logins/associate/multi-group-login/template\", function(){ return i(\"customer-site/enterprise/logins/associate/multi-group-login/template.hbs\");});\nd(\"customer-site/enterprise/logins/associate/multi-group-login/controller\", function(){ return i(\"customer-site/enterprise/logins/associate/multi-group-login/controller.ts\");});\nd(\"customer-site/enterprise/logins/associate/multi-group-login/route\", function(){ return i(\"customer-site/enterprise/logins/associate/multi-group-login/route.ts\");});\nd(\"customer-site/enterprise/logins/edit/route\", function(){ return i(\"customer-site/enterprise/logins/edit/route.ts\");});\nd(\"customer-site/enterprise/logins/edit/edit-scheduled-device-login/template\", function(){ return i(\"customer-site/enterprise/logins/edit/edit-scheduled-device-login/template.hbs\");});\nd(\"customer-site/enterprise/logins/edit/edit-scheduled-device-login/controller\", function(){ return i(\"customer-site/enterprise/logins/edit/edit-scheduled-device-login/controller.ts\");});\nd(\"customer-site/enterprise/logins/edit/edit-scheduled-device-login/route\", function(){ return i(\"customer-site/enterprise/logins/edit/edit-scheduled-device-login/route.ts\");});\nd(\"customer-site/enterprise/logins/edit/multi-group-login/template\", function(){ return i(\"customer-site/enterprise/logins/edit/multi-group-login/template.hbs\");});\nd(\"customer-site/enterprise/logins/edit/multi-group-login/controller\", function(){ return i(\"customer-site/enterprise/logins/edit/multi-group-login/controller.ts\");});\nd(\"customer-site/enterprise/logins/edit/multi-group-login/route\", function(){ return i(\"customer-site/enterprise/logins/edit/multi-group-login/route.ts\");});\nd(\"customer-site/enterprise/logins/elevate-logins/template\", function(){ return i(\"customer-site/enterprise/logins/elevate-logins/template.hbs\");});\nd(\"customer-site/enterprise/logins/elevate-logins/route\", function(){ return i(\"customer-site/enterprise/logins/elevate-logins/route.ts\");});\nd(\"customer-site/enterprise/logins/index/template\", function(){ return i(\"customer-site/enterprise/logins/index/template.hbs\");});\nd(\"customer-site/enterprise/logins/index/controller\", function(){ return i(\"customer-site/enterprise/logins/index/controller.ts\");});\nd(\"customer-site/enterprise/logins/index/route\", function(){ return i(\"customer-site/enterprise/logins/index/route.ts\");});\nd(\"customer-site/enterprise/logins/new-login/route\", function(){ return i(\"customer-site/enterprise/logins/new-login/route.ts\");});\nd(\"customer-site/enterprise/logins/new-login/new-multi-group-login/template\", function(){ return i(\"customer-site/enterprise/logins/new-login/new-multi-group-login/template.hbs\");});\nd(\"customer-site/enterprise/logins/new-login/new-multi-group-login/controller\", function(){ return i(\"customer-site/enterprise/logins/new-login/new-multi-group-login/controller.ts\");});\nd(\"customer-site/enterprise/logins/new-login/new-multi-group-login/route\", function(){ return i(\"customer-site/enterprise/logins/new-login/new-multi-group-login/route.ts\");});\nd(\"customer-site/enterprise/logins/new-login/new-scheduled-device-login/template\", function(){ return i(\"customer-site/enterprise/logins/new-login/new-scheduled-device-login/template.hbs\");});\nd(\"customer-site/enterprise/logins/new-login/new-scheduled-device-login/controller\", function(){ return i(\"customer-site/enterprise/logins/new-login/new-scheduled-device-login/controller.ts\");});\nd(\"customer-site/enterprise/logins/new-login/new-scheduled-device-login/route\", function(){ return i(\"customer-site/enterprise/logins/new-login/new-scheduled-device-login/route.ts\");});\nd(\"customer-site/enterprise/multi-group-settings/template\", function(){ return i(\"customer-site/enterprise/multi-group-settings/template.hbs\");});\nd(\"customer-site/enterprise/multi-group-settings/route\", function(){ return i(\"customer-site/enterprise/multi-group-settings/route.js\");});\nd(\"customer-site/enterprise/overview/community-dashboard/route\", function(){ return i(\"customer-site/enterprise/overview/community-dashboard/route.ts\");});\nd(\"customer-site/enterprise/overview/locations/template\", function(){ return i(\"customer-site/enterprise/overview/locations/template.hbs\");});\nd(\"customer-site/enterprise/overview/locations/controller\", function(){ return i(\"customer-site/enterprise/overview/locations/controller.js\");});\nd(\"customer-site/enterprise/overview/locations/route\", function(){ return i(\"customer-site/enterprise/overview/locations/route.js\");});\nd(\"customer-site/enterprise/reports/catalog/template\", function(){ return i(\"customer-site/enterprise/reports/catalog/template.hbs\");});\nd(\"customer-site/enterprise/reports/catalog/controller\", function(){ return i(\"customer-site/enterprise/reports/catalog/controller.ts\");});\nd(\"customer-site/enterprise/reports/catalog/route\", function(){ return i(\"customer-site/enterprise/reports/catalog/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/template\", function(){ return i(\"customer-site/enterprise/reports/edit/template.hbs\");});\nd(\"customer-site/enterprise/reports/edit/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/route\", function(){ return i(\"customer-site/enterprise/reports/edit/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/access-history-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/access-history-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/access-history-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/access-history-report/route.js\");});\nd(\"customer-site/enterprise/reports/edit/alarms-issues-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/alarms-issues-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/alarms-issues-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/alarms-issues-report/route.js\");});\nd(\"customer-site/enterprise/reports/edit/battery-level-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/battery-level-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/battery-level-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/battery-level-report/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/business-activity-analytics-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/business-activity-analytics-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/business-activity-analytics-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/business-activity-analytics-report/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/self-guided-tours-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/self-guided-tours-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/self-guided-tours-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/self-guided-tours-report/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/trouble-condition-details-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/trouble-condition-details-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/trouble-condition-details-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/trouble-condition-details-report/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/trouble-condition-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/trouble-condition-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/trouble-condition-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/trouble-condition-report/route.js\");});\nd(\"customer-site/enterprise/reports/edit/user-activity-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/user-activity-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/user-activity-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/user-activity-report/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/user-summary-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/user-summary-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/user-summary-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/user-summary-report/route.ts\");});\nd(\"customer-site/enterprise/reports/edit/video-health-report/controller\", function(){ return i(\"customer-site/enterprise/reports/edit/video-health-report/controller.ts\");});\nd(\"customer-site/enterprise/reports/edit/video-health-report/route\", function(){ return i(\"customer-site/enterprise/reports/edit/video-health-report/route.ts\");});\nd(\"customer-site/enterprise/reports/index/template\", function(){ return i(\"customer-site/enterprise/reports/index/template.hbs\");});\nd(\"customer-site/enterprise/reports/index/controller\", function(){ return i(\"customer-site/enterprise/reports/index/controller.ts\");});\nd(\"customer-site/enterprise/reports/index/route\", function(){ return i(\"customer-site/enterprise/reports/index/route.ts\");});\nd(\"customer-site/enterprise/settings/route\", function(){ return i(\"customer-site/enterprise/settings/route.ts\");});\nd(\"customer-site/enterprise/settings/access-control-restricted-access/template\", function(){ return i(\"customer-site/enterprise/settings/access-control-restricted-access/template.hbs\");});\nd(\"customer-site/enterprise/settings/access-control-restricted-access/route\", function(){ return i(\"customer-site/enterprise/settings/access-control-restricted-access/route.ts\");});\nd(\"customer-site/enterprise/settings/access-settings/template\", function(){ return i(\"customer-site/enterprise/settings/access-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/access-settings/controller\", function(){ return i(\"customer-site/enterprise/settings/access-settings/controller.ts\");});\nd(\"customer-site/enterprise/settings/access-settings/route\", function(){ return i(\"customer-site/enterprise/settings/access-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/controller\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/controller.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-authentication-provider-token/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-login-mapping/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-enterprise-group-mapping/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-group-to-plan-mapping/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-location-group-mapping/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-location-group-mapping/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/active-directory-location-group-mapping/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/active-directory-location-group-mapping/route.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/index/template\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/index/controller\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/active-directory-setup/index/route\", function(){ return i(\"customer-site/enterprise/settings/active-directory-setup/index/route.js\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/apply/template\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/apply/template.hbs\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/apply/controller\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/apply/controller.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/apply/route\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/apply/route.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/template\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/template.hbs\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/controller\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/controller.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/route\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/edit-arming-schedule/route.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/edit/template\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/edit/route\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/index/template\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/index/controller\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/arming-schedule-templates/index/route\", function(){ return i(\"customer-site/enterprise/settings/arming-schedule-templates/index/route.ts\");});\nd(\"customer-site/enterprise/settings/auto-relock/template\", function(){ return i(\"customer-site/enterprise/settings/auto-relock/template.hbs\");});\nd(\"customer-site/enterprise/settings/auto-relock/controller\", function(){ return i(\"customer-site/enterprise/settings/auto-relock/controller.ts\");});\nd(\"customer-site/enterprise/settings/auto-relock/route\", function(){ return i(\"customer-site/enterprise/settings/auto-relock/route.ts\");});\nd(\"customer-site/enterprise/settings/automatic-panel-arming/template\", function(){ return i(\"customer-site/enterprise/settings/automatic-panel-arming/template.hbs\");});\nd(\"customer-site/enterprise/settings/automatic-panel-arming/controller\", function(){ return i(\"customer-site/enterprise/settings/automatic-panel-arming/controller.ts\");});\nd(\"customer-site/enterprise/settings/automatic-panel-arming/route\", function(){ return i(\"customer-site/enterprise/settings/automatic-panel-arming/route.ts\");});\nd(\"customer-site/enterprise/settings/automatically-enable-background-capture/template\", function(){ return i(\"customer-site/enterprise/settings/automatically-enable-background-capture/template.hbs\");});\nd(\"customer-site/enterprise/settings/automatically-enable-background-capture/controller\", function(){ return i(\"customer-site/enterprise/settings/automatically-enable-background-capture/controller.js\");});\nd(\"customer-site/enterprise/settings/automatically-enable-background-capture/route\", function(){ return i(\"customer-site/enterprise/settings/automatically-enable-background-capture/route.js\");});\nd(\"customer-site/enterprise/settings/backup-codes/template\", function(){ return i(\"customer-site/enterprise/settings/backup-codes/template.hbs\");});\nd(\"customer-site/enterprise/settings/backup-codes/controller\", function(){ return i(\"customer-site/enterprise/settings/backup-codes/controller.ts\");});\nd(\"customer-site/enterprise/settings/backup-codes/route\", function(){ return i(\"customer-site/enterprise/settings/backup-codes/route.ts\");});\nd(\"customer-site/enterprise/settings/business-hour-templates/template\", function(){ return i(\"customer-site/enterprise/settings/business-hour-templates/template.hbs\");});\nd(\"customer-site/enterprise/settings/business-hour-templates/controller\", function(){ return i(\"customer-site/enterprise/settings/business-hour-templates/controller.js\");});\nd(\"customer-site/enterprise/settings/business-hour-templates/route\", function(){ return i(\"customer-site/enterprise/settings/business-hour-templates/route.js\");});\nd(\"customer-site/enterprise/settings/communication-settings/template\", function(){ return i(\"customer-site/enterprise/settings/communication-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/communication-settings/controller\", function(){ return i(\"customer-site/enterprise/settings/communication-settings/controller.ts\");});\nd(\"customer-site/enterprise/settings/communication-settings/route\", function(){ return i(\"customer-site/enterprise/settings/communication-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/company-logo/template\", function(){ return i(\"customer-site/enterprise/settings/company-logo/template.hbs\");});\nd(\"customer-site/enterprise/settings/company-logo/controller\", function(){ return i(\"customer-site/enterprise/settings/company-logo/controller.ts\");});\nd(\"customer-site/enterprise/settings/company-logo/route\", function(){ return i(\"customer-site/enterprise/settings/company-logo/route.ts\");});\nd(\"customer-site/enterprise/settings/company-name/template\", function(){ return i(\"customer-site/enterprise/settings/company-name/template.hbs\");});\nd(\"customer-site/enterprise/settings/company-name/controller\", function(){ return i(\"customer-site/enterprise/settings/company-name/controller.ts\");});\nd(\"customer-site/enterprise/settings/company-name/route\", function(){ return i(\"customer-site/enterprise/settings/company-name/route.ts\");});\nd(\"customer-site/enterprise/settings/customize-welcome-email/template\", function(){ return i(\"customer-site/enterprise/settings/customize-welcome-email/template.hbs\");});\nd(\"customer-site/enterprise/settings/customize-welcome-email/controller\", function(){ return i(\"customer-site/enterprise/settings/customize-welcome-email/controller.ts\");});\nd(\"customer-site/enterprise/settings/customize-welcome-email/route\", function(){ return i(\"customer-site/enterprise/settings/customize-welcome-email/route.ts\");});\nd(\"customer-site/enterprise/settings/delete-expired-users/template\", function(){ return i(\"customer-site/enterprise/settings/delete-expired-users/template.hbs\");});\nd(\"customer-site/enterprise/settings/delete-expired-users/controller\", function(){ return i(\"customer-site/enterprise/settings/delete-expired-users/controller.ts\");});\nd(\"customer-site/enterprise/settings/delete-expired-users/route\", function(){ return i(\"customer-site/enterprise/settings/delete-expired-users/route.ts\");});\nd(\"customer-site/enterprise/settings/delete-inactive-users/template\", function(){ return i(\"customer-site/enterprise/settings/delete-inactive-users/template.hbs\");});\nd(\"customer-site/enterprise/settings/delete-inactive-users/controller\", function(){ return i(\"customer-site/enterprise/settings/delete-inactive-users/controller.ts\");});\nd(\"customer-site/enterprise/settings/delete-inactive-users/route\", function(){ return i(\"customer-site/enterprise/settings/delete-inactive-users/route.ts\");});\nd(\"customer-site/enterprise/settings/energy-saver-rules/template\", function(){ return i(\"customer-site/enterprise/settings/energy-saver-rules/template.hbs\");});\nd(\"customer-site/enterprise/settings/energy-saver-rules/controller\", function(){ return i(\"customer-site/enterprise/settings/energy-saver-rules/controller.ts\");});\nd(\"customer-site/enterprise/settings/energy-saver-rules/route\", function(){ return i(\"customer-site/enterprise/settings/energy-saver-rules/route.ts\");});\nd(\"customer-site/enterprise/settings/energy-settings/template\", function(){ return i(\"customer-site/enterprise/settings/energy-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/energy-settings/route\", function(){ return i(\"customer-site/enterprise/settings/energy-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/guest-login-access/template\", function(){ return i(\"customer-site/enterprise/settings/guest-login-access/template.hbs\");});\nd(\"customer-site/enterprise/settings/guest-login-access/controller\", function(){ return i(\"customer-site/enterprise/settings/guest-login-access/controller.js\");});\nd(\"customer-site/enterprise/settings/guest-login-access/route\", function(){ return i(\"customer-site/enterprise/settings/guest-login-access/route.js\");});\nd(\"customer-site/enterprise/settings/house-ready-early/template\", function(){ return i(\"customer-site/enterprise/settings/house-ready-early/template.hbs\");});\nd(\"customer-site/enterprise/settings/house-ready-early/controller\", function(){ return i(\"customer-site/enterprise/settings/house-ready-early/controller.ts\");});\nd(\"customer-site/enterprise/settings/house-ready-early/route\", function(){ return i(\"customer-site/enterprise/settings/house-ready-early/route.ts\");});\nd(\"customer-site/enterprise/settings/index/template\", function(){ return i(\"customer-site/enterprise/settings/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/index/route\", function(){ return i(\"customer-site/enterprise/settings/index/route.js\");});\nd(\"customer-site/enterprise/settings/login-templates/template\", function(){ return i(\"customer-site/enterprise/settings/login-templates/template.hbs\");});\nd(\"customer-site/enterprise/settings/login-templates/controller\", function(){ return i(\"customer-site/enterprise/settings/login-templates/controller.ts\");});\nd(\"customer-site/enterprise/settings/login-templates/route\", function(){ return i(\"customer-site/enterprise/settings/login-templates/route.ts\");});\nd(\"customer-site/enterprise/settings/managed-account-access/template\", function(){ return i(\"customer-site/enterprise/settings/managed-account-access/template.hbs\");});\nd(\"customer-site/enterprise/settings/managed-account-access/route\", function(){ return i(\"customer-site/enterprise/settings/managed-account-access/route.js\");});\nd(\"customer-site/enterprise/settings/mobile-badge/template\", function(){ return i(\"customer-site/enterprise/settings/mobile-badge/template.hbs\");});\nd(\"customer-site/enterprise/settings/mobile-badge/route\", function(){ return i(\"customer-site/enterprise/settings/mobile-badge/route.ts\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/apply/template\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/apply/template.hbs\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/apply/controller\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/apply/controller.ts\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/apply/route\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/apply/route.ts\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/edit/template\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/edit/route\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/index/template\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/index/controller\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/new-business-hour-templates/index/route\", function(){ return i(\"customer-site/enterprise/settings/new-business-hour-templates/index/route.ts\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/template\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/route\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings-templates/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings-templates/index/template\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings-templates/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings-templates/index/controller\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings-templates/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings-templates/index/route\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings-templates/index/route.ts\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings/template\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings/controller\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings/controller.ts\");});\nd(\"customer-site/enterprise/settings/noise-monitor-settings/route\", function(){ return i(\"customer-site/enterprise/settings/noise-monitor-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/template\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/route\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/template\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/controller\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/route\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-pool-controller-rules/index/route.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/template\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/route\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/template\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/controller\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/controller.js\");});\nd(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/route\", function(){ return i(\"customer-site/enterprise/settings/occupancy-based-thermostat-rules/index/route.js\");});\nd(\"customer-site/enterprise/settings/panel-settings/template\", function(){ return i(\"customer-site/enterprise/settings/panel-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/panel-settings/controller\", function(){ return i(\"customer-site/enterprise/settings/panel-settings/controller.ts\");});\nd(\"customer-site/enterprise/settings/panel-settings/route\", function(){ return i(\"customer-site/enterprise/settings/panel-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/permissions-and-integrations/template\", function(){ return i(\"customer-site/enterprise/settings/permissions-and-integrations/template.hbs\");});\nd(\"customer-site/enterprise/settings/permissions-and-integrations/route\", function(){ return i(\"customer-site/enterprise/settings/permissions-and-integrations/route.ts\");});\nd(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/template\", function(){ return i(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/route\", function(){ return i(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/template\", function(){ return i(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/controller\", function(){ return i(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/route\", function(){ return i(\"customer-site/enterprise/settings/pool-control-filter-pump-schedules/index/route.ts\");});\nd(\"customer-site/enterprise/settings/preloaded-codes-for-user-creation/template\", function(){ return i(\"customer-site/enterprise/settings/preloaded-codes-for-user-creation/template.hbs\");});\nd(\"customer-site/enterprise/settings/preloaded-codes-for-user-creation/controller\", function(){ return i(\"customer-site/enterprise/settings/preloaded-codes-for-user-creation/controller.ts\");});\nd(\"customer-site/enterprise/settings/preloaded-codes-for-user-creation/route\", function(){ return i(\"customer-site/enterprise/settings/preloaded-codes-for-user-creation/route.ts\");});\nd(\"customer-site/enterprise/settings/property-management-integration/template\", function(){ return i(\"customer-site/enterprise/settings/property-management-integration/template.hbs\");});\nd(\"customer-site/enterprise/settings/property-management-integration/controller\", function(){ return i(\"customer-site/enterprise/settings/property-management-integration/controller.ts\");});\nd(\"customer-site/enterprise/settings/property-management-integration/route\", function(){ return i(\"customer-site/enterprise/settings/property-management-integration/route.ts\");});\nd(\"customer-site/enterprise/settings/schedule-email/template\", function(){ return i(\"customer-site/enterprise/settings/schedule-email/template.hbs\");});\nd(\"customer-site/enterprise/settings/schedule-email/controller\", function(){ return i(\"customer-site/enterprise/settings/schedule-email/controller.js\");});\nd(\"customer-site/enterprise/settings/schedule-email/route\", function(){ return i(\"customer-site/enterprise/settings/schedule-email/route.js\");});\nd(\"customer-site/enterprise/settings/schedule-welcome-message/template\", function(){ return i(\"customer-site/enterprise/settings/schedule-welcome-message/template.hbs\");});\nd(\"customer-site/enterprise/settings/schedule-welcome-message/controller\", function(){ return i(\"customer-site/enterprise/settings/schedule-welcome-message/controller.ts\");});\nd(\"customer-site/enterprise/settings/schedule-welcome-message/route\", function(){ return i(\"customer-site/enterprise/settings/schedule-welcome-message/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-appointment-length/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-appointment-length/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-appointment-length/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-appointment-length/controller.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-appointment-length/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-appointment-length/route.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-cc-verification/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-cc-verification/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-cc-verification/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-cc-verification/controller.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-cc-verification/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-cc-verification/route.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-checkpoint-id/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-community-site-map/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-community-site-map/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-community-site-map/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-community-site-map/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-community-site-map/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-community-site-map/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-configure-funnel-crm/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-configure-knock-crm/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-custom-url/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-custom-url/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-custom-url/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-custom-url/controller.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-custom-url/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-custom-url/route.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-customer-logo/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-customer-logo/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-customer-logo/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-customer-logo/controller.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-customer-logo/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-customer-logo/route.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-gate-code/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-gate-code/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-gate-code/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-gate-code/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-gate-code/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-gate-code/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-geofence/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-geofence/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-geofence/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-geofence/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-geofence/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-geofence/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-hours-of-operation/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-support-phone/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-support-phone/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-support-phone/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-support-phone/controller.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-support-phone/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-support-phone/route.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/controller.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-terms-and-conditions/route.ts\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-web-primary-color/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-web-primary-color/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-web-primary-color/controller\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-web-primary-color/controller.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours-web-primary-color/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours-web-primary-color/route.js\");});\nd(\"customer-site/enterprise/settings/self-guided-tours/template\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours/template.hbs\");});\nd(\"customer-site/enterprise/settings/self-guided-tours/route\", function(){ return i(\"customer-site/enterprise/settings/self-guided-tours/route.ts\");});\nd(\"customer-site/enterprise/settings/send-email-by-default/template\", function(){ return i(\"customer-site/enterprise/settings/send-email-by-default/template.hbs\");});\nd(\"customer-site/enterprise/settings/send-email-by-default/controller\", function(){ return i(\"customer-site/enterprise/settings/send-email-by-default/controller.js\");});\nd(\"customer-site/enterprise/settings/send-email-by-default/route\", function(){ return i(\"customer-site/enterprise/settings/send-email-by-default/route.js\");});\nd(\"customer-site/enterprise/settings/send-follow-up-text/template\", function(){ return i(\"customer-site/enterprise/settings/send-follow-up-text/template.hbs\");});\nd(\"customer-site/enterprise/settings/send-follow-up-text/controller\", function(){ return i(\"customer-site/enterprise/settings/send-follow-up-text/controller.js\");});\nd(\"customer-site/enterprise/settings/send-follow-up-text/route\", function(){ return i(\"customer-site/enterprise/settings/send-follow-up-text/route.js\");});\nd(\"customer-site/enterprise/settings/support-phone-number/template\", function(){ return i(\"customer-site/enterprise/settings/support-phone-number/template.hbs\");});\nd(\"customer-site/enterprise/settings/support-phone-number/controller\", function(){ return i(\"customer-site/enterprise/settings/support-phone-number/controller.ts\");});\nd(\"customer-site/enterprise/settings/support-phone-number/route\", function(){ return i(\"customer-site/enterprise/settings/support-phone-number/route.ts\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-availability-schedule/template\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-availability-schedule/template.hbs\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-availability-schedule/controller\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-availability-schedule/controller.js\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-availability-schedule/route\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-availability-schedule/route.js\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-duration/template\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-duration/template.hbs\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-duration/controller\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-duration/controller.js\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-duration/route\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-duration/route.js\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-settings/template\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/temporary-access-code-settings/route\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-code-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/temporary-access-codes/template\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-codes/template.hbs\");});\nd(\"customer-site/enterprise/settings/temporary-access-codes/controller\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-codes/controller.ts\");});\nd(\"customer-site/enterprise/settings/temporary-access-codes/route\", function(){ return i(\"customer-site/enterprise/settings/temporary-access-codes/route.ts\");});\nd(\"customer-site/enterprise/settings/thermostat-schedule-templates/template\", function(){ return i(\"customer-site/enterprise/settings/thermostat-schedule-templates/template.hbs\");});\nd(\"customer-site/enterprise/settings/thermostat-schedule-templates/controller\", function(){ return i(\"customer-site/enterprise/settings/thermostat-schedule-templates/controller.js\");});\nd(\"customer-site/enterprise/settings/thermostat-schedule-templates/route\", function(){ return i(\"customer-site/enterprise/settings/thermostat-schedule-templates/route.js\");});\nd(\"customer-site/enterprise/settings/thermostat-settings-templates/edit/template\", function(){ return i(\"customer-site/enterprise/settings/thermostat-settings-templates/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/thermostat-settings-templates/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/thermostat-settings-templates/edit/controller.js\");});\nd(\"customer-site/enterprise/settings/thermostat-settings-templates/edit/route\", function(){ return i(\"customer-site/enterprise/settings/thermostat-settings-templates/edit/route.js\");});\nd(\"customer-site/enterprise/settings/thermostat-settings-templates/index/template\", function(){ return i(\"customer-site/enterprise/settings/thermostat-settings-templates/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/thermostat-settings-templates/index/controller\", function(){ return i(\"customer-site/enterprise/settings/thermostat-settings-templates/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/thermostat-settings-templates/index/route\", function(){ return i(\"customer-site/enterprise/settings/thermostat-settings-templates/index/route.ts\");});\nd(\"customer-site/enterprise/settings/user-code-times/template\", function(){ return i(\"customer-site/enterprise/settings/user-code-times/template.hbs\");});\nd(\"customer-site/enterprise/settings/user-code-times/controller\", function(){ return i(\"customer-site/enterprise/settings/user-code-times/controller.ts\");});\nd(\"customer-site/enterprise/settings/user-code-times/route\", function(){ return i(\"customer-site/enterprise/settings/user-code-times/route.ts\");});\nd(\"customer-site/enterprise/settings/user-settings/template\", function(){ return i(\"customer-site/enterprise/settings/user-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/user-settings/route\", function(){ return i(\"customer-site/enterprise/settings/user-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/water-meter-configuration/edit/template\", function(){ return i(\"customer-site/enterprise/settings/water-meter-configuration/edit/template.hbs\");});\nd(\"customer-site/enterprise/settings/water-meter-configuration/edit/controller\", function(){ return i(\"customer-site/enterprise/settings/water-meter-configuration/edit/controller.ts\");});\nd(\"customer-site/enterprise/settings/water-meter-configuration/edit/route\", function(){ return i(\"customer-site/enterprise/settings/water-meter-configuration/edit/route.ts\");});\nd(\"customer-site/enterprise/settings/water-meter-configuration/index/template\", function(){ return i(\"customer-site/enterprise/settings/water-meter-configuration/index/template.hbs\");});\nd(\"customer-site/enterprise/settings/water-meter-configuration/index/controller\", function(){ return i(\"customer-site/enterprise/settings/water-meter-configuration/index/controller.ts\");});\nd(\"customer-site/enterprise/settings/water-meter-configuration/index/route\", function(){ return i(\"customer-site/enterprise/settings/water-meter-configuration/index/route.ts\");});\nd(\"customer-site/enterprise/settings/water-settings/template\", function(){ return i(\"customer-site/enterprise/settings/water-settings/template.hbs\");});\nd(\"customer-site/enterprise/settings/water-settings/controller\", function(){ return i(\"customer-site/enterprise/settings/water-settings/controller.ts\");});\nd(\"customer-site/enterprise/settings/water-settings/route\", function(){ return i(\"customer-site/enterprise/settings/water-settings/route.ts\");});\nd(\"customer-site/enterprise/settings/welcome-message/template\", function(){ return i(\"customer-site/enterprise/settings/welcome-message/template.hbs\");});\nd(\"customer-site/enterprise/settings/welcome-message/controller\", function(){ return i(\"customer-site/enterprise/settings/welcome-message/controller.ts\");});\nd(\"customer-site/enterprise/settings/welcome-message/route\", function(){ return i(\"customer-site/enterprise/settings/welcome-message/route.ts\");});\nd(\"customer-site/enterprise/users/route\", function(){ return i(\"customer-site/enterprise/users/route.ts\");});\nd(\"customer-site/enterprise/users/edit/route\", function(){ return i(\"customer-site/enterprise/users/edit/route.ts\");});\nd(\"customer-site/enterprise/users/edit/access-period/template\", function(){ return i(\"customer-site/enterprise/users/edit/access-period/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/access-period/controller\", function(){ return i(\"customer-site/enterprise/users/edit/access-period/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/access-period/route\", function(){ return i(\"customer-site/enterprise/users/edit/access-period/route.ts\");});\nd(\"customer-site/enterprise/users/edit/add-contact/template\", function(){ return i(\"customer-site/enterprise/users/edit/add-contact/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/add-contact/route\", function(){ return i(\"customer-site/enterprise/users/edit/add-contact/route.ts\");});\nd(\"customer-site/enterprise/users/edit/contact-information/controller\", function(){ return i(\"customer-site/enterprise/users/edit/contact-information/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/contact-information/route\", function(){ return i(\"customer-site/enterprise/users/edit/contact-information/route.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/template\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/device-access/controller\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/route\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/route.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/access-type/template\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/access-type/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/device-access/access-type/controller\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/access-type/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/access-type/route\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/access-type/route.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/index/template\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/index/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/device-access/index/route\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/index/route.js\");});\nd(\"customer-site/enterprise/users/edit/device-access/location-devices/template\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/location-devices/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/device-access/location-devices/controller\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/location-devices/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/location-devices/route\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/location-devices/route.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/user-code/template\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/user-code/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/device-access/user-code/controller\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/user-code/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/device-access/user-code/route\", function(){ return i(\"customer-site/enterprise/users/edit/device-access/user-code/route.ts\");});\nd(\"customer-site/enterprise/users/edit/index/template\", function(){ return i(\"customer-site/enterprise/users/edit/index/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/index/controller\", function(){ return i(\"customer-site/enterprise/users/edit/index/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/index/route\", function(){ return i(\"customer-site/enterprise/users/edit/index/route.ts\");});\nd(\"customer-site/enterprise/users/edit/language/template\", function(){ return i(\"customer-site/enterprise/users/edit/language/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/language/controller\", function(){ return i(\"customer-site/enterprise/users/edit/language/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/language/route\", function(){ return i(\"customer-site/enterprise/users/edit/language/route.ts\");});\nd(\"customer-site/enterprise/users/edit/link-login/template\", function(){ return i(\"customer-site/enterprise/users/edit/link-login/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/link-login/controller\", function(){ return i(\"customer-site/enterprise/users/edit/link-login/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/link-login/route\", function(){ return i(\"customer-site/enterprise/users/edit/link-login/route.ts\");});\nd(\"customer-site/enterprise/users/edit/new-user-add-contact-information/controller\", function(){ return i(\"customer-site/enterprise/users/edit/new-user-add-contact-information/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/new-user-add-contact-information/route\", function(){ return i(\"customer-site/enterprise/users/edit/new-user-add-contact-information/route.ts\");});\nd(\"customer-site/enterprise/users/edit/not-supported/template\", function(){ return i(\"customer-site/enterprise/users/edit/not-supported/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/not-supported/route\", function(){ return i(\"customer-site/enterprise/users/edit/not-supported/route.js\");});\nd(\"customer-site/enterprise/users/edit/user-attributes/edit/template\", function(){ return i(\"customer-site/enterprise/users/edit/user-attributes/edit/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/user-attributes/edit/route\", function(){ return i(\"customer-site/enterprise/users/edit/user-attributes/edit/route.js\");});\nd(\"customer-site/enterprise/users/edit/user-attributes/index/template\", function(){ return i(\"customer-site/enterprise/users/edit/user-attributes/index/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/user-attributes/index/route\", function(){ return i(\"customer-site/enterprise/users/edit/user-attributes/index/route.js\");});\nd(\"customer-site/enterprise/users/edit/user-information/template\", function(){ return i(\"customer-site/enterprise/users/edit/user-information/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/user-information/controller\", function(){ return i(\"customer-site/enterprise/users/edit/user-information/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/user-information/route\", function(){ return i(\"customer-site/enterprise/users/edit/user-information/route.ts\");});\nd(\"customer-site/enterprise/users/edit/user-type/template\", function(){ return i(\"customer-site/enterprise/users/edit/user-type/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/user-type/controller\", function(){ return i(\"customer-site/enterprise/users/edit/user-type/controller.ts\");});\nd(\"customer-site/enterprise/users/edit/user-type/route\", function(){ return i(\"customer-site/enterprise/users/edit/user-type/route.ts\");});\nd(\"customer-site/enterprise/users/edit/username/template\", function(){ return i(\"customer-site/enterprise/users/edit/username/template.hbs\");});\nd(\"customer-site/enterprise/users/edit/username/route\", function(){ return i(\"customer-site/enterprise/users/edit/username/route.ts\");});\nd(\"customer-site/enterprise/users/index/template\", function(){ return i(\"customer-site/enterprise/users/index/template.hbs\");});\nd(\"customer-site/enterprise/users/index/controller\", function(){ return i(\"customer-site/enterprise/users/index/controller.ts\");});\nd(\"customer-site/enterprise/users/index/route\", function(){ return i(\"customer-site/enterprise/users/index/route.ts\");});\nd(\"customer-site/enterprise/users/merge-users-list/template\", function(){ return i(\"customer-site/enterprise/users/merge-users-list/template.hbs\");});\nd(\"customer-site/enterprise/users/merge-users-list/controller\", function(){ return i(\"customer-site/enterprise/users/merge-users-list/controller.ts\");});\nd(\"customer-site/enterprise/users/merge-users-list/route\", function(){ return i(\"customer-site/enterprise/users/merge-users-list/route.ts\");});\nd(\"customer-site/enterprise/users/merge-users-preview/template\", function(){ return i(\"customer-site/enterprise/users/merge-users-preview/template.hbs\");});\nd(\"customer-site/enterprise/users/merge-users-preview/route\", function(){ return i(\"customer-site/enterprise/users/merge-users-preview/route.ts\");});\nd(\"customer-site/enterprise/video/advanced-video-search/template\", function(){ return i(\"customer-site/enterprise/video/advanced-video-search/template.hbs\");});\nd(\"customer-site/enterprise/video/advanced-video-search/controller\", function(){ return i(\"customer-site/enterprise/video/advanced-video-search/controller.js\");});\nd(\"customer-site/enterprise/video/advanced-video-search/route\", function(){ return i(\"customer-site/enterprise/video/advanced-video-search/route.js\");});\nd(\"customer-site/enterprise/video/camera-groups/template\", function(){ return i(\"customer-site/enterprise/video/camera-groups/template.hbs\");});\nd(\"customer-site/enterprise/video/camera-groups/controller\", function(){ return i(\"customer-site/enterprise/video/camera-groups/controller.ts\");});\nd(\"customer-site/enterprise/video/camera-groups/route\", function(){ return i(\"customer-site/enterprise/video/camera-groups/route.ts\");});\nd(\"customer-site/enterprise/video/camera-groups/edit/template\", function(){ return i(\"customer-site/enterprise/video/camera-groups/edit/template.hbs\");});\nd(\"customer-site/enterprise/video/camera-groups/edit/route\", function(){ return i(\"customer-site/enterprise/video/camera-groups/edit/route.ts\");});\nd(\"customer-site/enterprise/video/clips/template\", function(){ return i(\"customer-site/enterprise/video/clips/template.hbs\");});\nd(\"customer-site/enterprise/video/clips/controller\", function(){ return i(\"customer-site/enterprise/video/clips/controller.ts\");});\nd(\"customer-site/enterprise/video/clips/route\", function(){ return i(\"customer-site/enterprise/video/clips/route.ts\");});\nd(\"customer-site/enterprise/video/clips/index/template\", function(){ return i(\"customer-site/enterprise/video/clips/index/template.hbs\");});\nd(\"customer-site/enterprise/video/clips/index/controller\", function(){ return i(\"customer-site/enterprise/video/clips/index/controller.ts\");});\nd(\"customer-site/enterprise/video/clips/index/route\", function(){ return i(\"customer-site/enterprise/video/clips/index/route.ts\");});\nd(\"customer-site/enterprise/video/gallery/template\", function(){ return i(\"customer-site/enterprise/video/gallery/template.hbs\");});\nd(\"customer-site/enterprise/video/gallery/controller\", function(){ return i(\"customer-site/enterprise/video/gallery/controller.ts\");});\nd(\"customer-site/enterprise/video/gallery/route\", function(){ return i(\"customer-site/enterprise/video/gallery/route.ts\");});\nd(\"customer-site/enterprise/video/gallery/index/template\", function(){ return i(\"customer-site/enterprise/video/gallery/index/template.hbs\");});\nd(\"customer-site/enterprise/video/gallery/index/controller\", function(){ return i(\"customer-site/enterprise/video/gallery/index/controller.ts\");});\nd(\"customer-site/enterprise/video/gallery/index/route\", function(){ return i(\"customer-site/enterprise/video/gallery/index/route.ts\");});\nd(\"customer-site/enterprise/video/live-view/template\", function(){ return i(\"customer-site/enterprise/video/live-view/template.hbs\");});\nd(\"customer-site/enterprise/video/live-view/controller\", function(){ return i(\"customer-site/enterprise/video/live-view/controller.ts\");});\nd(\"customer-site/enterprise/video/live-view/route\", function(){ return i(\"customer-site/enterprise/video/live-view/route.ts\");});\nd(\"customer-site/enterprise/video/svr-timeline/template\", function(){ return i(\"customer-site/enterprise/video/svr-timeline/template.hbs\");});\nd(\"customer-site/enterprise/video/svr-timeline/controller\", function(){ return i(\"customer-site/enterprise/video/svr-timeline/controller.js\");});\nd(\"customer-site/enterprise/video/svr-timeline/route\", function(){ return i(\"customer-site/enterprise/video/svr-timeline/route.js\");});\nd(\"customer-site/enterprise/video/thumbnail-search/template\", function(){ return i(\"customer-site/enterprise/video/thumbnail-search/template.hbs\");});\nd(\"customer-site/enterprise/video/thumbnail-search/controller\", function(){ return i(\"customer-site/enterprise/video/thumbnail-search/controller.ts\");});\nd(\"customer-site/enterprise/video/thumbnail-search/route\", function(){ return i(\"customer-site/enterprise/video/thumbnail-search/route.ts\");});\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{yield}}\\n
    \\n\",{ moduleName: \"customer-site/components/app/route-performance/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n * A component used during performance testing to determine a route has rendered.\n *\n * @class components.app.RoutePerformance\n * @extends Ember.Component\n */\nexport default class RoutePerformace extends Component {\n tagName = '';\n\n @service router;\n\n /**\n * The name of the active route when this component was inserted.\n *\n * @type {string}\n */\n routeName = '';\n\n /**\n * Called when element is inserted to cache the current route name.\n */\n @action\n insert() {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/classic-decorator-no-classic-methods\n this.set('routeName', (this.router.currentRouteName || '').replace(/\\./g, '/'));\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: Please convert to PageView, and find another way to do card path (maybe named block). }}\\n\\n \\n \\n\\n \\n {{#each data as |devicesCardObject deviceTypeIdx|}}\\n {{#if @locationId}}\\n {{#if devicesCardObject.devicesList}}\\n \\n {{/if}}\\n {{else}}\\n {{#each devicesCardObject.devicesList as |device deviceIdx|}}\\n \\n {{/each}}\\n {{/if}}\\n {{/each}}\\n \\n\\n \\n \\n
    \",{ moduleName: \"customer-site/components/dashboard-cards/multiple-device-types-detail-layout/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nexport interface DashboardCardsMultipleDeviceTypesDetailLayoutSignature {\n Args: {\n devicesLists: unknown[];\n locationId: string;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst DashboardCardsMultipleDeviceTypesDetailLayout =\n templateOnlyComponent();\nexport default DashboardCardsMultipleDeviceTypesDetailLayout;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::MultipleDeviceTypesDetailLayout': typeof DashboardCardsMultipleDeviceTypesDetailLayout;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if this.showSearchBar}}\\n \\n {{/if}}\\n\\n \\n \\n\\n \\n {{!-- @glint-expect-error Convert this to PageView, then shouldn\\'t need await, please fix this. --}}\\n {{#each (await data) as |linkItem|}}\\n \\n <:default>\\n \\n
    \\n

    {{linkItem.pageTitle}}

    \\n

    {{linkItem.description}}

    \\n
    \\n \\n <:extra>\\n {{#unless (eq linkItem.indicator undefined)}}\\n
    \\n {{#if linkItem.indicator}}\\n

    {{t \\'generic.on\\'}}

    \\n {{else}}\\n

    {{t \\'generic.off\\'}}

    \\n {{/if}}\\n {{#if linkItem.toggle}}\\n
    \\n \\n
    \\n {{/if}}\\n
    \\n {{/unless}}\\n \\n
    \\n {{/each}}\\n
    \\n\\n \\n\\n \\n
    \\n

    {{t \\'generic.noFilterResults\\' type=(t \\'generic.settings\\')}}

    \\n
    \\n
    \\n \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise-settings-page/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type RouterService from '@ember/routing/router-service';\nimport type RouteItem from 'customer-site/models/navigation/route-item';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\ntype LinkItem = RouteItem & {\n indicator?: boolean;\n};\n\ninterface EnterpriseSettingsPageComponentArgs {\n settingsLinks: LinkItem[];\n searchString?: string;\n showSearchBar?: boolean;\n}\n\n/**\n * Minimum number of settings required to show the search bar.\n */\nconst MIN_SETTINGS_FOR_SEARCH_BAR = 5;\n\n/**\n * Enterprise settings list component.\n */\n@intlPath({ path: 'enterprise-settings-page' })\nexport default class EnterpriseSettingsPageComponent extends Component {\n @service declare ajax: AjaxService;\n @service declare identityManager: IdentityManager;\n @service declare notificationManager: NotificationManager;\n @service declare router: RouterService;\n @service declare intl: ADCIntlService;\n\n get searchString(): string {\n return this.args.searchString ?? '';\n }\n\n /**\n * Show the search bar if in PointCentral context and one of:\n * is always shown, there are more than 5 settings, or the search string is not empty.\n */\n get showSearchBar(): boolean {\n return (\n ((this.args.showSearchBar ||\n this.args.settingsLinks.length > MIN_SETTINGS_FOR_SEARCH_BAR ||\n this.searchString !== '') &&\n this.identityManager.isPointCentral) ??\n false\n );\n }\n\n /**\n * Change the value of the setting after the toggle is clicked.\n */\n @action\n async setToggleValue(linkItem: LinkItem): Promise {\n await this.ajax.apiRequest(\n `enterprise/settings/setToggleValue?routeId=${linkItem.routeId}&setToValue=${!linkItem.indicator}`,\n undefined,\n null,\n 'PUT'\n );\n set(linkItem, 'indicator', !linkItem.indicator);\n this.notificationManager.addSuccess(\n this.intl.tc(this, linkItem.indicator ? 'toggleClickedOn' : 'toggleClickedOff', {\n title: linkItem.pageTitle\n })\n );\n }\n\n /**\n * Filters settings.\n */\n @action\n filterSettings(searchString: string): void {\n this.router.transitionTo({\n queryParams: {\n searchString: isEmpty(searchString) ? null : searchString\n }\n });\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n EnterpriseSettingsPage: typeof EnterpriseSettingsPageComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n
    \",{ moduleName: \"customer-site/components/enterprise/system-list-select/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport ScrollingListSelectItem from 'customer-site/classes/access-control/scrolling-list-select/scrolling-list-select-item';\nimport { intlPath } from '@adc/i18n/path';\nimport { SELECTED, UNSELECTED } from '@adc/ui-components/utils/checkbox-tree-item';\n\nimport './_style.scss';\nimport type ArrayProxy from '@ember/array/proxy';\nimport type { ScrollingListSelectComponentSignature } from 'customer-site/components/access-control/scrolling-list-select';\nimport type System from 'customer-site/models/systems/system';\n\ninterface SystemListSelectSignature {\n Element: HTMLDivElement;\n Args: {\n systems: ArrayProxy;\n selectedSystems: System[];\n updateSystems: ScrollingListSelectComponentSignature['Args']['saveItems'];\n setActionButtons: ScrollingListSelectComponentSignature['Args']['setActionButtons'];\n };\n}\n\nexport class SystemSelectionItem extends ScrollingListSelectItem {\n model: System;\n constructor(model: System, ...args: any[]) {\n super(...args);\n this.model = model;\n }\n}\n\nfunction createSystemSelectionItem(system: System, isSelected = false): SystemSelectionItem {\n return SystemSelectionItem.create({\n name: system.description,\n id: system.id,\n model: system,\n state: isSelected ? SELECTED : UNSELECTED,\n icon: 'property-single'\n });\n}\n\n/**\n * Allows the user to edit the locations that have the house ready early feature turned on.\n * This component is designed to be shown inside of modal, and therefore, you must supply a\n * 'close' closure method to close the modal after the user clicks 'Save'.\n */\n@intlPath({ path: 'enterprise/system-list-select' })\nexport default class SystemListSelectComponent extends Component {\n @tracked options: ScrollingListSelectComponentSignature['Args']['options'] = {};\n @tracked filterProperties: ScrollingListSelectComponentSignature['Args']['filterProperties'] = {};\n\n /**\n * The total amount of systems from which to select.\n */\n @computed('args.systems.[]')\n get totalItemCount(): number {\n return (this.args.systems || []).length;\n }\n\n get loadSystemsFn(): ScrollingListSelectComponentSignature['Args']['loadItems'] {\n const { args } = this;\n return async (_batchSize, _index, params) => {\n const systems = await args.systems,\n { search = '' } = params ?? {},\n filteredSystems =\n systems?.filter((system) => system.description.toLowerCase().includes(search)) ?? A([]);\n\n return {\n items: A(\n filteredSystems.map((systemItem) =>\n createSystemSelectionItem(\n systemItem,\n args.selectedSystems.some((system) => {\n return system.id === systemItem.id;\n })\n )\n )\n ),\n totalCount: systems?.length ?? 0,\n index: systems?.length ?? 0\n };\n };\n }\n\n get loadSelectedSystemsFn(): ScrollingListSelectComponentSignature['Args']['loadSelectedItems'] {\n const { args } = this;\n return async () => {\n return {\n items: A(\n await Promise.all(args.selectedSystems.map((system) => createSystemSelectionItem(system, true)))\n ),\n totalCount: args.selectedSystems.length,\n index: args.selectedSystems.length\n };\n };\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::SystemListSelect': typeof SystemListSelectComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n \\n\\n\",{ moduleName: \"customer-site/components/modals/enterprise/settings/partial-locations-selector/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { A } from '@ember/array';\nimport './_style.scss';\nimport type { ActionButtonsSignature } from '@adc/ui-components/components/action-buttons';\nimport type ArrayProxy from '@ember/array/proxy';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { SystemSelectionItem } from 'customer-site/components/enterprise/system-list-select';\nimport type System from 'customer-site/models/systems/system';\nimport type CustomerSiteIntlService from 'customer-site/services/intl';\n\ninterface PartialLocationsSelectorModalSignature {\n Args: {\n model: {\n systems: ArrayProxy;\n enabledUnits: System[];\n updateLocations: (unitIds: number[]) => void;\n };\n };\n}\n\ninterface ActionButtonArgs {\n confirmAction: ActionButtonsSignature['Args']['confirm-action'];\n cancelAction: ActionButtonsSignature['Args']['cancel-action'];\n doNotGoBackAfterAction: boolean;\n}\n\n/**\n * The modal used for applying settings to selected locations\n */\n@intlPath({ path: 'modals/enterprise/settings/partial-locations-selector' })\nexport default class PartialLocationsSelectorModal extends Component {\n @service declare modals: ServiceRegistry['modals'];\n @service declare intl: CustomerSiteIntlService;\n\n @tracked actionButtonArgs: ActionButtonArgs = {\n confirmAction: this.updateLocations,\n doNotGoBackAfterAction: true,\n cancelAction: () => {}\n };\n\n @action initializeActionButtons(): void {\n this.setActionButtons({ cancelAction: this.modals.closeModal });\n }\n\n @action setActionButtons(args: Partial): void {\n const {\n confirmAction = this.actionButtonArgs.confirmAction ?? (() => {}),\n cancelAction = this.actionButtonArgs.cancelAction ?? (() => {}),\n doNotGoBackAfterAction = this.actionButtonArgs.doNotGoBackAfterAction\n } = args;\n\n this.actionButtonArgs = {\n confirmAction,\n cancelAction,\n doNotGoBackAfterAction\n };\n }\n\n /**\n * If the user applies changes made in the modal, the enabledUnits passed in as a parameter will contain the\n * systems selected. The controller expects a list of unitIds, so we must convert back to ids.\n * If the user cancels out of the modal, enabledUnits will be undefined, and therefore, close\n * the modal.\n */\n @action updateLocations(selectedLocations: ReturnType>): void {\n if (selectedLocations) {\n this.args.model.updateLocations(selectedLocations.map((item) => item.model?.unitId).compact());\n }\n\n this.modals.closeModal();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Settings::PartialLocationsSelector': typeof PartialLocationsSelectorModal;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n {{#each (array\\n (hash selected=this.isAllLocationsSelected act=this.selectAllSystems icon=\\'business\\' lbl=\\'allLocations\\')\\n (hash selected=this.isPartialLocationsSelected act=this.openSystemSelectionModal icon=(coalesce @iconName \\'business\\') lbl=\\'partialLocations\\')\\n ) as |btn|}}\\n \\n {{#each (array 1 2 3 4)}}\\n \\n {{/each}}\\n {{tc this btn.lbl}}\\n \\n {{/each}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/all-partial-locations/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { assert } from '@ember/debug';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport PartialLocationSelector from 'customer-site/components/modals/enterprise/settings/partial-locations-selector/index';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type System from 'customer-site/models/systems/system';\n\ninterface EnterpriseAllPartialLocationsComponentArgs {\n systems: System[];\n updateLocations: (enabledLocations: number[]) => void;\n featureEnabled?: boolean;\n enabledUnits?: number[];\n iconName?: string;\n}\n\n/**\n * Allows choosing between All Locations or Partial Locations\n */\n@intlPath({ path: 'enterprise/all-partial-locations' })\nexport default class EnterpriseAllPartialLocationsComponent extends Component {\n @service declare modals: ModalService;\n @service declare intl: ADCIntlService;\n\n constructor(owner: unknown, args: EnterpriseAllPartialLocationsComponentArgs) {\n super(owner, args);\n\n assert(\n 'The \"updateLocations\" closure function must be passed to the all-partial-locations component.',\n this.args.updateLocations\n );\n }\n\n private getEnabledUnitCount(): number | undefined {\n const { args } = this;\n if (!args.featureEnabled) {\n return;\n }\n\n return (args.enabledUnits ?? []).length;\n }\n\n /**\n * Whether Partial Locations is currently selected.\n */\n get isPartialLocationsSelected(): boolean {\n const length = this.getEnabledUnitCount();\n return length !== undefined && length < this.args.systems.length && length > 0;\n }\n\n /**\n * Whether All Locations is currently selected.\n */\n get isAllLocationsSelected(): boolean {\n return this.getEnabledUnitCount() === this.args.systems.length;\n }\n\n /**\n * Opens systems selection modal.\n */\n @action openSystemSelectionModal(): void {\n const { systems, enabledUnits = [] } = this.args;\n\n this.modals.showModal(PartialLocationSelector, {\n systems,\n enabledUnits: systems.filter(({ unitId }) => enabledUnits.indexOf(unitId) !== -1),\n updateLocations: (enabledUnits: number[]) => this.args.updateLocations(enabledUnits)\n });\n }\n\n /**\n * If All Locations is selected, all systems should have the house ready early feature enabled.\n */\n @action selectAllSystems(): void {\n return this.args.updateLocations(this.args.systems.mapBy('unitId'));\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::AllPartialLocations': typeof EnterpriseAllPartialLocationsComponent;\n }\n}\n","import { computed, setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport DS from 'ember-data';\nimport { EmberEnterpriseGroupsAddLocation } from 'customer-site/enums/CustomerPageUrl';\nimport DropdownActionItem from '@adc/ui-components/utils/dropdown-action-item';\nimport BaseItemRow from './base-item-row';\nimport SystemRow from './system-row';\n\n/**\n * @classdesc\n * An object for representing an enterprise group that holds systems.\n * This may or may not be a child group, and it cannot be a parent group.\n *\n * @class components.enterprise.groups.GroupRow\n * @extends components.enterprise.groups.BaseItemRow\n */\nexport default class GroupRow extends BaseItemRow {\n @service contextManager;\n @service intl;\n @service systemGroupsManager;\n\n /** @override **/\n constructor(\n host,\n model,\n {\n showDropdown = true,\n isSelectable = true,\n isOpen = false,\n errorMessage,\n errorTooltipOnly = false,\n forceDisplayErrorMessage = false,\n itemFilter = () => true,\n checkboxHidden = false,\n disabled = false,\n isSelected = false,\n isAddLocationViaLoginCredentialsVisible = false\n } = {}\n ) {\n super(host, model);\n\n // Set defaults.\n setProperties(this, {\n useListViewForChildren: true,\n icon: model.icon,\n childClass: 'system-rows'\n });\n\n // Set properties from arguments.\n setProperties(this, {\n showDropdown,\n isSelectable,\n isOpen,\n errorMessage,\n errorTooltipOnly,\n forceDisplayErrorMessage,\n itemFilter,\n checkboxHidden,\n disabled,\n isSelected,\n isAddLocationViaLoginCredentialsVisible\n });\n }\n\n /**\n * Filter for child item name.\n *\n * @returns {boolean}\n */\n itemFilter = () => true;\n\n /**\n * Error message to be shown on group row.\n *\n * @type {String}\n */\n errorMessage;\n\n /**\n * Error message to appear only as a tooltip when the end-user hovers over the warning icon.\n *\n * @type {boolean}\n */\n errorTooltipOnly;\n\n /**\n * Display the error message in the row regardless of whether it's selectable or not.\n */\n forceDisplayErrorMessage;\n\n /**\n * Whether the add location menu item should be visible.\n */\n isAddLocationViaLoginCredentialsVisible;\n\n /** @override */\n @computed('model.systems.[]')\n get canExpand() {\n return !isEmpty(this.model.hasMany('systems').ids());\n }\n\n /** @override */\n getChildItems(selectedCustomerIds) {\n const { model, itemFilter, host } = this;\n\n return DS.PromiseArray.create({\n promise: (async () => {\n const { systems } = await model;\n\n return (await systems)\n .filter((m) => itemFilter(m.description))\n .map(\n (model) =>\n new SystemRow(host, model, {\n isSelected: selectedCustomerIds.includes(model.id)\n })\n );\n })(),\n\n // Update metadata so list-view knows total number of items.\n meta: { totalCount: model.systems.length }\n });\n }\n\n /** @override */\n getMenuItems(model) {\n const baseMenuItems = super.getMenuItems(model),\n extraMenuItemProperties = [\n {\n resource: 'addLocation',\n icon: 'add',\n action: () =>\n this.contextManager.transitionToNativeRoute(EmberEnterpriseGroupsAddLocation, model.id),\n visibility: this.isAddLocationViaLoginCredentialsVisible\n },\n {\n resource: 'mergeEnterprises',\n action: () => this.systemGroupsManager.openMoveGroupActionSheet(this.model),\n visibility: !this.contextManager.identityModel.isPointCentral\n },\n {\n resource: 'removeGroup',\n action: () => this.systemGroupsManager.showRemoveGroupActionSheet(this.model),\n visibility:\n !this.model.isHighestGroupWithAccess && !this.contextManager.identityModel.isPointCentral\n }\n ];\n\n return [\n ...extraMenuItemProperties.filterBy('visibility').map((menuItem) =>\n DropdownActionItem.create({\n name: this.intl.t(`enterprise.groups.index.${menuItem.resource}`),\n iconTitle: menuItem.icon,\n action: menuItem.action\n })\n ),\n ...baseMenuItems\n ];\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if this.loadLogins.isRunning}}\\n
    \\n \\n
    \\n {{else}}\\n \\n {{/if}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/groups/groups-admin-logins-list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { BinaryListItem } from '@adc/ui-components/components/simple-binary/list';\n\nimport './_style.scss';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface GroupsAdminLoginsListComponentSignature {\n Element: HTMLDivElement;\n Args: {\n model: {\n groups: SystemGroup[];\n };\n selectedLogins: string[];\n };\n}\n\n/**\n * @classdesc\n * A list of group admin logins to display.\n */\nexport default class GroupsAdminLoginsListComponent extends Component {\n @service declare contextManager: ContextManager;\n\n /**\n * Array of the available login names\n */\n @tracked\n availableLogins: BinaryListItem[] = [];\n\n loadLogins = task({ drop: true }, async () => {\n const currentLogin = get(get(get(this.contextManager, 'identityModel'), 'profile'), 'loginName'),\n logins = await Promise.all(this.args.model.groups.map((g) => g.getAdminLoginNames())),\n fnGetLogin = (label: string, disabled = false) =>\n new BinaryListItem({\n label,\n state: disabled,\n disabled\n });\n\n this.availableLogins = [\n // Ensure the first login shown is the current login and make sure it is selected by default, since the current login is added\n // as an admin by default for actions like creating parent groups.\n fnGetLogin(currentLogin, true),\n\n // Add new, unique admin logins from each group to the list of available logins.\n ...logins\n .mapBy('value')\n .flat()\n .uniq()\n .without(currentLogin)\n .map((name) => fnGetLogin(name))\n ];\n });\n\n @action\n selectLogin(items: BinaryListItem[]): void {\n const { selectedLogins } = this.args;\n\n selectedLogins.clear();\n selectedLogins.addObjects(\n items\n .filterBy('state')\n .rejectBy('disabled')\n .mapBy('label')\n .map((label) => String(label))\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Groups::GroupsAdminLoginsList': typeof GroupsAdminLoginsListComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if @useCheckbox}}\\n
    \\n {{#if (and this.itemRowObject.isSelectable (not this.itemRowObject.checkboxHidden))}}\\n \\n {{/if}}\\n
    \\n{{/if}}\\n\\n\\n {{#if this.showDropdown}}\\n \\n {{/if}}\\n\\n\\n{{#unless @useCheckbox}}\\n {{#if this.itemRowObject.isSelectable}}\\n \\n {{/if}}\\n{{/unless}}\\n\\n\\n\\n

    \\n {{this.itemRowObject.description}}\\n

    \\n\\n{{#if this.showErrorMessage}}\\n \\n\\n {{#unless this.itemRowObject.errorTooltipOnly}}\\n

    \\n {{this.itemRowObject.errorMessage}}\\n

    \\n {{/unless}}\\n{{/if}}\\n\\n{{#if this.itemRowObject.menuItems}}\\n {{#unless @hideActionsKabob}}\\n {{#if (media \\'isMobile\\')}}\\n \\n \\n \\n {{else}}\\n {{#if this.kabobMenuItems.length}}\\n \\n \\n \\n {{/if}}\\n {{#each this.inlineMenuItems as |item|}}\\n \\n {{/each}}\\n {{/if}}\\n {{/unless}}\\n{{/if}}\",{ moduleName: \"customer-site/components/enterprise/groups/item-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-components\nimport Component from '@ember/component';\nimport { assert } from '@ember/debug';\nimport { computed, action } from '@ember/object';\nimport { and } from '@ember/object/computed';\nimport { alias } from '@ember/object/computed';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * Displays a single group or system.\n *\n * @class components.enterprise.groups.ItemRowComponent\n * @extends Ember.Component\n */\n@intlPath({ path: 'enterprise.groups.item-row' })\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/require-tagless-components\nexport default class ItemRowComponent extends Component {\n classNames = ['group-item-row'];\n classNameBindings = ['itemRowObject.class', 'isDisabled'];\n\n /**\n * Array of Customer IDs which have been selected.\n *\n * @type {Array}\n */\n selectedCustomerIds = [];\n\n /**\n * Array of Group IDs which have been checked.\n *\n * @type {Array}\n */\n selectedGroupIds = [];\n\n /**\n * Whether or not the groups/systems dropdown icon should be shown.\n *\n * @type {boolean}\n */\n @and('itemRowObject.showDropdown', 'itemRowObject.canExpand')\n showDropdown;\n\n /**\n * Should we display an error message in the row?\n *\n * We'll display an error message if there is an error message and if one of the following is true:\n * 1) We should display the error message, no matter if the row is selectable or not (forceDisplayErrorMessage)\n * 2) Only display it if the row is not selectable.\n *\n * @returns {boolean}\n */\n @computed('itemRowObject.{errorMessage,isSelectable,forceDisplayErrorMessage}')\n get showErrorMessage() {\n const { errorMessage, isSelectable, forceDisplayErrorMessage } = this.itemRowObject || {};\n return (errorMessage?.length || 0) > 0 && (forceDisplayErrorMessage || !isSelectable);\n }\n\n /**\n * Returns whether this itemRowObject is selectable or not.\n *\n * @returns {string|boolean}\n */\n @computed('itemRowObject.isSelectable')\n get isDisabled() {\n const { itemRowObject } = this;\n if (!itemRowObject) {\n return false;\n }\n\n const { isSelectable } = itemRowObject;\n return !isSelectable ? 'disabled' : '';\n }\n\n /**\n * We should disable the checkbox if this item row represents a single system and a group is already selected or if this item\n * row represents a group and a single system is already selected.\n *\n * @returns {boolean|(BaseItemRow.isSystem|number|boolean)}\n */\n @computed('itemRowObject.isSystem', 'selectedCustomerIds.[]', 'selectedGroupIds.[]')\n get disableCheckbox() {\n const {\n itemRowObject,\n selectedGroupIds: { length: groupCount },\n selectedCustomerIds: { length: customerCount }\n } = this;\n if (!itemRowObject) {\n return false;\n }\n\n const { isSystem } = itemRowObject;\n return (isSystem && groupCount) || (!isSystem && customerCount);\n }\n\n /**\n * The group or system row object\n *\n * @type {BaseItemRow}\n */\n itemRowObject;\n\n /**\n * Whether to show this row as selected or not.\n */\n @alias('itemRowObject.isSelected')\n rowSelected;\n\n /**\n * A closure function passed in to select a row.\n */\n selectRowAction() {\n assert('The item-row component requires a \"selectRowAction\" closure action', false);\n }\n\n /**\n * Toggles the open/close state of a group row.\n *\n * @param {components.enterprise.groups.GroupRow} row\n */\n @action\n toggleRow(row) {\n row.isOpen = !row.isOpen;\n }\n\n /**\n * Action that occurs when a radio button is clicked.\n */\n @action\n selectRow() {\n const { itemRowObject, selectRowAction } = this;\n itemRowObject.isSelected = !itemRowObject.isSelected;\n selectRowAction(itemRowObject);\n }\n\n /**\n * The menu items that should appear in the kabob element\n */\n @computed('itemRowObject.menuItems.{length,@each.iconTitle}')\n get kabobMenuItems() {\n const { menuItems } = this.itemRowObject,\n baseKabobItems = menuItems.rejectBy('iconTitle');\n\n return baseKabobItems.length ? [menuItems.findBy('iconTitle', 'add'), ...baseKabobItems].compact() : [];\n }\n\n /**\n * The menu items that should appear outside of the kabob element\n */\n @computed('itemRowObject.menuItems.length')\n get inlineMenuItems() {\n const { menuItems } = this.itemRowObject,\n baseInlineItems = menuItems.filterBy('iconTitle');\n\n // Inline items should be add, rename, delete. Both add and delete may be hidden.\n // If move or remove are also visible, then add should be moved to the kabob menu.\n if (menuItems.rejectBy('iconTitle').length) {\n return baseInlineItems.rejectBy('iconTitle', 'add');\n }\n\n return baseInlineItems;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{#if this.isNotEmpty}}\\n {{#unless this.useInfinityScrollView}}\\n {{#each this.sortedRowItems as |groupOrSystem|}}\\n \\n {{#if groupOrSystem.isOpen}}\\n \\n {{/if}}\\n {{/each}}\\n {{else}}\\n \\n
  • \\n \\n
  • \\n \\n {{/unless}}\\n {{else}}\\n

    {{tc this \\'noUnitsOrGroups\\'}}

    \\n {{/if}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/groups/groups-list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n * A list of systems or groups to display, with each item in its own base-item-row component.\n * Any child groups or systems of groups will be rendered when the group is expanded.\n */\n@intlPath({ path: 'enterprise/groups/groups-list' })\nexport default class GroupsList extends Component {\n @service intl;\n\n @computed('args.selectedCustomerIds')\n get selectedCustomerIds() {\n return this.args.selectedCustomerIds ?? [];\n }\n\n @computed('args.selectedGroupIds')\n get selectedGroupIds() {\n return this.args.selectedGroupIds ?? [];\n }\n\n /**\n * Should we use the standard view (as opposed to the list-view)\n *\n * @type {boolean}\n */\n @computed('sortedRowItems.@each.isSystem', 'args.{parentItem.useListViewForChildren,useScroll}')\n get useInfinityScrollView() {\n // Use list-view if group is a group of units. Otherwise, use list-view based on row type.\n return (\n this.args.parentItem?.useListViewForChildren ||\n this.sortedRowItems.isEvery('isSystem') ||\n this.args.useScroll\n );\n }\n\n /**\n * Whether the groups list has any content to display.\n */\n @computed('args.{model.length,parentItem}')\n get isNotEmpty() {\n return !!this.args.model.length || this.args.parentItem;\n }\n\n /**\n * Array of the list items to be displayed that have been sorted.\n * NOTE: These are already sorted on the server, but if a new group is created\n * it's not sorted on the server properly for some reason.\n *\n * @type {Array}\n */\n @computed('args.model.length')\n get sortedRowItems() {\n return this.args.model.sortBy('description');\n }\n\n get items() {\n return this.args.parentItem?.getChildItems(this.selectedCustomerIds) ?? this.sortedRowItems;\n }\n\n /**\n * Toggle checking or unchecking group or system.\n *\n * @param itemObject {components.enterprise.groups.BaseItemRow}\n */\n @action\n selectRow(itemObject) {\n this.args.selectRowAction(itemObject);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{#if this.isNotEmpty}}\\n {{#unless this.useInfinityScrollView}}\\n {{#each this.sortedRowItems as |groupOrLocationRoleRowItem|}}\\n \\n {{#if groupOrLocationRoleRowItem.isOpen}}\\n {{!-- @glint-expect-error Seems to have issues calling itself recursively? --}}\\n \\n {{/if}}\\n {{/each}}\\n {{else}}\\n {{!-- @glint-expect-error The types for VerticalCollection indicate there is no element, so we can\\'t pass a test attribute. Please fix this (or the types). --}}\\n \\n
  • \\n \\n
  • \\n \\n {{/unless}}\\n {{else}}\\n

    {{tc this \\'noGroups\\'}}

    \\n {{/if}}\\n
    \",{ moduleName: \"customer-site/components/enterprise/groups/groups-roles-list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { NO_DIRECT_ACCESS_LOGIN_ROLE_ID } from 'customer-site/transforms/system-group-login-roles-list';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type NonGroupLogin from 'customer-site/models/logins/non-group-login';\nimport type SystemGroupLogin from 'customer-site/models/logins/system-group-login';\nimport type GroupRoleRow from '../group-role-row';\n\nexport interface GroupsRolesListSignature {\n Args: {\n model: GroupRoleRow[];\n login: SystemGroupLogin | NonGroupLogin;\n modifiedRoleAction: VoidFunction;\n disabled: boolean;\n parentItem?: GroupRoleRow;\n useCheckboxes?: boolean;\n };\n}\n\n/**\n * @classdesc\n *\n * A list of systems or groups to display, with each item in its own base-item-row component.\n * Any child groups or systems of groups will be rendered when the group is expanded.\n */\n@intlPath({ path: 'enterprise/groups/groups-roles-list' })\nexport default class GroupsRolesList extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n /**\n * We want to show a list view when we're viewing child groups or systems.\n */\n @computed('args.{parentItem.useListViewForChildren,model.@each.model}')\n get useInfinityScrollView(): boolean {\n const { parentItem, model: systemsOrGroupsList } = this.args;\n return !!(parentItem && (parentItem.useListViewForChildren || systemsOrGroupsList.isAny('isSystem')));\n }\n\n /**\n * Whether the groups list has any content to display.\n */\n @computed('args.{model.length,parentItem}')\n get isNotEmpty(): boolean {\n return !!this.args.model.length || !!this.args.parentItem;\n }\n\n /**\n * Array of the list items to be displayed that have been sorted.\n *\n * @note These are already sorted on the server, but if a new group is created\n * it's not sorted on the server properly for some reason.\n */\n @computed('args.model.length')\n get sortedRowItems(): GroupRoleRow[] {\n return this.args.model.sortBy('description');\n }\n\n /**\n * Updating the selected role at lower levels to \"Inherit from above\".\n */\n @action\n async clearRolesOnChildItems(itemObject: GroupRoleRow): Promise {\n const childItems = (await itemObject.childItems) ?? [];\n\n childItems.forEach((childItem) => {\n childItem.setSelectedRole(NO_DIRECT_ACCESS_LOGIN_ROLE_ID);\n this.args.modifiedRoleAction();\n this.clearRolesOnChildItems(childItem);\n });\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Groups::GroupsRolesList': typeof GroupsRolesList;\n }\n}\n","import { computed, setProperties } from '@ember/object';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport DS from 'ember-data';\nimport BaseItemRow from './base-item-row';\nimport GroupRow from './group-row';\n\n/**\n * @classdesc\n * An object for representing an enterprise parent group.\n *\n * @class components.enterprise.groups.ParentGroupRow\n * @extends components.enterprise.groups.BaseItemRow\n */\nexport default class ParentGroupRow extends BaseItemRow {\n /** @override **/\n constructor(\n host,\n model,\n {\n isOpen = false,\n showDropdown = true,\n showDropdownForChildGroups = true,\n isSelectable = false,\n areChildrenSelectable = true,\n childGroupErrorMessage = '',\n checkboxHidden = false,\n disabled = false,\n isAddLocationViaLoginCredentialsVisible = false,\n disabledGroupId = 0\n } = {}\n ) {\n super(host, model);\n\n // Set defaults.\n setProperties(this, {\n icon: 'property-manage',\n childClass: 'child-group-rows'\n });\n\n // Set properties from arguments.\n setProperties(this, {\n isOpen,\n showDropdown,\n showDropdownForChildGroups,\n isSelectable,\n areChildrenSelectable,\n childGroupErrorMessage,\n checkboxHidden,\n disabled,\n isAddLocationViaLoginCredentialsVisible,\n disabledGroupId\n });\n }\n\n /**\n * Whether or not the child groups of this group should have the dropdown to expand and show their systems.\n *\n * @type {boolean}\n * @default true\n */\n showDropdownForChildGroups = true;\n\n /**\n * Error message to show in child groups that are not selectable.\n *\n * @type {string}\n * @default ''\n */\n childGroupErrorMessage = '';\n\n /**\n * The ID of the group that is not selectable.\n *\n * @type {number}\n * @default undefined\n */\n disabledGroupId;\n\n /**\n * Whether child groups are selectable.\n *\n * @type {boolean}\n * @default true\n */\n areChildrenSelectable = true;\n\n /** @override */\n get canExpand() {\n return true;\n }\n\n /** @override */\n @computed('model.childGroups.isFulfilled')\n get childGroups() {\n const {\n showDropdownForChildGroups,\n areChildrenSelectable,\n disabledGroupId,\n childGroupErrorMessage,\n host,\n isAddLocationViaLoginCredentialsVisible\n } = this;\n\n return DS.PromiseArray.create({\n promise: this.model.childGroups.then((childGroups) => {\n return childGroups.map((childGroup) => {\n return new GroupRow(host, childGroup, {\n showDropdown: showDropdownForChildGroups,\n isSelectable: areChildrenSelectable && disabledGroupId !== childGroup.id,\n errorMessage: areChildrenSelectable ? '' : childGroupErrorMessage,\n isAddLocationViaLoginCredentialsVisible\n });\n });\n })\n });\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n
    \\n
    \\n \\n
    \\n \\n \\n
    \\n \\n
    \\n
    \\n\\n {{#if @permissionOption.definition}}\\n \\n \\n

    {{this.htmlSafeDefinition}}

    \\n \\n {{/if}}\\n
    \\n\\n {{yield}}\\n\\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/logins/login-permission-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { NO_DIRECT_ACCESS_LOGIN_ROLE_ID } from 'customer-site/transforms/system-group-login-roles-list';\nimport DropdownSelectItem, { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { PermissionOption } from 'customer-site/components/logins/custom-login-permissions/index';\nimport type { SafeString } from 'handlebars';\n\ninterface LoginPermissionRowSignature {\n Element: HTMLDivElement;\n Args: {\n // You should not pass user type permission options directly into this component, but into the UserTypePermissionOptions\n // component, which extends off of this one. I needed to define the additional parameter of that component here as well.\n userTypePermissionOptions?: PermissionOption[] | undefined;\n permissionOption: PermissionOption;\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * A row that holds information about a feature permission that we can assign to a login.\n */\nexport default class LoginPermissionRow extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * The access level options associated with this permission option.\n */\n get dropdownSelectItems(): DropdownSelectItem[] {\n const {\n args: { permissionOption }\n } = this;\n\n let selectedValue = '';\n const dropdownSelectItems = permissionOption.dropdownItems.map((ddi) => {\n if (ddi.selected) {\n selectedValue = ddi.id.toString();\n }\n\n return DropdownSelectItem.create({\n featurePermissionDropdownItem: ddi,\n state: ddi.selected ? SELECTED : UNSELECTED,\n name: ddi.description,\n value: ddi.id.toString(),\n disabled: permissionOption.disabled\n });\n }),\n noAccessDropdownItem = DropdownSelectItem.create({\n name: this.intl.t('components.enterprise.groups.role-item-row.noAccessRoleName'),\n value: NO_DIRECT_ACCESS_LOGIN_ROLE_ID,\n disabled: false,\n state: selectedValue === '' ? SELECTED : UNSELECTED\n });\n\n permissionOption.dropdownValue = selectedValue;\n return [noAccessDropdownItem, ...dropdownSelectItems];\n }\n\n /**\n * The definition associated with this permission, if applicable.\n */\n @computed('args.permissionOption.definition')\n get htmlSafeDefinition(): SafeString {\n return htmlSafe(this.args.permissionOption.definition || '');\n }\n\n /**\n * Adjusts the feature access levels associated with the login when a new item from a dropdown is selected.\n */\n @action\n dropdownItemSelected(permissionOption: PermissionOption, value: string): void {\n const { dropdownItems } = permissionOption;\n\n // Find the currently selected dropdown item, if applicable.\n const previouslySelectedDropdownItems = dropdownItems.filterBy('selected'),\n selectedDropdownItem = dropdownItems.find((item) => item.id.toString() === value);\n\n // If there is a previously selected dropdown option, set its selected property to false.\n previouslySelectedDropdownItems.setEach('selected', false);\n\n // We should find the newly selected option, or else something went wrong.\n set(selectedDropdownItem || ({} as { selected: string }), 'selected', true);\n\n // If the selected option is not 'No Access' then the permission option is given to the login.\n // The 'No Access' is dropdown select item is not a part of the permission object's dropdown\n // items property, so if no selected dropdown items are found to be selected, it must be\n // the 'No Access' selection.\n set(permissionOption, 'selected', selectedDropdownItem !== undefined);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Logins::LoginPermissionRow': typeof LoginPermissionRow;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if this.displayUserTypePermissionOptions}}\\n
    \\n {{#each @userTypePermissionOptions as |userTypePermissionOption|}}\\n \\n {{/each}}\\n
    \\n {{/if}}\\n\\n\",{ moduleName: \"customer-site/components/logins/user-permission-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { computed, action } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { UsersCustom, UsersFull, UsersReadOnly, UsersViewEdit } from 'customer-site/enums/LoginFeatureAccessLevel';\nimport { FullControl, ViewPinsEditContact, ReadOnly } from 'customer-site/enums/UserTypeAccessLevel';\nimport LoginPermissionRow from '../login-permission-row/index';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n *\n * A row to represent the user permission option.\n */\nexport default class UserPermissionRow extends LoginPermissionRow {\n /**\n * The selected access level for the user feature permission option (aka. Users Full Control, Users Read Only, etc.)\n */\n @computed('args.permissionOption.dropdownItems.@each.selected')\n get selectedUsersDropdownItemId(): number | undefined {\n return this.args.permissionOption?.dropdownItems?.find((item) => item.selected)?.id;\n }\n\n /**\n * Should we display the user type permission options?\n */\n @equal('selectedUsersDropdownItemId', UsersCustom)\n declare displayUserTypePermissionOptions: boolean;\n\n /**\n * Whenever we modify the user feature permission option to be 'Full Control', 'View / Edit', or 'Read Only',\n * we must set the equivalent access value for all of the user types.\n */\n @action\n updateUserTypePermissions(): void {\n const {\n args: { userTypePermissionOptions }\n } = this;\n\n // First calculate the selected user access level.\n let selectedUserAccessLevel: number | undefined;\n\n // If we've set 'full control' on the user feature permission dropdown item, set that for all user types as well.\n if (this.selectedUsersDropdownItemId === UsersFull) {\n selectedUserAccessLevel = FullControl;\n }\n\n // If we've set 'view / edit' on the user feature permission dropdown item, set that for all user types as well.\n if (this.selectedUsersDropdownItemId === UsersViewEdit) {\n selectedUserAccessLevel = ViewPinsEditContact;\n }\n\n // If we've set 'read only' on the user feature permission dropdown item, set that for all user types as well.\n if (this.selectedUsersDropdownItemId === UsersReadOnly) {\n selectedUserAccessLevel = ReadOnly;\n }\n\n // Now set all the user type permission options to have that access level.\n if (!this.displayUserTypePermissionOptions && userTypePermissionOptions) {\n userTypePermissionOptions.forEach((userTypePermissionOption) => {\n if (selectedUserAccessLevel) {\n // Select the appropriate user type from the access options.\n this.dropdownItemSelected(userTypePermissionOption, selectedUserAccessLevel.toString());\n }\n });\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Logins::UserPermissionRow': typeof UserPermissionRow;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/components/logins/custom-login-permissions/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { filterBy, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n EnterpriseManagementPermissions,\n DeviceControl,\n ImageSensorPermissions,\n VideoPermissions\n} from 'customer-site/enums/FeaturePermissionCategory';\nimport { Users } from 'customer-site/enums/LoginFeature';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nexport interface PermissionOption {\n id: number;\n name: string;\n definition: string | undefined;\n disabled: boolean;\n selected: boolean;\n dropdownItems: PermissionDropdownItem[];\n\n dropdownSelectItems: DropdownSelectItem[];\n dropdownValue: string;\n}\n\nexport interface FeaturePermissionOption extends PermissionOption {\n definition: string;\n featurePermissionCategory: number;\n}\n\nexport interface PermissionDropdownItem {\n id: number;\n selected: boolean;\n description: string;\n}\n\nexport interface CustomLoginPermissionsSignature {\n Element: HTMLDivElement;\n Args: {\n featurePermissionOptions: FeaturePermissionOption[];\n userTypePermissionOptions: PermissionOption[];\n };\n}\n\n/**\n * @classdesc\n * The list of custom feature permissions that we can assign to a login.\n */\n@intlPath({ path: 'logins/custom-login-permissions' })\nexport default class CustomLoginPermissions extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * The permission option id associated with the users permission option.\n */\n usersPermissionOptionId: number = Users;\n\n /**\n * The feature permission options to display in this component.\n */\n @alias('args.featurePermissionOptions')\n declare featurePermissionOptions: FeaturePermissionOption[];\n\n /**\n * Static way of grouping the feature permissions displayed in the modal.\n */\n get featurePermissionOptionCategories(): { categoryName: string; options: FeaturePermissionOption[] }[] {\n const { intl } = this;\n const getCategoryName = (categoryId: number): string => {\n return intl.tc(this, `featurePermissionCategory-${categoryId}`);\n };\n\n return [\n {\n categoryName: getCategoryName.call(this, EnterpriseManagementPermissions),\n options: this.enterpriseManagementPermissionOptions\n },\n {\n categoryName: getCategoryName.call(this, DeviceControl),\n options: this.deviceControlPermissionOptions\n },\n {\n categoryName: getCategoryName.call(this, ImageSensorPermissions),\n options: this.imageSensorPermissionOptions\n },\n {\n categoryName: getCategoryName.call(this, VideoPermissions),\n options: this.videoPermissionOptions\n }\n ];\n }\n\n /**\n * Enterprise management permission options..\n */\n @filterBy('featurePermissionOptions', 'featurePermissionCategory', EnterpriseManagementPermissions)\n declare enterpriseManagementPermissionOptions: FeaturePermissionOption[];\n\n /**\n * Device control permission options.\n */\n @filterBy('featurePermissionOptions', 'featurePermissionCategory', DeviceControl)\n declare deviceControlPermissionOptions: FeaturePermissionOption[];\n\n /**\n * Image sensor permission options.\n */\n @filterBy('featurePermissionOptions', 'featurePermissionCategory', ImageSensorPermissions)\n declare imageSensorPermissionOptions: FeaturePermissionOption[];\n\n /**\n * Video permission options.\n */\n @filterBy('featurePermissionOptions', 'featurePermissionCategory', VideoPermissions)\n declare videoPermissionOptions: FeaturePermissionOption[];\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Logins::CustomLoginPermissions': typeof CustomLoginPermissions;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n
    \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/location-selection/base-location-selection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type BaseDevice from 'customer-site/models/devices/base-device';\n\ninterface LocationSelectionSignature {\n Element: HTMLDivElement;\n Args: {\n devices: BaseDevice[];\n maxDeviceNumber: number;\n openModal: () => void;\n selectAll: () => void;\n selectNone: () => void;\n };\n}\n\n/**\n * @classdesc\n * Shows location selection options\n */\n@intlPath({ path: 'enterprise/location-selection/base-location-selection' })\nexport default class EnterpriseBaseLocationSelectionComponent extends Component {\n /**\n * Whether No Locations is currently selected.\n */\n @equal('args.devices.length', 0)\n declare isNoLocationsSelected: boolean;\n\n /**\n * Whether Partial Locations is currently selected.\n */\n @computed('args.devices.{[],length}', 'args.maxDeviceNumber')\n get isPartialLocationsSelected(): boolean {\n const { length } = this.args.devices;\n return length < this.args.maxDeviceNumber && length !== 0;\n }\n\n /**\n * Whether All Locations is currently selected.\n */\n @computed('args.devices.{[],length}', 'args.maxDeviceNumber')\n get isAllLocationsSelected(): boolean {\n return this.args.devices.length === this.args.maxDeviceNumber;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::LocationSelection::BaseLocationSelection': typeof EnterpriseBaseLocationSelectionComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n \\n {{#unless (eq @group.locations.length 0)}}\\n \\n {{/unless}}\\n \\n \\n
    \\n\\n {{#if this.showLocationsList}}\\n
    \\n {{yield}}\\n
    \\n {{/if}}\\n\",{ moduleName: \"customer-site/components/enterprise/locations/group-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberLocationsOccupancy, EmberLocationsSummary } from 'customer-site/enums/CustomerPageUrl';\nimport { EnterpriseToGroup } from '@adc/app-infrastructure/enums/ContextSwitchType';\nimport { Home } from '@adc/app-infrastructure/enums/NativeView';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type LocationSummaryInfo from 'customer-site/enterprise/locations/helper-objects/location-summary-info';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\ninterface GroupRowSignature {\n Args: {\n group: { systemGroup: SystemGroup; locations: LocationSummaryInfo[] };\n groupStates: Map;\n updateExpandAll(isExpandAll: boolean, defaultExpandState?: boolean): void;\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * @classdesc\n * Displays a collapsible group row that contains sub-locations.\n */\n@intlPath({ path: 'enterprise/locations/group-row' })\nexport default class GroupRow extends Component {\n @service declare contextManager: ContextManager;\n @service declare identityManager: IdentityManager;\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n @service nativeBridge: any;\n\n /**\n * The system group that the row represents.\n */\n declare group: { systemGroup: SystemGroup; locations: LocationSummaryInfo[] };\n\n /**\n * The system group's id.\n */\n declare groupId: number;\n\n /**\n * Whether we display the list of locations or not.\n */\n @tracked\n declare showLocationsList: boolean;\n\n constructor(owner: unknown, args: GroupRowSignature['Args']) {\n super(owner, args);\n\n this.group = args.group;\n this.groupId = Number(this.group.systemGroup?.id);\n\n // If we aren't loading the page for the first time.\n if (args.groupStates.get(this.groupId) !== undefined && this.group.locations.length != 0) {\n this.showLocationsList = args.groupStates.get(this.groupId) as boolean;\n }\n // Default value.\n else {\n this.showLocationsList = false;\n }\n }\n\n /**\n * Toggles whether we show the list of locations or not.\n */\n @action\n changeState(): void {\n this.showLocationsList = this.args.groupStates.get(this.groupId) ?? false;\n }\n\n /**\n * Toggle if we show the list of locations for the group.\n */\n @action\n toggleLocations(): void {\n this.showLocationsList = !this.showLocationsList;\n this.args.groupStates.set(this.groupId, this.showLocationsList);\n\n // Set up counts\n const numGroupsRendered = document.getElementsByClassName('selectable subgroup').length;\n let countExpanded = 0;\n\n // Loop through each grop row and check what its expand state is\n this.args.groupStates.forEach((expandState) => {\n if (expandState) {\n countExpanded++;\n }\n });\n\n // If all or none of the groups are expanded, update expandAll state to the appropriate state.\n if (countExpanded == numGroupsRendered) {\n this.args.updateExpandAll(true, true);\n window.localStorage.setItem('parentGroupExpandState', 'true');\n } else if (countExpanded == 0) {\n this.args.updateExpandAll(false, false);\n window.localStorage.setItem('parentGroupExpandState', 'false');\n } else {\n this.args.updateExpandAll(true);\n }\n }\n\n /**\n * Switch application context to the system group passed in.\n * If we are in the native app, try to transtion native views\n */\n @action\n async childGroupClicked(childGroup: SystemGroup): Promise {\n // If the group has no locations, do nothing when selected.\n if (childGroup.systems.length == 0) {\n return;\n }\n // Determine the nativeView Id needed for the current dashbaord\n const { nativeBridge, contextManager, identityManager, store } = this,\n nativeViewId = Home,\n groupId = this.groupId;\n\n const availableSystemItem = store.peekRecord('systems/available-system-item', 'group-' + childGroup.id);\n\n if (this.identityManager.isMobileApp) {\n // Ensure the native-bridge says the feature is supported by the mobile app\n if (nativeBridge.doesSupportTransitionToNativeViewWithId(nativeViewId)) {\n nativeBridge.transitionToNativeView(nativeViewId, {\n contextSwitchType: EnterpriseToGroup,\n groupId\n });\n }\n } else {\n // When we transition to the subgroup, we want to get the current (pre- context switch)\n // route and then restore that route after the context switch\n // If there is no access to that route, default to EmberLocationsSummary / EmberLocationsOccupancy\n const defaultRoute = identityManager.pointCentralIdentity?.isPointCentralSTR\n ? EmberLocationsOccupancy\n : EmberLocationsSummary;\n const previousRoute = contextManager.currentRouteData?.route?.routeId ?? defaultRoute;\n\n await identityManager.switchContext(availableSystemItem);\n\n // If we have access to the previous dashboard, navigate there.\n // Otherwise navigate to the default route.\n\n if (this.navigation.getRouteItem(previousRoute)) {\n this.navigation.transitionToRouteId(previousRoute, {\n queryParams: { searchString: '', searchKeyword: '' }\n });\n } else {\n this.navigation.transitionToRouteId(defaultRoute, {\n queryParams: { searchString: '', searchKeyword: '' }\n });\n }\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::GroupRow': typeof GroupRow;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n
    \\n
    \\n
    \\n \\n {{#if @locationInfo.model.isInACLockdown}}\\n \\n {{/if}}\\n {{!-- Only show the edit location button on mobile if we are not showing the dropdown and they have access to the ember edit location page. --}}\\n {{#if (and this.showEditLocationButtonForMobile this.editButtonIsVisible)}}\\n
    \\n \\n
    \\n {{/if}}\\n \\n
    \\n {{#if (and @showLocationsDetailsView @locationInfo.model.customerCompanyName)}}\\n

    {{@locationInfo.model.customerCompanyName}}

    \\n {{/if}}\\n \\n
    \\n
    \\n\\n {{yield}}\\n\\n {{#if (and @locationInfo.model.manageResidentsV2Enabled @locationInfo.model.midLeaseMovesEnabled)}}\\n
    \\n {{#if @locationInfo.model.showMoveInOption}}\\n
    \\n \\n
    \\n {{else if @locationInfo.model.showMoveOutOption}}\\n
    \\n \\n
    \\n {{/if}}\\n
    \\n {{/if}}\\n\\n {{!-- Only show the edit location button if we are not showing the dropdown and if we want to show action items --}}\\n
    \\n {{#if (and this.showEditLocationButtonForDesktop this.editButtonIsVisible)}}\\n
    \\n \\n
    \\n {{/if}}\\n
    \\n
    \\n\\n\",{ moduleName: \"customer-site/components/enterprise/locations/location-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed, action } from '@ember/object';\nimport { and, not, alias, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberEnterpriseGroups, EmberLocationsOverview } from 'customer-site/enums/CustomerPageUrl';\nimport { POST } from '@adc/ajax/services/adc-ajax';\nimport { intlPath } from '@adc/i18n/path';\nimport { EditActionItem } from '@adc/ui-components/utils/action-item';\nimport ActionItem from '@adc/ui-components/utils/action-item';\n\nimport type NavigationService from 'customer-site/services/navigation';\nimport './_style.scss';\nimport type NativeBridgeService from '@adc/app-infrastructure/services/native-bridge';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type LocationInfo from 'customer-site/enterprise/locations/helper-objects/location-info';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\nexport interface LocationRowSignature {\n Element: HTMLDivElement;\n Args: {\n locationInfo: LocationInfo;\n hideEditButton: boolean;\n showLocationsDetailsView?: boolean;\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * Displays a single Enterprise location.\n */\n@intlPath({ path: 'enterprise/locations/location-row' })\nexport default class LocationRow extends Component {\n @service declare media: ADCResponsiveMediaService;\n @service declare nativeBridge: NativeBridgeService;\n @service declare modals: ModalService;\n @service declare ajax: AjaxService;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n @service declare identityManager: IdentityManager;\n @service declare navigation: NavigationService;\n\n @alias('args.locationInfo')\n declare locationInfo: LocationInfo;\n\n @alias('args.hideEditButton')\n declare hideEditButton: boolean;\n\n /**\n * Whether we want to show the edit location button for this location row (instead of the dropdown). This button will only be\n * shown if we are not showing the dropdown and if we can show action items (since the edit location button is an action item).\n */\n @computed(\n 'showDropdown',\n 'showActionItems',\n 'identityManager.pointCentralIdentity.hasProgrammingCodeAsDeviceSettingFeatureToggle',\n 'showFeatureToggleHiddenDropdown'\n )\n get showEditLocationButton(): boolean {\n return !this.showDropdown && this.showActionItems;\n }\n\n /**\n * Whether or not the edit button should be visible.\n * Hidden on mobile for any accounts that are not PC or Builder.\n */\n @computed(\n 'identityManager.identityModel.isMobileApp',\n 'locationInfo.model.canViewEditLocationPage',\n 'isPointCentralOrBuilderAccount',\n 'hideEditButton'\n )\n get editButtonIsVisible(): boolean {\n const { identityModel } = this.identityManager;\n if (identityModel === undefined) {\n return false;\n }\n\n return (\n this.locationInfo.model.canViewEditLocationPage &&\n (!identityModel.isMobileApp || this.isPointCentralOrBuilderAccount) &&\n !this.hideEditButton\n );\n }\n\n /**\n * Are we going to displaying this on the desktop site?\n */\n @computed('showEditLocationButton', 'media.isMobile')\n get showEditLocationButtonForDesktop(): boolean {\n return this.showEditLocationButton && !this.media.isMobile;\n }\n\n /**\n * Is the account PointCentral or from Builder Program.\n */\n @or('identityManager.isPointCentral', 'identityManager.isBuilderAccount')\n declare isPointCentralOrBuilderAccount: boolean;\n\n /**\n * Are we going to displaying this on the mobile size?\n * Will be displayed to the right of the description.\n * Only is displayed if they have access to the ember edit location page.\n */\n @and('showEditLocationButton', 'media.isMobile')\n declare showEditLocationButtonForMobile: boolean;\n\n /**\n * Whether we want to show the dropdown with 3 dots. We only want to show the dropdown for PointCentral LTR accounts\n * Currently, we want the dropdown on the PC STR page to be hidden behind a feature toggle\n *\n * @type {boolean}\n */\n @computed(\n 'identityManager.{isPointCentral,pointCentralIdentity.isPcRpm,identityModel.hasProgrammingCodeAsDeviceSettingFeatureToggle}'\n )\n get showDropdown(): boolean {\n if (this.identityManager.identityModel?.hasProgrammingCodeAsDeviceSettingFeatureToggle) {\n return this.identityManager.isPointCentral;\n }\n\n return this.identityManager.pointCentralIdentity?.isPcRpm ?? false;\n }\n\n /**\n * We want to show the action items if this location is not a Wellness account.\n *\n * @type {boolean}\n */\n @not('locationInfo.model.isWellness')\n declare showActionItems: boolean;\n\n /**\n * Opens a confirmation dialog that asks the user whether they want to move out the tenants for the unit.\n *\n * @function\n */\n openMoveOutModal(): void {\n const { notificationManager, intl } = this;\n\n // Create the confirmation dialog to make sure that the end user wants to perform a manual move-out on the unit.\n this.modals.showConfirmationDialog(intl.tc(this, 'manualMoveOut'), intl.tc(this, 'manualMoveOutModalMessage'), {\n text: intl.t('generic.confirm'),\n action: async () => {\n try {\n // Send a request to perform a manual move-out after confirmation. If successful, we should show the success message and append the tenants that successfully moved in.\n const numUnits = await this.ajax.apiRequestForValue(\n 'enterprise/locations/locations/performManualMoveOut',\n undefined,\n JSON.stringify(this.locationInfo.model.customerId),\n POST\n );\n\n notificationManager.addSuccess(intl.tc(this, 'moveOutSuccessfulMessage'));\n\n // Redirect to the parent group overview page when no locations are left in this group\n // to avoid issues with other pages. If no parent group exists, then redirect to the\n // manage groups page.\n if (numUnits === 0) {\n const systemGroup = await this.identityManager.identityModel?.selectedSystemGroup;\n const parentGroup = await systemGroup?.parentGroup;\n\n if (parentGroup) {\n await this.identityManager.switchToNewGroup(parentGroup.id, EmberLocationsOverview);\n } else {\n await this.navigation.transitionToRouteId(EmberEnterpriseGroups);\n }\n } else {\n this.identityManager.refreshApplication(true, false);\n }\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n }\n }\n });\n }\n\n openMoveInPage(): void {\n const { locationInfo } = this,\n { model } = locationInfo;\n\n if (model.showManageResidentsOption && model.midLeaseMovesEnabled && model.manageResidentsV2Enabled) {\n locationInfo.manageResidentsV2();\n } else if (model.showManageResidentsOption && model.midLeaseMovesEnabled) {\n locationInfo.manageResidents();\n } else {\n locationInfo.moveInTenant();\n }\n }\n\n @computed('listRowActionItems')\n get showEllipsis(): boolean {\n return this.listRowActionItems.filter((item) => item.visible).length > 1;\n }\n\n @computed('showActionItems', 'editButtonIsVisible')\n get listRowActionItems(): ActionItem[] {\n if (!this.showActionItems) {\n return [];\n }\n\n const { locationInfo, intl } = this,\n { model } = locationInfo;\n\n return [\n EditActionItem.create({\n action: () => locationInfo.editLocation(),\n visible: this.editButtonIsVisible\n }),\n ActionItem.create({\n action: () => this.openMoveOutModal(),\n visible:\n (!model.manageResidentsV2Enabled &&\n model.showMoveOutOption &&\n !(model.showManageResidentsOption && model.midLeaseMovesEnabled)) ||\n false,\n icon: 'group',\n text: intl.tc(this, 'manualMoveOut')\n }),\n ActionItem.create({\n action: () => this.openMoveInPage(),\n visible: (!model.manageResidentsV2Enabled && model.showMoveInOption) || false,\n icon: 'group',\n text: intl.tc(this, 'manualMoveIn')\n }),\n ActionItem.create({\n action: () => this.openMoveInPage(),\n disabled: false,\n visible:\n (!model.manageResidentsV2Enabled &&\n model.showMoveOutOption &&\n model.showManageResidentsOption &&\n model.midLeaseMovesEnabled) ||\n false,\n icon: 'group',\n text: this.intl.tc(this, 'manageResidents')\n }),\n ActionItem.create({\n action: () => locationInfo.manageDevices(),\n icon: 'feature-manage-devices',\n text: this.intl.tc(this, 'manageDevices'),\n visible: model.canViewManageDevicesPage\n })\n ];\n }\n\n /**\n * Gets the action items for the location.\n */\n @action\n getActionItems(): ActionItem[] {\n return this.listRowActionItems;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationRow': typeof LocationRow;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#unless (media \\'isMobile\\')}}\\n
    \\n {{#each @columnHeaders as |columnHeader|}}\\n
    {{columnHeader.header}}
    \\n {{/each}}\\n
    \\n{{/unless}}\\n\\n
    \\n {{yield}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/locations/locations-list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nexport interface EnterpriseLocationsListSignature {\n Args: {\n columnHeaders: {\n header: string;\n extraClass: string;\n }[];\n };\n Blocks: {\n default: [];\n };\n}\n\nconst EnterpriseLocationsList = templateOnlyComponent();\nexport default EnterpriseLocationsList;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::LocationsList': typeof EnterpriseLocationsList;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if (and (is-fulfilled this.showTroubleIssues) (await this.showTroubleIssues))}}\\n \\n{{/if}}\\n\",{ moduleName: \"customer-site/components/enterprise/locations/show-trouble-issues/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type LocationInfo from 'customer-site/enterprise/locations/helper-objects/location-info';\n\ninterface ShowTroubleIssuesSignature {\n Element: HTMLDivElement;\n Args: {\n /**\n * The location info object from which we'll derive the trouble issues.\n */\n locationInfo: LocationInfo;\n\n /**\n * Whether this component is being used to show trouble issues within the mobile view.\n */\n showForMobile: boolean;\n };\n}\n\n/**\n * Loads and renders the trouble issues for a location.\n */\n@intlPath({ path: 'enterprise/locations/show-trouble-issues' })\nexport default class ShowTroubleIssues extends Component {\n @service declare media: ADCResponsiveMediaService;\n\n /**\n * Whether we should pass in additional arguments to the trouble issues wrapper component.\n * The arguments should only be passed in if we are not viewing the page on mobile.\n */\n @not('args.showForMobile')\n declare shouldIncludeExtraArgs: boolean;\n\n /**\n * We want to show trouble issues if there is at least one trouble issue.\n */\n @computed(\n 'media.isMobile',\n 'args.{showForMobile,locationInfo.model.enterpriseTroubleIssuesInfo.troubleIssues.length}'\n )\n get showTroubleIssues(): Promise {\n return (async () => {\n if (this.args.showForMobile !== this.media.isMobile) {\n return false;\n }\n\n const enterpriseTroubleIssuesInfo = await this.args.locationInfo.model.enterpriseTroubleIssuesInfo;\n return enterpriseTroubleIssuesInfo.troubleIssues.length > 0;\n })();\n }\n\n /**\n * Holds the selector string used to get the down arrow in the trouble conditions dropdown button, so the dropdown can be\n * anchored to that arrow.\n */\n @computed('args.locationInfo.model.id')\n get troubleIssuesDropdownSelector(): string {\n return `#location-${this.args.locationInfo.model.id} .trouble-issues-button .svg-dropdown-arrow`;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::ShowTroubleIssues': typeof ShowTroubleIssues;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if (and this.isParentGroup this.showViewMoreLocationsButton)}}\\n
    \\n \\n
    \\n{{/if}}\\n\",{ moduleName: \"customer-site/components/enterprise/locations/view-more-locations-button/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed, get, setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { SingleSystemDetail } from '../../../../enums/LocationDataType';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type BaseLocationsSubrouteRoute from 'customer-site/enterprise/locations/base-locations-subroute-route';\nimport type LocationInfo from 'customer-site/enterprise/locations/helper-objects/location-info';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\ninterface ViewMoreLocationsButtonArgs {\n locationInfos: Array;\n model: ModelFrom;\n groupId: number;\n searchString: string;\n searchKeyword: string;\n}\n\n/**\n * @classdesc\n * Contains the logic for the Parent Group View More Locations button\n */\n@intlPath({ path: 'enterprise/locations/view-more-locations-button' })\nexport default class ViewMoreLocationsButton extends Component {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n @service declare store: Store;\n\n /**\n * Is the current context parent group?\n */\n @computed('contextManager.identityModel.selectedSystemGroup.isParentGroup')\n get isParentGroup(): boolean {\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error selectedSystemGroup is async, so we should await it before we query it's properties.\n return get(this.contextManager.identityModel.selectedSystemGroup, 'isParentGroup');\n }\n\n /**\n * Have we pulled all the locations available for the specified group?\n */\n @computed('args.{groupId,locationInfos.length}', 'args.model.{meta.groupLocationCounts,locationDataType}')\n get showViewMoreLocationsButton(): boolean {\n const allLocationsRetrieved =\n this.args.locationInfos.length == this.args.model.meta?.groupLocationCounts?.[this.args.groupId] ?? 0;\n\n return !allLocationsRetrieved && this.args.model.locationDataType !== SingleSystemDetail;\n }\n\n /**\n * Pulls more locations for the specified groupId\n */\n @action\n async viewMoreLocations(groupId: string): Promise {\n const { model, searchString, searchKeyword } = this.args,\n { locations, locationDataType, currentFilters, batchSize, groupBatchSize, groupedLocationsBatchSize } =\n model,\n groupNextLocationIndex = model.groupedLocationsStartIndexes?.get(groupId) ?? groupedLocationsBatchSize,\n filtersString = JSON.stringify(currentFilters),\n locationsResponse = await this.store.query('enterprise/locations/location', {\n locationDataType,\n startIndex: groupNextLocationIndex,\n searchString,\n searchKeyword,\n filtersString,\n batchSize: batchSize,\n groupedLocationsBatchSize: groupedLocationsBatchSize,\n groupBatchSize: groupBatchSize,\n groupId\n });\n\n setProperties(model, {\n locations: locations?.pushObjects(locationsResponse.toArray())\n });\n\n model.groupedLocationsStartIndexes?.set(\n groupId,\n (groupNextLocationIndex ?? 0) + (groupedLocationsBatchSize ?? 0)\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Locations::ViewMoreLocationsButton': typeof ViewMoreLocationsButton;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n {{#each this.addEnterpriseLoginsOptions as |option|}}\\n
    \\n \\n <:content>\\n
    \\n \\n {{option.title}}\\n
    \\n {{#unless (media \\'isMobile\\')}}\\n

    {{option.description}}

    \\n {{/unless}}\\n \\n
    \\n
    \\n {{/each}}\\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/logins/add-enterprise-logins-options/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\n\nimport './_style.scss';\nimport type Store from '@ember-data/store';\nimport type Route from 'customer-site/classes/enterprise/logins/add-enterprise-logins-options/route';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport interface EnterpriseLoginsAddEnterpriseLoginsOptionsSignature {\n Args: {\n addEnterpriseLoginOptions: ModelFrom['addEnterpriseLoginOptions'];\n };\n}\n\n/**\n * Describes the UI elements and their associated properties and actions for each add enterprise\n * login option on the page.\n */\nexport interface AddLoginOptionUiElement {\n icon: string;\n description: string;\n title: string;\n navigationAction: () => void;\n}\n\nexport type AddEnterpriseLoginsOptionsResolvedModel = Awaited<\n Pick, 'addEnterpriseLoginOptions'>['addEnterpriseLoginOptions']\n>;\n\nexport default class EnterpriseLoginsAddEnterpriseLoginsOptions extends Component {\n @service declare contextManager: ContextManager;\n @service declare store: Store;\n\n /**\n * The options to create enterprise logins.\n */\n @tracked resolvedModel?: AddEnterpriseLoginsOptionsResolvedModel;\n\n @action\n dataLoaded(resolvedModel: AddEnterpriseLoginsOptionsResolvedModel): void {\n this.resolvedModel = resolvedModel;\n }\n\n /**\n * Sets up the options to add an enterprise login on the page.\n */\n @computed('resolvedModel.addEnterpriseLoginOptions', 'model.addEnterpriseLoginOptions.isFulfilled')\n get addEnterpriseLoginsOptions(): AddLoginOptionUiElement[] {\n const { addLoginOptions } = this.resolvedModel ?? {};\n if (!addLoginOptions) {\n return [];\n }\n\n const { contextManager } = this;\n\n return addLoginOptions.map(\n (option: {\n title: string;\n description: string;\n icon: string;\n routeToPage: number;\n model: string;\n queryParam: string;\n }) => {\n const queryParams: { [index: string]: string } = {};\n if (!isEmpty(option.queryParam)) {\n const queryParamPairings = option.queryParam.split('?');\n queryParamPairings.forEach((queryParam: string) => {\n if (!isEmpty(queryParam)) {\n const queryParamSeparated = queryParam.split('=');\n queryParams[queryParamSeparated[0]] = queryParamSeparated[1];\n }\n });\n }\n\n return {\n title: option.title,\n description: option.description,\n icon: option.icon,\n navigationAction: () => {\n contextManager.transitionToNativeRoute(option.routeToPage, option.model, queryParams);\n\n // Remove this intermediary page from the visited routes stack.\n contextManager.visitedRoutesStack.pop();\n }\n };\n }\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Logins::AddEnterpriseLoginsOptions': typeof EnterpriseLoginsAddEnterpriseLoginsOptions;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n

    {{tc this \\'multiGroupLoginPageTitle\\'}}

    \\n
    \\n\\n
    \\n \\n
    \\n\\n
    \\n

    {{tc this \\'groupAccess\\'}}

    \\n\\n

    {{tc this \\'groupAccessDescription\\'}}

    \\n\\n \\n
    \\n\\n
    \\n
    \\n
    \\n

    {{tc this \\'remoteAccess\\'}}

    \\n\\n

    {{tc this \\'scheduledAccessDescription\\'}}

    \\n
    \\n\\n
    \\n \\n
    \\n\\n
    \\n
    \\n
    \\n \\n
    \\n
    \\n
    \\n\\n
    \\n {{#if this.hasEndDate}}\\n \\n {{/if}}\\n\\n \\n
    \\n\\n \\n {{tc this (if this.hasValidSchedule \\'scheduleIsValid\\' \\'scheduleIsInvalid\\')}}\\n \\n
    \\n
    \",{ moduleName: \"customer-site/components/logins/scheduled-device-login/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { alias, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type { GroupsRolesListSignature } from 'customer-site/components/enterprise/groups/groups-roles-list/index';\nimport type { SchedulePickerUpdates } from 'customer-site/components/users/item/access-period/index';\nimport type SystemGroupLogin from 'customer-site/models/logins/system-group-login';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ntype GroupsRolesListSignatureArgs = GroupsRolesListSignature['Args'];\n\nexport interface ScheduledDeviceLoginRouteComponentSignature {\n Args: {\n login: GroupsRolesListSignatureArgs['login'];\n cultureChanged: (cultureId: string) => void;\n cultureIdSelection: number;\n displayEmailAddressError: boolean;\n enterprises: GroupsRolesListSignatureArgs['model'];\n updateRoleOnGroupAction: GroupsRolesListSignatureArgs['modifiedRoleAction'];\n };\n}\n\n/**\n * Route component for editing/creating a scheduled device login.\n */\n@intlPath({ path: 'logins/scheduled-device-login' })\nexport default class ScheduledDeviceLoginRouteComponent extends Component {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n\n /**\n * The login we are editing.\n */\n @reads('args.login')\n declare login: SystemGroupLogin;\n\n /**\n * List of the selected days.\n */\n @alias('login.weeklySchedule.selectedDays')\n declare selectedDays: number[];\n\n /**\n * The original beginning time in minutes.\n */\n @alias('login.weeklySchedule.beginTime')\n declare beginTime: number;\n\n /**\n * The original end time in minutes.\n */\n @alias('login.weeklySchedule.endTime')\n declare endTime: number;\n\n /**\n * Has an end date been selected?\n */\n @computed('login.loginTemporarySchedule.endDateTime')\n get hasEndDate(): boolean {\n return !!this.login.loginTemporarySchedule?.endDateTime;\n }\n\n /**\n * Is a valid schedule selected?\n */\n @computed('login.{weeklySchedule.isValid,loginTemporarySchedule.isValid}')\n get hasValidSchedule(): boolean {\n return !!this.login.loginTemporarySchedule?.isValid && !!this.login.weeklySchedule?.isValid;\n }\n\n /**\n * Action for when we toggle the 'No end date' input.\n */\n @action updateHasEndDate(): void {\n const { loginTemporarySchedule } = this.login;\n if (loginTemporarySchedule === undefined) {\n return;\n }\n\n loginTemporarySchedule.endDateTime = this.hasEndDate ? undefined : loginTemporarySchedule.beginDateTime;\n }\n\n /**\n * Action for updating the weekly schedule.\n */\n @action updateWeeklySchedule({ selectedDays, beginTimeInMinutes, endTimeInMinutes }: SchedulePickerUpdates): void {\n if (\n beginTimeInMinutes !== this.beginTime ||\n endTimeInMinutes !== this.endTime ||\n selectedDays?.length !== this.selectedDays?.length ||\n selectedDays == undefined ||\n (this.selectedDays.every((element, index) => selectedDays[index] !== element) && selectedDays.length > 0)\n ) {\n this.selectedDays = selectedDays ?? [];\n this.beginTime = beginTimeInMinutes;\n this.endTime = endTimeInMinutes;\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Logins::ScheduledDeviceLogin': typeof ScheduledDeviceLoginRouteComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/components/enterprise/logins/edit/edit-scheduled-device-login/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport type BaseEditScheduledDeviceLoginController from 'customer-site/classes/enterprise/logins/edit/edit-scheduled-device-login/controller';\nimport type Route from 'customer-site/classes/enterprise/logins/edit/multi-group-login/route';\nimport type BaseItemRow from 'customer-site/components/enterprise/groups/base-item-row';\nimport type { ScheduledDeviceLoginRouteComponentSignature } from 'customer-site/components/logins/scheduled-device-login/index';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\ntype ScheduledDeviceLoginRouteComponentArgs = ScheduledDeviceLoginRouteComponentSignature['Args'];\n\nexport interface EnterpriseLoginsEditScheduledDeviceLoginSignature {\n Args: Pick<\n ScheduledDeviceLoginRouteComponentArgs,\n 'enterprises' | 'cultureChanged' | 'cultureIdSelection' | 'displayEmailAddressError'\n > & {\n model: ModelFrom;\n dataLoaded: BaseEditScheduledDeviceLoginController['dataLoaded'];\n saveLogin: () => Promise;\n canBeSaved: boolean;\n updateRoleOnGroup: (itemRowObject: BaseItemRow) => Promise;\n back: VoidFunction;\n };\n}\n\nconst EnterpriseLoginsEditScheduledDeviceLogin =\n templateOnlyComponent();\nexport default EnterpriseLoginsEditScheduledDeviceLogin;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Logins::Edit::EditScheduledDeviceLogin': typeof EnterpriseLoginsEditScheduledDeviceLogin;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if @standaloneSystems.length}}\\n
    \\n
    \\n \\n \\n \\n\\n

    {{tc this \\'otherLocationsHeader\\'}}

    \\n
    \\n {{#if this.isStandaloneLocationsSectionOpen}}\\n {{!-- @glint-expect-error The class property should be a component property, not an html property. Please fix this. --}}\\n \\n
  • \\n \\n
  • \\n \\n {{/if}}\\n
    \\n{{/if}}\\n\",{ moduleName: \"customer-site/components/enterprise/groups/standalone-locations-roles-list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nimport './_style.scss';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type BaseItemRow from '../base-item-row';\nimport type LocationRoleRow from '../location-role-row';\n\ninterface StandaloneLocationsRolesListSignature {\n Args: {\n /** List of standalone locations to display for role selection. */\n standaloneSystems: LocationRoleRow[];\n\n /** Method which should be invoked upon updating the role for a location. */\n modifiedRoleAction: (itemRowObject: BaseItemRow) => void;\n\n /** Whether or not role selection should be disabled. */\n disabled: boolean;\n };\n}\n\n/**\n * @classdesc\n *\n * A list of standalone locations to display, with each item in its own role-item-row component.\n */\n@intlPath({ path: 'enterprise/groups/standalone-locations-roles-list' })\nexport default class StandaloneLocationsRolesList extends Component {\n /**\n * Whether or not the standalone locations section is visible.\n */\n @tracked isStandaloneLocationsSectionOpen = false;\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Groups::StandaloneLocationsRolesList': typeof StandaloneLocationsRolesList;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |data|>\\n \\n <:description>\\n

    \\n {{@additionalInstructions}}\\n {{t \\'enterprise.logins.edit.multi-group-login.multiGroupLoginPageDesc\\'}}\\n

    \\n \\n\\n <:roles>\\n {{#if (is-pending @resolvedModel.assignableLoginRoles)}}\\n \\n \\n \\n {{else}}\\n {{#if @rolesChanged}}\\n \\n {{/if}}\\n \\n \\n {{/if}}\\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/components/enterprise/logins/edit/multi-group-login/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport type { MultiGroupLoginResolvedModel } from 'customer-site/classes/enterprise/logins/base-login/controller';\nimport type MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport type Route from 'customer-site/classes/enterprise/logins/edit/multi-group-login/route';\nimport type GroupRoleRow from 'customer-site/components/enterprise/groups/group-role-row';\nimport type LocationRoleRow from 'customer-site/components/enterprise/groups/location-role-row';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport interface EnterpriseLoginsEditMultiGroupLoginSignature {\n Args: {\n model: ModelFrom;\n dataLoaded: MultiGroupLoginController['dataLoaded'];\n save: () => Promise;\n resolvedModel: MultiGroupLoginResolvedModel;\n canBeSaved: boolean;\n cultureChanged: (cultureId: string) => void;\n displayEmailAddressError: boolean;\n shouldDisplayLoginNameError: boolean;\n isAssociatingLogin?: boolean;\n additionalInstructions: string;\n rolesChanged: boolean;\n resetSelection: VoidFunction;\n enterprises: GroupRoleRow[];\n modifiedRoleAction: VoidFunction;\n standaloneSystems: LocationRoleRow[];\n back: VoidFunction;\n };\n}\n\nconst EnterpriseLoginsEditMultiGroupLogin = templateOnlyComponent();\nexport default EnterpriseLoginsEditMultiGroupLogin;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Logins::Edit::MultiGroupLogin': typeof EnterpriseLoginsEditMultiGroupLogin;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar as |api|>\\n \\n {{#if @model.showAddGroupLoginButton}}\\n \\n {{/if}}\\n\\n {{#if @toolsDropdownButtons}}\\n \\n \\n \\n {{/if}}\\n \\n \\n <:default as |PageViewContainer|>\\n \\n {{#if @hasNoLogins}}\\n

    \\n {{t \\'classes.enterprise.logins.index.noResultsFound\\'}}\\n

    \\n {{/if}}\\n\\n {{#if @loadLogins.isRunning}}\\n \\n {{else}}\\n {{!-- @glint-expect-error The class property should be a component property, not an html property. Please fix this. --}}\\n \\n
  • \\n {{!-- @glint-expect-error: showDropdownOPtions and hasLoginsWriteAccess need to be optional, please fix this. --}}\\n \\n
  • \\n \\n {{/if}}\\n \\n \\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/logins/logins-page/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\nimport type { loginViewType } from 'customer-site/classes/enterprise/logins/index/controller';\nimport type BaseLoginsIndexController from 'customer-site/classes/enterprise/logins/index/controller';\nimport type Route from 'customer-site/classes/enterprise/logins/index/route';\nimport type SearchFilter from 'customer-site/classes/helpers/filters/search-filter';\nimport type BaseLogin from 'customer-site/models/logins/base-login';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport interface EnterpriseLoginsPageSignature {\n Args: {\n model: ModelFrom;\n loginFilters: SearchFilter[];\n loginsCount?: number;\n viewingLoginsOfType?: loginViewType;\n searchString: string;\n applyFilters: BaseLoginsIndexController['applyFilters'];\n addNewLogin: () => Promise;\n toolsDropdownButtons: BaseLoginsIndexController['toolsDropdownButtons'];\n loadLogins: BaseLoginsIndexController['loadLogins'];\n hasNoLogins: boolean;\n activeItems: BaseLogin[];\n editLogin: (login: BaseLogin) => Promise;\n isSingleSystem: boolean;\n };\n}\n\nconst EnterpriseLoginsPage = templateOnlyComponent();\nexport default EnterpriseLoginsPage;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Logins::LoginsPage': typeof EnterpriseLoginsPage;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#each @alerts as |alert|}}\\n \\n \\n
      \\n {{#each alert.rows as |row|}}\\n
    • \\n \\n {{tc this \\'line\\' x=row.item1}}\\n {{row.item2}}\\n
    • \\n {{/each}}\\n
    \\n{{/each}}\",{ moduleName: \"customer-site/components/enterprise/bulk-processing/csv-parse-alerts/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { AlertInfo } from '../../settings/active-directory/bulk-import';\n\ninterface CsvParseAlertsSignature {\n Args: {\n alerts: AlertInfo[];\n };\n}\n\n@intlPath({ path: 'enterprise/bulk-processing/csv-parse-alerts' })\nexport default class CsvParseAlertsComponent extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::BulkProcessing::CsvParseAlerts': typeof CsvParseAlertsComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar>\\n \\n \\n \\n \\n \\n \\n \\n <:default as |PageViewContainer|>\\n \\n <:default>\\n \\n \\n\\n
    \\n
      \\n {{#each this.resolvedModel.exampleCsvResources.headers as |header|}}\\n
    • {{header}}
    • \\n {{/each}}\\n
    • {{this.htmlSafeActionHeader}}
    • \\n
    \\n\\n

    {{tc this \\'example\\'}}

    \\n \\n \\n {{#each this.resolvedModel.exampleCsvResources.rows as |row|}}\\n \\n {{#each row as |col|}}\\n \\n {{/each}}\\n \\n {{/each}}\\n \\n
    {{col}}
    \\n
    \\n\\n \\n \\n \\n\\n {{#if this.parseResults}}\\n \\n {{#unless this.parseResults.errors}}\\n \\n \\n
      \\n {{#each this.parseResultsCategories as |category|}}\\n {{#if (get this.parseResults category)}}\\n
    • \\n {{tc this category numMappings=(get this.parseResults category)}}\\n
    • \\n {{/if}}\\n {{/each}}\\n
    \\n {{/unless}}\\n {{/if}}\\n\\n \\n \\n \\n \\n
    \",{ moduleName: \"customer-site/components/enterprise/settings/active-directory/bulk-import/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownActionItem from '@adc/ui-components/utils/dropdown-action-item';\n\nimport type EnterpriseSettingsActiveDirectorySetupBulkPlanMappingRoute from 'customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/route';\nimport './_style.scss';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { BulkMappingRouteModel } from 'customer-site/enterprise/settings/active-directory-setup/active-directory-bulk-plan-mapping/route';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type { SafeString } from 'handlebars';\n\nexport interface ActiveDirectoryBulkImportSignature {\n Args: {\n model: BulkMappingRouteModel;\n fileUploadEndpoint: string;\n startImportEndpoint: string;\n };\n}\n\ntype ErrorTuple = {\n item1: number;\n item2: string;\n};\n\nexport type ParseResult = {\n errors: ErrorTuple[];\n warnings: ErrorTuple[];\n mappingCreateCount: number;\n mappingDeleteCount: number;\n mappingSkipCount: number;\n};\n\nexport type AlertInfo = {\n title: string;\n description: string;\n icon: string;\n rows: ErrorTuple[];\n};\n\n@intlPath({ path: 'enterprise/settings/active-directory/bulk-import' })\nexport default class ActiveDirectoryBulkImport extends Component {\n @service declare ajax: ServiceRegistry['ajax'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n\n @tracked parseResults?: ParseResult;\n\n resolvedModel?: ResolvedModelFrom;\n\n /**\n * The save button should only be enabled when a file without errors has been uploaded.\n */\n @tracked isReadyForImport = false;\n\n @action fileUploaded(result: { value: ParseResult }): void {\n this.parseResults = result.value;\n this.isReadyForImport = result.value.errors.length == 0;\n }\n\n @action fileChanged(): void {\n this.isReadyForImport = false;\n }\n\n @computed('parseResults.{errors.length,warnings.length}')\n get noErrorsOrWarnings(): boolean {\n return !this.parseResults?.errors.length && !this.parseResults?.warnings.length;\n }\n\n @computed('resolvedModel.exportUrls.{mappings,activeDirectoryUserGroups}')\n get moreDownloadOptions(): DropdownActionItem[] {\n return [\n DropdownActionItem.create({\n name: this.intl.tc(this, 'downloadUserGroups'),\n action: () => {\n window.open(this.resolvedModel?.exportUrls.activeDirectoryUserGroups, '_blank');\n }\n }),\n DropdownActionItem.create({\n name: this.intl.tc(this, 'downloadTemplate'),\n action: () => {\n window.open(`${this.resolvedModel?.exportUrls.mappings}?onlyTemplate=1`, '_blank');\n }\n })\n ];\n }\n\n @computed('parseResults.{errors.length,warnings.length}')\n get alerts(): AlertInfo[] {\n const alerts = [];\n if (this.parseResults?.errors.length) {\n alerts.push({\n title: this.intl.tc(this, 'errors'),\n description: this.intl.tc(this, 'errorsDescription'),\n icon: 'issue',\n rows: this.parseResults.errors\n });\n }\n\n if (this.parseResults?.warnings.length) {\n alerts.push({\n title: this.intl.tc(this, 'warnings'),\n description: this.intl.tc(this, 'warningsDescription'),\n icon: 'info',\n rows: this.parseResults.warnings\n });\n }\n\n return alerts;\n }\n\n get parseResultsCategories(): string[] {\n return ['mappingCreateCount', 'mappingDeleteCount', 'mappingSkipCount'];\n }\n\n /**\n * The backend actionHeader resource contains tags, so it needs to be marked htmlsafe.\n */\n @computed('resolvedModel.exampleCsvResources.actionHeader')\n get htmlSafeActionHeader(): SafeString {\n return htmlSafe(this.resolvedModel?.exampleCsvResources.actionHeader ?? '');\n }\n\n /**\n * Download the list of all access plan mappings.\n */\n @action\n downloadMappings(): Window | null {\n return window.open(this.resolvedModel?.exportUrls.mappings, '_blank');\n }\n\n /**\n * Saves the mappings\n */\n @action async submitMappings(): Promise {\n try {\n const response: { value: { success: string } } = await this.ajax.apiRequest(\n this.args.startImportEndpoint,\n undefined,\n null,\n 'POST'\n );\n this.notificationManager.addSuccess(response.value.success);\n } catch (ex) {\n this.notificationManager.addError(ex.errors[0].detail);\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ActiveDirectory::BulkImport': typeof ActiveDirectoryBulkImport;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#unless @mapping.isDeleted}}\\n
    \\n

    {{tc this @header}}

    \\n
    \\n
    \\n \\n {{yield}}\\n
    \\n \\n
    \\n
    \\n{{/unless}}\",{ moduleName: \"customer-site/components/enterprise/settings/active-directory/mapping/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group';\nimport type GroupToAccessPlanMapping from 'customer-site/models/settings/active-directory-setup/group-to-access-plan-mapping';\nimport type GroupToEnterpriseLoginMapping from 'customer-site/models/settings/active-directory-setup/group-to-enterprise-login-mapping';\n\nexport interface ActiveDirectoryMappingSignature {\n Args: {\n mapping: GroupToEnterpriseLoginMapping | GroupToAccessPlanMapping;\n header: string;\n adGroups?: ActiveDirectoryGroup[];\n };\n Blocks: {\n default: [];\n };\n}\n\n@intlPath({ path: 'enterprise/settings/active-directory/mapping' })\nexport default class ActiveDirectoryMapping extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n @action\n deleteMapping(): void {\n this.args.mapping.deleteRecord();\n }\n\n @computed('args.adGroups')\n get groupNameDropdownItems(): DropdownSelectItem[] {\n return (\n this.args.adGroups?.map((group) => {\n return DropdownSelectItem.create({ value: group.groupId, name: group.groupName });\n }) ?? []\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ActiveDirectory::Mapping': typeof ActiveDirectoryMapping;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n

    {{@header}}

    \\n\\n {{#if @pageDescription}}\\n

    {{@pageDescription}}

    \\n {{/if}}\\n\\n {{yield}}\\n\\n
    \\n
    \\n \\n\\n {{#if (and this.canApplyToMultipleGroups @systemGroups)}}\\n \\n {{/if}}\\n
    \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/settings/group-setting-page/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ApplyMultipleGroupsModal from 'customer-site/components/modals/enterprise/settings/apply-multiple-groups/index';\n\nimport type BaseModel from '@adc/app-infrastructure/models/base-model';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport './_style.scss';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type ADCIntlService from 'customer-site/services/intl';\n\ninterface GroupSettingPageSignature {\n Element: HTMLDivElement;\n Args: {\n header: string;\n pageDescription?: string;\n settingModel: T;\n canApplyToMultipleGroups: boolean;\n disableRedirectOnApply?: boolean;\n disableApplyButton: boolean;\n disableApplyToMultipleGroupsButton?: boolean;\n setSelectableFunction?: (group: SystemGroup) => string | undefined;\n appliesToAllGroups?: boolean;\n properties: Partial;\n systemGroups?: ADCAsyncStoreFindAll;\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * Displays basic group-setting page with a given page header, page description and\n * apply/apply to multiple group action buttons.\n */\nexport default class GroupSettingPageComponent extends Component> {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n\n /**\n * Can we apply this setting to multiple groups?\n */\n get canApplyToMultipleGroups(): boolean {\n return this.args.canApplyToMultipleGroups ?? true;\n }\n\n /**\n * Update the given model with the appropriate settings.\n */\n saveSettingsToGroups(\n settingModel: T,\n properties: Partial,\n applyToGroupIds: number[]\n ): Promise {\n settingModel.setProperties({\n ...properties,\n applyToGroupIds\n });\n return settingModel.save();\n }\n\n /**\n * Save method. Update model for only single selected group.\n */\n @action\n async saveSetting(\n settingModel: T,\n properties: Partial,\n disableRedirectOnApply: boolean | undefined,\n buttonAnimation: Promise\n ): Promise {\n await this.saveSettingsToGroups(settingModel, properties, []);\n if (!disableRedirectOnApply) {\n buttonAnimation.then(() => this.contextManager.transitionToPreviousRoute());\n }\n }\n\n /**\n * Save method for multiple groups.\n */\n @action\n openMultipleGroupsModal(\n settingModel: T,\n properties: Partial,\n systemGroups: ADCAsyncStoreFindAll,\n setSelectableFunction: (group: SystemGroup) => string | undefined\n ): void {\n this.modals.showModal(ApplyMultipleGroupsModal, {\n disableBackdropClose: true,\n filterFunction: setSelectableFunction,\n systemGroups,\n applyToSelectedSystems: (selectedSystemGroupIds: number[]) =>\n this.saveSettingsToGroups(settingModel, properties, selectedSystemGroupIds)\n });\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::GroupSettingPage': typeof GroupSettingPageComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n {{#each (await @items) as |template|}}\\n \\n {{concat\\n template.name\\n (if template.isDefaultTemplate (concat \\' \\' (t \\'generic.default\\')))}}\\n \\n {{/each}}\\n
    \\n\",{ moduleName: \"customer-site/components/enterprise/templates/template-collection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { isDestroyed } from '@adc/ember-utils/utils/ember-helpers';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { DeleteActionItem, EditActionItem } from '@adc/ui-components/utils/action-item';\n\nimport type BaseModel from '@adc/app-infrastructure/models/base-model';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type ActionItem from '@adc/ui-components/utils/action-item';\nimport type ADCIntlService from 'customer-site/services/intl';\nimport './_style.scss';\nimport type NavigationService from 'customer-site/services/navigation';\n\ndeclare type templateModel = BaseModel & { name: string; isDefaultTemplate: boolean };\n\ninterface TemplateCollectionSignature {\n Element: HTMLDivElement;\n Args: {\n query?: string;\n routeId: number;\n items: templateModel[];\n };\n Blocks: {\n default: [];\n };\n}\n\n/**\n * Displays a list of templates.\n */\nexport default class TemplateCollection extends Component {\n @service declare modals: ModalService;\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n\n /**\n * Group Delete/Edit action items\n *\n */\n @action\n getActionItems(template: templateModel): ActionItem[] {\n if (!template || isDestroyed(template)) {\n return [];\n }\n\n return [\n // Edit the selected template\n EditActionItem.create({\n action: () => {\n const { navigation } = this,\n { query, routeId } = this.args,\n templateId = template.id;\n\n // If it is a native route with parameters, we need to call transitionToNativeRoute (for now).\n if (navigation.getRouteItem(routeId)?.isNative === true) {\n navigation.transitionToRouteId(routeId, templateId, { queryParams: { query } });\n } else {\n navigation.transitionToRouteId(routeId, {\n queryParams: { search: query ? `?${query}&id=${templateId}` : `?id=${templateId}` }\n });\n }\n }\n }),\n\n // Open the confirmation modal and delete the selected template if the user confirms.\n DeleteActionItem.create({\n action: () => {\n const { intl } = this,\n text = intl.t('generic.delete');\n\n // Create confirmation dialog promise.\n this.modals.showConfirmationDialog(\n text,\n intl.t('generic.confirmDelete', {\n objectName: template.name\n }),\n {\n text,\n css: 'btn-color-danger',\n action: () => template.destroyRecord()\n }\n );\n }\n })\n ];\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Templates::TemplateCollection': typeof TemplateCollection;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n \\n

    {{tc this \\'elevateLoginDescription\\'}}

    \\n\\n \\n\\n {{#if this.loadLogins.isRunning}}\\n \\n {{else}}\\n {{!-- @glint-expect-error The class property should be a component property, not an html property. Please fix this. --}}\\n \\n
  • \\n \\n
  • \\n \\n {{/if}}\\n \\n \\n
    \",{ moduleName: \"customer-site/components/logins/list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { EmberEditMultiGroupAccessControlLogin, EmberEditMultiGroupLogin } from 'customer-site/enums/CustomerPageUrl';\nimport { escapeHtml } from 'customer-site/utils/strings';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type AdcIntlService from '@adc/i18n/services/adc-intl';\nimport type { PageViewSignature } from '@adc/ui-components/components/page-view';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type BaseLoginType from 'customer-site/models/logins/base-login';\n\ninterface LoginsListSignature {\n Args: {\n searchString?: string;\n };\n Element: PageViewSignature['Element'];\n}\n\n@intlPath({ path: 'logins/list' })\nexport default class LoginsList extends Component {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare ajax: ServiceRegistry['ajax'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare intl: AdcIntlService;\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n @service declare router: ServiceRegistry['router'];\n\n constructor(owner: unknown, args: LoginsListSignature['Args']) {\n super(owner, args);\n\n this.loadLogins.perform();\n }\n\n @tracked items: BaseLoginType[] = [];\n\n loadLogins = task({ restartable: true }, async () => {\n const selectedSystemGroup = await this.identityManager.identityModel?.selectedSystemGroup;\n if (!selectedSystemGroup) {\n this.items = [];\n return;\n }\n\n const { isChildlessGroup } = selectedSystemGroup,\n qp = {\n searchString: this.args.searchString ?? '',\n includeCustomerLogins: !isChildlessGroup\n };\n\n this.items = await this.ajax.apiRequestForDataRecords(\n `systems/systemGroups/${selectedSystemGroup.id}/${\n isChildlessGroup ? 'getNonGroupLogins' : 'getSubGroupLogins'\n }?${Object.entries(qp)\n .map((a) => a.join('='))\n .join('&')}`\n );\n });\n\n @action updateSearch(value: string): void {\n if (value !== this.args.searchString) {\n this.router.transitionTo({\n queryParams: {\n searchString: value\n }\n });\n }\n }\n\n @action selectLogin(login: BaseLoginType): void {\n (async () => {\n const { intl, navigation } = this,\n { identityModel } = this.identityManager,\n selectedSystemGroup = await identityModel?.selectedSystemGroup;\n\n if (!identityModel || !selectedSystemGroup) {\n return;\n }\n\n this.modals.showConfirmationDialog(\n intl.tc(this, 'confirmationMessageTitle'),\n intl.tc(this, 'confirmationMessageDesc', {\n loginName: escapeHtml(login.loginName),\n groupName: escapeHtml(selectedSystemGroup.description)\n }),\n {\n text: intl.t('generic.confirm'),\n action: async () => {\n try {\n await login.elevateLogin();\n\n // Remove this intermediary page from the visited routes stack.\n this.contextManager.visitedRoutesStack.pop();\n\n navigation.transitionToRouteId(\n selectedSystemGroup.isAccessControl\n ? EmberEditMultiGroupAccessControlLogin\n : EmberEditMultiGroupLogin,\n login.id\n );\n } catch (e) {\n this.notificationManager.addError(\n intl.tc(this, 'elevateLoginFail', {\n loginName: escapeHtml(login.loginName)\n })\n );\n }\n }\n }\n );\n })();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Logins::List': typeof LoginsList;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n \\n \\n \\n \\n\\n
    \\n
    \\n {{#each this.locationItems as |location|}}\\n \\n {{#if location.hasDevice}}\\n \\n {{/if}}\\n\\n {{location.model.description}}\\n \\n\\n {{#if location.hasDevice}}\\n {{#if location.isExpanded}}\\n {{#each location.deviceItems as |deviceItem|}}\\n \\n \\n \\n {{/each}}\\n {{/if}}\\n {{/if}}\\n {{/each}}\\n
    \\n
    \\n
    \\n\\n\",{ moduleName: \"customer-site/components/modals/enterprise/locations/device-selection/base-device-selection/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport EmberObject, { computed, action } from '@ember/object';\nimport { notEmpty, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { LocationDeviceList } from '../device-selection-interface';\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type Store from '@ember-data/store';\nimport type BaseDevice from 'customer-site/models/devices/base-device';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type { SafeString } from 'handlebars';\n\ninterface DeviceSelectionItem {\n device: BaseDevice;\n isSelected: boolean;\n}\n\ninterface DeviceSelectionSignature {\n Args: {\n templateId: string;\n locations: LocationModel[];\n devices: BaseDevice[];\n templateDevices: BaseDevice[];\n // Should pass list of relevant device type that is from the LocationModel\n locationDevices: LocationDeviceList[];\n selectDevices: (devices: BaseDevice[]) => void;\n // Passed in strings to show in modal instead of default\n showHideString: string;\n titleString: string;\n };\n}\n\n/**\n * @classdesc\n * A helper class for rendering location/devices list.\n */\nclass LocationRow extends EmberObject {\n /**\n * The source model.\n */\n model?: LocationModel;\n\n /**\n * Indicates the source model has at least one device.\n */\n @notEmpty('deviceItems')\n declare hasDevice: boolean;\n\n /**\n * Stores the location expanded state.\n */\n isExpanded = false;\n\n /**\n * List of a device to be selected since they were passed in with the template.\n */\n templateDevices: BaseDevice[] = [];\n\n /**\n * All of a specific device that are in the LocationModel.\n */\n locationDevices: BaseDevice[] = [];\n\n /**\n * The expanded/collapsed icon to show.\n */\n @computed('isExpanded')\n get icon(): SafeString {\n return htmlSafe(`circle-${this.isExpanded ? 'dash' : 'add'}`);\n }\n\n /**\n * Returns all devices along with whether or not they are currently selected.\n */\n @computed('locationDevices', 'deviceId', 'templateDevices.[]')\n get deviceItems(): DeviceSelectionItem[] {\n return this.locationDevices.map((device: BaseDevice) => {\n return {\n device,\n isSelected: this.checkForSelectedDevices(device.id)\n };\n });\n }\n\n /**\n * Returns whether the passed in deviceId is part of templateDevices and should be selected\n */\n checkForSelectedDevices(deviceId: string): boolean {\n return this.templateDevices.any((device) => device.id == deviceId);\n }\n\n /**\n * Select a device or remove it from the list of selected devices.\n */\n @action\n toggleDeviceItem(deviceId: string, isSelected: boolean): void {\n const deviceItem = this.locationDevices.findBy('id', deviceId);\n if (!deviceItem) {\n return;\n }\n\n if (isSelected) {\n this.templateDevices.pushObject(deviceItem);\n } else {\n this.templateDevices.removeObject(deviceItem);\n }\n }\n}\n\n/**\n * @classdesc\n * This is a modal for selecting devices within locations to apply settings to them.\n */\n@intlPath({ path: 'modals/enterprise/locations/device-selection/base-device-selection' })\nexport default class BaseDeviceSelection extends Component {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n\n /**\n * The current locations query.\n */\n @tracked searchString = '';\n\n /**\n * The ID of the relevant device settings template.\n */\n @reads('args.templateId')\n declare templateId: number;\n\n /**\n * Returns an array of all the currently selected devices.\n */\n @computed('locationItems.deviceItems.@each.isSelected', 'args.devices')\n get selectedDevices(): BaseDevice[] {\n return this.args.devices.filter((d) => {\n return this.locationItems.any((location: LocationRow) =>\n location.deviceItems.filterBy('isSelected').mapBy('device.id').includes(d.id)\n );\n });\n }\n\n /**\n * The locations currently shown in the modal. Starts as all locations in system group.\n */\n @computed('args.locations', 'searchString')\n get locations(): LocationModel[] {\n return this.args.locations.filter(\n (l) => l.description.toLowerCase().indexOf(this.searchString.toLowerCase()) !== -1\n );\n }\n\n /**\n * The collection of items to render.\n */\n @computed('locations', 'args.{locationDevices,templateDevices}', 'templateId')\n get locationItems(): LocationRow[] {\n return (this.locations || []).map((model) => {\n const startingDevices: BaseDevice[] = [];\n // Copying list so we don't modify the original\n this.args.templateDevices.forEach((device) => startingDevices.pushObject(device));\n return LocationRow.create({\n model: model,\n // Do not copy this deprecated usage. If you see this, please fix it\n // @ts-expect-error TypeScript doesn't understand EmberObject, please refactor to not use EmberObject.\n templateId: this.templateId,\n templateDevices: startingDevices,\n locationDevices: this.args.locationDevices.find((location) => location.locationId === model.id)?.devices\n });\n });\n }\n\n /**\n * Toggles the expanded state on the passed row.\n */\n @action\n toggleDeviceRows(row: LocationRow): void {\n row.toggleProperty('isExpanded');\n }\n\n /**\n * Select or Deselect all items.\n */\n @action\n toggleAll(isSelected: boolean): void {\n this.locationItems.forEach((location) =>\n (location.deviceItems ?? []).forEach((deviceItem: DeviceSelectionItem) =>\n location.toggleDeviceItem(deviceItem.device.id, isSelected)\n )\n );\n }\n\n /**\n * Sends selected devices to the location selection component.\n */\n @action\n sendSelected() {\n this.args.selectDevices(this.selectedDevices);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Locations::DeviceSelection::BaseDeviceSelection': typeof BaseDeviceSelection;\n }\n}\n","import EmberObject from '@ember/object';\n\nimport type BaseDevice from 'customer-site/models/devices/base-device';\n\nexport class LocationDeviceList extends EmberObject {\n locationId = '-1';\n devices: BaseDevice[] = [];\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n {{#if @model.description}}\\n

    \\n {{@model.description}}\\n

    \\n {{/if}}\\n\\n \\n \\n \\n
    \\n\",{ moduleName: \"customer-site/components/modals/enterprise/settings/apply-multiple-groups/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport GroupRow from '../../../../enterprise/groups/group-row';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n * The modal used for applying settings to multiple groups\n */\n@intlPath({ path: 'modals/enterprise/settings/apply-multiple-groups' })\nexport default class ApplyMultipleGroupsComponent extends Component {\n @service intl;\n @service store;\n @service modals;\n\n /**\n * Array of the ids of the selected system groups to apply settings to\n *\n * @type number[]\n */\n @tracked\n selectedSystemGroupIds = this.args.model.selectedSystemGroupIds ?? [];\n\n /**\n * Whether any system groups are selected\n *\n * @type {boolean}\n */\n @empty('selectedSystemGroupIds')\n noSystemGroupsSelected;\n\n /**\n * The list of groups to show up in the modal. There is also a function that can be passed in that can dictate which\n * groups can be unselectable in the modal. If the function is not passed in, all the groups will be selectable.\n * This function takes a single parameter, which is the group, and returns an err string.\n *\n * @type {GroupRow[]}\n */\n get groupsModel() {\n const {\n args: { model }\n } = this;\n\n // Filter out parent groups\n const nonParentGroups = model.systemGroups.filter((group) => {\n return !group.isHighestGroupWithAccess || group.isChildlessGroup;\n });\n\n return nonParentGroups.map((group) => {\n const { store } = this;\n let errMessage = model.filterFunction ? model.filterFunction(group) : '';\n\n return new GroupRow(store, group, {\n isSelected: this.selectedSystemGroupIds.includes(group.id),\n showDropdown: false,\n isSelectable: model.allSelectable || errMessage === '',\n errorMessage: errMessage,\n errorTooltipOnly: model.errorTooltipOnly || false,\n forceDisplayErrorMessage: model.forceDisplayErrorMessage || false\n });\n });\n }\n\n /**\n * When a checkbox is clicked.\n *\n * @param {models.systems.SystemGroup} group\n */\n @action\n selectRow(group) {\n const { selectedSystemGroupIds = [] } = this,\n id = group.model.id;\n\n this.selectedSystemGroupIds = selectedSystemGroupIds.includes(id)\n ? selectedSystemGroupIds.without(id)\n : selectedSystemGroupIds.concat(id);\n }\n\n /**\n * Save parameters to the selected systems.\n *\n * @param {Promise} delayedHandler\n *\n * @returns {Promise}\n */\n @action async saveGroupParameters(delayedHandler) {\n delayedHandler.then(() => this.modals.closeModal());\n await this.args.model.applyToSelectedSystems(this.selectedSystemGroupIds);\n return false;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{#if this.showSingleSystemDropdown}}\\n \\n {{/if}}\\n\",{ moduleName: \"customer-site/components/enterprise/settings/active-directory/group-mapping/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { SingleSystem } from 'customer-site/enums/LoginTemplateType';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type { SyncHasMany } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { Enterprise } from 'customer-site/enums/LoginTemplateType';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group';\nimport type LoginTemplate from 'customer-site/models/enterprise/settings/login-template';\nimport type GroupToEnterpriseLoginMapping from 'customer-site/models/settings/active-directory-setup/group-to-enterprise-login-mapping';\nimport type AvailableSystemItem from 'customer-site/models/systems/available-system-item';\n\nexport interface ActiveDirectoryGroupMappingSignature {\n Args: {\n mapping: GroupToEnterpriseLoginMapping;\n type: typeof SingleSystem | typeof Enterprise;\n loginTemplates?: never[] | SyncHasMany;\n singleSystems?: AvailableSystemItem[];\n adGroups?: ActiveDirectoryGroup[];\n };\n}\n\nexport default class ActiveDirectoryGroupMapping extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n get showSingleSystemDropdown(): boolean {\n return this.args.type === SingleSystem;\n }\n\n @computed('args.singleSystems.[]')\n get singleSystemsDropdownItems(): DropdownSelectItem[] {\n // only get single systems (not groups), these have an id that is a number\n return (\n this.args.singleSystems\n ?.filter((system) => !isNaN(+system.id))\n .map((system) => {\n return DropdownSelectItem.create({ value: String(+system.id), name: system.name });\n }) ?? []\n );\n }\n\n @computed('args.loginTemplates.[]')\n get loginTemplateDropdownItems(): DropdownSelectItem[] {\n return (\n this.args.loginTemplates?.slice().map((template) => {\n return DropdownSelectItem.create({ value: template.id, name: template.name });\n }) ?? []\n );\n }\n\n @action\n update(key: 'customerId' | 'templateId', value: string): void {\n this.args.mapping[key] = Number(value);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Enterprise::Settings::ActiveDirectory::GroupMapping': typeof ActiveDirectoryGroupMapping;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer api|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n \\n \\n\\n <:error as |PageViewError|>\\n \\n \\n \\n \\n\",{ moduleName: \"customer-site/components/settings/active-directory-group-mapping/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberGroupSettingsActiveDirectorySetup } from 'customer-site/enums/CustomerPageUrl';\nimport { Enterprise } from 'customer-site/enums/LoginTemplateType';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type { SingleSystem } from 'customer-site/enums/LoginTemplateType';\nimport './_style.scss';\nimport type { SyncHasMany } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group';\nimport type LoginTemplate from 'customer-site/models/enterprise/settings/login-template';\nimport type LoginTemplatesForGroupWithRole from 'customer-site/models/enterprise/settings/login-templates-for-group-with-role';\nimport type ActiveDirectoryClientIdentifier from 'customer-site/models/settings/active-directory-setup/active-directory-client-identifier';\nimport type GroupToEnterpriseLoginMapping from 'customer-site/models/settings/active-directory-setup/group-to-enterprise-login-mapping';\nimport type AvailableSystemItem from 'customer-site/models/systems/available-system-item';\nimport type { ResolvedObject } from 'customer-site/utils/type-utils';\n\ninterface SettingsActiveDirectoryGroupMappingSignature {\n Element: HTMLDivElement;\n Args: {\n mappingsPromise: ADCAsyncStoreFindAll;\n templatesPromise: ADCAsyncStoreFindRecord;\n clientIdentifierPromise: ADCAsyncStoreFindRecord;\n groupsPromise: ADCAsyncStoreFindAll;\n singleSystemsPromise?: ADCAsyncStoreFindAll;\n type: typeof SingleSystem | typeof Enterprise;\n loginLevelText: string;\n loginTypeText: string;\n };\n}\n\n@intlPath({ path: 'settings/active-directory-group-mapping' })\nexport default class SettingsActiveDirectoryGroupMapping extends Component {\n @service declare store: ServiceRegistry['store'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare intl: ServiceRegistry['adc-intl'];\n\n resolvedModel?: ResolvedObject<{\n mappings: ADCAsyncStoreFindAll;\n loginTemplates: ADCAsyncStoreFindRecord;\n clientIdentifier: ActiveDirectoryClientIdentifier;\n adGroups: ADCAsyncStoreFindAll;\n singleSystems?: ADCAsyncStoreFindAll;\n }>;\n\n /**\n * The client identifier for the integration\n *\n * @type {models.settings.active-directory-setup.active-directory-client-identifier}\n */\n @alias('resolvedModel.clientIdentifier')\n clientIdentifier?: ActiveDirectoryClientIdentifier;\n\n @computed('resolvedModel.mappings.[]', 'args.type')\n get mappings(): GroupToEnterpriseLoginMapping[] {\n return this.resolvedModel?.mappings.filter((mapping) => mapping.templateType === this.args.type) ?? [];\n }\n\n @computed(\n 'clientIdentifier.hasDirtyAttributes',\n 'mappings.@each.{customerId,groupId,templateId,hasDirtyAttributes,isDeleted}'\n )\n get canBeSaved(): boolean {\n const { mappings } = this;\n return !!(\n this.clientIdentifier?.hasDirtyAttributes ||\n (mappings.some((map) => map.hasDirtyAttributes || map.isDeleted) &&\n mappings.every(\n ({ templateType, groupId, templateId, customerId }) =>\n groupId && templateId && (templateType !== 1 || customerId)\n ))\n );\n }\n\n @computed('resolvedModel.loginTemplates', 'args.type')\n get loginTemplates(): never[] | SyncHasMany {\n const loginTemplates = this.resolvedModel?.loginTemplates;\n\n return (\n (this.args.type === Enterprise\n ? loginTemplates?.enterpriseLoginTemplates\n : loginTemplates?.singleSystemLoginTemplates) ?? []\n );\n }\n\n @alias('resolvedModel.adGroups')\n adGroups?: ActiveDirectoryGroup[];\n\n @alias('resolvedModel.singleSystems')\n singleSystems?: AvailableSystemItem[];\n\n @computed('mappings.length')\n get hasGroupToLoginsMappings(): boolean {\n return this.mappings.length > 0;\n }\n\n @action\n addNewMapping(): void {\n this.store.createRecord('settings/active-directory-setup/group-to-enterprise-login-mapping', {\n templateType: this.args.type\n });\n }\n\n @action\n async save(): Promise {\n if (this.clientIdentifier?.hasDirtyAttributes) {\n await this.clientIdentifier.save();\n }\n\n if (this.clientIdentifier?.mapGroupsToLogins) {\n const mappings = await Promise.all(this.mappings.filter((map) => map.hasDirtyAttributes || map.isDeleted));\n mappings.forEach((map) => map.save());\n }\n }\n\n @action\n cancel(): void {\n this.mappings.forEach((mapping) => {\n mapping.rollbackAttributes();\n });\n\n this.clientIdentifier?.rollbackAttributes();\n this.navigation.transitionToRouteId(EmberGroupSettingsActiveDirectorySetup);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::ActiveDirectoryGroupMapping': typeof SettingsActiveDirectoryGroupMapping;\n }\n}\n","import FilteringAccessPlansController from 'customer-site/classes/access-control/access-plans/filtering-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Parent enterprise access plans controller.\n */\nexport default class AccessPlansController extends FilteringAccessPlansController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/access-plans': AccessPlansController;\n }\n}\n","import { default as AccessPlanEditController } from '../../../../access-control/access-plans/edit/controller';\n\nexport default class EnterpriseAccessControlAccessPlansEditController extends AccessPlanEditController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/access-plans/edit': EnterpriseAccessControlAccessPlansEditController;\n }\n}\n","import { getPlanDetailTotals } from 'customer-site/models/access-control/access-control-access-plan';\nimport { default as AccessGroupEditRoute } from '../../../../access-control/access-plans/edit/route';\nimport { EmberEnterpriseAccessControlAccessPlanEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Route for editing enterprise access plans\n */\nexport default class EnterpriseAccessControlAccessPlansEditRoute extends AccessGroupEditRoute {\n /** @override */\n get planDetailTotals(): ReturnType {\n const { isPointCentralAccessControl = false, canPromoteSingleUser = false } =\n this.identityManager.identityModel ?? {};\n\n return getPlanDetailTotals(this.ajax, true, isPointCentralAccessControl || canPromoteSingleUser, false);\n }\n\n /** @override */\n routeId = EmberEnterpriseAccessControlAccessPlanEdit;\n}\n","import FilterAccessPlanResultsController from 'customer-site/classes/access-control/access-plans/filter-results-controller';\nimport AccessControlAccessPlansFilterBar from 'customer-site/components/access-control/filter-bar/index';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseAccessPlansIndexRoute from './route';\n\nexport default class AccessPlansIndexController extends FilterAccessPlanResultsController {\n declare model: ModelFrom;\n\n routeToolbar = AccessControlAccessPlansFilterBar;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/access-plans/index': AccessPlansIndexController;\n }\n}\n","import BaseAccessPlansIndexRoute from 'customer-site/classes/access-control/access-plans/base-index-route';\nimport { EmberEnterpriseAccessControlAccessPlans } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * View for the Access Control Access Plans\n */\nexport default class EnterpriseAccessPlansIndexRoute extends BaseAccessPlansIndexRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlAccessPlans;\n}\n","import EnterpriseAccessControlAccessPlansEditController from '../edit/controller';\n\n/**\n * @class Controller\n */\nexport default class EnterpriseAccessPlansNewController extends EnterpriseAccessControlAccessPlansEditController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/access-plans/new': EnterpriseAccessPlansNewController;\n }\n}\n","import { getPlanDetailTotals } from 'customer-site/models/access-control/access-control-access-plan';\nimport { default as AccessGroupNewRoute } from '../../../../access-control/access-plans/new/route';\nimport { EmberEnterpriseAccessControlAccessPlanNew } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Route for creating new access plans\n */\nexport default class NewEnterpriseAccessPlanRoute extends AccessGroupNewRoute {\n /** @override */\n get planDetailTotals(): ReturnType {\n return getPlanDetailTotals(this.ajax, true, true, false);\n }\n\n /** @override */\n routeId = EmberEnterpriseAccessControlAccessPlanNew;\n}\n","import FilteringAccessPlansRoute from '../../../classes/access-control/access-plans/filtering-route';\nimport { EmberEnterpriseAccessControlAccessPlans } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Parent enterprise access plans route.\n *\n * @class enterprise.access-control.access-plans.AccessPlansRoute\n */\nexport default class AccessPlansRoute extends FilteringAccessPlansRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlAccessPlans;\n}\n","import FilteringAccessPointsController from '../../../classes/access-control/access-points/filtering-controller';\n\n/**\n * @classdesc\n * Parent enterprise access points controller.\n *\n * @class enterprise.access-control.access-points.AccessPointsController\n */\nexport default class AccessPlansController extends FilteringAccessPointsController {}\n","import { default as AccessPointEditController } from '../../../../access-control/access-points/edit/controller';\n\n/**\n * @classdesc\n *\n * Enterprise level access point edit.\n */\nexport default class EnterpriseAccessControlAccessPointsEditController extends AccessPointEditController {\n /** @override */\n showSystemName = true;\n}\n","import AccessPointEditRoute from 'customer-site/access-control/access-points/edit/route';\nimport { EmberEnterpriseAccessControlAccessPointEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Enterprise level access point edit page.\n */\nexport default class EnterpriseAccessControlAccessPointEditRoute extends AccessPointEditRoute {\n routeId = EmberEnterpriseAccessControlAccessPointEdit;\n}\n","import Controller from '@ember/controller';\n\nimport type FilteringAccessPointsRoute from 'customer-site/classes/access-control/access-points/filtering-route';\nimport type AccessPointsFilterManager from 'customer-site/classes/access-control/access-points/helpers/filter-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport default class EnterpriseAccessControlAccessPointsIndexController extends Controller {\n declare model: ModelFrom;\n filtersManager?: AccessPointsFilterManager;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/access-points/index': EnterpriseAccessControlAccessPointsIndexController;\n }\n}\n","import BaseAccessPointsIndexRoute from 'customer-site/classes/access-control/access-points/base-index-route';\n\nexport default class EnterpriseAccessControlAccessPointsIndexRoute extends BaseAccessPointsIndexRoute {}\n","import FilteringAccessPointsRoute from '../../../classes/access-control/access-points/filtering-route';\nimport { EmberEnterpriseAccessControlAccessPoints } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Parent enterprise access points route.\n *\n * @class enterprise.access-control.access-points.AccessPointsRoute\n */\nexport default class AccessPlansRoute extends FilteringAccessPointsRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlAccessPoints;\n}\n","import FilteringAccessPointsController from 'customer-site/classes/access-control/access-points/filtering-controller';\n\n/**\n * @classdesc\n * Parent elevators controller.\n */\nexport default class EnterpriseAccessControlElevatorsController extends FilteringAccessPointsController {}\n","import EmberController from '@ember/controller';\nimport { action, setProperties, set, computed } from '@ember/object';\nimport { alias, reads } from '@ember/object/computed';\nimport { filterBy } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { didCancel } from 'ember-concurrency';\nimport AccessControlAccessPlansFilterBar from 'customer-site/components/access-control/filter-bar/index';\nimport { EmberAccessControlElevators } from 'customer-site/enums/CustomerPageUrl';\nimport { ElevatorFloor } from 'customer-site/enums/DeviceType';\n\n/**\n * Returns a promise for the enterprise elevators query, given query arguments\n *\n * @param {DS.Store} store\n * @param {String} searchString\n * @param {boolean} includeChildScope\n * @param {Array} locations\n * @returns {Ember.RSVP.PromiseArray}\n *\n */\nexport async function getEnterpriseElevatorsQuery(store, searchString = '', includeChildScope = false, locations = []) {\n var elevatorArray = await store.query('access-control/access-control-elevator', {\n searchString,\n includeChildScope,\n scopeIds: locations\n });\n var systemList = [];\n elevatorArray.forEach((element) => {\n if (!systemList.includes(element.systemDescription)) {\n systemList.push(element.systemDescription);\n }\n });\n var retVal = systemList.map((systemName) => {\n return {\n name: systemName,\n elevators: elevatorArray.filter((element) => element.systemDescription == systemName)\n };\n });\n return retVal;\n}\n\n/**\n * Returns a promise for the parent level elevators query, given query arguments\n *\n * @param {DS.Store} store\n * @param {String} searchString\n * @param {boolean} includeChildScope\n * @param {Array} locations\n * @returns {Ember.RSVP.PromiseArray}\n *\n */\nexport async function getParentElevatorsQuery(store, searchString = '', includeChildScope = false, locations = []) {\n var elevatorReaders = await store.query('access-control/access-control-elevator', {\n searchString,\n includeChildScope,\n scopeIds: locations\n });\n\n var retVal = elevatorReaders.reduce((accumulator, current) => {\n const existingGroup = accumulator.find(\n (element) => element.enterpriseGroupDescription === current.enterpriseGroupDescription\n );\n\n if (existingGroup) {\n const existingSystem = existingGroup.systems.find(\n (system) => system.systemDescription === current.systemDescription\n );\n\n if (existingSystem) {\n existingSystem.elevators.push(current);\n } else {\n existingGroup.systems.push({\n systemDescription: current.systemDescription,\n elevators: [current]\n });\n }\n } else {\n accumulator.push({\n enterpriseGroupDescription: current.enterpriseGroupDescription,\n systems: [\n {\n systemDescription: current.systemDescription,\n elevators: [current]\n }\n ]\n });\n }\n return accumulator;\n }, []);\n\n return retVal;\n}\n\n/**\n * Returns a promise for the access points query, given query arguments\n *\n * @param {DS.Store} store\n * @param {String} searchString\n * @param {boolean} includeChildScope\n * @param {Array} locations\n * @returns {Ember.RSVP.PromiseArray}\n *\n */\nexport function getPointsQuery(store, searchString = '', includeChildScope = false, locations = []) {\n return store.query('access-control/access-control-access-point', {\n searchString,\n includeChildScope,\n scopeIds: locations\n });\n}\n\n/**\n * @extends Ember.Controller\n */\nexport default class EnterpriseAccessControlElevators extends EmberController {\n @service identityManager;\n @service contextManager;\n @service intl;\n @service store;\n @service router;\n\n routeToolbar = AccessControlAccessPlansFilterBar;\n\n /**\n * Search parameter to filter users.\n *\n * @type {String}\n */\n @reads('model.qp.search')\n search;\n\n /**\n * Computed property for whether or not search is empty. If it is, we can collapse elevators. If not, then we can expand elevators\n */\n @computed('search')\n get isSearchNotEmpty() {\n return this.search;\n }\n\n /**\n * Locations filter for elevators\n *\n * @type {Array[String]}\n */\n @reads('model.qp.locations')\n locations;\n\n /**\n * @type {models.access-control.AccessControlPermissionsCollection}\n */\n @alias('model.permissions')\n permissions;\n\n /**\n * Used to signal that the points list should be reloaded\n *\n * @type {boolean}\n */\n resetPoints = false;\n\n /**\n * Should we allow the user to filter by location?\n *\n * @type {boolean}\n */\n isEnterprise = false;\n\n /**\n * All elevators on system\n *\n * @type\n */\n @alias('model.enterpriseElevatorsList')\n enterpriseElevatorsList;\n\n /**\n * All access points on the system.\n *\n * @type {Array}\n */\n @alias('model.accessPoints')\n accessPoints;\n\n /**\n * Access points that are floors.\n *\n * @type {Array}\n */\n @filterBy('accessPoints', 'deviceType', ElevatorFloor)\n floors;\n\n /**\n * Redirects to the edit page for the specific elevator floor.\n *\n * @param accessPointId\n */\n @action editAccessPoint(accessPointId) {\n this.router.transitionTo('enterprise.access-control.access-points.edit', accessPointId);\n }\n\n @computed('enterpriseElevatorsList', 'contextManager.identityModel.viewingParentGroup')\n get parentElevatorsCount() {\n if (this.contextManager.identityModel.viewingParentGroup) {\n var count = 0;\n this.enterpriseElevatorsList.forEach((element) => {\n element.systems.forEach((system) => (count += system.elevators.length));\n });\n return count;\n }\n return 0;\n }\n\n /**\n * Loads elevators for the system\n *\n * @returns {Ember.RSVP.PromiseArray}\n */\n @action async loadPoints() {\n const points = await getPointsQuery(this.store, this.search, false, this.locations);\n const elevatorArr = this.contextManager.identityModel.viewingParentGroup\n ? await getParentElevatorsQuery(this.store, this.search, false, this.locations)\n : await getEnterpriseElevatorsQuery(this.store, this.search, false, this.locations);\n\n set(this, 'model.accessPoints', points);\n set(this, 'model.enterpriseElevatorsList', elevatorArr);\n\n return elevatorArr;\n }\n\n /**\n * Filters Elevators.\n *\n * @param {String} search\n */\n @action filterAccessPoints(search, locations) {\n // Reset points count and points list, this will cause list-view to request new data\n setProperties(this, {\n search,\n locations,\n resetPoints: true\n });\n\n this.loadPoints();\n }\n\n @action async switchToSingleSystem(unitId) {\n const availableSystemItems = await this.store.findAll('systems/available-system-item');\n const unitToTransitionTo = availableSystemItems.find((item) => item.id === unitId);\n this.contextManager\n .switchContext(unitToTransitionTo)\n .then(() => this.contextManager.navigation.transitionToRouteId(EmberAccessControlElevators))\n .catch((e) => {\n if (!didCancel(e)) {\n throw e;\n }\n });\n }\n}\n","import { action } from '@ember/object';\nimport EmberRoute from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { isFullTransition } from '../../../../utils/ember';\nimport { getAccessControlPermissions } from 'customer-site/classes/access-control/access-plans/base-index-route';\nimport AccessPointsFilterManager from 'customer-site/classes/access-control/access-points/helpers/filter-manager';\nimport { getEnterpriseElevatorsQuery, getPointsQuery, getParentElevatorsQuery } from './controller';\n\nexport default class EnterpriseAccessControlElevators extends EmberRoute {\n @service('router') router;\n @service store;\n @service notificationManager;\n @service contextManager;\n @service identityManager;\n\n async model(params, transition) {\n const { search, locations } = this.paramsFor(transition.to.parent.name);\n\n return {\n ...this.modelFor(transition.to.parent.name),\n accessPoints: getPointsQuery(this.store, search, false, locations),\n enterpriseElevatorsList: this.identityManager.identityModel.viewingParentGroup\n ? await getParentElevatorsQuery(this.store, search, false, locations)\n : await getEnterpriseElevatorsQuery(this.store, search, false, locations),\n permissions: getAccessControlPermissions(this.store, this.identityManager)\n };\n }\n\n /**\n * The filters manager for route query parameters.\n *\n * @type {classes.access-control.access-points.helpers.AccessPointsFilterManager}\n */\n filtersManager = new AccessPointsFilterManager(this, this.applyFilters);\n\n /**\n * @param {Ember.Controller} controller\n * @param {{accessPoints: Array, permissions: models.users.PermissionsCollection}} model - access points and permissions returned from the store\n */\n setupController(controller, model) {\n super.setupController(...arguments);\n\n controller.filtersManager = this.filtersManager;\n\n if (model) {\n // Reset the flag so that data from model is consumed properly.\n controller.set('wasInitialDataConsumed', false);\n }\n }\n\n /** @override */\n afterModel(resolvedModel, transition) {\n this.filtersManager.updateFilters(\n resolvedModel.qp,\n resolvedModel.defaultFilterValues,\n isFullTransition(transition),\n resolvedModel\n );\n }\n\n @action applyFilters(filters) {\n if (!this.filtersManager.validateFilterLength(filters.queryParams)) {\n this.refresh();\n return;\n }\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-controller-access-in-routes\n const controller = this.controllerFor(this.routeName);\n\n controller.filterAccessPoints(filters.queryParams['search'], filters.queryParams['locations']);\n }\n}\n","import FilteringAccessPointsRoute from 'customer-site/classes/access-control/access-points/filtering-route';\nimport { EmberEnterpriseAccessControlElevators } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for editing and viewing elevators\n */\nexport default class EnterpriseAccessControlElevatorsRoute extends FilteringAccessPointsRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlElevators;\n}\n","import { inject as service } from '@ember/service';\nimport { getAccessControlPermissions } from 'customer-site/classes/access-control/access-plans/base-index-route';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseAccessControlHolidaysEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type AccessPlanModel from 'customer-site/models/access-control/access-control-access-plan';\nimport type AccessPoint from 'customer-site/models/access-control/access-control-access-point';\nimport type AccessControlHoliday from 'customer-site/models/access-control/access-control-holiday';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport type { DS } from 'ember-data';\n\ninterface EnterpriseHolidayModel {\n holidays: DS.PromiseArray;\n accessPlans: DS.PromiseArray;\n accessPoints: DS.PromiseArray;\n permissions: ReturnType;\n}\n\n/**\n * @classdesc\n *\n * Enterprise page for editing enterprise holidays\n */\nexport default class Route extends AdcBaseRoute {\n @service declare store: Store;\n\n routeId = EmberEnterpriseAccessControlHolidaysEdit;\n\n isMediumWidthPage = true;\n\n model(): EnterpriseHolidayModel {\n const store = this.store;\n\n return {\n holidays: store.findAll('access-control/access-control-holiday'),\n accessPlans: store.findAll('access-control/access-control-access-plan'),\n accessPoints: store.findAll('access-control/access-control-access-point'),\n permissions: getAccessControlPermissions(store, this.identityManager)\n };\n }\n}\n","import EmberRoute from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { EmberEnterpriseAccessControlIndex } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise Access control index route.\n *\n * @class enterprise.access-control.index.Route\n * @extends Ember.Route\n */\nexport default class Route extends EmberRoute {\n @service contextManager;\n\n redirect() {\n const { contextManager } = this;\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n return contextManager.transitionToRouteId(\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line @adc/ember/no-context-manager-get-route\n contextManager\n .getRouteItem(EmberEnterpriseAccessControlIndex)\n .get('relationship.subRoutes.firstObject.routeId')\n );\n }\n}\n","import EmberController from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to show the options when creating an enterprise login.\n */\nexport default class EnterpriseAccessControlManageLoginsAddEnterpriseLoginsOptionsController extends EmberController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/add-enterprise-logins-options': EnterpriseAccessControlManageLoginsAddEnterpriseLoginsOptionsController;\n }\n}\n","import BaseEnterpriseAddEnterpriseLoginsOptionsRoute from 'customer-site/classes/enterprise/logins/add-enterprise-logins-options/route';\nimport { EmberAddEnterpriseAccessControlLoginsOptions } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route that displays the options to create an access-control, enterprise login.\n */\nexport default class EnterpriseAddEnterpriseAccessControlLoginsOptionsRoute extends BaseEnterpriseAddEnterpriseLoginsOptionsRoute {\n /** @override */\n routeId = EmberAddEnterpriseAccessControlLoginsOptions;\n}\n","import MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport { EmberEnterpriseAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to associate a new login.\n */\nexport default class EnterpriseAccessControlManageLoginsAssociateMultiGroupLoginController extends MultiGroupLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseAccessControlLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/associate/multi-group-login': EnterpriseAccessControlManageLoginsAssociateMultiGroupLoginController;\n }\n}\n","import AssociateMultiGroupLoginRoute from 'customer-site/enterprise/logins/associate/multi-group-login/route';\nimport { EmberAssociateMultiGroupAccessControlLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control associate multi group logins route.\n */\nexport default class AssociateMultiGroupAccessControlLoginRoute extends AssociateMultiGroupLoginRoute {\n /** @override */\n routeId = EmberAssociateMultiGroupAccessControlLogin;\n\n /** @override */\n parentRoute = 'enterprise/access-control/logins/associate';\n}\n","import BaseAssociateEnterpriseLoginsRoute from 'customer-site/enterprise/logins/associate/route';\nimport { EmberAssociateEnterpriseAccessControlLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control associate logins route.\n */\nexport default class AssociateEnterpriseAccessControlLoginRoute extends BaseAssociateEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberAssociateEnterpriseAccessControlLogin;\n}\n","import BaseEditScheduledDeviceLoginController from 'customer-site/classes/enterprise/logins/edit/edit-scheduled-device-login/controller';\nimport { EmberEnterpriseAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Route for editing a scheduled device access login in AC context.\n */\nexport default class EditScheduledDeviceLoginAccessControlController extends BaseEditScheduledDeviceLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseAccessControlLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/edit/edit-scheduled-device-login': EditScheduledDeviceLoginAccessControlController;\n }\n}\n","import { EmberEditScheduledDeviceLoginAccessControl } from 'customer-site/enums/CustomerPageUrl';\nimport EditMultiGroupAccessControlLoginRoute from '../multi-group-login/route';\n\n/**\n * @classdesc\n *\n * The route to create a new enterprise scheduled login.\n */\nexport default class EditScheduledDeviceLoginsAccessControlRoute extends EditMultiGroupAccessControlLoginRoute {\n /** @override */\n routeId = EmberEditScheduledDeviceLoginAccessControl;\n}\n","import MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport { EmberEnterpriseAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to edit a login's access on multiple groups.\n */\nexport default class EnterpriseAccessControlManageLoginsEditMultiGroupLoginController extends MultiGroupLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseAccessControlLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/edit/multi-group-login': EnterpriseAccessControlManageLoginsEditMultiGroupLoginController;\n }\n}\n","import BaseEditMultiGroupLoginRoute from 'customer-site/classes/enterprise/logins/edit/multi-group-login/route';\nimport { EmberEditMultiGroupAccessControlLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control edit multi group logins route.\n */\nexport default class EditMultiGroupAccessControlLoginRoute extends BaseEditMultiGroupLoginRoute {\n /** @override */\n routeId = EmberEditMultiGroupAccessControlLogin;\n\n /** @override */\n parentRoute = 'enterprise/access-control/logins/edit';\n}\n","import BaseEditEnterpriseLoginsRoute from 'customer-site/enterprise/logins/edit/route';\nimport { EmberEditEnterpriseAccessControlLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control edit logins route.\n */\nexport default class EditEnterpriseLoginsRoute extends BaseEditEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberEditEnterpriseAccessControlLogin;\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberElevateAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\n\n/**\n * @classdesc\n * Elevate access-control customer logins route.\n */\nexport default class EnterpriseElevateAccessControlLoginsRoute extends AdcBaseRoute {\n routeId = EmberElevateAccessControlLogins;\n\n queryParams = {\n searchString: getQueryParam('string')\n };\n}\n","import BaseEnterpriseLoginsIndexController from 'customer-site/classes/enterprise/logins/index/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The Enterprise Access Control manage logins page, listing all logins on the selected system group.\n */\nexport default class EnterpriseAccessControlManageLoginsIndexController extends BaseEnterpriseLoginsIndexController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/index': EnterpriseAccessControlManageLoginsIndexController;\n }\n}\n","import BaseEnterpriseLoginsRoute from 'customer-site/classes/enterprise/logins/index/route';\nimport { EmberEnterpriseAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control logins route.\n */\nexport default class EmberEnterpriseAccessControlLoginsRoute extends BaseEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlLogins;\n}\n","import MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport { EmberEnterpriseAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to create a new login.\n */\nexport default class EnterpriseAccessControlManageLoginsNewMultiGroupLoginController extends MultiGroupLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseAccessControlLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/new-login/new-multi-group-login': EnterpriseAccessControlManageLoginsNewMultiGroupLoginController;\n }\n}\n","import NewMultiGroupLoginRoute from 'customer-site/enterprise/logins/new-login/new-multi-group-login/route';\nimport { EmberNewMultiGroupAccessControlLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control new multi group logins route.\n */\nexport default class NewMultiGroupAccessControlLoginRoute extends NewMultiGroupLoginRoute {\n /** @override */\n routeId = EmberNewMultiGroupAccessControlLogin;\n\n /** @override */\n parentRoute = 'enterprise/access-control/logins/new-login';\n}\n","import EditScheduledDeviceLoginController from 'customer-site/classes/enterprise/logins/edit/edit-scheduled-device-login/controller';\nimport { EmberEnterpriseAccessControlLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Route for creating a scheduled device access login in AC context.\n */\nexport default class NewScheduledDeviceLoginAccessControlController extends EditScheduledDeviceLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseAccessControlLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/logins/new-login/new-scheduled-device-login': NewScheduledDeviceLoginAccessControlController;\n }\n}\n","import { EmberNewScheduledDeviceLoginAccessControl } from 'customer-site/enums/CustomerPageUrl';\nimport NewMultiGroupAccessControlLoginRoute from '../new-multi-group-login/route';\n\n/**\n * @classdesc\n *\n * The route to create a new enterprise scheduled login.\n */\nexport default class NewScheduledDeviceLoginsAccessControlRoute extends NewMultiGroupAccessControlLoginRoute {\n /** @override */\n routeId = EmberNewScheduledDeviceLoginAccessControl;\n}\n","import BaseNewEnterpriseLoginsRoute from 'customer-site/enterprise/logins/new-login/route';\nimport { EmberNewEnterpriseAccessControlLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise access control new logins route.\n */\nexport default class NewEnterpriseAccessControlLoginsRoute extends BaseNewEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberNewEnterpriseAccessControlLogin;\n}\n","import LockdownConfigurationEditController from 'customer-site/access-control/system-mode-configuration/lockdown-configuration/edit/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Enterprise Lockdown Access access plan edit controller.\n */\nexport default class EnterpriseLockdownConfigurationEditController extends LockdownConfigurationEditController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/system-mode-configuration/lockdown-configuration/edit': EnterpriseLockdownConfigurationEditController;\n }\n}\n","import { EmberEnterpriseAccessControlLockdownConfigurationEdit } from 'customer-site/enums/CustomerPageUrl';\nimport LockdownConfigurationEditRoute from '../../../../../access-control/system-mode-configuration/lockdown-configuration/edit/route';\n\n/**\n * Route for enterprise lockdown access plan edit page\n */\nexport default class EnterpriseLockdownConfigurationEditRoute extends LockdownConfigurationEditRoute {\n routeId = EmberEnterpriseAccessControlLockdownConfigurationEdit;\n}\n","import { default as LockdownConfigurationController } from 'customer-site/access-control/system-mode-configuration/lockdown-configuration/index/controller';\n\nexport default class EnterpriseLockdownConfigurationController extends LockdownConfigurationController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/system-mode-configuration/lockdown-configuration/index': EnterpriseLockdownConfigurationController;\n }\n}\n","import LockdownConfigurationRoute from 'customer-site/access-control/system-mode-configuration/lockdown-configuration/index/route';\nimport { EmberEnterpriseAccessControlLockdownConfiguration } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * Route for enterprise lockdown configuration page\n */\nexport default class EnterpriseLockdownConfigurationRoute extends LockdownConfigurationRoute {\n routeId = EmberEnterpriseAccessControlLockdownConfiguration;\n}\n","import { default as AccessControlUserBulkCreateRoute } from 'customer-site/access-control/users/bulk-create/route';\nimport { EmberEnterpriseAccessControlUserBulkCreate } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Enterprise level users bulk create page.\n */\nexport default class EnterpriseUserBulkCreateRoute extends AccessControlUserBulkCreateRoute {\n routeId = EmberEnterpriseAccessControlUserBulkCreate;\n}\n","import FilteringContactsController from 'customer-site/classes/access-control/users/filtering-controller';\n\n/**\n * @classdesc\n * Parent enterprise users controller.\n */\nexport default class EnterpriseUsersController extends FilteringContactsController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users': EnterpriseUsersController;\n }\n}\n","import { default as AccessControlUserEditNotSupportedRoute } from '../../../../access-control/users/edit-not-supported/route';\nimport { EmberEnterpriseAccessControlUserEditNotSupported } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for editing or creating new enterprise access control users.\n */\nexport default class EnterpriseAccessControlUserEditNotSupportedRoute extends AccessControlUserEditNotSupportedRoute {\n routeId = EmberEnterpriseAccessControlUserEditNotSupported;\n}\n","import BaseController from '../../../../../access-control/users/edit/access-plans/controller';\n\n/**\n * @classdesc\n *\n * Controller for selecting which access plans an enterprise access control user belongs to.\n */\nexport default class EnterpriseAccessControlUsersEditAccessPlans extends BaseController {}\n","import BaseEditAccessPlansRoute from '../../../../../access-control/users/edit/access-plans/route';\nimport { EmberEnterpriseAccessControlUserEditAccessPlans } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for selecting type of contact address to add to an enterprise access control user.\n */\nexport default class EnterpriseAccessControlUsersEditAccessPlansController extends BaseEditAccessPlansRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserEditAccessPlans;\n}\n","import BaseUsersAddContactRoute from 'customer-site/classes/users/edit/add-contact/route';\nimport {\n EmberEnterpriseAccessControlUserEditAddContact,\n EmberEnterpriseAccessControlUserEditContactInformation\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EditRoute from '../route';\n\n/**\n * @classdesc\n *\n * Route for selecting type of contact address to add to an enterprise access control user.\n */\nexport default class EnterpriseAccessControlAddContactRoute extends BaseUsersAddContactRoute> {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserEditAddContact;\n\n /** @override */\n editUserContactInformationRouteId = EmberEnterpriseAccessControlUserEditContactInformation;\n\n /** @override */\n userEditRouteName = 'enterprise.access-control.users.edit';\n}\n","import BaseController from 'customer-site/classes/users/edit/contact-information/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for editing contact information of an access control user.\n */\nexport default class EnterpriseAccessControlUserContactInformationController extends BaseController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/edit/contact-information': EnterpriseAccessControlUserContactInformationController;\n }\n}\n","import BaseUsersEditContactInformationRoute from 'customer-site/classes/users/edit/contact-information/route';\nimport {\n EmberEnterpriseAccessControlUserEditContactInformation,\n EmberEnterpriseAccessControlUserEditAddContact\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Route for editing contact information of an enterprise access control user.\n */\nexport default class EnterpriseAccessControlEditContactInformationRoute extends BaseUsersEditContactInformationRoute<\n ModelFrom\n> {\n routeId = EmberEnterpriseAccessControlUserEditContactInformation;\n\n userAddContactAddressRoute = EmberEnterpriseAccessControlUserEditAddContact;\n}\n","import BaseController from '../../../../../access-control/users/edit/expiring-credentials/controller';\n\n/**\n * @classdesc\n *\n * Controller for setting the credential expiration for an enterprise access control user.\n *\n * @class EnterpriseAccessControlUserExpiringCredentialsController\n * @extends BaseController\n * @memberof enterprise.access-control.users.edit.expiring-credentials\n */\nexport default class EnterpriseAccessControlUserExpiringCredentialsController extends BaseController {}\n","import BaseExpiringCredentialsRoute from 'customer-site/access-control/users/edit/expiring-credentials/route';\nimport { EmberEnterpriseAccessControlUserEditExpiringCredentials } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Route for setting the credential expiration for an enterprise access control user.\n */\nexport default class EnterpriseAccessControlExpiringCredentialsRoute extends BaseExpiringCredentialsRoute {\n routeId = EmberEnterpriseAccessControlUserEditExpiringCredentials;\n}\n","import { action } from '@ember/object';\nimport BaseController from '../../../../../access-control/users/edit/index/controller';\nimport {\n EmberEnterpriseAccessControlUserEditUserInformation,\n EmberEnterpriseAccessControlUserEditLanguage,\n EmberEnterpriseAccessControlUserEditAddContact,\n EmberEnterpriseAccessControlUserEditContactInformation,\n EmberEnterpriseAccessControlUserEditUserGroup,\n EmberEnterpriseAccessControlUserEditAccessPlans,\n EmberEnterpriseAccessControlUserEditExpiringCredentials,\n EmberEnterpriseAccessControlEditUserAttributes,\n EmberEnterpriseAccessControlEditUserAttributesEdit,\n EmberEnterpriseAccessControlUsersLinkLogin,\n EmberEnterpriseAccessControlUsersUsername,\n EmberEnterpriseAccessControlUsers\n} from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Controller for viewing an enterprise access control user.\n */\nexport default class EnterpriseAccessControlUserOverviewController extends BaseController {\n /** @override */\n routeMap = {\n userInformation: EmberEnterpriseAccessControlUserEditUserInformation,\n languagePreference: EmberEnterpriseAccessControlUserEditLanguage,\n userGroup: EmberEnterpriseAccessControlUserEditUserGroup,\n accessPlans: EmberEnterpriseAccessControlUserEditAccessPlans,\n expiringCredentials: EmberEnterpriseAccessControlUserEditExpiringCredentials,\n addNewUserAttribute: EmberEnterpriseAccessControlEditUserAttributes,\n editUserAttribute: EmberEnterpriseAccessControlEditUserAttributesEdit,\n userEditContactInformationRoute: EmberEnterpriseAccessControlUserEditContactInformation,\n userAddContactAddressRoute: EmberEnterpriseAccessControlUserEditAddContact,\n userLinkLoginRoute: EmberEnterpriseAccessControlUsersLinkLogin,\n username: EmberEnterpriseAccessControlUsersUsername,\n usernameRedirect: EmberEnterpriseAccessControlUsers\n };\n\n /**\n * for preventing getting stuck in confirm dialog loop\n */\n confirmedTransition = false;\n\n /**\n * we need to notify the willTransition hook in the route about this change\n */\n @action toggleConfirmedTransitionFlag(): void {\n this.confirmedTransition = !this.confirmedTransition;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/edit/index': EnterpriseAccessControlUserOverviewController;\n }\n}\n","import AccessControlUserEditIndexRoute from 'customer-site/access-control/users/edit/index/route';\nimport { EmberEnterpriseAccessControlUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classDesc\n * Route for editing contact information of an enterprise access control user.\n */\nexport default class Route extends AccessControlUserEditIndexRoute {\n routeId = EmberEnterpriseAccessControlUserEdit;\n}\n","import BaseController from 'customer-site/classes/users/edit/base-user-edit-controller';\nimport { EmberEnterpriseAccessControlUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type AccessControlUser from 'customer-site/models/access-control/access-control-user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\nexport default class EnterpriseAccessControlLanguageController extends BaseController<\n AccessControlUser,\n ModelFrom\n> {\n baseUserEditRoute = EmberEnterpriseAccessControlUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/edit/language': EnterpriseAccessControlLanguageController;\n }\n}\n","import BaseUsersLanguageRoute from 'customer-site/classes/users/edit/language/route';\nimport { EmberEnterpriseAccessControlUserEditLanguage } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for choosing the language for an enterprise access control user.\n *\n */\nexport default class EnterpriseAccessControlLanguageRoute extends BaseUsersLanguageRoute {\n routeId = EmberEnterpriseAccessControlUserEditLanguage;\n\n userEditRouteName = 'enterprise.access-control.users.edit';\n}\n","import LinkLoginBaseController from 'customer-site/classes/users/edit/link-login/controller';\nimport { EmberEnterpriseAccessControlUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for selecting a login ID for linking a login to a user.\n */\nexport default class EnterpriseAccessControlUsersLinkLoginController extends LinkLoginBaseController> {\n baseUserEditRoute = EmberEnterpriseAccessControlUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/edit/link-login': EnterpriseAccessControlUsersLinkLoginController;\n }\n}\n","import BaseEditUserLinkLoginRoute from 'customer-site/classes/users/edit/link-login/route';\nimport { EmberEnterpriseAccessControlUsersLinkLogin } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\ntype RouteModel = ModelFrom;\n\n/**\n * @classdesc\n * Route for selecting a login ID for linking a login to a user.\n */\nexport default class EnterpriseAccessControlUsersEditLinkLoginRoute extends BaseEditUserLinkLoginRoute {\n routeId = EmberEnterpriseAccessControlUsersLinkLogin;\n}\n","import ResidentialEditAccessControlUserRoute from 'customer-site/access-control/users/edit/route';\nimport {\n EmberEnterpriseAccessControlUserEdit,\n EmberEnterpriseAccessControlUserEditNotSupported\n} from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classDesc\n * Edit an enterprise access control user.\n */\nexport default class Route extends ResidentialEditAccessControlUserRoute {\n routeId = EmberEnterpriseAccessControlUserEdit;\n\n baseUsersRouteName = 'enterprise.accessControl.users';\n userEditNotSupportedRoute = EmberEnterpriseAccessControlUserEditNotSupported;\n}\n","import BaseUserAttributesEditRoute from 'customer-site/classes/users/edit/user-attributes/edit/route';\nimport { EmberEnterpriseAccessControlEditUserAttributesEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for editing a single contact attribute.\n *\n * @class access-control.users.edit.user-attributes.edit.Route\n * @extends AdcBaseRoute\n */\nexport default class Route extends BaseUserAttributesEditRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlEditUserAttributesEdit;\n\n userAttributesRouteName = 'enterprise.accessControl.users.edit.userAttributes';\n}\n","import BaseUserAttributesIndexRoute from 'customer-site/classes/users/edit/user-attributes/index/route';\nimport {\n EmberEnterpriseAccessControlEditUserAttributes,\n EmberEnterpriseAccessControlEditUserAttributesEdit\n} from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for access control user attributes.\n */\nexport default class Route extends BaseUserAttributesIndexRoute {\n // region override properties\n /** @override */\n routeId = EmberEnterpriseAccessControlEditUserAttributes;\n\n /** @override */\n editUserAttributeRouteId = EmberEnterpriseAccessControlEditUserAttributesEdit;\n\n /** @override */\n userEditRouteName = 'enterprise.accessControl.users.edit';\n}\n","import BaseController from 'customer-site/classes/users/edit/base-user-edit-controller';\nimport { EmberEnterpriseAccessControlUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type AccessControlUser from 'customer-site/models/access-control/access-control-user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\nexport default class EnterpriseAccessControlUserAccessGroupController extends BaseController<\n AccessControlUser,\n ModelFrom\n> {\n baseUserEditRoute = EmberEnterpriseAccessControlUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/edit/user-group': EnterpriseAccessControlUserAccessGroupController;\n }\n}\n","import BaseUserAddContactBaseRoute from 'customer-site/access-control/users/edit/user-group/route';\nimport { EmberEnterpriseAccessControlUserEditUserGroup } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for selecting type of contact address to add to an enterprise access control user.\n */\nexport default class EnterpriseEditContactUserGroup extends BaseUserAddContactBaseRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserEditUserGroup;\n}\n","import ResidentialEditAccessControlUserInfoController from 'customer-site/access-control/users/edit/user-information/controller';\nimport { EmberEnterpriseAccessControlUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * The controller for editing the User Information section of an enterprise {@link models.access-control.AccessControlUser } model.\n */\nexport default class EnterpriseAccessControlUserInformationController extends ResidentialEditAccessControlUserInfoController {\n baseUserEditRoute = EmberEnterpriseAccessControlUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/edit/user-information': EnterpriseAccessControlUserInformationController;\n }\n}\n","import ResidentialEditUserInfoRoute from 'customer-site/access-control/users/edit/user-information/route';\nimport { EmberEnterpriseAccessControlUserEditUserInformation } from 'customer-site/enums/CustomerPageUrl';\n\nexport default class EnterpriseAccessControlEditUserInfoRoute extends ResidentialEditUserInfoRoute {\n routeId = EmberEnterpriseAccessControlUserEditUserInformation;\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseAccessControlUsersUsername } from 'customer-site/enums/CustomerPageUrl';\n\nexport default class EnterpriseAccessControlUsersEditUsername extends AdcBaseRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUsersUsername;\n}\n","import BaseAccessControlUsersIndexController from 'customer-site/classes/access-control/users/base-index-controller';\n\nexport default class AccessControlEnterpriseUsersIndexController extends BaseAccessControlUsersIndexController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/index': AccessControlEnterpriseUsersIndexController;\n }\n}\n","import BaseAccessControlUsersIndexRoute from 'customer-site/classes/access-control/users/base-index-route';\n\nexport default class AccessControlEnterpriseUsersIndexRoute extends BaseAccessControlUsersIndexRoute {}\n","import EmberController from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseAccessControlMergeUsersListRoute from './route';\n\nexport default class EnterpriseAccessControlMergeUsersListController extends EmberController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/access-control/users/merge-users': EnterpriseAccessControlMergeUsersListController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseAccessControlMergeUsersList } from 'customer-site/enums/CustomerPageUrl';\n\nimport type User from 'customer-site/models/users/user';\n\ntype MergeUsersListRouteModel = {\n currentUserId: number;\n users: Array;\n totalCount: number;\n qp: { searchString: string; page: number; pageSize: number };\n};\n\n/**\n * @classdesc\n * The Ember route for the MergeUsers flow\n */\nexport default class EnterpriseAccessControlUsersMergeUsersList extends AdcBaseRoute {\n routeId = EmberEnterpriseAccessControlMergeUsersList;\n\n queryParams = {\n searchString: {\n refreshModel: true,\n replace: true\n },\n page: {\n refreshModel: true,\n replace: true\n },\n pageSize: {\n refreshModel: true,\n replace: true\n }\n };\n\n async model(params: {\n id_user: number;\n searchString?: string;\n page: number;\n pageSize: number;\n }): Promise {\n const { store } = this;\n const searchString = params.searchString ?? '';\n const page = params.page ?? 1;\n const pageSize = params.pageSize ?? 25;\n\n const usersResponse: ADCStoreQuery = await store.query('users/user', {\n searchString,\n contactIdForMerge: params.id_user,\n startIndex: (page - 1) * pageSize,\n batchSize: pageSize\n });\n\n const users = usersResponse.toArray();\n const totalCount = usersResponse.meta.count;\n\n return {\n currentUserId: params.id_user,\n users,\n totalCount,\n qp: {\n searchString,\n page,\n pageSize\n }\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseMergeUsersPreviewRoute from 'customer-site/classes/users/base-merge-users-preview-route';\nimport { EmberEnterpriseAccessControlMergeUsersPreview } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type { BaseMergeUsersPreviewRouteModel } from 'customer-site/classes/users/base-merge-users-preview-route';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\n/**\n * @classdesc Merge Users Preview route for Enterprise + Access Control contexts\n */\nexport default class EnterpriseAccessControlUsersMergeUsersPreviewRoute extends BaseMergeUsersPreviewRoute {\n routeId = EmberEnterpriseAccessControlMergeUsersPreview;\n\n @service declare store: Store;\n @service declare identityManager: IdentityManager;\n\n readonly userModelName = 'access-control/access-control-user';\n readonly permissionsModelName = 'access-control/access-control-permissions-collection';\n\n async model(params: { id_ssu: number; id_stu: number }): Promise {\n const parentModel = await super.model(params);\n\n return {\n ...parentModel,\n accessGroups: this.store.findAll('access-control/access-control-access-group')\n };\n }\n}\n","import BasePromoteUserRoute from 'customer-site/classes/access-control/users/promote-user/base-promote-user-route';\nimport { EmberEnterpriseAccessControlUserPromoteUser } from 'customer-site/enums/CustomerPageUrl';\n\nexport default class EnterpriseAccessControlUsersPromoteUser extends BasePromoteUserRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserPromoteUser;\n}\n","import FilteringContactsRoute from 'customer-site/classes/access-control/users/filtering-route';\nimport { EmberEnterpriseAccessControlUsers } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for editing or creating new enterprise access control users.\n */\nexport default class EnterpriseAccessControlUsersRoute extends FilteringContactsRoute {\n routeId = EmberEnterpriseAccessControlUsers;\n}\n","import { default as UserGroupEditController } from '../../../../../access-control/users/user-groups/edit/controller';\n\n/**\n * @classdesc\n *\n * The controller for the User Group edit route.\n */\nexport default class EnterpriseUserGroupEditController extends UserGroupEditController {}\n","import { default as UserGroupEditRoute } from '../../../../../access-control/users/user-groups/edit/route';\nimport { EmberEnterpriseAccessControlUserGroupsEdit } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for enterprise user groups edit page\n */\nexport default class EnterpriseUserGroupEditRoute extends UserGroupEditRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserGroupsEdit;\n}\n","import { default as UserGroupsController } from '../../../../../access-control/users/user-groups/index/controller';\n\n/**\n * @classdesc\n *\n * The controller for the User Group index route.\n */\nexport default class EnterpriseUserGroupsController extends UserGroupsController {\n /** @override */\n isEnterprise = true;\n}\n","import { default as UserGroupsRoute } from '../../../../../access-control/users/user-groups/index/route';\nimport { EmberEnterpriseAccessControlUserGroups } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for enterprise user groups page\n */\nexport default class EnterpriseUserGroupsRoute extends UserGroupsRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserGroups;\n}\n","import { default as UserGroupNewController } from '../../../../../access-control/users/user-groups/new/controller';\n\n/**\n * @classdesc\n *\n * The controller for the User Group new route.\n */\nexport default class EnterpriseUserGroupNewController extends UserGroupNewController {}\n","import { default as UserGroupNewRoute } from '../../../../../access-control/users/user-groups/new/route';\nimport { EmberEnterpriseAccessControlUserGroupsNew } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for enterprise user groups new page\n */\nexport default class EnterpriseUserGroupNewRoute extends UserGroupNewRoute {\n /** @override */\n routeId = EmberEnterpriseAccessControlUserGroupsNew;\n}\n","import { computed } from '@ember/object';\nimport setMilliseconds from 'date-fns/setMilliseconds';\nimport subDays from 'date-fns/subDays';\nimport FilterResultsController from '../../../classes/activity/event-history/filter-results-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Enterprise activity center controller.\n */\nexport default class EnterpriseActivityController extends FilterResultsController {\n declare model: ModelFrom;\n\n // region Controller state\n\n @computed()\n get defaultFilterValues(): FilterResultsController['defaultFilterValues'] & {\n startDate: Date;\n locations: string[];\n } {\n return {\n ...super.defaultFilterValues,\n startDate: subDays(setMilliseconds(new Date(), 0), 1),\n locations: []\n };\n }\n\n /**\n * The enterprise locations to search for.\n */\n locations = this.defaultFilterValues.locations;\n\n // endregion\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/activity/event-history': EnterpriseActivityController;\n }\n}\n","import BaseImageEventController from 'customer-site/classes/activity/event-history/base-image-event-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Enterprise image sensor upload media route.\n */\nexport default class EnterpriseImageController extends BaseImageEventController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/activity/event-history/image': EnterpriseImageController;\n }\n}\n","import BaseImageEventRoute from 'customer-site/classes/activity/event-history/base-image-event-route';\nimport { EmberEnterpriseEventImage } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Sub route for displaying image sensor activity media.\n */\nexport default class EnterpriseImageRoute extends BaseImageEventRoute {\n routeId = EmberEnterpriseEventImage;\n}\n","import ActivityListController from 'customer-site/classes/activity/event-history/activity-list-controller';\n\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * The enterprise activity event history index controller for displaying an interactive list of history events.\n */\nexport default class EnterpriseActivityIndexController extends ActivityListController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/activity/event-history/index': EnterpriseActivityIndexController;\n }\n}\n","import ActivityListRoute from 'customer-site/classes/activity/event-history/activity-list-route';\nimport { EmberEnterpriseExtendedActivityHistory } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Enterprise activity center result listing route.\n */\nexport default class EnterpriseActivityIndexRoute extends ActivityListRoute {\n extendedHistoryRoute = EmberEnterpriseExtendedActivityHistory;\n}\n","import { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\nimport FilterResultsRoute, {\n filterResultsRouteQueryParams\n} from '../../../classes/activity/event-history/filter-results-route';\nimport { EmberEnterpriseEventHistory } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Enterprise activity center route.\n */\nexport default class EnterpriseActivityRoute extends FilterResultsRoute {\n routeId = EmberEnterpriseEventHistory;\n\n queryParams = {\n ...filterResultsRouteQueryParams,\n locations: getQueryParam('array')\n };\n}\n","import BaseVideoEventRoute from 'customer-site/classes/activity/event-history/base-video-event-route';\nimport { EmberEnterpriseEventVideo } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ParentRoute from '../route';\n\n/**\n * The enterprise activity center video clip details route.\n */\nexport default class EnterpriseVideoEventRoute extends BaseVideoEventRoute {\n routeId = EmberEnterpriseEventVideo;\n}\n","import { computed } from '@ember/object';\nimport setMilliseconds from 'date-fns/setMilliseconds';\nimport subDays from 'date-fns/subDays';\nimport ExtendedActivityController from '../../../classes/activity/event-history/extended-controller';\n\n/**\n * @classdesc\n * The enterprise extended activity history controller.\n *\n * @class enterprise.activity.extended-activity-history.EnterpriseExtendedActivityController\n */\nexport default class EnterpriseExtendedActivityController extends ExtendedActivityController {\n /** @override */\n @computed()\n get defaultFilterValues() {\n return {\n ...super.defaultFilterValues,\n startDate: subDays(setMilliseconds(new Date(), 0), 1),\n locations: []\n };\n }\n\n /**\n * The enterprise locations to search for.\n *\n * @type {Array}\n */\n locations = this.defaultFilterValues.locations;\n}\n","import { computed } from '@ember/object';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\nimport ExtendedActivityRoute from '../../../classes/activity/event-history/extended-route';\nimport { EmberEnterpriseExtendedActivityHistory } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Enterprise extended activity history route.\n *\n * @class enterprise.activity.extended-event-history.EnterpriseExtendedActivityRoute\n */\nexport default class EnterpriseExtendedActivityRoute extends ExtendedActivityRoute {\n /** @override */\n routeId = EmberEnterpriseExtendedActivityHistory;\n\n /** @override */\n @computed()\n get queryParams() {\n return {\n ...super.queryParams,\n locations: getQueryParam('array')\n };\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberActivityGroupEventHistory } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Ember activity group event history route.\n *\n * @class enterprise.activity.EmberActivityGroupEventHistoryRoute\n * @extends AdcBaseRoute\n */\nexport default class EmberActivityGroupEventHistoryRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberActivityGroupEventHistory;\n}\n","import { action, computed } from '@ember/object';\nimport BaseTroubleConditionController from 'customer-site/alerts-issues/base-tc-controller';\n\nimport type { TCItem } from 'customer-site/alerts-issues/base-tc-controller';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Enterprise Alerts & Issues controller.\n */\nexport default class EnterpriseAlertsIssuesController extends BaseTroubleConditionController {\n declare model: ModelFrom;\n\n /**\n * \"Alert\" trouble condition items to render.\n */\n @computed('troubleConditions.alerts.[]')\n get alerts(): TCItem[] {\n return this.getTCItems(this.troubleConditions.alerts);\n }\n\n /**\n * Dummy function to call to stop a single alarm\n */\n @action stopAlarm(): void {}\n /**\n * Dummy function to call to stop all the alarms\n */\n @action stopAlarms(): void {}\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/alerts-issues': EnterpriseAlertsIssuesController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseAlertsIssues } from 'customer-site/enums/CustomerPageUrl';\n\nimport type TroubleConditionsService from 'customer-site/services/trouble-conditions';\n\n/**\n * @classdesc\n * A route for displaying enterprise alerts and issues.\n */\nexport default class EnterpriseAlertsIssuesRoute extends AdcBaseRoute {\n @service declare troubleConditions: TroubleConditionsService;\n\n routeId = EmberEnterpriseAlertsIssues;\n\n activate(): void {\n // Clear all trouble conditions because the user sees them all now.\n this.troubleConditions.hideNotifications();\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isBlank, isPresent } from '@ember/utils';\nimport { EmberEnterpriseGroups } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type System from 'customer-site/models/systems/system';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for allowing a user to add systems to a group.\n */\nexport default class AddLocationController extends Controller {\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n\n declare model: ModelFrom;\n @tracked resolvedModel?: Pick, 'selectedEnterprise'>;\n\n /**\n * Alias for the currently selected group.\n */\n @alias('resolvedModel.selectedEnterprise')\n declare group: SystemGroup;\n\n /**\n * The name of the currently selected group.\n */\n @alias('group.description')\n declare groupName: string;\n\n /**\n * Are we in an access control context?\n */\n @alias('contextManager.identityModel.isAccessControl')\n declare isAccessControl: boolean;\n\n /**\n * Tracking the customer ids if we cannot add, but can instead move, a\n * number of systems.\n */\n @tracked selectedCustomers: System[] = [];\n\n /**\n * Track if movable (but not addable) systems are returned from our API call.\n * If so, we will use this variable to open our action sheet.\n */\n @tracked movableSystemsExist = false;\n\n /**\n * Login name for the system that the user wants to add.\n */\n sourceLoginName = '';\n\n /**\n * Password for the system that the user wants to add.\n */\n password = '';\n\n /**\n * Attempts to add locations to a group via the provided login credentials.\n * If successful, we return to the manage groups page.\n * Otherwise, we display an error message and remain on the add location page.\n */\n @action\n async addLocationsToGroup(): Promise {\n const { sourceLoginName, password, group, intl } = this;\n\n if (isBlank(sourceLoginName) || isBlank(password)) {\n this.notificationManager.addError(intl.tc(this, 'missingCredentials'));\n return;\n }\n\n try {\n const response = await group.addLocationsToGroupViaLogin(sourceLoginName, password),\n { newUnits, groupsToMovableLocations, errorMessage } = response.meta as {\n newUnits: string[];\n groupsToMovableLocations: { [Key: string]: number[] };\n errorMessage: string;\n };\n\n if (newUnits.length) {\n const joiner = (acc: string, curr: string) =>\n intl.tc(this, 'listOfUnitDescriptions', { 0: acc, 1: curr }),\n unifiedDescriptionsList = newUnits.slice(1).reduce(joiner, newUnits[0]);\n\n this.notificationManager.addSuccess(\n intl.tc(this, 'locationsAddedToGroupSuccessMessage', {\n count: newUnits.length,\n locationOrLocations: unifiedDescriptionsList,\n groupName: group.description\n })\n );\n this.contextManager.refreshAvailableSystems();\n this.contextManager.transitionToNativeRoute(EmberEnterpriseGroups, undefined, {\n queryParams: {\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error parentGroup is async, so this should be: `defaultGroupId: group.isHighestGroupWithAccess ? group.id : group.belongsTo('parentGroup').id();`\n defaultGroupId: (group.isHighestGroupWithAccess ? group : group.parentGroup).get('id')\n }\n });\n }\n\n if (isPresent(Object.keys(groupsToMovableLocations))) {\n this.selectedCustomers = this.getMovableLocations(groupsToMovableLocations);\n this.movableSystemsExist = true;\n }\n\n if (errorMessage) {\n this.notificationManager.addError(errorMessage);\n }\n } catch (e) {\n this.notificationManager.addError(e.errors.errors[0].detail);\n }\n }\n\n getMovableLocations(groupsToMovableLocations: { [Key: string]: number[] }): System[] {\n return this.store.peekAll('systems/system').filter((system) => {\n return Object.values(groupsToMovableLocations)\n .flat()\n .find((id) => {\n return id == system.unitId;\n });\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/groups/add-location': AddLocationController;\n }\n}\n","import { setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseGroupsAddLocation, EmberEnterpriseGroups } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type System from 'customer-site/models/systems/system';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type AddLocationController from './controller';\n\ntype AddLocationRouteModel = {\n selectedEnterprise: ADCAsyncStoreFindRecord;\n systems: ADCAsyncStoreFindAll;\n};\n\n/**\n * @classdesc\n *\n * Allows a location to be added to a group using login credentials.\n */\nexport default class AddLocationRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n /** @override */\n routeId = EmberEnterpriseGroupsAddLocation;\n\n /** @override **/\n model({\n id_selected_enterprise\n }: {\n id_selected_enterprise: string;\n systems: ADCAsyncStoreFindAll;\n }): AddLocationRouteModel {\n return {\n selectedEnterprise: this.store.findRecord('systems/system-group', id_selected_enterprise),\n systems: this.store.findAll('systems/system')\n };\n }\n\n /** @override */\n afterModel(model: ModelFrom): void {\n model.selectedEnterprise.then((enterprise) => {\n if (!enterprise?.isChildlessGroup) {\n this.contextManager.transitionToNativeRoute(EmberEnterpriseGroups);\n this.notificationManager.addError(this.intl.tc(this, 'invalidGroupIdErrorMessage'));\n }\n });\n }\n\n /** @override **/\n resetController(controller: AddLocationController, isExiting: boolean): void {\n if (isExiting) {\n setProperties(controller, {\n sourceLoginName: '',\n password: '',\n movableSystemsExist: false\n });\n }\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\",{ moduleName: \"customer-site/components/modals/enterprise/groups/add-systems/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action, set } from '@ember/object';\nimport { alias, none } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { getModalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\nimport GroupRow from '../../../../enterprise/groups/group-row';\nimport ParentGroupRow from '../../../../enterprise/groups/parent-group-row';\n\nimport './_style.scss';\n\n/**\n * Deselects the given group.\n *\n * @param {components.enterprise.groups.GroupRow} group - The group that is going to be deselected\n * @private\n * @static\n * @memberof components.modals.enterprise.groups\n */\nfunction clearSelectedGroup(group) {\n if (group) {\n group.isSelected = false;\n }\n}\n\n@intlPath({ path: 'modals/enterprise/groups/add-systems' })\nexport default class AddSystems extends Component {\n @service intl;\n @service store;\n @service modals;\n @service contextManager;\n\n /**\n * Group object of the group that is currently selected (if any).\n *\n * @type {components.enterprise.groups.GroupRow}\n */\n @tracked selectedGroup;\n\n /**\n * The customers the end-user is attempting to move.\n *\n * @type {number[]}\n */\n @alias('args.model.selectedCustomerIds')\n selectedCustomerIds;\n\n /**\n * The system groups passed into this component.\n *\n * @type {models.systems.SystemGroup[]}\n */\n @alias('args.model.systemGroups')\n systemGroups;\n\n /**\n * Indicates whether there is currently no selected group\n *\n * @type {boolean}\n */\n @none('selectedGroup') noGroupSelected;\n\n /**\n * The buttons for saving or canceling moving the system.\n * If we are moving systems within the same enterprise, we will allow the end-user to decide what to do with\n * users that had access to those systems.\n *\n * @type {ModalDialogButtonType[]}\n */\n @computed('noGroupSelected')\n get buttons() {\n return [\n ['generic.back', '', () => this.clearSelectionAndCloseModal(), false],\n [\n 'generic.move',\n 'btn-color-primary',\n (delayedHandler) => this.saveSelectionAndCloseModal(delayedHandler),\n this.noGroupSelected\n ]\n ].map(([text, cssClass, action, disabled]) =>\n getModalFooterButton(this.intl.t(text), action, cssClass, disabled)\n );\n }\n\n /**\n * The list of groups to show up in the modal, ordered hierarchically.\n *\n * @type {Array}\n */\n @computed('systemGroups.content.length')\n get hierarchicalGroupsModel() {\n const { systemGroups, store } = this;\n\n const rootLevelGroups = systemGroups.filter((group) => {\n return group.isHighestGroupWithAccess || !group.isChildlessGroup;\n });\n\n return rootLevelGroups.map((group) => {\n if (group.isChildlessGroup) {\n return new GroupRow(store, group, {\n showDropdown: false,\n isSelectable: true\n });\n }\n\n return new ParentGroupRow(store, group, {\n showDropdownForChildGroups: false\n });\n });\n }\n\n /**\n * When a radio button is clicked.\n *\n * @param {components.enterprise.groups.GroupRow} group\n */\n @action\n selectRow(group) {\n clearSelectedGroup(this.selectedGroup);\n group.isSelected = true;\n set(this, 'selectedGroup', group);\n }\n\n /**\n * Clears the currently selected group and closes the modal.\n */\n @action\n clearSelectionAndCloseModal() {\n clearSelectedGroup(this.selectedGroup);\n return this.modals.closeModal();\n }\n\n /**\n * Performs the addition of the systems, clears the currently selected group, and closes the modal.\n */\n saveSelectionAndCloseModal() {\n return this.args.model.addSelectedSystems(this.selectedGroup, this.selectedCustomerIds).then(() => {\n clearSelectedGroup(this.selectedGroup);\n return this.modals.closeModal();\n });\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n

    \\n {{coalesce this.displayMessage (t \\\"@adc/ui-components.deleteMessage\\\")}}\\n {{#if this.renderGroupsList}}\\n

      \\n {{#each @model.groups as |group|}}\\n
    • {{group.description}}
    • \\n {{/each}}\\n
    \\n {{/if}}\\n

    \\n\",{ moduleName: \"customer-site/components/modals/enterprise/groups/confirm-delete-empty-group/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { EditConfirmationModalSignature } from '@adc/ui-components/components/modals/confirmations/edit/edit-confirmations';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type { ModalModel } from '@adc/ui-components/services/modals';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\n\ninterface ConfirmDeleteEmptyGroupSignature {\n Element: EditConfirmationModalSignature['Element'];\n Args: {\n model: ConfirmDeleteEmptyGroupModel;\n };\n}\n\nexport interface ConfirmDeleteEmptyGroupModel extends ModalModel {\n title: string;\n groups: SystemGroup[];\n delete: VoidFunction;\n cancel: VoidFunction;\n}\n\n/**\n * @classdesc\n * A dialog to confirm deleting of an empty group\n */\n\n@intlPath({ path: 'modals/enterprise/groups/confirm-delete-empty-group' })\nexport default class ConfirmDeleteEmptyGroupModal extends Component {\n @service declare modals: ModalService;\n @service declare intl: ADCIntlService;\n\n @computed('args.model.groups.{firstObject.description,length}')\n get displayMessage(): string {\n return this.intl.tc(this, 'deleteMessage', {\n count: this.args.model.groups.length\n });\n }\n\n @computed('args.model.groups.length')\n get renderGroupsList(): boolean {\n return this.args.model.groups.length > 1;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Groups::ConfirmDeleteEmptyGroup': typeof ConfirmDeleteEmptyGroupModal;\n }\n}\n","import Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { logMissingAbstractMember } from '@adc/ember-utils/utils/debug';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\n\n/**\n * @classdesc Base component for modals which include a user access option selector.\n *\n * @class components.modals.enterprise.groups.BaseUserAccessModal\n * @extends Ember.Component\n */\nexport default class BaseUserAccessModal extends Component {\n @service intl;\n\n /**\n * By default, we are retaining access to all users that used to have access to the system(s).\n *\n * @type {boolean}\n */\n @tracked removeAccess = false;\n\n /**\n * The customers the end-user is attempting to modify.\n *\n * @type {number[]}\n */\n @alias('args.model.selectedCustomerIds')\n selectedCustomerIds;\n\n /**\n * Select a user access option.\n */\n @action\n selectAccessOption() {\n this.removeAccess = !this.removeAccess;\n }\n\n /**\n * The object to be passed into the user access selector component.\n * @type {{\n * retainUsersDescription: string,\n * removeUsersDescription: string,\n * userAccessDescriptionKey: string,\n * numSelectedCustomerIds: number,\n * removeAccess: boolean,\n * selectAccessOption: Function\n * }}\n */\n @computed(\n 'retainUsersDescription',\n 'removeUsersDescription',\n 'userAccessDescriptionKey',\n 'selectedCustomerIds',\n 'removeAccess'\n )\n get userAccessArgs() {\n const {\n retainUsersDescription,\n removeUsersDescription,\n userAccessDescriptionKey,\n selectedCustomerIds: { length: numSelectedCustomerIds },\n removeAccess,\n selectAccessOption\n } = this;\n return {\n retainUsersDescription,\n removeUsersDescription,\n userAccessDescriptionKey,\n numSelectedCustomerIds,\n removeAccess,\n selectAccessOption\n };\n }\n\n /**\n * Title of the modal.\n */\n get modalTitle() {\n logMissingAbstractMember(this, '\"modalTitle\" method');\n return undefined;\n }\n\n /**\n * Buttons to display in the footer of the modal.\n */\n get buttons() {\n logMissingAbstractMember(this, '\"buttons\" method');\n return undefined;\n }\n\n /**\n * Text to display for the user access selector.\n */\n get userAccessDescriptionKey() {\n logMissingAbstractMember(this, '\"userAccessDescriptionKey\" method');\n return undefined;\n }\n\n /**\n * Description for the remove users option.\n */\n @computed('movingLocationsWithinSameEnterprise', 'selectedCustomerIds.length')\n get removeUsersDescription() {\n return htmlSafe(\n this.intl.t(\n `components.modals.enterprise.groups.move-systems.${\n this.movingLocationsWithinSameEnterprise\n ? 'removeUsersWithinEnterpriseDesc'\n : 'removeUsersGeneralDesc'\n }`,\n { count: this.selectedCustomerIds.length }\n )\n );\n }\n\n /**\n * Description for the retain users option.\n */\n @computed('movingLocationsWithinSameEnterprise', 'isPointCentral', 'selectedCustomerIds.length')\n get retainUsersDescription() {\n return htmlSafe(\n this.intl.t(\n `components.modals.enterprise.groups.move-systems.${\n this.movingLocationsWithinSameEnterprise\n ? `retainUsersWithinEnterpriseDesc${this.isPointCentral ? 'Pc' : 'Adc'}`\n : 'retainUsersGeneralDesc'\n }`,\n { count: this.selectedCustomerIds.length }\n )\n );\n }\n\n /**\n * Function which saves the selection and closes the modal.\n *\n * @returns Promise\n */\n saveSelectionAndCloseModal() {\n logMissingAbstractMember(this, '\"saveSelectionAndCloseModal\" method');\n return undefined;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n {{!-- @glint-expect-error This component needs to be converted to TS --}}\\n {{yield (hash userAccessSelector=(component \\'enterprise/groups/user-access-selector\\'))}}\\n
    \\n\",{ moduleName: \"customer-site/components/modals/enterprise/groups/user-access-modal-wrapper/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport type { ComponentLike } from '@glint/template';\nimport type { EnterpriseGroupsBaseManageGroupsModalWrapperSignature } from '../base-manage-groups-modal-wrapper';\n\ntype BaseArgs = EnterpriseGroupsBaseManageGroupsModalWrapperSignature['Args'];\n\nexport interface EnterpriseGroupsUserAccessModalsWrapperSignature {\n Args: Pick & {\n modalTitle: BaseArgs['title'];\n };\n Blocks: {\n default: [\n {\n userAccessSelector: ComponentLike;\n }\n ];\n };\n}\n\nconst EnterpriseGroupsUserAccessModalsWrapper =\n templateOnlyComponent();\nexport default EnterpriseGroupsUserAccessModalsWrapper;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Groups::UserAccessModalWrapper': typeof EnterpriseGroupsUserAccessModalsWrapper;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if this.displayGroupSelector}}\\n \\n {{else}}\\n
    \\n \\n
    \\n {{/if}}\\n\\n\",{ moduleName: \"customer-site/components/modals/enterprise/groups/move-systems/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action, set } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport UserAccessHelper from 'customer-site/classes/enterprise/groups/user-access-helper';\nimport { RetainUsers, RemoveUsers, RetainAndElevateUsers } from 'customer-site/enums/UserAccess';\nimport { intlPath } from '@adc/i18n/path';\nimport { getModalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\nimport GroupRow from '../../../../enterprise/groups/group-row';\nimport ParentGroupRow from '../../../../enterprise/groups/parent-group-row';\nimport BaseUserAccessModal from '../base-user-access-modal-component';\n\n/**\n * Deselects the given group.\n *\n * @param {components.enterprise.groups.GroupRow} group - The group that is going to be deselected\n * @private\n * @static\n * @memberof components.modals.enterprise.groups\n */\nfunction clearSelectedGroup(group) {\n if (group) {\n group.isSelected = false;\n }\n}\n\n/**\n * @classdesc\n * The modal used for moving a list of customer IDs to a different group\n */\n@intlPath({ path: 'modals/enterprise/groups/move-systems' })\nexport default class MoveSystems extends BaseUserAccessModal {\n @service intl;\n @service store;\n @service modals;\n @service contextManager;\n\n /**\n * Should we display the groups available to move the selected system(s) into?\n *\n * @type {boolean}\n */\n @tracked displayGroupSelector = true;\n\n /**\n * Group object of the group that is currently selected (if any).\n *\n * @type {components.enterprise.groups.GroupRow}\n */\n @tracked selectedGroup;\n\n /**\n * The system groups passed into this component.\n *\n * @type {models.systems.SystemGroup[]}\n */\n @alias('args.model.systemGroups')\n systemGroups;\n\n /**\n * Whether showing APUM Retain Users text\n *\n * @type {boolean}\n */\n @alias('args.model.useAPUMRetainUsers')\n useAPUMRetainUsers;\n\n /**\n * Are we in the PointCentral context?\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.isPointCentral')\n isPointCentral;\n\n /**\n * Are we in the Access Control context?\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.isAccessControl')\n isAccessControl;\n\n // Constructing our User Helper\n @computed('isAccessControl', 'selectedCustomerIds', 'selectedGroup.model', 'useAPUMRetainUsers')\n get userAccessHelper() {\n return new UserAccessHelper(\n this,\n this.isAccessControl,\n this.selectedCustomerIds,\n this.selectedGroup.model,\n undefined,\n this.useAPUMRetainUsers\n );\n }\n\n @computed('selectedGroup.model.parentGroup.description')\n get parentGroupName() {\n return this.selectedGroup.model.get('parentGroup.description');\n }\n\n /**\n * We do not want to display the user access modal if we are moving a location out of its enterprise.\n * We automatically remove user access in this case.\n */\n @computed('isPointCentral', 'movingLocationsWithinSameEnterprise')\n get skipUserAccessModal() {\n return this.isPointCentral && !this.movingLocationsWithinSameEnterprise;\n }\n\n /**\n * The title of the modal to decide user access.\n *\n * @type {string}\n */\n @computed('displayGroupSelector', 'groupSelectorTitle', 'userAccessTitle')\n get modalTitle() {\n return this.displayGroupSelector ? this.groupSelectorTitle : this.userAccessTitle;\n }\n\n /**\n * The title of the modal to decide user access.\n *\n * @type {string}\n */\n @computed('movingLocationsWithinSameEnterprise', 'selectedCustomerIds.[]', 'parentGroupName')\n get userAccessTitle() {\n return this.movingLocationsWithinSameEnterprise\n ? this.intl.tc(this, 'moveLocationsBetweenGroups', {\n count: this.selectedCustomerIds.length,\n parentGroupName: this.parentGroupName\n })\n : this.intl.tc(this, 'moveLocations', { count: this.selectedCustomerIds.length });\n }\n\n /**\n * Title for the group selector page.\n */\n @computed('selectedCustomerIds.[]')\n get groupSelectorTitle() {\n return this.intl.tc(this, 'moveProperties', { count: this.selectedCustomerIds.length });\n }\n\n /**\n * Indicates whether there is currently no selected group\n *\n * @type {boolean}\n */\n @computed('selectedGroup')\n get noGroupSelected() {\n return this.selectedGroup === undefined;\n }\n\n /**\n * The buttons to be displayed in the footer of the modal.\n */\n @computed('displayGroupSelector', 'groupButtons', 'userAccessButtons')\n get buttons() {\n return this.displayGroupSelector ? this.groupButtons : this.userAccessButtons;\n }\n\n /**\n * The buttons for saving or canceling moving the system.\n * If we are moving systems within the same enterprise, we will allow the end-user to decide what to do with\n * users that had access to those systems.\n *\n * @type {ModalDialogButtonType[]}\n */\n @computed('displayGroupSelector', 'movingLocationsWithinSameEnterprise', 'noGroupSelected', 'skipUserAccessModal')\n get groupButtons() {\n return [\n ['generic.back', '', () => this.clearSelectionAndCloseModal(), false],\n this.skipUserAccessModal\n ? [\n 'generic.move',\n 'btn-color-primary',\n (delayedHandler) => this.saveSelectionAndCloseModal(delayedHandler),\n false\n ]\n : [\n 'generic.next',\n 'btn-color-primary',\n () => {\n this.toggleDisplayGroupSelector(false);\n return false;\n },\n this.noGroupSelected\n ]\n ].map(([text, cssClass, action, disabled]) =>\n getModalFooterButton(this.intl.t(text), action, cssClass, disabled)\n );\n }\n\n /**\n * The buttons to display when the end-user is determining what to do with users to the\n * system(s) being moved.\n *\n * @type {ModalDialogButtonType[]}\n */\n @computed('noGroupSelected', 'displayGroupSelector')\n get userAccessButtons() {\n return [\n [\n 'generic.back',\n '',\n () => {\n this.toggleDisplayGroupSelector(true);\n return false;\n }\n ],\n [\n 'generic.move',\n 'btn-color-primary',\n (delayedHandler) => this.saveSelectionAndCloseModal(delayedHandler),\n false\n ]\n ].map(([text, cssClass, action, disabled]) =>\n getModalFooterButton(this.intl.t(text), action, cssClass, disabled)\n );\n }\n\n /**\n * Are the system(s) that we're moving within the same enterprise as the selected group?\n *\n * @type {boolean}\n */\n @computed('selectedCustomerIds.[]', 'selectedGroup.childGroups')\n get movingLocationsWithinSameEnterprise() {\n const { selectedGroup } = this;\n if (!selectedGroup) {\n return false;\n }\n\n // Figure out which systems are under the parent group of the selectedGroup, if any.\n const systemIdsUnderEnterprise =\n selectedGroup.model\n .get('parentGroup.childGroups')\n ?.map((group) => {\n const systems = group.get('systems');\n return systems.map((system) => system.get('id'));\n })\n ?.flat() || [];\n\n // If every selected system to move is under the same parent group, and we are moving them to a group under\n // the same parent group, return true.\n return this.selectedCustomerIds.every((selectedCustomerId) =>\n systemIdsUnderEnterprise.includes(selectedCustomerId.toString())\n );\n }\n\n /**\n * The list of groups to show up in the modal, ordered hierarchically.\n *\n * @type {Array}\n */\n @computed('selectedCustomerIds', 'systemGroups.content.length')\n get hierarchicalGroupsModel() {\n const { systemGroups, store } = this;\n\n const rootLevelGroups = systemGroups.filter((group) => {\n return group.isHighestGroupWithAccess || !group.isChildlessGroup;\n });\n\n // Get the groups, if any, that have the selected customer systems under them\n const groupsWithSelectedSystems = systemGroups.filter((group) =>\n group.systems.any((system) => this.selectedCustomerIds.includes(system.id))\n );\n\n // If all the selected locations belong to only one group, disable that group.\n const groupToDisable = groupsWithSelectedSystems.length === 1 ? groupsWithSelectedSystems.firstObject : null;\n\n return rootLevelGroups.map((group) => {\n if (group.isChildlessGroup) {\n return new GroupRow(store, group, {\n showDropdown: false,\n isSelectable: group.id !== groupToDisable?.id\n });\n }\n\n return new ParentGroupRow(store, group, {\n showDropdownForChildGroups: false,\n disabledGroupId: groupToDisable?.id\n });\n });\n }\n\n /**\n * When a radio button is clicked.\n *\n * @param {components.enterprise.groups.GroupRow} group\n */\n @action\n selectRow(group) {\n clearSelectedGroup(this.selectedGroup);\n group.isSelected = true;\n set(this, 'selectedGroup', group);\n }\n\n /**\n * Clears the currently selected group and closes the modal.\n */\n @action\n clearSelectionAndCloseModal() {\n clearSelectedGroup(this.selectedGroup);\n return this.modals.closeModal();\n }\n\n /**\n * Toggles whether the display group selector should be visible.\n *\n * @param {boolean} newValue\n */\n toggleDisplayGroupSelector(newValue) {\n this.displayGroupSelector = newValue;\n }\n\n /**\n * Performs the move of the systems, clears the currently selected group, and closes the modal.\n */\n saveSelectionAndCloseModal() {\n const removeAccessEnum = this.userAccessHelper.removeAccess\n ? RemoveUsers\n : this.movingLocationsWithinSameEnterprise\n ? RetainAndElevateUsers\n : RetainUsers;\n return this.args.model\n .moveSelectedSystems(this.selectedGroup, this.selectedCustomerIds, removeAccessEnum)\n .then(() => {\n clearSelectedGroup(this.selectedGroup);\n return this.modals.closeModal();\n });\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n\",{ moduleName: \"customer-site/components/modals/enterprise/groups/remove-systems/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport UserAccessHelper from 'customer-site/classes/enterprise/groups/user-access-helper';\nimport { RetainUsers, RemoveUsers } from 'customer-site/enums/UserAccess';\nimport { intlPath } from '@adc/i18n/path';\nimport { getModalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\nimport BaseUserAccessModal from '../base-user-access-modal-component';\n\n/**\n * @classdesc\n * The modal used for removing a list of customer IDs from a group\n */\n@intlPath({ path: 'modals/enterprise/groups/remove-systems' })\nexport default class RemoveSystems extends BaseUserAccessModal {\n @service intl;\n @service modals;\n @service contextManager;\n\n /**\n * The selected enterprise passed into this component.\n *\n * @type {models.systems.SystemGroup}\n */\n @alias('args.model.selectedEnterprise')\n selectedEnterprise;\n\n /**\n * Whether showing APUM Retain Users text\n *\n * @type {boolean}\n */\n @alias('args.model.useAPUMRetainUsers')\n useAPUMRetainUsers;\n\n /**\n * Are we in the Access Control context?\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.isAccessControl')\n isAccessControl;\n\n // Constructing our User Helper\n @computed('isAccessControl', 'selectedCustomerIds', 'selectedEnterprise', 'useAPUMRetainUsers')\n get userAccessHelper() {\n return new UserAccessHelper(\n this,\n this.isAccessControl,\n this.selectedCustomerIds,\n this.selectedEnterprise,\n 'components.modals.enterprise.groups.remove-systems.',\n this.useAPUMRetainUsers\n );\n }\n\n /**\n * The title of the modal.\n *\n * @type {string}\n */\n @computed('selectedCustomerIds.[]', 'selectedEnterprise.description')\n get modalTitle() {\n return this.intl.tc(this, 'removeLocations', {\n count: this.selectedCustomerIds.length,\n parentGroupName: this.selectedEnterprise.description\n });\n }\n\n /**\n * The buttons to display when the end-user is determining what to do with users to the\n * system(s) being removed.\n *\n * @type {ModalDialogButtonType[]}\n */\n get buttons() {\n return [\n [this.intl.t('generic.back'), () => this.closeModal(), '', false],\n [\n this.intl.tc(this, 'removeButtonText'),\n (delayedHandler) => this.saveSelectionAndCloseModal(delayedHandler),\n 'btn-color-danger',\n false\n ]\n ].map((buttonProperties) => getModalFooterButton(...buttonProperties));\n }\n\n /**\n * Closes the modal.\n */\n @action\n closeModal() {\n return this.modals.closeModal();\n }\n\n /**\n * Removes the selected systems from the selected enterprise and closes the modal.\n */\n saveSelectionAndCloseModal() {\n const removeAccessEnum = this.userAccessHelper.removeAccess ? RemoveUsers : RetainUsers;\n return this.args.model\n .removeSelectedSystems(this.selectedEnterprise, this.selectedCustomerIds, removeAccessEnum)\n .then(() => this.modals.closeModal());\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { get } from '@ember/object';\nimport { action, computed, set } from '@ember/object';\nimport { alias, and, notEmpty, not, or } from '@ember/object/computed';\nimport { later } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport DS from 'ember-data';\nimport { openRenameGroupModal } from 'customer-site/components/enterprise/groups/base-item-row';\nimport AddSystemsModal from 'customer-site/components/modals/enterprise/groups/add-systems/index';\nimport ConfirmDeleteEmptyGroup from 'customer-site/components/modals/enterprise/groups/confirm-delete-empty-group/index';\nimport MoveSystemsModal from 'customer-site/components/modals/enterprise/groups/move-systems/index';\nimport RemoveSystemsModal from 'customer-site/components/modals/enterprise/groups/remove-systems/index';\nimport CustomerKnowledgeBase from 'customer-site/enums/CustomerKnowledgeBase';\nimport { buildKnowledgeBaseURL } from 'customer-site/helpers/knowledge-base-link';\nimport { escapeHtml } from 'customer-site/utils/strings';\nimport DropdownActionItem from '@adc/ui-components/utils/dropdown-action-item';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\nimport GroupRow from '../../../components/enterprise/groups/group-row';\nimport ParentGroupRow from '../../../components/enterprise/groups/parent-group-row';\nimport SystemRow from '../../../components/enterprise/groups/system-row';\nimport {\n EmberEnterpriseNewGroup,\n EmberEnterpriseNewEnterprise,\n EmberEnterpriseGroupsAddLocation\n} from '../../../enums/CustomerPageUrl';\n\n/**\n * id for \"Locations not in enterprise\" dropdown option\n *\n * @type {string}\n */\nconst LOCATIONS_NOT_IN_ENTERPRISE = '-1';\n\n/**\n * @classdesc\n * Enterprise groups controller.\n *\n * @class enterprise.groups.index.EnterpriseGroupsIndexController\n * @extends Ember.Controller\n */\nexport default class EnterpriseGroupsIndexController extends Controller {\n @service contextManager;\n @service intl;\n @service modals;\n @service notificationManager;\n @service store;\n @service systemGroupsManager;\n @service identityManager;\n\n /**\n * Opens the remove groups action sheet when true.\n */\n @tracked isRemovingGroup = false;\n\n /**\n * Optional query param to set the selected group upon visiting the page.\n * Updating this value will update the value in the URL.\n */\n @tracked defaultGroupId = null;\n\n /**\n * Array of Customer IDs which have been selected.\n *\n * @type {Array}\n */\n @tracked selectedCustomerIds = [];\n\n /**\n * Array of Group IDs which have been checked.\n *\n * @type {Array}\n */\n @tracked selectedGroupIds = [];\n\n /**\n * Flag to show \"Locations not in enterprise\".\n *\n * @type {boolean}\n */\n @tracked showLocationsNotInEnterprise = false;\n\n /**\n * Currently-selected enterprise group ID.\n *\n * @type {{id: string, description: string, isSCIMGroup: boolean}}\n * @default null\n */\n @tracked selectedEnterprise = null;\n\n /**\n * Search string for filtering group location results.\n *\n * @type {String}\n * @default ''\n */\n @tracked searchString = '';\n\n /**\n * Is current enterprise waiting for server response?\n *\n * @type {boolean}\n * @default false\n */\n enterpriseWaitingResponse = false;\n\n /**\n * The group on which 'Remove Group' has been selected.\n */\n @tracked groupToRemove;\n\n /**\n * Whether we are doing an initial/subsequent load.\n * @returns {boolean}\n */\n @computed('selectedEnterprise', 'model.{systems,systemGroups}.isFulfilled', 'enterpriseWaitingResponse')\n get isLoading() {\n const {\n enterpriseWaitingResponse,\n selectedEnterprise,\n model: { systems, systemGroups }\n } = this,\n modelsPending = [systems, systemGroups];\n\n return (\n enterpriseWaitingResponse ||\n !(selectedEnterprise || modelsPending.every((item) => item != null && get(item, 'isFulfilled')))\n );\n }\n\n /**\n * Counter which can be incremented to trigger computation of this.groups.\n */\n @tracked refreshGroups = 0;\n\n /**\n * Array of system groups under currently selected enterprise returned as BaseItemRows.\n *\n * @function\n * @type {DS.PromiseArray}\n */\n @computed(\n 'selectedEnterprise.{isSystemlessGroup,childGroups.[],systems.[]}',\n 'searchString',\n 'refreshGroups',\n 'loginDoesNotSupportsSso',\n 'refreshStandaloneSystems',\n 'occupiedGroupId',\n 'vacantGroupId'\n )\n get groups() {\n const { searchString, store } = this;\n const nameFilter = (description) =>\n (description || '').toLowerCase().includes((searchString || '').toLowerCase());\n\n return DS.PromiseArray.create({\n promise: (async () => {\n // This is really gross and hacky to make the Ember 4 update happy. This whole page needs to be refactored & updated\n const { isDestroyed } = this.selectedEnterprise?.childGroups ?? {};\n if (!this.selectedEnterprise || (this.selectedEnterprise?.isSystemlessGroup && isDestroyed)) {\n return [];\n }\n const occupiedGroupIdTemp = await this.occupiedGroupId;\n const vacantGroupIdTemp = await this.vacantGroupId;\n return this.selectedEnterprise?.isSystemlessGroup\n ? ((await this.selectedEnterprise?.childGroups) || [])\n .map((group) => {\n // If group is PC and LTR UI, disable rename and delete menu items\n const isRenameDeleteDisabled =\n group.id == (occupiedGroupIdTemp ?? 0) || group.id == (vacantGroupIdTemp ?? 0);\n return new (group.isChildlessGroup ? GroupRow : ParentGroupRow)(store, group, {\n checkboxHidden: true,\n isOpen: !!searchString,\n disabled: isRenameDeleteDisabled,\n isAddLocationViaLoginCredentialsVisible: this.loginDoesNotSupportsSso,\n itemFilter: (description) =>\n nameFilter(group.description) ? true : nameFilter(description)\n });\n })\n .filter(\n (row) =>\n // Match group name.\n nameFilter(row.model.description) ||\n // Or group has units in it to show.\n row.model.systems.mapBy('description').some(nameFilter)\n )\n : (this.selectedEnterprise?.systems || [])\n .filter((s) => nameFilter(s.description))\n .map((model) => new SystemRow(store, model));\n })()\n });\n }\n\n /**\n * Array of all enterprises (groups without direct units) and dropdown options visible to the login returned as DropdownSelectItems.\n *\n * @type {Array<{id: string, description: string, isSCIMGroup: bool}>}\n */\n @computed('model.systemGroups.@each.{description,isHighestGroupWithAccess}', 'standaloneSystems.length')\n get availableEnterprises() {\n let availableEnterprises = (this.model.systemGroups || []).filterBy('isHighestGroupWithAccess');\n if (availableEnterprises.length && this.standaloneSystems.length) {\n availableEnterprises.push({\n id: LOCATIONS_NOT_IN_ENTERPRISE,\n description: this.intl.tc(this, 'locationsNotInEnterprise'),\n isSCIMGroup: false\n });\n }\n\n return availableEnterprises;\n }\n\n /**\n * Array of all enterprises (groups without direct units) and dropdown options visible to the login returned as DropdownSelectItems.\n *\n * @type {Array}\n */\n @computed('availableEnterprises')\n get enterpriseDropdownList() {\n // Abbreviate the name of the enterprise in the dropdown if too long.\n const enterpriseDropdownCharLimit = 32,\n getDropdownLabel = (name) =>\n name.length <= enterpriseDropdownCharLimit\n ? name\n : this.intl.tc(this, 'enterpriseNameAbbreviated', {\n groupName: name.slice(0, enterpriseDropdownCharLimit)\n });\n\n return this.availableEnterprises.map(({ id: value, description }) =>\n DropdownSelectItem.create({ value, name: getDropdownLabel(description) })\n );\n }\n\n /**\n * Auto selects an enterprise if isLoading is updated. If we provided a default group id as a query param,\n * select it. Otherwise, attempt to select an enterprise based on the current selected system group and check if that\n * group is a root group. If not then traverse up the tree until we reach the root node.\n */\n @action\n async autoSelectEnterprise(isLoading) {\n // We only want to update the selected enterprise if we have finished loading.\n if (isLoading) {\n return;\n }\n\n const { availableEnterprises } = this;\n\n // If a group id was provided via a query param, select that, then clear the default group id.\n if (this.defaultGroupId) {\n this.selectedEnterprise = availableEnterprises.findBy('id', this.defaultGroupId);\n this.defaultGroupId = null;\n }\n\n // If we already have a defined selected enterprise or if we don't have any availableEnterprises return early\n if (this.selectedEnterprise || !availableEnterprises.length) {\n return;\n }\n\n // Otherwise, select group currently selected in the MSA pill (or default to the first available group).\n if (this.showLocationsNotInEnterprise) {\n this.selectedEnterprise = availableEnterprises[availableEnterprises.length - 1];\n }\n\n // In this case we will continue to traverse up the group, until we reach the root level group\n // where we set this.selectedEnterprise to the root level group so that the root level group's Manage Groups page is being shown.\n else {\n this.selectedEnterprise = await this.getSelectedEnterpriseForDropdown();\n }\n }\n\n /**\n * Attempts to get the root level group for the enterprise currently selected in the context.\n * If we don't have access to that group, default to the first available enterprise.\n *\n * @returns {SystemGroup}\n */\n async getSelectedEnterpriseForDropdown() {\n const { availableEnterprises } = this;\n\n let currentSystemGroup = await this.contextManager.identityModel.selectedSystemGroup;\n while (!(currentSystemGroup?.isHighestGroupWithAccess ?? true)) {\n currentSystemGroup = await currentSystemGroup.parentGroup;\n }\n\n return availableEnterprises.findBy('id', currentSystemGroup?.id) ?? availableEnterprises[0];\n }\n\n /**\n * Update the currently selected Enterprise.\n *\n * @param {string} id\n */\n @action\n updateSelectedEnterprise(id) {\n set(this, 'showLocationsNotInEnterprise', id === LOCATIONS_NOT_IN_ENTERPRISE);\n set(this, 'selectedEnterprise', this.availableEnterprises.findBy('id', id));\n set(this, 'selectedCustomerIds', []);\n }\n\n /**\n * Array of systems that aren't in a group.\n *\n * @type {Array}\n */\n @computed('model.systems.[]', 'showLocationsNotInEnterprise')\n get standaloneSystems() {\n return this.model.systems.map((model) => new SystemRow(this.store, model));\n }\n\n /**\n * Array containing an object that holds data needed for each section of the page.\n *\n * @type {{rowsList: DS.PromiseArray,\n * loadingStatus: Promise>, cssClass: String, labelTranslationKey: String}}\n */\n @computed(\n 'groups.[]',\n 'model.{systemGroups,systems.[]}',\n 'selectedEnterprise',\n 'standaloneSystems.[]',\n 'showLocationsNotInEnterprise',\n 'selectedEnterprise.isSystemlessGroup'\n )\n get categorySection() {\n return this.showLocationsNotInEnterprise\n ? {\n rowsList: this.standaloneSystems,\n loadingStatus: this.model.systems,\n cssClass: 'standalone-systems-section',\n labelTranslationKey: 'locationsNotInEnterprise'\n }\n : {\n rowsList: this.groups,\n loadingStatus: this.model.systemGroups,\n cssClass: 'groups-section',\n labelTranslationKey: null\n };\n }\n\n @computed('selectedEnterprise.{isSCIMGroup,isParentGroup}')\n get isSCIMSubgroup() {\n return this.selectedEnterprise.isSCIMGroup && !this.selectedEnterprise.isParentGroup;\n }\n\n /**\n * Menu item information for the \"Create New Group\" menu item. Should be disabled for standalone or subgroups with Active Directory (SCIM) integration.\n */\n @computed('isCreateSubgroupVisible', 'isSCIMSubgroup')\n get createNewGroupMenuItem() {\n return [\n 'createNewGroup',\n 'subgroup',\n 'add',\n this.isSCIMSubgroup,\n this.isSCIMSubgroup ? this.intl.tc(this, 'cantElevateSCIMGroup') : this.intl.tc(this, 'createNewSubgroup'),\n EmberEnterpriseNewGroup,\n [],\n this.isCreateSubgroupVisible\n ];\n }\n\n /**\n * Menu item information for the \"Add Location\" menu item\n */\n @computed('isAddLocationViaLoginCredentialsVisible')\n get addLocationMenuItem() {\n return [\n 'addLocation',\n 'addLocation',\n 'add',\n false,\n 'Add a Location',\n EmberEnterpriseGroupsAddLocation,\n [],\n this.isAddLocationViaLoginCredentialsVisible\n ];\n }\n\n @computed('groups', 'identityManager.pointCentralIdentity.longTermRentalCommunity')\n get parentGroupId() {\n return (async () => {\n const longTermRentalCommunity = await this.identityManager.pointCentralIdentity?.longTermRentalCommunity;\n const groupStructure = await longTermRentalCommunity?.groupStructure;\n return groupStructure?.parentGroupId;\n })();\n }\n\n @computed('groups', 'identityManager.pointCentralIdentity.longTermRentalCommunity')\n get occupiedGroupId() {\n return (async () => {\n const longTermRentalCommunity = await this.identityManager.pointCentralIdentity?.longTermRentalCommunity;\n const groupStructure = await longTermRentalCommunity?.groupStructure;\n return groupStructure?.occupiedGroupId;\n })();\n }\n\n @computed('groups', 'identityManager.pointCentralIdentity.longTermRentalCommunity')\n get vacantGroupId() {\n return (async () => {\n const longTermRentalCommunity = await this.identityManager.pointCentralIdentity?.longTermRentalCommunity;\n const groupStructure = await longTermRentalCommunity?.groupStructure;\n return groupStructure?.vacantGroupId;\n })();\n }\n\n @computed('parentGroupId', 'occupiedGroupId', 'vacantGroupId')\n get isConfiguredForOccupancy() {\n return (async () => {\n const parentGroupId = await this.parentGroupId;\n const vacantGroupId = await this.vacantGroupId;\n const occupiedGroupId = await this.occupiedGroupId;\n\n return parentGroupId != null && (vacantGroupId != null || occupiedGroupId != null);\n })();\n }\n\n /**\n * Menu item information for the \"Rename Enterprise\" menu item\n */\n @computed('isDeleteHidden', 'isConfiguredForOccupancy')\n get renameEnterpriseMenuItem() {\n return (async () => {\n const isConfiguredForOccupancy = await this.isConfiguredForOccupancy;\n return [\n 'renameEnterprise',\n isConfiguredForOccupancy ? 'renameEnterpriseHiddenPC' : 'renameEnterprise',\n 'edit',\n isConfiguredForOccupancy,\n null,\n 0,\n ['openRenameGroupModal', 'enterNewEnterpriseNameMessage', 'newEnterpriseName'],\n true\n ];\n })();\n }\n\n /**\n * Menu item information for the \"Move Group\" menu item\n */\n @computed('isStandaloneGroupWithMLEG', 'selectedEnterprise')\n get moveGroupMenuItem() {\n return [\n 'mergeEnterprises',\n 'mergeEnterprises',\n null,\n false,\n null,\n 0,\n ['openMoveGroupActionSheet', this.selectedEnterprise],\n this.isStandaloneGroupWithMLEG\n ];\n }\n\n /**\n * Menu item information for the \"Delete Enterprise\" menu item\n */\n @computed('isDeleteHidden', 'isConfiguredForOccupancy')\n get deleteEnterpriseMenuItem() {\n return (async () => {\n const isConfiguredForOccupancy = await this.isConfiguredForOccupancy;\n return [\n 'deleteEnterprise',\n isConfiguredForOccupancy\n ? 'deleteEnterpriseHiddenPC'\n : this.isDeleteHidden\n ? 'deleteEnterpriseHidden'\n : 'deleteEnterprise',\n 'trash',\n this.isDeleteHidden || isConfiguredForOccupancy,\n null,\n 0,\n ['deleteGroup'],\n true\n ];\n })();\n }\n\n /**\n * Function to create an array of DropdownActionItems for creating a new enterprise and new group.\n *\n * @returns{Array}\n */\n @computed(\n 'addLocationMenuItem',\n 'createNewGroupMenuItem',\n 'deleteEnterpriseMenuItem',\n 'moveGroupMenuItem',\n 'renameEnterpriseMenuItem',\n 'selectedEnterprise.hasParentGroup'\n )\n get manageEnterpriseMenuItems() {\n return (async () => {\n //[key, description, iconTitle, disabled, tooltipText, routeId, [action, ...args]]\n const deleteMenuItem = await this.deleteEnterpriseMenuItem;\n const renameMenuItem = await this.renameEnterpriseMenuItem;\n const menuItems = [this.addLocationMenuItem, renameMenuItem, this.moveGroupMenuItem, deleteMenuItem];\n\n if (!this.selectedEnterprise.hasParentGroup) {\n menuItems.unshift(this.createNewGroupMenuItem);\n }\n\n return this.convertToDropdownActionItems(menuItems);\n })();\n }\n\n /**\n * Function to create a \"Create New Group\" DropdownActionItem.\n *\n * @returns{Array}\n */\n @computed('selectedEnterprise.{id,isSCIMGroup}')\n get manageEnterpriseCreateNewGroupItem() {\n return DropdownActionItem.create({\n name: this.intl.tc(this, 'createNewGroup'),\n iconTitle: 'add',\n disabled: this.selectedEnterprise.isSCIMGroup,\n tooltipText: this.selectedEnterprise.isSCIMGroup ? this.intl.tc(this, 'cantElevateSCIMGroup') : null,\n className: null,\n props: { description: this.intl.tc(this, 'subgroup') },\n action: () =>\n this.contextManager.transitionToNativeRoute(EmberEnterpriseNewGroup, this.selectedEnterprise.id)\n });\n }\n\n /**\n * Function to create an array of DropdownActionItems containing the \"Add Location\" and \"Merge Enterprises\" items\n *\n * @returns{Array}\n */\n @computed('addLocationMenuItem', 'moveGroupMenuItem')\n get standaloneMLEGDropdownItems() {\n //[key, description, iconTitle, disabled, tooltipText, routeId, [action, ...args]]\n const menuItems = [this.moveGroupMenuItem, this.addLocationMenuItem];\n\n return this.convertToDropdownActionItems(menuItems);\n }\n\n /**\n * Function to create an array of DropdownActionItems containing the \"Delete Enterprise\" and \"Rename Enterprise\" items\n *\n * @returns{Array}\n */\n @computed('deleteEnterpriseMenuItem', 'renameEnterpriseMenuItem')\n get renameAndDeleteMenuItems() {\n return (async () => {\n //[key, description, iconTitle, disabled, tooltipText, routeId, [action, ...args]]\n const deleteMenuItem = await this.deleteEnterpriseMenuItem;\n const renameMenuItem = await this.renameEnterpriseMenuItem;\n const menuItems = [renameMenuItem, deleteMenuItem];\n\n return this.convertToDropdownActionItems(menuItems);\n })();\n }\n\n /**\n * This getter determines if we display the info-ribbon.\n * The info ribbon should display if a login:\n * 1. Does not have access to a parent group\n * 2. Is seeing a standalone group on this page\n * 3. Has access to MLEG\n * 4. Is an administrator\n */\n @computed(\n 'availableEnterprises',\n 'selectedEnterprise',\n 'selectedEnterprise.{hasParentGroup,isParentGroup}',\n 'model.loginPermissionsCollection.@each.{hasMLEG,isLoginSystemGroupAdmin}'\n )\n get showInfoRibbon() {\n let hasAccessToParentGroup = false,\n isSeeingStandaloneGroup = false,\n hasAccessToMLEG = false,\n isAdministrator = false;\n\n // Does the user/login have access to a parent group?\n if (this.availableEnterprises.filterBy('isParentGroup').length > 0) {\n hasAccessToParentGroup = true;\n }\n\n // Is there a standalone group being displayed?\n if (this.selectedEnterprise != null) {\n if (!this.selectedEnterprise.hasParentGroup && !this.selectedEnterprise.isParentGroup) {\n isSeeingStandaloneGroup = true;\n }\n }\n\n // Does the login have access to MLEG?\n hasAccessToMLEG = this.model.loginPermissionsCollection.get('hasMLEG');\n\n // Is the login an administrator?\n isAdministrator = this.model.loginPermissionsCollection.get('isLoginSystemGroupAdmin');\n return !hasAccessToParentGroup && isSeeingStandaloneGroup && hasAccessToMLEG && isAdministrator;\n }\n\n /**\n * Determine what text to display in the info ribbon.\n */\n @computed('availableEnterprises.length')\n get infoRibbonText() {\n return this.availableEnterprises.length >= 2\n ? this.intl.tc(this, 'streamlineManagement')\n : this.intl.tc(this, 'organizeGroup');\n }\n\n /**\n * The URL of the KB article to link in the info ribbon\n */\n get infoRibbonKBLinkURL() {\n return buildKnowledgeBaseURL(CustomerKnowledgeBase.CreateParentGroup, this.contextManager);\n }\n\n /**\n * Whether the 'Create Subgroup' menu item is visible.\n */\n @and('selectedEnterprise', 'loginSupportsMultiLevelEnterpriseGroups')\n isCreateSubgroupVisible;\n\n /**\n * Whether the 'Move' enterprise menu item is visible.\n */\n @computed('loginSupportsMultiLevelEnterpriseGroups', 'selectedEnterprise.{hasParentGroup,isChildlessGroup}')\n get isStandaloneGroupWithMLEG() {\n return (\n this.loginSupportsMultiLevelEnterpriseGroups &&\n !this.selectedEnterprise.hasParentGroup &&\n this.selectedEnterprise.isChildlessGroup\n );\n }\n\n /**\n * Whether the \"Add Location\" menu item is visible.\n */\n @and('loginDoesNotSupportsSso', 'selectedEnterprise.isChildlessGroup')\n isAddLocationViaLoginCredentialsVisible;\n\n /**\n * Whether the \"Delete\" menu item is not visible.\n */\n @or('hasChildGroups', 'cannotDeletePcSystemGroup')\n isDeleteHidden;\n\n /**\n * Whether the current login is PC and the selected group contains unit(s).\n */\n @and('contextManager.identityModel.isPointCentral', 'hasSystems')\n cannotDeletePcSystemGroup;\n\n /**\n * Whether the group has any systems.\n */\n @notEmpty('selectedEnterprise.systems')\n hasSystems;\n\n /**\n * Whether the group has child groups.\n */\n @notEmpty('selectedEnterprise.childGroups')\n hasChildGroups;\n\n /**\n * Whether the current login supports multi level enterprise groups.\n */\n @alias('model.loginPermissionsCollection.loginSupportsMultiLevelEnterpriseGroups')\n loginSupportsMultiLevelEnterpriseGroups;\n\n /**\n * Whether the login does not support SSO, i.e. it uses ADC credentials.\n */\n @not('model.loginPermissionsCollection.loginSupportsSso')\n loginDoesNotSupportsSso;\n\n /**\n * Whether the \"Remove\" button should be shown in the footer upon selecting a system.\n * This option should be hidden for Point Central and standalone locations.\n */\n @computed('selectedEnterprise.id', 'contextManager.identityModel.isPointCentral')\n get showRemoveButton() {\n return (\n !this.contextManager.identityModel.isPointCentral &&\n this.selectedEnterprise?.id !== LOCATIONS_NOT_IN_ENTERPRISE\n );\n }\n\n /**\n * Action for creating a new Enterprise.\n */\n @action\n createNewEnterprise() {\n this.contextManager.transitionToNativeRoute(EmberEnterpriseNewEnterprise);\n }\n\n /**\n * Updates selectedCustomerIds or selectedGroupIds after a checkbox is selected.\n *\n * @param {components.enterprise.groups.BaseItemRow} itemRow\n */\n @action\n selectRow(itemRow) {\n const selectedIds = itemRow.isSystem ? this.selectedCustomerIds : this.selectedGroupIds,\n { id } = itemRow.model;\n\n set(\n this,\n itemRow.isSystem ? 'selectedCustomerIds' : 'selectedGroupIds',\n selectedIds.includes(id) ? selectedIds.without(id) : selectedIds.concat(id)\n );\n }\n\n /**\n * This method deletes the topmost group or a standalone group\n **/\n @action\n deleteGroup() {\n const { selectedEnterprise } = this;\n this.modals.showConfirmationDialog(\n this.intl.t('components.enterprise.groups.deleteBtnTitle'),\n // We may have extra info to give to the end-user in the confirmation message.\n this.intl.t('components.enterprise.groups.deleteConfirmationDescription', {\n groupName: escapeHtml(selectedEnterprise.description)\n }),\n {\n text: this.intl.t('generic.delete'),\n css: 'btn-color-danger',\n action: async () => {\n await this.systemGroupsManager.deleteSystemGroup(selectedEnterprise);\n const enterpriseToSelectInDropdown = await this.getSelectedEnterpriseForDropdown();\n this.updateSelectedEnterprise(enterpriseToSelectInDropdown.id);\n }\n }\n );\n }\n\n // #region Modals and Action Sheets\n\n /**\n * Opens up the modal for renaming the system group.\n *\n * @param {String} instructionsTextResourceName\n * @param {String} placeholderTextResourceName\n */\n @action\n openRenameGroupModal(instructionsTextResourceName, placeholderTextResourceName) {\n const { selectedEnterprise, modals } = this;\n\n return openRenameGroupModal(\n selectedEnterprise,\n modals,\n ...[instructionsTextResourceName, placeholderTextResourceName].map(\n (n) => `enterprise.groups.new-enterprise.${n}`\n )\n );\n }\n\n /**\n * Whether or not the move group action sheet should be open.\n */\n @tracked\n isMoveGroupActionSheetOpen = false;\n\n /**\n * Properties that should be passed into the move group action sheet.\n */\n @tracked\n moveGroupProperties = null;\n\n /**\n * Opens the modal for merging enterprise into another enterprise.\n */\n @action\n openMoveGroupActionSheet(enterpriseToMove) {\n const {\n intl,\n notificationManager,\n model: { systemGroups }\n } = this;\n\n if (!enterpriseToMove.isChildlessGroup) {\n notificationManager.addError(intl.tc(this, 'cannotMergeError'));\n return;\n }\n\n this.moveGroupProperties = {\n childGroup: enterpriseToMove,\n systemGroups,\n isMovingChildGroup: isPresent(enterpriseToMove.belongsTo('parentGroup').id()),\n afterSuccessfulSave: (parentGroupRow) => {\n set(this, 'selectedEnterprise', parentGroupRow.model);\n }\n };\n\n this.isMoveGroupActionSheetOpen = true;\n }\n\n /**\n * Move selected locations.\n *\n */\n @action\n async openMoveLocationsModal() {\n const groupsWithAllSystemsSelected = this.getSystemGroupsForSystems();\n const acPermissions = await this.model.acPermissionsCollection;\n this.modals.showModal(MoveSystemsModal, {\n selectedCustomerIds: this.selectedCustomerIds,\n systemGroups: this.model.systemGroups,\n useAPUMRetainUsers: acPermissions.useAPUMRetainUsers,\n moveSelectedSystems: (group, selectedCustomerIds, userAccessEnum) => {\n return group.model\n .moveSystemsToGroup(selectedCustomerIds, userAccessEnum)\n .then(async (groupActionResponse) => {\n if (groupsWithAllSystemsSelected.length) {\n // Do not copy this deprecated usage. If you see this, please fix.\n // eslint-disable-next-line ember/no-runloop\n later(() =>\n this.openDeleteEmptyGroupModal(groupsWithAllSystemsSelected, groupActionResponse)\n );\n } else {\n await this.systemGroupsManager.simpleContextSwitchHandler(groupActionResponse);\n }\n });\n }\n });\n }\n\n /**\n * Add selected locations to group.\n *\n */\n @action\n openAddLocationsModal() {\n this.modals.showModal(AddSystemsModal, {\n selectedCustomerIds: this.selectedCustomerIds,\n systemGroups: this.model.systemGroups,\n addSelectedSystems: (group, selectedCustomerIds) => {\n return group.model.addSystemsToGroup(selectedCustomerIds).then(async () => {\n const standaloneSystemsLength = await this.refreshStandaloneSystems();\n if (!standaloneSystemsLength) {\n this.updateSelectedEnterprise(this.availableEnterprises.firstObject.id);\n }\n\n this.refreshSystemGroupsAfterAction();\n });\n }\n });\n }\n\n /**\n * Modal used for removing selected locations\n * from a group.\n */\n @action\n async openRemoveLocationsModal() {\n const groupsWithAllSystemsSelected = this.getSystemGroupsForSystems();\n const acPermissions = await this.model.acPermissionsCollection;\n this.modals.showModal(RemoveSystemsModal, {\n selectedCustomerIds: this.selectedCustomerIds,\n selectedEnterprise: this.selectedEnterprise,\n useAPUMRetainUsers: acPermissions.useAPUMRetainUsers,\n removeSelectedSystems: (group, selectedCustomerIds, userAccessEnum) => {\n return group\n .removeSystemsFromGroup(selectedCustomerIds, userAccessEnum)\n .then(async (groupActionResponse) => {\n const numberOfRemovedSystems = this.selectedCustomerIds.length;\n this.notificationManager.addSuccess(\n this.intl.tc(this, 'successfullyRemovedLocations', { count: numberOfRemovedSystems })\n );\n\n const removingLocations = true;\n if (groupsWithAllSystemsSelected.length) {\n // Do not copy this deprecated usage. If you see this, please fix\n // eslint-disable-next-line ember/no-runloop\n later(() =>\n this.openDeleteEmptyGroupModal(\n groupsWithAllSystemsSelected,\n groupActionResponse,\n removingLocations\n )\n );\n } else {\n await this.systemGroupsManager.simpleContextSwitchHandler(\n groupActionResponse,\n removingLocations\n );\n }\n });\n }\n });\n }\n\n /**\n * Opens the remove group action sheet\n * for the selected group.\n *\n * @param {SystemGroup} selectedGroup\n */\n @action\n showRemoveGroupActionSheet(selectedGroup) {\n this.isRemovingGroup = true;\n this.groupToRemove = selectedGroup;\n }\n\n /**\n * Handles the 'Move' button click\n */\n @action\n moveButtonClick() {\n this.showLocationsNotInEnterprise ? this.openAddLocationsModal() : this.openMoveLocationsModal();\n }\n\n /**\n * Takes an array of menu item information formatted as:\n * [key, description, iconTitle, disabled, tooltipText, routeId, [action, ...args]]\n * and converts it to an array of DropdownActionItems\n */\n convertToDropdownActionItems(menuItems) {\n return menuItems\n .filterBy('lastObject')\n .map(([key, description, iconTitle, disabled, tooltipText, routeId, [action, ...args]]) =>\n DropdownActionItem.create({\n name: this.intl.tc(this, key),\n iconTitle: iconTitle,\n disabled: disabled,\n tooltipText: tooltipText,\n className: key === 'deleteEnterprise' ? 'manage-groups-dropdown-delete-action' : null,\n props: { description: this.intl.tc(this, description) },\n action: routeId\n ? () => this.contextManager.transitionToNativeRoute(routeId, this.selectedEnterprise.id)\n : () => this[action](...args)\n })\n );\n }\n\n /**\n * Opens a confirm delete modal for empty groups\n */\n openDeleteEmptyGroupModal(groupsWithAllSystemsSelected, groupActionResponse, removingLocations = false) {\n const contextSwitchHandler = async () => {\n await this.systemGroupsManager.simpleContextSwitchHandler(groupActionResponse, removingLocations);\n };\n\n this.modals.showModal(ConfirmDeleteEmptyGroup, {\n title: this.intl.t('components.enterprise.groups.deleteBtnTitle'),\n groups: groupsWithAllSystemsSelected,\n delete: async () => {\n let deletingSelectedEnterprise = false;\n\n await Promise.allSettled(\n groupsWithAllSystemsSelected.map(async (group) => {\n deletingSelectedEnterprise = group == this.selectedEnterprise || deletingSelectedEnterprise;\n await group.destroyRecord();\n })\n ).then(async () => {\n this.notificationManager.addSuccess(\n this.intl.t('components.enterprise.groups.groupDeleted', {\n count: groupsWithAllSystemsSelected.length\n })\n );\n });\n\n if (deletingSelectedEnterprise) {\n const enterpriseToSelectInDropdown = await this.getSelectedEnterpriseForDropdown();\n this.updateSelectedEnterprise(enterpriseToSelectInDropdown.id);\n }\n\n await contextSwitchHandler();\n },\n cancel: contextSwitchHandler\n });\n }\n\n /**\n * Helper function to get system groups based off our selected customer ids\n * Returns a list of system groups where every system in each group is part of our selected customer ids\n */\n getSystemGroupsForSystems() {\n return this.model.systemGroups.filter(\n (sg) => sg.systems.length && sg.systems.every((s) => this.selectedCustomerIds.includes(s.id))\n );\n }\n\n /**\n * Clears the selected customer ids and refreshes\n * the available system groups.\n */\n @action\n refreshSystemGroupsAfterAction() {\n this.selectedCustomerIds = [];\n this.store.findAll('systems/system-group');\n this.contextManager.refreshAvailableSystems();\n this.refreshGroups++;\n }\n\n /**\n * Resends the query defined in the model to get the latest standalone systems list.\n */\n @action\n async refreshStandaloneSystems() {\n const systems = await this.store.query('systems/system', { onlyRetrieveGrouplessSystems: true });\n set(this, 'model.systems', systems);\n return systems?.length;\n }\n\n // #endregion\n}\n","import { set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberEnterpriseGroups } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type Transition from '@ember/routing/transition';\nimport type AccessControlPermissionsCollection from 'customer-site/models/access-control/access-control-permissions-collection';\nimport type LoginPermissionsCollection from 'customer-site/models/logins/login-permissions-collection';\nimport type SystemModel from 'customer-site/models/systems/system';\nimport type SystemGroupModel from 'customer-site/models/systems/system-group';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type SystemGroupsManagerService from 'customer-site/services/system-groups-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseGroupsIndexController from './controller';\n\nexport type GroupsRouteModel = {\n systemGroups: ADCAsyncStoreFindAll;\n systems: ADCAsyncStoreFindAll;\n loginPermissionsCollection: ADCAsyncStoreFindRecord;\n acPermissionsCollection: ADCAsyncStoreFindRecord;\n};\n\n/**\n * @classdesc List of Groups\n */\nexport default class GroupsRoute extends AdcBaseRoute {\n @service declare store: Store;\n @service declare systemGroupsManager: SystemGroupsManagerService;\n @service declare identityManager: IdentityManager;\n\n /** @override **/\n routeId = EmberEnterpriseGroups;\n\n /** @override */\n queryParams = {\n defaultGroupId: {\n replace: true,\n type: 'string'\n }\n };\n\n /** @override **/\n model(): GroupsRouteModel {\n const permissionsId = this.identityManager.getSelectedSystemGroupId();\n return {\n systemGroups: this.store.findAll('systems/system-group'),\n systems: this.store.query('systems/system', { onlyRetrieveGrouplessSystems: true }),\n loginPermissionsCollection: this.store.findRecord('logins/login-permissions-collection', permissionsId),\n acPermissionsCollection: this.store.findRecord(\n 'access-control/access-control-permissions-collection',\n permissionsId\n )\n };\n }\n\n /** @override */\n setupController(\n controller: EnterpriseGroupsIndexController,\n model: ModelFrom,\n transition: Transition\n ) {\n super.setupController(controller, model, transition);\n set(controller, 'selectedEnterprise', undefined);\n\n this.setUpSystemGroupsManagerService(controller);\n }\n\n private setUpSystemGroupsManagerService(controller: EnterpriseGroupsIndexController): void {\n const {\n openMoveGroupActionSheet,\n refreshStandaloneSystems: refreshStandaloneSystemsHandler,\n refreshSystemGroupsAfterAction,\n showRemoveGroupActionSheet\n } = controller;\n\n this.systemGroupsManager.setUpSystemGroupsManagerService({\n openMoveGroupActionSheet,\n refreshStandaloneSystemsHandler,\n refreshSystemGroupsAfterAction,\n showRemoveGroupActionSheet\n });\n }\n\n /** @override */\n resetController(controller: EnterpriseGroupsIndexController, isExiting: boolean, transition: Transition) {\n if (isExiting) {\n controller.updateSelectedEnterprise(undefined);\n }\n\n super.resetController(controller, isExiting, transition);\n }\n}\n","import { action, computed, set } from '@ember/object';\nimport { notEmpty, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport GroupRow from 'customer-site/components/enterprise/groups/group-row';\nimport { processValidationErrorsFromResponse } from '@adc/ajax/utils/validation-error-processing';\nimport NewGroupController from '../new-group/controller';\n\n/**\n * @classdesc\n *\n * Controller for new enterprise.\n *\n * @class enterprise.groups.new-enterprise.NewEnterpriseController\n * @extends enterprise.groups.new-group.NewGroupController\n */\nexport default class NewEnterpriseController extends NewGroupController {\n @service store;\n @service intl;\n\n /** @override **/\n showGroupSelector = true;\n\n /** @override **/\n get newGroupInstructions() {\n return this.intl.tc(this, 'enterNewEnterpriseNameMessage');\n }\n\n /** @override */\n get newGroupNameTranslationKey() {\n return 'newEnterpriseName';\n }\n\n @computed('newGroupDescription')\n get selectGroupsText() {\n if (this.newGroupDescription) {\n return this.intl.tc(this, 'selectGroupsText', { groupName: this.newGroupDescription });\n }\n\n return this.intl.tc(this, 'selectGroupsNoNameText');\n }\n\n /** @override */\n @computed('selectedGroupIds')\n get childGroups() {\n const { selectedGroupIds, store } = this;\n return selectedGroupIds.map((id) => store.peekRecord('systems/systemGroup', id));\n }\n\n /** @override */\n @reads('childGroups.length')\n showAdminLoginsSelectionModal;\n\n /** @override **/\n @action\n async saveGroup(newName) {\n const { selectedGroupIds, store } = this,\n childGroups = selectedGroupIds.map((id) => store.peekRecord('systems/systemGroup', id));\n\n this.newGroup = await store.createRecord('systems/system-group');\n\n set(this.newGroup, 'description', newName);\n\n if (childGroups.length && !this.isEmptyGroup) {\n set(this.newGroup, 'childGroups', childGroups);\n }\n\n return await this.newGroup.save().catch((error) => {\n this.descriptionError = '';\n processValidationErrorsFromResponse.call(this, error);\n throw error;\n });\n }\n\n /**\n * The selected enterprise IDs.\n *\n * @type {Array}\n */\n selectedGroupIds = [];\n\n @notEmpty('selectedGroupIds')\n isAtLeastOneGroupSelected;\n\n /**\n * When a checkbox is clicked.\n *\n * @param {components.enterprise.groups.BaseItemRow} group\n */\n @action\n selectRow(group) {\n const { selectedGroupIds } = this;\n const id = group.model.id;\n\n set(\n this,\n 'selectedGroupIds',\n selectedGroupIds.includes(id) ? selectedGroupIds.without(id) : selectedGroupIds.concat(id)\n );\n }\n\n /**\n * Returns the enterprises available to be added as child groups.\n *\n * @returns {Array}\n */\n @computed('resolvedModel.{systemGroups,loginSupportsMultiLevelEnterpriseGroups}', 'showGroupSelector')\n get availableEnterprises() {\n const { systemGroups, loginSupportsMultiLevelEnterpriseGroups } = this.resolvedModel || {};\n\n return loginSupportsMultiLevelEnterpriseGroups\n ? (systemGroups || [])\n .filter((e) => {\n return !e.isNew && !e.hasParentGroup && e.isChildlessGroup;\n })\n .map(\n (group) =>\n new GroupRow(this.store, group, {\n showDropdown: false,\n isSelectable: true\n })\n )\n : [];\n }\n}\n","import { EmberEnterpriseNewEnterprise } from '../../../enums/CustomerPageUrl';\nimport BaseNewGroupRoute from '../base-new-group-route';\n\n/**\n * @classdesc\n *\n * A route for adding a new empty group.\n *\n * @class enterprise.groups.new-enterprise.NewEnterpriseRoute\n * @extends enterprise.groups.BaseNewGroupRoute\n */\nexport default class NewEnterpriseRoute extends BaseNewGroupRoute {\n /** @override */\n routeId = EmberEnterpriseNewEnterprise;\n\n /** @override **/\n deactivate() {\n this.controller.set('newGroupDescription', null);\n this.controller.set('selectedGroupIds', []);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\",{ moduleName: \"customer-site/components/modals/enterprise/groups/elevate-group-logins/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { assert } from '@ember/debug';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { fnEmpty } from 'customer-site/utils/ember';\nimport { intlPath } from '@adc/i18n/path';\nimport { getModalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\n\n/**\n * @classdesc\n * The modal used for elevating admin logins to a parent group.\n */\n@intlPath({ path: 'modals/enterprise/groups/elevate-group-logins' })\nexport default class ModalsElevateGroupLoginsComponent extends Component {\n @service contextManager;\n @service intl;\n @service store;\n @service modals;\n\n /** @override */\n constructor(owner, args) {\n super(owner, args);\n\n assert(\n 'The performGroupActionWithSelectedLogins function must be passed to the elevate group logins component.',\n this.args.model.performGroupActionWithSelectedLogins !== fnEmpty\n );\n }\n\n /**\n * Array of the selected login names\n *\n * @function\n * @returns {Array}\n */\n @tracked\n selectedLogins = [];\n\n /**\n * Array of the available login names\n *\n * @function\n * @returns {Array}\n */\n availableLogins = [];\n\n /**\n * The buttons for saving or canceling moving the system.\n *\n * @type {Array}\n */\n get buttons() {\n return [\n ['generic.back', '', () => !!this.clearSelectionAndCloseModal()],\n ['generic.move', 'btn-color-primary', () => this.saveSelectionAndCloseModal()]\n ].map(([text, cssClass, action]) => getModalFooterButton(this.intl.t(text), action, cssClass));\n }\n\n /**\n * Clears the currently selected logins and closes the modal.\n *\n */\n @action\n clearSelectionAndCloseModal() {\n this.selectedLogins = [];\n this.modals.closeModal();\n }\n\n /**\n * Performs the group action with the selected logins, clears the currently selected logins, and closes the modal.\n *\n * @returns {Promise}\n */\n @action\n async saveSelectionAndCloseModal() {\n await this.args.model.performGroupActionWithSelectedLogins(this.selectedLogins);\n this.clearSelectionAndCloseModal();\n return false;\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed, setProperties } from '@ember/object';\nimport { empty, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isBlank } from '@ember/utils';\nimport ElevateGroupLogins from 'customer-site/components/modals/enterprise/groups/elevate-group-logins/index';\nimport { processValidationErrorsFromResponse } from '@adc/ajax/utils/validation-error-processing';\nimport { BinaryListItem } from '@adc/ui-components/components/simple-binary/list';\nimport { EmberEnterpriseGroups } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Page for creating / editing enterprise group.\n *\n * @class enterprise.groups.new-group.NewGroupController\n * @extends Ember.Controller\n */\nexport default class NewGroupController extends EmberController {\n @service contextManager;\n @service intl;\n @service modals;\n @service notificationManager;\n @service store;\n\n @not('selectedEnterprise.isSystemlessGroup')\n parentContainsUnits;\n\n /**\n * The new group being created.\n */\n @tracked newGroup;\n\n @tracked isEmptyGroup = false;\n\n @computed('isEmptyGroup')\n get binaryItems() {\n const { intl } = this;\n\n return [\n new BinaryListItem({\n label: intl.tc(this, 'emptyGroupLabel'),\n state: this.isEmptyGroup\n }),\n new BinaryListItem({\n label: intl.tc(this, 'groupContainingGroupsLabel'),\n state: !this.isEmptyGroup\n })\n ];\n }\n\n /**\n * The system group model for the enterprise whose id was provided\n * as a slug in the url.\n */\n @computed('resolvedModel.{systemGroups,selectedEnterpriseId}')\n get selectedEnterprise() {\n const { selectedEnterpriseId: groupId } = this.resolvedModel;\n return this.resolvedModel?.systemGroups?.findBy('id', groupId);\n }\n\n /**\n * Whether to show the selector for choosing enterprises to add as child groups.\n *\n * @type {boolean}\n */\n showGroupSelector = false;\n\n /**\n * The name of the group.\n *\n * @type {String}\n * @default null\n */\n newGroupDescription = null;\n\n /**\n * The enterprises available to be added as child groups.\n *\n * @returns {Array}\n */\n get availableEnterprises() {\n return [];\n }\n\n /**\n * Whether there are no enterprises available to be added as child groups.\n *\n * @type {bool}\n */\n @empty('availableEnterprises')\n noEnterprisesAvailable;\n\n /**\n * Translation key for new group name instructions.\n *\n * @returns {String}\n */\n @computed('parentContainsUnits', 'selectedEnterprise.description')\n get newGroupInstructions() {\n const { intl, selectedEnterprise } = this;\n\n return this.parentContainsUnits\n ? intl.tc(this, 'createParentGroupMessage', {\n groupName: selectedEnterprise?.description || intl.t('generic.unknown')\n })\n : intl.tc(this, 'enterNewGroupNameMessage');\n }\n\n /**\n * Translation key for new group name placeholder.\n *\n * @type {String}\n */\n get newGroupNameTranslationKey() {\n return this.parentContainsUnits ? 'newEnterpriseName' : 'newGroupName';\n }\n\n /**\n * Array of child groups to get available admin logins from, to use in the modal for selecting logins to elevate to a new parent group.\n *\n * @returns {models.systems.systemGroup[]}\n */\n @computed('selectedEnterprise')\n get childGroups() {\n return [this.selectedEnterprise];\n }\n\n /**\n * Whether to show the modal to select admin logins to elevate to the parent group.\n *\n * @returns {boolean}\n */\n @computed()\n get showAdminLoginsSelectionModal() {\n return false;\n }\n\n /**\n * Save the newly created group.\n * @param newName\n * @returns {Promise}\n */\n @action\n async saveNewGroupAction(newName) {\n const { intl, modals, notificationManager, showAdminLoginsSelectionModal, childGroups } = this,\n trimmedNewName = newName?.trim();\n\n if (isBlank(trimmedNewName)) {\n notificationManager.addError(intl.t('enterprise.groups.new-group.groupNameRequired'));\n return;\n }\n\n if (showAdminLoginsSelectionModal && !this.isEmptyGroup) {\n modals.showModal(ElevateGroupLogins, {\n groups: childGroups,\n performGroupActionWithSelectedLogins: async (selectedLogins) => {\n await this.saveAndTransition(trimmedNewName, selectedLogins);\n }\n });\n } else {\n return await this.saveAndTransition(trimmedNewName);\n }\n }\n\n /**\n * Save new system group.\n *\n * @param {String} newName\n * @returns {Promise}\n */\n @action\n async saveGroup(newName) {\n const { selectedEnterprise, store, contextManager } = this;\n\n if (!selectedEnterprise.isSystemlessGroup || selectedEnterprise.hasCommitments) {\n // if what would be the parent group contains units or commitments, we want to instead move its systems to a new child group.\n this.newGroup = this.selectedEnterprise;\n await this.newGroup.moveSystemsToChildGroup(newName);\n\n if (contextManager.getSelectedSystemGroupId() === this.newGroup.id) {\n // Since we're elevating the level of the current group, we need to refresh to get a parent group context.\n await contextManager.refreshApplication(true, true);\n }\n\n return contextManager.refreshAvailableSystems();\n }\n\n this.newGroup = await store.createRecord('systems/system-group', { childGroups: [] });\n\n // Set name and parent for new group.\n setProperties(this.newGroup, {\n description: newName,\n parentGroup: selectedEnterprise\n });\n\n return this.newGroup.save().catch((error) => {\n this.descriptionError = '';\n processValidationErrorsFromResponse.call(this, error);\n throw error;\n });\n }\n\n /**\n * Return to the Manage Groups page if the cancel / back button is pressed.\n */\n @action\n cancelAction() {\n this.contextManager.transitionToPreviousRoute();\n }\n\n /**\n * Transition to the Manage Groups page, but provide the id of the group\n * (or the group's parent for a child group) to be selected upon\n * loading the page.\n *\n * @param {systems/system-group} group\n */\n @action\n transitionToManageGroups(group) {\n this.contextManager.transitionToNativeRoute(EmberEnterpriseGroups, {\n queryParams: {\n defaultGroupId: (group.isHighestGroupWithAccess ? group : group.parentGroup).get('id')\n }\n });\n }\n\n /**\n * Handles saving the group, elevating logins if necessary, and redirecting\n * back to the manage groups page.\n *\n * @param {string} newName\n * @param {string[]} selectedLogins\n */\n async saveAndTransition(newName, selectedLogins) {\n await this.saveGroup(newName);\n\n if (selectedLogins) {\n await this.newGroup.elevateChildGroupAdminLogins(selectedLogins).catch((response) => {\n this.notificationManager.addError(response.errors.errors[0].detail);\n });\n }\n\n this.contextManager.refreshAvailableSystems();\n this.transitionToManageGroups(this.newGroup);\n }\n}\n","import { inject as service } from '@ember/service';\nimport { EmberEnterpriseNewGroup, EmberEnterpriseGroups } from '../../../enums/CustomerPageUrl';\nimport BaseNewGroupRoute from '../base-new-group-route';\n\n/**\n * @classdesc\n *\n * A route for adding a new empty group.\n *\n * @class enterprise.groups.new-group.NewGroupRoute\n * @extends enterprise.groups.BaseNewGroupRoute\n */\n\nexport default class NewGroupRoute extends BaseNewGroupRoute {\n @service navigation;\n\n /** @override */\n routeId = EmberEnterpriseNewGroup;\n\n /** @override **/\n model({ id_selected_enterprise }) {\n return {\n ...super.model(),\n selectedEnterpriseId: id_selected_enterprise\n };\n }\n\n /**\n * Checks whether the selected enterprise exists. If we cannot find one,\n * transition back to the Manage Groups page.\n */\n afterModel(model) {\n model.systemGroups.then((systemGroups) => {\n const group = systemGroups.findBy('id', model.selectedEnterpriseId);\n if (!group?.isHighestGroupWithAccess) {\n this.navigation.transitionToRouteId(EmberEnterpriseGroups);\n this.notificationManager.addError(this.intl.tc(this, 'newGroupInvalidGroupIdErrorMessage'));\n }\n });\n }\n\n /** @override **/\n deactivate() {\n this.controller.set('newGroupDescription', null);\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed, get, set, setProperties } from '@ember/object';\nimport { alias, equal, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport FilterBar from 'customer-site/components/filters/filter-bar/index';\nimport { STRAccessPointsTabTour } from 'customer-site/enums/HelpTourType';\nimport KeywordSearchToolbar from '@adc/ui-components/components/keyword-search-toolbar';\nimport DropdownSelectItem, { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\nimport { utcToZonedTime } from 'date-fns-tz';\nimport { SearchFilter, DropdownFilter, DateFilter } from '../../classes/helpers/filters/filters';\nimport { startSTRAccessPointsTabTour } from '../../components/enterprise/locations/access-points-str-tour/access-points-str-tour';\nimport { DeviceAccess, Fleet, SingleSystemDetail, STR, Video } from '../../enums/LocationDataType';\nimport { getOccupancyFilterSelection } from './helpers/filters';\n\n/**\n * Creates a dropdown item array for the given occupancy filter. Selects the values of the filters that have been applied.\n *\n * @param {String} type\n * @returns {Array}\n * @memberof enterprise.locations.LocationsController\n */\nfunction getStatusDropdownItems(type) {\n const options = this.model.occupancyFilterOptions;\n const selectedFilters = this.model.occupancyFilterSelection;\n return options.get(type).map(({ description: name, id: value = 0 }) =>\n DropdownSelectItem.create({\n name,\n value,\n state: (selectedFilters[type] || []).includes(value) ? SELECTED : UNSELECTED\n })\n );\n}\n\n/**\n * Given a response from the back end after requesting a report webview, handle the display of the webview or handle the error\n *\n * @param {Object} response - The response object returned from the back end when we request a web view\n * @param {Number} locationType - The LocationDataType enum that determines which error message to display if one occurs\n * @param {NavigationService} navigation - The navigation service so we can transition to the web view\n * @param {NotificationManager} notificationManager - The notification manager service so we can display an error\n * @param {identityManager} identityManager - The identity manager service so we can check if we're on the mobile app\n * @param {intl} intl - The intl service so we can output the correct error message\n */\nexport async function displayReportFromResponse(\n response,\n locationType,\n navigation,\n notificationManager,\n identityManager,\n intl\n) {\n try {\n const { value } = await response;\n // We want to open the report in the same page if this is the mobile app,\n // but we want to open it in a new tab/window otherwise.\n if (identityManager.identityModel.isMobileApp) {\n navigation.transitionToUrlInNewBrowserWindow(value);\n return;\n }\n\n window.open(value, null, 'scrollbars=yes,menubar=no,height=750,width=1000,toolbar=no,location=no,status=no');\n } catch (ex) {\n // Mapping between the location type and the resource path for error messages for issues with report generation\n const errorMessageResourcePaths = {\n [Fleet]: 'errorFleetTripReport',\n [Video]: 'errorVHR'\n },\n errorMessageResourcePath = errorMessageResourcePaths[locationType];\n notificationManager.addError(intl.t(`enterprise.locations.${errorMessageResourcePath}`));\n }\n}\n\n/**\n * @classdesc\n * Locations page parent controller.\n *\n * @class enterprise.locations.LocationsController\n * @extends Ember.Controller\n */\n\nexport default class LocationsController extends EmberController {\n @service ajax;\n @service identityManager;\n @service intl;\n @service media;\n @service navigation;\n @service notificationManager;\n @service router;\n @service store;\n @service helpTour;\n\n get routeToolbar() {\n return this.isOccupancy ? FilterBar : KeywordSearchToolbar;\n }\n\n // region Query params\n // NOTE: All of these except the searchString and searchKeyword are currently only used by the Occupancy page.\n\n /** @override */\n queryParams = [\n 'searchString',\n 'searchKeyword',\n 'checkIn',\n 'checkOut',\n 'occupancyStatus',\n 'cleaningStatus',\n 'inspectionStatus',\n 'propertyStatus'\n ];\n\n /**\n * Array of the names of the query params that support multiple selection.\n *\n * @type { Array }\n */\n multiSelectQueryParams = ['occupancyStatus', 'cleaningStatus', 'inspectionStatus', 'propertyStatus'];\n\n /**\n * Text to search for.\n *\n * @type {string}\n */\n searchString = '';\n\n /**\n * Keyword on which the search string should be applied.\n *\n * @type {string}\n */\n searchKeyword = '';\n\n /**\n * Date of check-in.\n *\n * @type {Date | null}\n */\n checkIn = null;\n\n /**\n * Date of check-out.\n *\n * @type {Date | null}\n */\n checkOut = null;\n\n /**\n * Occupancy state to search for.\n *\n * @type {Number | null}\n */\n occupancyStatus = null;\n\n /**\n * Cleaning state to search for.\n *\n * @type {Number | null}\n */\n cleaningStatus = null;\n\n /**\n * Inspection state to search for.\n *\n * @type {Number | null}\n */\n inspectionStatus = null;\n\n /**\n * Property readiness state to search for.\n *\n * @type {Number | null}\n */\n propertyStatus = null;\n\n /**\n * Property that shows the 'Clear Filters' button even if no occupancy filters are selected. Allows for the location\n * filters to be cleared when no occupancy filters are selected.\n *\n * @type {boolean}\n */\n showClearFilterButtonWithoutFilters = false;\n\n /**\n * The string representing the active filters object\n *\n * @type {string}\n */\n @tracked\n locFiltersString = '{}';\n\n /**\n * Holds the current state of the identity model\n *\n */\n @alias('identityManager.identityModel')\n identityModel;\n\n /**\n * Property that represents the current Expand All / Collapse All state\n *\n * @type {boolean}\n */\n @tracked\n expandAll = window.localStorage.getItem('parentGroupExpandState')?.includes('true') ?? false;\n\n /**\n * The expand state we set each group row to. Different from expandAll, since we change that based on other conditions.\n */\n @tracked\n defaultExpandState = this.expandAll;\n\n // endregion\n\n /**\n * Whether this has a PMS integration. If this is true, we will display an \"Action\" button\n * with a \"Sync PMS\" option in the top menu\n *\n * @type {boolean}\n */\n @reads('identityModel.selectedSystemGroup.showSyncToPms')\n isPMSIntegration;\n\n /**\n * Flag to check if we're on the occupancy view\n *\n * @function\n * @returns {boolean}\n */\n @equal('model.locationDataType', STR)\n isOccupancy;\n\n /**\n * We want to hide filters for the Device Access view.\n */\n @equal('model.locationDataType', DeviceAccess)\n isDeviceAccess;\n\n /**\n * Flag to check if we should show the toggle to switch to the details view.\n *\n * @type {boolean}\n */\n @reads('model.meta.showLocationsDetailsViewToggle')\n showLocationsDetailsViewToggle;\n\n /**\n * Observer to initialize the visibility of the filters.\n *\n * @function\n */\n @action\n initiallyShowFilters() {\n const { meta, filterVisibilityInitialized } = this.model;\n\n // filterVisibilityInitialized will reset to undefined whenever the model changes (new page load)\n if (meta !== undefined && !filterVisibilityInitialized) {\n setProperties(this, {\n 'model.filterVisibilityInitialized': true,\n showFilters: meta.showFilters ?? !this.identityModel.isMobileApp\n });\n }\n }\n\n /**\n * Gets if the current selected group is a parent group\n *\n * @type {boolean}\n */\n @computed('identityModel.selectedSystemGroup.isParentGroup')\n get isParentGroup() {\n return get(this.identityModel.selectedSystemGroup, 'isParentGroup');\n }\n\n /**\n * Sync moved-in residents from PMS\n */\n @action\n async syncUsers() {\n try {\n this.notificationManager.addSuccess(this.intl.tc(this, 'syncToPmsStarted'));\n await this.ajax.apiRequest(\n 'enterprise/settings/propertyManagementResidents/processResidents',\n null,\n null,\n 'POST'\n );\n this.notificationManager.addSuccess(this.intl.tc(this, 'syncToPmsSuccess'));\n } catch (error) {\n this.notificationManager.addError(error.errors[0].detail);\n }\n }\n\n /**\n * Whether or not the search bar should be hidden.\n *\n * @function\n * @returns {boolean}\n */\n @computed('isOccupancy', 'media.isMobile', 'model.meta.totalLocationsInGroup', 'isDeviceAccess')\n get shouldHideSearchBar() {\n // Always show the search bar on web.\n // Also, because Occupancy has a search bar with extra filters, always show it (regardless of web/mobile).\n if (!this.media.isMobile || this.isOccupancy || this.isDeviceAccess) {\n return false;\n }\n\n // If the data hasn't loaded yet, default to hidden.\n // If the data has loaded, but the group size (regardless of filters) is under ten locations, also hide the search bar.\n return isEmpty(this.model.meta?.totalLocationsInGroup) || this.model.meta.totalLocationsInGroup < 10;\n }\n\n /**\n * Text to describe how many locations match the current filter criteria.\n *\n * @type {string}\n */\n @computed('model.meta.{locationsCount,totalLocationsInGroup}', 'searchString')\n get locationsCountText() {\n if (!this.model.meta || isEmpty(this.model.meta.locationsCount)) {\n return undefined;\n } else if (this.searchString) {\n return (\n this.model.meta.locationsCount +\n '/' +\n this.intl.tc(this, 'locationsCount', { numLocations: this.model.meta.totalLocationsInGroup })\n );\n }\n\n return this.intl.tc(this, 'locationsCount', { numLocations: this.model.meta.locationsCount });\n }\n\n /**\n * Whether or not to show the view more button.\n *\n * @type {boolean}\n */\n @computed('filtersString', 'isParentGroup', 'model.{filterIds,locationDataType,locations.[]}', 'searchString')\n get showViewMoreButton() {\n const { locations, meta } = this.model;\n let allLocationsRetrieved;\n\n if (this.isParentGroup) {\n // Parent Enterprise behavior\n const groupIds = [...new Set(locations.map((l) => l.groupId))],\n groupsCount =\n this.searchString != '' || (this.model.filterIds != undefined && this.model.filterIds != '')\n ? meta.groupsCount\n : meta.totalGroupsCount;\n\n allLocationsRetrieved = groupIds.length >= groupsCount;\n } else {\n // Normal Enterprise behavior\n allLocationsRetrieved = locations.length === meta.locationsCount;\n }\n\n return !allLocationsRetrieved && this.model.locationDataType !== SingleSystemDetail;\n }\n\n /**\n * The available keyword suggestions.\n * @returns {Promise<[{ displayName: string, value: string }]>}\n */\n @computed()\n get keywordSuggestions() {\n return this.ajax\n .apiRequest('enterprise/locations/locations/getKeywordSuggestions')\n .then((response) => response.data.mapBy('attributes'));\n }\n\n /**\n * The keyword suggestion options shown in the dropdown.\n * @returns {Promise}\n */\n @computed('keywordSuggestions', 'model.meta.showLocationsDetailsView', 'searchKeyword')\n get keywordOptions() {\n return (async () => {\n if (this.model?.meta?.showLocationsDetailsView && !this.searchKeyword) {\n return await this.keywordSuggestions;\n }\n })();\n }\n\n /**\n * The selected keyword object.\n * @returns {Promise}\n */\n @computed('keywordSuggestions', 'searchKeyword')\n get selectedKeyword() {\n return (async () => {\n if (!this.searchKeyword) {\n return undefined;\n }\n\n const resolvedSuggestions = await this.keywordSuggestions;\n return resolvedSuggestions.findBy('value', this.searchKeyword);\n })();\n }\n\n // region Occupancy specific filters\n\n /**\n * Creates the filter objects for the occupancy filters.\n *\n * @function\n * @returns {Array}\n */\n @computed(\n 'checkIn',\n 'checkOut',\n 'model.occupancyFilterOptions.isFulfilled',\n 'multiSelectQueryParams',\n 'searchString'\n )\n get occupancyFilters() {\n const { intl } = this;\n\n // No matter the state of the other occupancy filters, we always want to load the search filter.\n const searchFilter = new SearchFilter(this.intl.t('generic.search'), 'searchString', {\n value: this.searchString,\n defaultValue: ''\n });\n\n // If the options haven't loaded yet, then return an array with just the search bar.\n if (!this.model.occupancyFilterOptions.isFulfilled) {\n return [searchFilter];\n }\n\n const fnGetValues = (type) => ({\n value: get(this, type),\n defaultValue: null\n });\n\n // Create the filters.\n return [\n searchFilter,\n\n ...[\n ['checkIn', undefined, this.checkOut],\n ['checkOut', this.checkIn, undefined]\n ].map(\n ([type, minimumDate, maximumDate]) =>\n new DateFilter(intl.tc(this, type), type, intl.timeZone, {\n ...fnGetValues(type),\n minimumDate,\n maximumDate,\n showDefaultDate: false\n })\n ),\n\n ...this.multiSelectQueryParams.map(\n (type) =>\n new DropdownFilter(intl.tc(this, type), type, getStatusDropdownItems.call(this, type), {\n ...fnGetValues(type),\n isMultiSelect: true\n })\n )\n ];\n }\n\n /**\n * Whether or not to show the Enterprise Video Health Report Button.\n *\n * @type {boolean}\n */\n @computed('isParentGroup', 'model.{locations.[],locationDataType,meta.hasVhrAccess}')\n get showEnterpriseVHRButton() {\n if (this.isParentGroup) {\n return this.model.locationDataType === Video && this.model.meta.hasVhrAccess;\n }\n\n const locations = this.model.locations;\n return this.model.locationDataType === Video && locations.some((item) => item.hasVhrAccess);\n }\n\n /**\n * We should show the enterprise fleet trip button when we're on a fleet location and we have fleet devices\n */\n @computed('model.{locations.@each.hasFleetDevices,locationDataType}')\n get showEnterpriseFleetTripReportButton() {\n return (\n this.model.locationDataType === Fleet &&\n this.model.locations.some((item) => {\n return item.hasFleetDevices;\n })\n );\n }\n\n /**\n * Formats the last load time. If the browser time zone doesn't match the time zone for last load time\n * display the time zone alongside the time.\n */\n @computed('model.meta.{abbreviatedTimeZone,lastLoadTime,lastLoadTimeZone}')\n get lastLoadTime() {\n const { lastLoadTimeZone, lastLoadTime, abbreviatedTimeZone } = this.model.meta,\n zonedNow = utcToZonedTime(new Date(), lastLoadTimeZone),\n now = new Date();\n\n // If the time zones don't match, show the abbreviatedTimeZone\n if (zonedNow.getDay() !== now.getDay() || zonedNow.getHours() !== now.getHours()) {\n return `${lastLoadTime} ${abbreviatedTimeZone}`;\n }\n\n return this.model.meta.lastLoadTime;\n }\n\n // endregion\n\n /**\n * Expands / Collapses all groups\n */\n @action\n toggleExpandAll() {\n this.expandAll = !this.expandAll;\n this.defaultExpandState = this.expandAll;\n\n // Store our preference\n window.localStorage.setItem('parentGroupExpandState', this.expandAll.toString());\n\n // Update each stored state\n const newMap = new Map();\n this.model.groupStates.forEach((value, key) => {\n newMap.set(Number(key), this.expandAll);\n });\n\n // Update model variable to propagate changes to group row components.\n set(this.model, 'groupStates', newMap);\n }\n\n /**\n * Helper method which toggles the expandAll property.\n * Also conditionally updates defaultExpandState when we are updating the value stored in the cookies.\n * @param isExpandAll - What to update `expandAll` on the controller to.\n * @param defaultExpandState - What to set the default expand state to. By default, we do not update it at all.\n */\n @action\n updateExpandAll(isExpandAll, defaultExpandState = null) {\n this.expandAll = isExpandAll;\n\n if (defaultExpandState != null) {\n this.defaultExpandState = defaultExpandState;\n }\n }\n\n /**\n * Applies the selected occupancy filters.\n *\n * @param {Object>} filterSelection\n */\n @action\n applyFilters(filterSelection) {\n // If clearing all filters, also clear the filter cards\n if (!Object.values(filterSelection).any((val) => val)) {\n this.changeFilter({}, false); // Need keepFilters=false to refresh filters cards\n }\n\n // Change query parameters.\n this.router.transitionTo({\n queryParams: {\n ...this.filterOutEmptyQueries(filterSelection)\n }\n });\n }\n\n /**\n * Observer that sets page data if the back-end data was reloaded recently.\n *\n * @function\n */\n @action\n autoReloader() {\n const { model, pageDataLoadTime } = this,\n { lastLoadTime = pageDataLoadTime } = model.meta || {};\n\n // Make sure that the last load time for the server data is different from that of the front-end data.\n // If the server data hasn't loaded yet, then both will be undefined and we will exit early, as expected.\n if (lastLoadTime === pageDataLoadTime) {\n return;\n }\n\n // Reload the data.\n this.pageDataLoadTime = lastLoadTime;\n model.locations.invoke('reloadRelationships');\n }\n\n /**\n * Sets the new filter property, wipes the locationsCount, and gets locations again.\n *\n * @param { Object.> } currentFilters Currently applied filters.\n * @param { boolean } keepFilters By default, neither the group nor the view has changed, so keepFilters=true.\n */\n @action\n changeFilter(currentFilters, keepFilters = true) {\n const { model } = this;\n this.locFiltersString = JSON.stringify(currentFilters);\n\n model.setProperties({\n currentFilters,\n // Summarize selected filters for app/route-performance component.\n filterIds: Object.keys(currentFilters || {}).join(',')\n });\n\n if (model.meta) {\n model.set('meta.locationsCount', undefined);\n set(this, 'showClearFilterButtonWithoutFilters', Object.keys(currentFilters).length > 0);\n }\n\n // Reset our start indexes for each group when applying a filter.\n if (this.isParentGroup && model.groupedLocationsStartIndexes.size != 0) {\n model.groupedLocationsStartIndexes.forEach(function (value, key, map) {\n map.set(key, model.groupedLocationsBatchSize);\n });\n }\n\n model.getLocationsAndFilters(keepFilters);\n }\n\n /**\n * Updates the search string query param and requests a new set of locations.\n *\n * @param {string} searchString The new search string\n * @param {{ displayName: string, value: string } | null} [searchKeyword] The new search keyword\n */\n @action\n searchLocations(searchString, searchKeyword) {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-deprecated-router-transition-methods\n this.transitionToRoute({\n queryParams: {\n searchString,\n searchKeyword: searchKeyword?.value\n }\n });\n }\n\n /**\n * Action for show/hide button. Toggles summary details view display flag and calls api to save preference\n *\n * @function\n */\n @action\n toggleLocationsDetailsView() {\n set(this, 'model.meta.showLocationsDetailsView', !this.model.meta.showLocationsDetailsView);\n\n this.ajax.apiRequest(\n `enterprise/locations/locations/saveLocationsDetailsViewVisibilityPreference?newPreference=${this.model.meta.showLocationsDetailsView}`\n );\n }\n\n /**\n * Action for show/hide button. Toggles filter display flag and calls api to save preference\n *\n * @function\n */\n @action\n toggleFilterVisibility() {\n set(this, 'showFilters', !this.showFilters);\n\n this.ajax.apiRequest(\n `enterprise/locations/locations/saveFilterVisibilityPreference?newPreference=${this.showFilters}`\n );\n }\n\n /**\n * Runs the Enterprise Video Health Report for locations which have VHR access\n *\n * @function\n */\n @action\n async runEnterpriseVideoHealthReport() {\n displayReportFromResponse(\n this.ajax.apiRequest('enterprise/locations/locations/runVideoHealthReport'),\n Video,\n this.navigation,\n this.notificationManager,\n this.identityManager,\n this.intl\n );\n }\n\n /**\n * Runs the Fleet Trip Report for locations with fleet devices\n */\n @action\n async runEnterpriseFleetTripReport() {\n displayReportFromResponse(\n this.ajax.apiRequest('enterprise/locations/locations/runFleetTripReport'),\n Fleet,\n this.navigation,\n this.notificationManager,\n this.identityManager,\n this.intl\n );\n }\n\n /**\n * Gets the next batch of locations and adds them to the list.\n *\n * @function\n */\n @action\n async viewMore() {\n const {\n store,\n model,\n searchString,\n searchKeyword,\n checkIn,\n checkOut,\n occupancyStatus,\n cleaningStatus,\n inspectionStatus,\n propertyStatus\n } = this,\n {\n nextStartIndex,\n nextGroupStartIndex,\n locations,\n locationDataType,\n currentFilters,\n batchSize,\n groupBatchSize,\n groupedLocationsBatchSize\n } = model,\n occupancyFilterSelection = getOccupancyFilterSelection(\n checkIn,\n checkOut,\n occupancyStatus,\n cleaningStatus,\n inspectionStatus,\n propertyStatus\n ),\n filtersString = JSON.stringify(currentFilters),\n locationsResponse = await store.query('enterprise/locations/location', {\n locationDataType,\n startIndex: this.isParentGroup ? this.startIndex : nextStartIndex,\n groupStartIndex: this.isParentGroup ? nextGroupStartIndex : this.groupStartIndex,\n searchString,\n searchKeyword,\n filtersString,\n batchSize: batchSize,\n groupBatchSize: groupBatchSize,\n groupedLocationsBatchSize: groupedLocationsBatchSize,\n ...occupancyFilterSelection\n });\n\n setProperties(model, {\n locations: locations.pushObjects(locationsResponse.toArray()),\n nextStartIndex: this.isParentGroup ? nextStartIndex : nextStartIndex + batchSize,\n nextGroupStartIndex: this.isParentGroup ? nextGroupStartIndex + groupBatchSize : nextGroupStartIndex\n });\n\n if (this.isParentGroup) {\n this.updateGroupStates();\n }\n }\n\n /**\n * Helper method to reset all the group row expanded states.\n */\n updateGroupStates() {\n const groupStates = this.model.groupStates ?? new Map();\n\n this.model.locations.forEach((loc) => {\n const groupId = Number(loc.groupId);\n if (loc.description && groupStates.get(groupId) === undefined) {\n groupStates.set(groupId, this.defaultExpandState);\n }\n });\n\n set(this.model, 'groupStates', groupStates);\n }\n\n /**\n * When applying filters, if we have deselected all values from a filter dropdown, we don't want to include that\n * filter in the query params. For example if filterSelection={cleaningStatus: Array(0)}, we'd like to get\n * rid of cleaningStatus from the query params.\n *\n * @function\n * @param { Object.> } filterSelection\n * @returns { Object.> }\n */\n filterOutEmptyQueries(filterSelection) {\n const { multiSelectQueryParams } = this;\n return Object.keys(filterSelection).reduce(function (filtered, key) {\n if (!multiSelectQueryParams.includes(key) || (filterSelection[key] && filterSelection[key].length > 0)) {\n filtered[key] = filterSelection[key];\n } else {\n filtered[key] = null;\n }\n\n return filtered;\n }, {});\n }\n\n /**\n * Loads the improved self guided tours settings tour if the login hasn't viewed it yet and needs to.\n */\n @action\n loadSTRAccessPointsTabTourIfNeeded() {\n if (this.identityManager.identityModel?.helpTours.includes(STRAccessPointsTabTour)) {\n startSTRAccessPointsTabTour(this.intl, this.identityManager, this.navigation, this.helpTour);\n }\n }\n}\n","import { schedule } from '@adc/ember-utils/utils/runloop';\nimport Step, { StepDisplayType } from 'customer-site/components/help-tour/step';\nimport StepContent, { getAnchorSelector } from 'customer-site/components/help-tour/step-content';\nimport Tour from 'customer-site/components/help-tour/tour';\nimport { EmberLocationsSummary } from 'customer-site/enums/CustomerPageUrl';\nimport { STRAccessPointsTabTour } from 'customer-site/enums/HelpTourType';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type HelpTourService from 'customer-site/services/help-tour';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\n/**\n * Starts the tour\n */\nexport function startSTRAccessPointsTabTour(\n intl: ADCIntlService,\n identityManager: IdentityManager,\n transitionHandler: NavigationService,\n helpTour: HelpTourService\n) {\n const tour = Tour.create({\n name: 'str-access-points-tab-tour',\n steps: [\n Step.create({\n type: StepDisplayType.Modal,\n model: StepContent.create({\n title: intl.t('components.enterprise.locations.access-points-str-tour.title'),\n content: intl.t('components.enterprise.locations.access-points-str-tour.message'),\n stepClosed: () => transitionHandler.transitionToRouteId(EmberLocationsSummary),\n buttons: {\n next: {\n text: intl.t('components.enterprise.locations.access-points-str-tour.view')\n }\n }\n }),\n isStepAvailable: () => {\n return Promise.resolve(\n document.querySelector(getAnchorSelector(`${EmberLocationsSummary}`)) !== undefined\n );\n }\n })\n ],\n async beforeStart() {\n await schedule('afterRender', () => {});\n //We only want the end user to see a simple pop up once\n identityManager.identityModel?.markHelpTourAsCompleted(STRAccessPointsTabTour);\n }\n });\n\n return helpTour.start(tour);\n}\n","import { computed } from '@ember/object';\nimport LocationDeviceAccessInfo from 'customer-site/enterprise/locations/helper-objects/location-device-access-info';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\n\nexport default class LocationsDeviceAccessSubrouteController extends BaseLocationsSubrouteController {\n /** @override */\n createLocationInfos(locations) {\n return locations.map((model) => new LocationDeviceAccessInfo(model));\n }\n\n /** @override */\n @computed('intl')\n get columnHeadersInfo() {\n return [{ header: this.intl.tc(this, 'accessPoints'), extraClass: 'access-points-column' }];\n }\n}\n","import BaseLocationsSubrouteRoute from 'customer-site/enterprise/locations/base-locations-subroute-route';\nimport { EmberLocationsDeviceAccess } from 'customer-site/enums/CustomerPageUrl';\nimport { DeviceAccess } from 'customer-site/enums/LocationDataType';\n\n/**\n * @classdesc Locations device access subroute\n */\nexport default class LocationsDeviceAccessSubrouteRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsDeviceAccess;\n\n /** @override */\n locationDataType = DeviceAccess;\n}\n","import { dasherize } from '@ember/string';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport LocationFleetInfo from '../helper-objects/location-fleet-info';\n\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Fleet subroute controller.\n */\nexport default class FleetSubrouteController extends BaseLocationsSubrouteController {\n declare model: ModelFrom;\n\n /** @override */\n createLocationInfos(locations: LocationModel[]): LocationFleetInfo[] {\n return locations.map(\n (location) =>\n new LocationFleetInfo(location, this.model.meta ?? { isMetric: false, loginCurrentDateUtc: '' })\n );\n }\n\n /** @override */\n get columnHeadersInfo(): Array<{ header: string; extraClass: string }> {\n return ['vehiclesDrivenToday', 'fuelConsumedToday', 'vehicleStatus', 'drivingBehaviorStatus'].map((header) => ({\n header: this.intl.tc(this, header),\n extraClass: `${dasherize(header)}-column`\n }));\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/locations/fleet': FleetSubrouteController;\n }\n}\n","import { EmberLocationsFleet } from '../../../enums/CustomerPageUrl';\nimport { Fleet } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations fleet dashboard subroute\n *\n * @class enterprise.locations.fleet.Route\n * @extends enterprise.locations.BaseLocationsSubrouteRoute\n * @memberOf enterprise.locations.fleet\n */\nexport default class EnterpriseFleetRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsFleet;\n\n /** @override */\n locationDataType = Fleet;\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberLocations } from '../../../enums/CustomerPageUrl';\n\nimport type NavigationService from 'customer-site/services/navigation';\n\n/**\n * Locations index subroute - redirects to first subroute user has access to\n */\nexport default class LocationsRoute extends AdcBaseRoute {\n @service declare navigation: NavigationService;\n\n /** @override */\n routeId = EmberLocations;\n\n /** @override */\n redirect(): void {\n const routeItem = this.navigation.getRouteItem(EmberLocations),\n routeId = routeItem?.relationship.subRoutes.firstObject?.routeId;\n\n if (routeId) {\n this.navigation.transitionToRouteId(routeId);\n }\n }\n}\n","import { computed, get } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport AccessPointDevicesCard from 'customer-site/components/dashboard-cards/devices/access-control-access-point-devices-card';\nimport GarageCard from 'customer-site/components/dashboard-cards/devices/garage-card';\nimport LockCard from 'customer-site/components/dashboard-cards/devices/lock-card';\nimport BaseSingleSystemSubrouteController from '../controller';\n\n/**\n * @classdesc\n *\n * Access points controller.\n */\nexport default class AccessPointsController extends BaseSingleSystemSubrouteController {\n /** @override */\n @computed('model.detailLocation')\n get cards() {\n return Promise.all(\n [\n ['accessControlAccessPointDevices', AccessPointDevicesCard],\n ['locks', LockCard],\n ['garageDoors', GarageCard]\n ].map(async ([model, path]) => ({\n devicesList: await this.model.detailLocation.then((m) => get(m, model)),\n cardPath: path\n }))\n );\n }\n\n /**\n * Indicates there are no access points for this location.\n *\n * @returns {Promise}\n */\n @computed('cards.[]')\n get hasNoDevices() {\n return (async () => {\n const cards = await this.cards;\n\n return cards.every((card) => isEmpty(card.devicesList));\n })();\n }\n\n /** @override */\n @computed()\n get deviceTypeKey() {\n return 'accessPoints';\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsLocationAccessPoints } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Access points sub route.\n */\nexport default class AccessPointsRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberLocationsLocationAccessPoints;\n}\n","import { logMissingAbstractMember } from '@adc/ember-utils/utils/debug';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed, observer } from '@ember/object';\nimport { once } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport {\n EmberLocationsLocationPanel,\n EmberLocationsLocationAccessPoints,\n EmberLocationsLocationThermostats,\n EmberLocationsEdit,\n EmberLocationsEditManualMoveIn,\n EmberLocationsManageResidents,\n EmberLocationsManageResidentsV2\n} from '../../../enums/CustomerPageUrl';\n\n/**\n * Changes the parent route title to be the name of the location.\n *\n * @private\n * @instance\n * @memberof enterprise.locations.BaseSingleSystemSubrouteController\n */\nasync function changeRouteTitle(currentRoute) {\n const { detailLocation } = this.model;\n if (\n detailLocation &&\n [\n EmberLocationsLocationPanel,\n EmberLocationsLocationAccessPoints,\n EmberLocationsLocationThermostats,\n EmberLocationsEdit,\n EmberLocationsEditManualMoveIn,\n EmberLocationsManageResidents,\n EmberLocationsManageResidentsV2\n ].includes(currentRoute)\n ) {\n const location = await detailLocation;\n\n this.applicationController.send('setApplicationHeaderText', location.description);\n }\n}\n\n/**\n * @classdesc\n * Base controller for single system subroutes\n *\n * @class BaseSingleSystemSubrouteController\n * @extends Controller\n\n * @memberof enterprise.locations\n */\n// Do not copy this deprecated usage. If you see this, please fix it\n// eslint-disable-next-line ember/no-classic-classes\nconst BaseSingleSystemSubrouteController = Controller.extend(\n /** @lends enterprise.locations.BaseSingleSystemSubrouteController# */ {\n applicationController: controller('application'),\n\n contextManager: service(),\n intl: service(),\n\n /**\n * The cards to display.\n *\n * @abstract\n *\n * @function\n * @returns {Ember.RSVP.PromiseArray}\n */\n cards: computed(function () {\n logMissingAbstractMember(this, '\"cards\" property');\n\n return undefined;\n }),\n\n /**\n * Device type key for no results message.\n *\n * @abstract\n *\n * @function\n * @returns {String}\n */\n deviceTypeKey: computed(function () {\n logMissingAbstractMember(this, '\"deviceTypeKey\" property');\n\n return undefined;\n }),\n\n /**\n * Tells the route title to change when appropriate.\n *\n * @function\n */\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-observers\n routeTitleChanger: observer(\n 'model.detailLocation',\n 'contextManager.currentRouteData.routeItem.routeId',\n function () {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-get\n let routeId = this.get('contextManager.currentRouteData.routeItem.routeId');\n // Do not copy this deprecated usage. If you see this, please fix\n // eslint-disable-next-line ember/no-runloop\n once(this, changeRouteTitle, routeId);\n }\n ),\n\n /**\n * The message to display when there are no devices.\n *\n * @function\n * @returns {String}\n */\n noDevicesMessage: computed('deviceTypeKey', function () {\n const deviceType = this.intl.t(`generic.devices.${this.deviceTypeKey}`).toLowerCase();\n return this.intl.t('enterprise.locations.noDevicesMessage', { deviceType });\n })\n }\n);\n\nexport default BaseSingleSystemSubrouteController;\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed, set, setProperties, get } from '@ember/object';\nimport { bool, empty, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { BusinessHours, EmberLocationsEditUsers } from 'customer-site/enums/CustomerPageUrl';\nimport { SingleSystemDetail } from 'customer-site/enums/LocationDataType';\nimport { dataUrlToFile, isUrlLink } from '../../../../settings/helpers/file-upload-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalsService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type LocationUserInfoModel from 'customer-site/models/enterprise/locations/location-user-info';\nimport type UnattendedShowingSetting from 'customer-site/models/enterprise/locations/unattended-showing-setting';\nimport type PropertyManagementIntegration from 'customer-site/models/enterprise/settings/property-management-integration';\nimport type UserModel from 'customer-site/models/users/user';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\ninterface UnattendedShowingInput {\n label: keyof UnattendedShowingSetting;\n hasError: boolean;\n value: string | number;\n className: string;\n errorMessage: string;\n disabled: boolean;\n checkError: (item: UnattendedShowingInput, newValue: string | number) => boolean;\n isNumber: boolean;\n inputType: string;\n}\n\ninterface UnattendedShowingInputsMapping {\n label: keyof UnattendedShowingSetting;\n checkError: (item: UnattendedShowingInput, newValue: string | number) => boolean;\n className: string;\n errorMessage: string;\n isNumber: boolean;\n inputType: string;\n}\n\n/**\n * Maximum length of a display name and address.\n */\nconst MAX_NAME_ADDRESS_LENGTH = 50;\n\n/**\n * Bedrooms are stored as byte so cannot exceed 255.\n */\nconst MAX_NUMBER_BEDROOMS = 255;\n\n/**\n * Other number inputs are stored as decimals so cannot exceed 32767.\n */\nconst MAX_NUMBER_INPUTS = 32767;\n\n/**\n * Checks if input has increment of 0.5.\n */\nfunction isIncrementOfPointFive(value: string): boolean {\n return /^\\d*(\\.?(5)?)\\s*$/.test(value);\n}\n\n/**\n * Checks if input is a whole number.\n */\nfunction isWholeNumber(value: string): boolean {\n return /^\\d*\\.?0*\\s*$/.test(value);\n}\n\n/**\n * Checks if input is larger than the decimal datatype in backend.\n */\nfunction numberInputLargerThanDecimal(number: string) {\n return Number(number) > MAX_NUMBER_INPUTS;\n}\n\n/**\n * Checks if location display name is valid.\n */\nfunction isValidNameOrAddress(value: string): boolean {\n return value.length <= MAX_NAME_ADDRESS_LENGTH;\n}\n\n/**\n * @classdesc\n *\n * Controller for edit location route.\n */\nexport default class LocationsEditController extends EmberController {\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n @service declare identityManager: IdentityManager;\n @service declare navigation: NavigationService;\n @service declare modals: ModalsService;\n @service declare ajax: AjaxService;\n @service declare store: Store;\n\n @tracked pictureUrl = '';\n @tracked pictureFile: File | null = null;\n @tracked pictureFileDataUrl = '';\n\n declare model: any; // Please replace this 'any' with the actual model type!\n\n /**\n * This object is the mapping for the Self-Guided Tours inputs.\n * Specifies what the validation checks should be for each item.\n */\n @computed('pictureUrlOrFileWithoutDisclaimer')\n get unattendedShowingInputsMapping(): {\n label: string | boolean | ((item: UnattendedShowingInput, value: string) => boolean);\n checkError: string | boolean | ((item: UnattendedShowingInput, value: string) => boolean);\n className: string | boolean | ((item: UnattendedShowingInput, value: string) => boolean);\n errorMessage: string | boolean | ((item: UnattendedShowingInput, value: string) => boolean);\n isNumber: string | boolean | ((item: UnattendedShowingInput, value: string) => boolean);\n inputType: string | boolean | ((item: UnattendedShowingInput, value: string) => boolean);\n }[] {\n const unattendedShowingInputsMapping = [\n [\n 'listingUrl',\n (item: UnattendedShowingInput): boolean => set(item, 'hasError', false),\n 'string-input',\n 'inputError',\n false,\n 'text'\n ],\n [\n 'displayName',\n (item: UnattendedShowingInput, value: string): boolean =>\n set(item, 'hasError', !isValidNameOrAddress(value)),\n 'string-input',\n 'displayNameError',\n false,\n 'text'\n ],\n [\n 'address',\n (item: UnattendedShowingInput, value: string): boolean =>\n set(item, 'hasError', !isValidNameOrAddress(value)),\n 'string-input',\n 'addressError',\n false,\n 'text'\n ],\n [\n 'numberOfBedrooms',\n (item: UnattendedShowingInput, value: string): boolean =>\n set(item, 'hasError', !isWholeNumber(value) || Number(value) > MAX_NUMBER_BEDROOMS),\n 'number-input',\n 'inputMustBeNumber',\n true,\n 'number'\n ],\n [\n 'numberOfBathrooms',\n (item: UnattendedShowingInput, value: string): boolean =>\n set(item, 'hasError', !isIncrementOfPointFive(value) || numberInputLargerThanDecimal(value)),\n 'number-input',\n 'bathroomIncrement',\n true,\n 'number'\n ],\n [\n 'rent',\n (item: UnattendedShowingInput, value: string): boolean =>\n set(item, 'hasError', !isWholeNumber(value) || numberInputLargerThanDecimal(value)),\n 'number-input',\n 'inputMustBeNumber',\n true,\n 'number'\n ],\n [\n 'squareFeet',\n (item: UnattendedShowingInput, value: string): boolean =>\n set(item, 'hasError', !isWholeNumber(value) || numberInputLargerThanDecimal(value)),\n 'number-input',\n 'inputMustBeNumber',\n true,\n 'number'\n ]\n ];\n\n return unattendedShowingInputsMapping.map(\n ([label, checkError, className, errorMessage, isNumber, inputType]) => ({\n label,\n checkError,\n className,\n errorMessage,\n isNumber,\n inputType\n })\n );\n }\n\n /**\n * Resolved Model contains the loaded location model.\n */\n @tracked resolvedModel?: LocationModel;\n\n /**\n * Resolved Model contains the loaded location model.\n */\n @computed('model.locationUsers.isFulfilled')\n get resolvedLocationUserInfoModel(): LocationUserInfoModel | undefined {\n const {\n model: { locationUsers }\n } = this;\n if (!locationUsers.isFulfilled) {\n return undefined;\n }\n\n return locationUsers;\n }\n\n /**\n * Stores the input objects for Self-Guided Tours settings.\n */\n @tracked unattendedShowingSettings: UnattendedShowingInput[] = [];\n\n /**\n * Whether or not the disclaimer for the picture url has been checked.\n */\n @tracked pictureUrlDisclaimerSelected = false;\n\n /**\n * Whether the property is listed when the page loads.\n */\n isPropertyListedOnLoad = false;\n\n /**\n * Whether we should show the property de-listing warning.\n * This warning should show if the property is being de-listed and there is at least one future appointment.\n */\n @computed('resolvedModel.unattendedShowingSetting.{isListed,upcomingAppointmentCount}', 'isPropertyListedOnLoad')\n get showDelistingPropertyWarning() {\n if (this.resolvedModel?.unattendedShowingSetting) {\n const currentListingStatus = this.resolvedModel.unattendedShowingSetting.isListed;\n return (\n !currentListingStatus &&\n this.isPropertyListedOnLoad &&\n this.resolvedModel.unattendedShowingSetting.upcomingAppointmentCount > 0\n );\n }\n\n return false;\n }\n\n /**\n * List of users objects that are currently selected.\n */\n @computed('resolvedLocationUserInfoModel.{enterpriseUsers,userIdsWithAccess}', 'userSectionHidden')\n get usersWithAccess(): UserModel[] {\n const { resolvedLocationUserInfoModel } = this;\n return this.userSectionHidden || !resolvedLocationUserInfoModel\n ? []\n : resolvedLocationUserInfoModel\n .get('userIdsWithAccess')\n .map((id: string) => resolvedLocationUserInfoModel.get('enterpriseUsers').findBy('id', id))\n .compact();\n }\n\n /**\n * The total number of users with access.\n */\n @reads('resolvedLocationUserInfoModel.userIdsWithAccess.length')\n get numberOfUsers(): number {\n return this.resolvedLocationUserInfoModel?.get('userIdsWithAccess').length ?? 0;\n }\n\n /**\n * Whether or not the Self-Guided Tours settings have been changed.\n */\n @tracked unattendedShowingSettingsChanged = false;\n\n /**\n * The maximum number of selectable users.\n * We only know this number if the system starts out as full or we try to save more\n * users than the system can take.\n */\n @computed('originalUserIdsWithAccess.size', 'resolvedLocationUserInfoModel')\n get maximumNumberOfSelectableUsers(): number | undefined {\n if (!this.resolvedLocationUserInfoModel || !this.resolvedLocationUserInfoModel.get('systemIsFull')) {\n return undefined;\n }\n\n return this.originalUserIdsWithAccess?.size ?? 0;\n }\n\n /**\n * The maximum number of selectable users.\n * We only know this number if the system starts out as full or we try to save more\n * users than the system can take.\n */\n @computed('model.locationUsers.isFulfilled', 'resolvedLocationUserInfoModel')\n get originalUserIdsWithAccess(): Set | undefined {\n const {\n model: { locationUsers }\n } = this;\n if (!locationUsers.isFulfilled || !this.resolvedLocationUserInfoModel) {\n return undefined;\n }\n\n return new Set(this.resolvedLocationUserInfoModel.get('userIdsWithAccess'));\n }\n\n /**\n * Information retrieved from the property management software, if applicable.\n */\n @tracked propertyManagementIntegration?: PropertyManagementIntegration;\n\n /**\n * Should the edit users button be hidden?\n */\n @computed('resolvedModel.userSectionHidden', 'contextManager.identityModel.isAccessControl')\n get userSectionHidden(): boolean {\n const { resolvedModel, contextManager } = this;\n\n return contextManager?.identityModel?.isAccessControl || (resolvedModel?.userSectionHidden ?? true);\n }\n\n /**\n * Should we show validation error on location name input field?\n */\n @empty('resolvedModel.description')\n declare emptyDescription: boolean;\n\n /**\n * Whether or not the system is full.\n */\n @computed('resolvedLocationUserInfoModel.{userIdsWithAccess.length,systemIsFull}', 'maximumNumberOfSelectableUsers')\n get systemIsFull(): boolean {\n if (!this.resolvedLocationUserInfoModel || !this.resolvedLocationUserInfoModel.get('systemIsFull')) {\n return false;\n }\n\n return (\n this.resolvedLocationUserInfoModel.get('userIdsWithAccess').length >=\n (this.maximumNumberOfSelectableUsers ?? 0)\n );\n }\n\n /**\n * Should we disable the save button?\n */\n @computed(\n 'resolvedModel.{description,hasDirtyAttributes,unattendedShowingSetting.hasDirtyAttributes}',\n 'unattendedShowingSettingsChanged',\n 'emptyDescription',\n 'changesInUsersSelection',\n 'userSectionHidden',\n 'originalUserIdsWithAccess.size',\n 'unattendedShowingErrorsExist',\n 'pictureUrlOrFileChanged',\n 'pictureUrlOrFileWithoutDisclaimer'\n )\n get disabled(): boolean {\n const { resolvedModel } = this;\n\n // We don't require the actual users to be finished loading even if the user section is not hidden, because\n // it can be very slow to load all of them and we should still save other location changes.\n if (!resolvedModel || (!resolvedModel.canEditLocation && this.userSectionHidden)) {\n return true;\n }\n\n // Changes in users selection check.\n const { changesInUsersSelection } = this;\n\n const noChanges =\n !changesInUsersSelection &&\n !resolvedModel.hasDirtyAttributes &&\n !resolvedModel.unattendedShowingSetting?.hasDirtyAttributes &&\n !this.unattendedShowingSettingsChanged &&\n !this.pictureUrlOrFileChanged;\n\n return (\n this.emptyDescription ||\n noChanges ||\n this.pictureUrlOrFileWithoutDisclaimer ||\n this.unattendedShowingErrorsExist\n );\n }\n\n /**\n * Whether or not there have been any changes in the user selection.\n */\n @computed(\n 'userSectionHidden',\n 'resolvedLocationUserInfoModel.originalUserIdsWithAccess.size',\n 'usersWithAccess.length'\n )\n get changesInUsersSelection(): boolean {\n const { resolvedLocationUserInfoModel, usersWithAccess, originalUserIdsWithAccess } = this;\n\n // There won't be any changes if the users haven't finished loading.\n if (!resolvedLocationUserInfoModel) {\n return false;\n }\n\n if (!originalUserIdsWithAccess) {\n return true;\n }\n\n let changesInUsersSelection = originalUserIdsWithAccess.size != usersWithAccess.length;\n\n // Check if the user selection changed on returning from the edit users route.\n if (!this.userSectionHidden && !changesInUsersSelection) {\n const setsAreEqual = (setA: Set, setB: Set) =>\n setA.size === setB.size && [...setA].every((user) => setB.has(user.id));\n\n changesInUsersSelection = !setsAreEqual(new Set(usersWithAccess), originalUserIdsWithAccess);\n }\n\n return changesInUsersSelection;\n }\n\n /**\n * Whether or not any of the Self-Guided Tours input fields fail validation.\n */\n @computed('unattendedShowingSettings', 'unattendedShowingSettings.@each.hasError')\n get unattendedShowingErrorsExist(): boolean {\n return this.unattendedShowingSettings?.isAny('hasError') ?? false;\n }\n\n /**\n * Checks if the legal disclaimer is selected when it should be.\n */\n @computed('pictureUrlDisclaimerSelected', 'showLegalDisclaimer')\n get pictureUrlOrFileWithoutDisclaimer(): boolean {\n return this.showLegalDisclaimer && !this.pictureUrlDisclaimerSelected;\n }\n\n /**\n * Checks whether the picture url or file changed.\n */\n @computed(\n 'resolvedModel.unattendedShowingSetting.{pictureImageUrlOrFileName,pictureFileDataUrl}',\n 'pictureUrl',\n 'pictureFileDataUrl'\n )\n get pictureUrlOrFileChanged(): boolean {\n const pictureUrlChanged =\n (this.resolvedModel?.unattendedShowingSetting?.pictureImageUrlOrFileName ?? '') != this.pictureUrl &&\n !this.pictureFileDataUrl;\n const pictureFileChanged =\n this.resolvedModel?.unattendedShowingSetting?.pictureFileDataUrl != this.pictureFileDataUrl &&\n this.pictureFileDataUrl;\n\n return !!pictureUrlChanged || !!pictureFileChanged;\n }\n\n /**\n * Check if the legal disclaimer should be shown. If an image link or file is being deleted, do not display the disclaimer.\n */\n @computed(\n 'resolvedModel.unattendedShowingSetting.{pictureImageUrlOrFileName,pictureFileDataUrl}',\n 'pictureUrl',\n 'pictureFileDataUrl'\n )\n get showLegalDisclaimer(): boolean {\n const pictureUrlChangedAndNotEmpty =\n (this.resolvedModel?.unattendedShowingSetting?.pictureImageUrlOrFileName ?? '') != this.pictureUrl &&\n this.pictureUrl;\n const pictureFileChangedAndNotEmpty =\n this.resolvedModel?.unattendedShowingSetting?.pictureFileDataUrl != this.pictureFileDataUrl &&\n this.pictureFileDataUrl;\n\n return !!pictureUrlChangedAndNotEmpty || !!pictureFileChangedAndNotEmpty;\n }\n\n /**\n * Routes to the users selection sub-page.\n */\n @action openEditUsersRoute(): void {\n // Need to set userIdsWithAccess since we are using same model in edit/users route and need it to set a computed property.\n this.model.userIdsWithAccess = this.usersWithAccess.map((user) => user.id);\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(EmberLocationsEditUsers);\n }\n\n /**\n * Routes to the business hours page after displaying a confirmation modal.\n */\n @action transitionToBusinessHours(): void {\n const { intl } = this;\n this.modals.showConfirmationDialog(\n intl.tc(this, 'leavingTheEditLocationPage'),\n intl.tc(this, 'unsavedChangesWillBeLost'),\n {\n text: intl.t('generic.continue'),\n action: async () => {\n const customerId = this.resolvedModel?.customerId;\n if (customerId) {\n await this.identityManager.switchContext(\n this.store.peekRecord('systems/available-system-item', customerId)\n );\n this.navigation.transitionToRouteId(BusinessHours);\n }\n }\n }\n );\n }\n\n /**\n * This is called whenever Self-Guided Tours input is changed. Checks to see if there is error in input.\n */\n @action checkForErrorAndSetNewValue(item: UnattendedShowingInput, value: string): void {\n this.unattendedShowingSettingsChanged = true;\n set(item, 'value', value);\n item.checkError(item, value);\n }\n\n /**\n * Loads data from the model and copies an array which will hold the original list of user ids that we can revert to.\n *\n * @param model\n */\n @action dataLoaded(model: LocationModel): void {\n const resolvedModel = (this.resolvedModel = model);\n\n // We always enter this if statement unless we just visited the edit users route.\n // In that case we don't want to change the Self-Guided Tours settings.\n if (isEmpty(this.unattendedShowingSettings)) {\n resolvedModel.unattendedShowingSetting?.rollbackAttributes();\n this.unattendedShowingSettingsChanged = false;\n\n if (resolvedModel.canViewUnattendedShowingSettings) {\n this.pictureUrlDisclaimerSelected = false;\n\n const { unattendedShowingSetting } = resolvedModel;\n\n const disabled = !resolvedModel?.canEditUnattendedShowingSettings;\n\n (this.pictureUrl =\n unattendedShowingSetting.pictureImageUrlOrFileName &&\n isUrlLink(unattendedShowingSetting.pictureImageUrlOrFileName)\n ? unattendedShowingSetting.pictureImageUrlOrFileName\n : ''),\n (this.pictureFile = dataUrlToFile(\n unattendedShowingSetting.pictureImageUrlOrFileName,\n unattendedShowingSetting.pictureFileDataUrl\n ));\n this.pictureFileDataUrl = unattendedShowingSetting.pictureFileDataUrl;\n\n set(this, 'isPropertyListedOnLoad', resolvedModel.unattendedShowingSetting.isListed);\n\n this.unattendedShowingInputsMapping.forEach((attribute: UnattendedShowingInputsMapping) => {\n const item = get(unattendedShowingSetting, attribute.label);\n\n this.unattendedShowingSettings?.addObject({\n label: attribute.label,\n hasError: false,\n value: String(item),\n errorMessage: attribute.errorMessage,\n className: attribute.className,\n disabled: attribute.label === 'listingUrl' || disabled,\n checkError: attribute.checkError,\n isNumber: attribute.isNumber,\n inputType: attribute.inputType\n });\n });\n }\n }\n\n this.setPropertyManagementInfo();\n }\n\n @action\n fileChanged(file: File | null, dataUrl: string) {\n const pictureData = this.resolvedModel?.unattendedShowingSetting.pictureImageUrlOrFileName;\n\n if (file) {\n this.pictureUrl = '';\n } else if (this.pictureFile) {\n // Allow the text box to be repopulated with the saved value if a file is deleted\n this.pictureUrl = pictureData && isUrlLink(pictureData) ? pictureData : '';\n }\n\n this.pictureFile = file;\n this.pictureFileDataUrl = dataUrl;\n this.pictureUrlDisclaimerSelected = false;\n }\n\n @action\n previewLink() {\n window.open(this.resolvedModel?.unattendedShowingSetting.listingUrl, '_blank');\n }\n\n @computed('resolvedModel.unattendedShowingSetting.{pictureImageUrlOrFileName,listingUrl}')\n get shouldShowPreviewButton() {\n return (\n this.resolvedModel?.unattendedShowingSetting.pictureImageUrlOrFileName &&\n this.resolvedModel?.unattendedShowingSetting.listingUrl\n );\n }\n\n /**\n * Saves the location.\n */\n @action\n async saveLocation(): Promise {\n const { notificationManager, intl, resolvedModel, resolvedLocationUserInfoModel } = this;\n\n if (!resolvedModel) {\n return Promise.reject();\n }\n\n // We don't want to move-in tenants when saving the edit location page.\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error If we are going to manipulate the resolvedModel like this the type probably shouldn't be AsyncHasMany, we should set it to be an array`.\n resolvedModel.tenants = [];\n\n // We want to be able to save resolvedModel even if unattendedShowingSetting save fails, so put each in their own try catch method.\n let unattendedShowingSettingSaveSuccess = true;\n if (resolvedModel.canEditUnattendedShowingSettings && resolvedModel.canViewUnattendedShowingSettings) {\n this.unattendedShowingSettings?.forEach((item) =>\n set(\n resolvedModel?.unattendedShowingSetting,\n item.label,\n item.isNumber ? Number(item.value) : item.value\n )\n );\n\n // Save the picture url or file name, at most one is non-null/non-empty\n resolvedModel.unattendedShowingSetting.pictureImageUrlOrFileName = this.pictureUrl\n ? this.pictureUrl\n : this.pictureFile?.name ?? '';\n resolvedModel.unattendedShowingSetting.pictureFileDataUrl = this.pictureFileDataUrl;\n\n unattendedShowingSettingSaveSuccess = await this.save(resolvedModel.unattendedShowingSetting, undefined);\n }\n\n const resolvedModelSaveSuccess = await this.save(resolvedModel, resolvedLocationUserInfoModel);\n\n if (unattendedShowingSettingSaveSuccess && resolvedModelSaveSuccess) {\n notificationManager.addSuccess(intl.tc(this, 'saveSuccessful'));\n\n return Promise.resolve();\n }\n\n const detailLocation = this.store\n .query('enterprise/locations/location', {\n locationDataType: SingleSystemDetail,\n id: resolvedModel.id\n })\n .then((response) => response.get('firstObject'));\n const locationUsers = this.store.findRecord('enterprise/locations/location-user-info', resolvedModel.id);\n\n setProperties(this.model, {\n detailLocation: detailLocation,\n locationUsers: locationUsers\n });\n\n return Promise.reject();\n }\n\n /**\n * This method is called to save models.\n * Returns a boolean promise depending on if the models were saved successfully.\n *\n * @param locationModel\n * @param locationUserInfoModel\n */\n async save(\n locationModel: UnattendedShowingSetting | LocationModel,\n locationUserInfoModel: LocationUserInfoModel | undefined\n ): Promise {\n const { notificationManager } = this;\n\n try {\n await locationModel.save();\n\n // Only try to save the user info if it has been loaded. If it hasn't been, then there's no way for it to have changed\n // anyway and we don't want to wait for it to load because that can be very slow.\n if (locationUserInfoModel) {\n const locationUsers = await locationUserInfoModel;\n await locationUsers.save();\n }\n\n return Promise.resolve(true);\n } catch (ex) {\n if (ex.errors?.errors) {\n ex.errors.errors.forEach((error: Record) => notificationManager.addError(error.detail));\n }\n\n return Promise.resolve(false);\n }\n }\n\n /**\n * Whether to show the PMS integration section.\n * Returns true if and only if the current user has a PMS integration set up.\n */\n @bool('propertyManagementIntegration')\n declare showPropertyManagementIntegrationSection: boolean;\n\n /**\n * Retrieves the property management integration information and updates the object used\n * by the template to display them.\n * If the user does not have a PMS integration set up, or if the user does not have EEELP beta\n * access permission, the property management integration model is set to undefined.\n */\n async setPropertyManagementInfo(): Promise {\n this.propertyManagementIntegration = await this.ajax\n .apiRequest(\n `enterprise/settings/propertyManagementIntegrations/getWithUnitStatus?id=${this.resolvedModel?.id}`\n )\n .then((r) => r.data?.attributes);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/locations/location/edit/index': LocationsEditController;\n }\n}\n","import { action } from '@ember/object';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { SingleSystemDetail } from 'customer-site/enums/LocationDataType';\nimport { EmberLocationsEdit } from '../../../../../enums/CustomerPageUrl';\n\nimport type Transition from '@ember/routing/transition';\nimport type LocationsEditController from 'customer-site/enterprise/locations/location/edit/index/controller';\n\n/**\n * @classdesc\n *\n * Route for edit locations page\n *\n */\nexport default class LocationsEditRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberLocationsEdit;\n\n /** @override */\n locationDataType = SingleSystemDetail;\n\n @action willTransition(transition: Transition): void {\n if (transition.to.name != 'enterprise.locations.location.edit.users') {\n (this.controller as LocationsEditController).setProperties({\n unattendedShowingSettings: []\n });\n }\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed, notifyPropertyChange } from '@ember/object';\nimport { gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getUserIcon } from 'customer-site/utils/users';\nimport { default as DropdownSelectItem, SELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ActionButtonsSignature } from '@adc/ui-components/components/action-buttons';\nimport type { ScrollingListSelectItemDynamicArray } from 'customer-site/components/access-control/scrolling-list-select/index';\nimport type UserModel from 'customer-site/models/users/user';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type LocationsEditUsersRoute from './route';\n\ntype ActionButtonArgs = Pick & {\n confirmAction: ActionButtonsSignature['Args']['confirm-action'];\n cancelAction: ActionButtonsSignature['Args']['cancel-action'];\n doNotGoBackAfterAction: boolean;\n confirmText?: ActionButtonsSignature['Args']['confirmButtonText'];\n};\n\n/**\n * Controller for editing users on a location.\n */\nexport default class LocationsEditUsersController extends EmberController {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n\n declare model: ModelFrom;\n\n /**\n * Resolved Model contains the loaded location model.\n */\n @tracked resolvedModel?: ResolvedModelFrom;\n\n @tracked actionButtonArgs: ActionButtonArgs = {\n confirmAction: this.returnToEditLocation,\n confirmButtonDisabled: false,\n cancelAction: this.cancelEdit,\n doNotGoBackAfterAction: true\n };\n\n @action setActionButtons(args: Partial): void {\n const {\n confirmAction = this.actionButtonArgs.confirmAction ?? (() => {}),\n confirmButtonDisabled = this.actionButtonArgs.confirmButtonDisabled,\n cancelAction = this.actionButtonArgs.cancelAction ?? (() => {}),\n doNotGoBackAfterAction = this.actionButtonArgs.doNotGoBackAfterAction,\n confirmText = this.actionButtonArgs.confirmText\n } = args;\n\n this.actionButtonArgs = {\n confirmButtonDisabled,\n confirmAction,\n cancelAction,\n doNotGoBackAfterAction,\n confirmText\n };\n }\n\n @action dataLoaded(model?: ResolvedModelFrom): void {\n this.resolvedModel = model;\n }\n\n /**\n * If there are user type filters supplied, then filters should be viewable.\n */\n @gt('resolvedModel.locationUsers.availableUserTypeFilters.length', 0)\n declare filterVisible: boolean;\n\n /**\n * Returns list of users with access.\n */\n @computed('resolvedModel.locationUsers.{userIdsWithAccess.length}', 'resolvedModel.enterpriseUsers.length')\n get usersWithAccess(): UserModel[] {\n const { locationUsers: { userIdsWithAccess = [] } = {}, enterpriseUsers = [] } = this.resolvedModel ?? {};\n return userIdsWithAccess.map((id) => enterpriseUsers.findBy('id', id)).compact();\n }\n\n /**\n * List of filters to be displayed in the drop down select.\n */\n @computed('resolvedModel.locationUsers.availableUserTypeFilters.[]')\n get userTypeFilters(): DropdownSelectItem[] {\n return (\n this.resolvedModel?.locationUsers.get('availableUserTypeFilters')?.map((userType) =>\n DropdownSelectItem.create({\n name: this.intl.t('components.users.item.user-avatar.accessPointUserTypeDescription-' + userType),\n enumValue: userType,\n value: userType + '',\n icon: getUserIcon(userType + ''),\n state: SELECTED\n })\n ) ?? []\n );\n }\n\n /**\n * Returns to edit location page.\n */\n @action returnToEditLocation(itemsToSave: ScrollingListSelectItemDynamicArray): void {\n if (!this.resolvedModel) {\n return;\n }\n\n const items = itemsToSave\n .map((item) => item.model)\n .compact()\n .map((model) => model.id);\n\n // Need to set the userIdsWithAccess since the edit location page will be using same model.\n this.resolvedModel.locationUsers.userIdsWithAccess.setObjects(items);\n this.contextManager.transitionToPreviousRoute();\n }\n\n /**\n * Goes back to previous route and no changes are made to the users on the location model.\n */\n @action cancelEdit(): void {\n if (!this.resolvedModel) {\n return;\n }\n\n notifyPropertyChange(this.resolvedModel.locationUsers, 'userIdsWithAccess');\n this.contextManager.transitionToPreviousRoute();\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/locations/location/edit/users': LocationsEditUsersController;\n }\n}\n","import { action } from '@ember/object';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsEditUsers } from 'customer-site/enums/CustomerPageUrl';\nimport { SingleSystemDetail } from 'customer-site/enums/LocationDataType';\n\nimport type Transition from '@ember/routing/transition';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type LocationUserInfoModel from 'customer-site/models/enterprise/locations/location-user-info';\nimport type LocationsEditController from '../index/controller';\n\nexport interface LocationsEditUsersModel {\n detailLocation: Promise;\n locationUsers: Promise;\n enterpriseUsers: Promise>;\n}\n\n/**\n * Route for edit locations page\n */\nexport default class LocationsEditUsersRoute extends AdcBaseRoute {\n routeId = EmberLocationsEditUsers;\n\n /** @override */\n locationDataType = SingleSystemDetail;\n\n model(): LocationsEditUsersModel {\n const locationUsers = this.modelFor('enterprise.locations.location').locationUsers;\n\n return {\n detailLocation: this.modelFor('enterprise.locations.location').detailLocation,\n enterpriseUsers: this.getEnterpriseUsers(locationUsers),\n locationUsers\n };\n }\n\n async getEnterpriseUsers(\n locationUsers: Promise\n ): Promise> {\n const awaitedUsers = await locationUsers;\n return await awaitedUsers.enterpriseUsers;\n }\n\n @action willTransition(transition: Transition): void {\n if (transition.to.name != 'enterprise.locations.location.edit.index') {\n this.controllerFor('enterprise.locations.location.edit.index').setProperties({\n unattendedShowingSettings: []\n });\n }\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberLocationsLocation, EmberLocationsLocationPanel } from '../../../../enums/CustomerPageUrl';\n\nimport type NavigationService from 'customer-site/services/navigation';\n\n/**\n * Index route - just here to redirect to an appropriate route if user enters URL without sub route.\n */\nexport default class IndexRoute extends AdcBaseRoute {\n @service declare navigation: NavigationService;\n\n /** @override */\n routeId = EmberLocationsLocation;\n\n /** @override */\n redirect(): void {\n this.navigation.transitionToRouteId(EmberLocationsLocationPanel);\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
    \\n \\n \\n \\n \\n \\n |\\n \\n \\n \\n \\n \\n\\n {{#if @enableSyncPMSButton}}\\n \\n
    \\n \\n
    \\n
    \\n {{/if}}\\n\\n \\n
    \\n \\n
    \\n
    \\n
    \",{ moduleName: \"customer-site/components/enterprise/locations/manage-resident-v2/tool-bar/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\n\n@intlPath({ path: 'enterprise/locations/manage-resident-v2/tool-bar' })\nexport default class ToolBarComponent extends Component {}\n","import { tracked } from '@glimmer/tracking';\nimport { set } from '@ember/object';\nimport { computed, action } from '@ember/object';\nimport { alias, equal, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ManageResidentsV2Toolbar from 'customer-site/components/enterprise/locations/manage-resident-v2/tool-bar/index';\nimport { BinaryListItem } from '@adc/ui-components/components/simple-binary/list';\nimport {\n NotSet,\n Pending,\n SendInitCommands,\n RemoveThirdPartyDevices,\n PendingRemoveThirdPartyDevices,\n RequestRecycleFlags,\n PendingRecycleFlags,\n SendUserCodes,\n ClearInfoAtThePanel,\n InitiateSystemCheck,\n SendVacantGroupCode,\n Complete,\n ManuallyVerifiedComplete,\n Failed as TenantTurnoverFailed\n} from '../../../../enums/TenantTurnoverStatus';\nimport BaseSingleSystemSubrouteController from '../controller';\n\n/**\n * @classdesc\n * Controller for the manage residents page, allows manually moving residents in/out\n *\n * @class enterprise\\locations\\location\\manage-residents-v2.ManageResidentsV2Controller\n */\nexport default class ManageResidentsV2Controller extends BaseSingleSystemSubrouteController {\n @service intl;\n @service modals;\n @service ajax;\n @service store;\n @service contextManager;\n @service identityManager;\n\n routeToolbar = ManageResidentsV2Toolbar;\n\n /**\n * Whether this has a PMS integration. If this is true, we will display the \"sync again\" button, populate the tenants table\n * with residents that will move in today, and show the PMS integration message.\n *\n * @type {boolean}\n */\n isPMSIntegration = false;\n\n @tracked\n isAddResidentsActionSheetActive = false;\n\n /**\n * id for the current residents in the ember store. Used to populate the resident list on the page.\n *\n * @type {int}\n */\n id = 1;\n\n @tracked\n isDeleteResidentsActionSheetActive = false;\n\n @tracked selectedTenantsIds = [];\n\n @tracked numTenantsChecked = 0;\n\n @tracked allTenantsChecked = false;\n\n @tracked isManageResidentsActionSheetActive = false;\n\n @tracked residentMoveInfo = undefined;\n\n @reads('identityManager.pointCentralIdentity.showSyncToPmsButton')\n showSyncToPmsButton;\n\n /**\n * Pulls the most up-to-date tenants moving in today and updates the add tenants section to display those tenants.\n */\n syncTenantsFromPMS() {\n // Do nothing for now\n }\n\n get tenantBinaryListItems() {\n let tenants = this.store.peekAll('enterprise/locations/tenant');\n return tenants.map(\n ({ id, firstName, lastName, emailAddress, phoneNumber, phoneNumberRequired }) =>\n new BinaryListItem({\n label: `${firstName} ${lastName}`,\n state: this.allTenantsChecked,\n props: {\n id,\n firstName,\n lastName,\n emailAddress,\n phoneNumber,\n phoneNumberRequired\n }\n })\n );\n }\n\n /**\n * Returns whether or not to disable the submit button.\n *\n * Returns true when:\n * - There are no tenants to move\n * - There are no tenants moving in and none of them have been selected to move out\n * - There are tenants to move in whose properties are invalid\n *\n * Note: It's possible for a tenant without an email to exist. These tenants should still\n * be able to be moved out which is why only new tenants (tenants that are being added from the page) are checked for having\n * valid fields.\n */\n get disableButton() {\n const tenants = this.store.peekAll('enterprise/locations/tenant');\n const existingTenants = tenants.filter((t) => t.id !== undefined && t.id !== null);\n const newTenants = tenants.filter((t) => t.id === undefined || t.id === null);\n return (\n tenants.length === 0 ||\n (tenants.length === existingTenants.length && existingTenants.isEvery('moveOut', false)) ||\n !newTenants.isEvery('isTenantValid')\n );\n }\n\n @action\n async dataLoaded(model) {\n this.store.unloadAll('enterprise/locations/tenant');\n const detailLocation = await model.detailLocation;\n set(this, 'resolvedModel', detailLocation);\n const tenantsList = await this.ajax.apiRequest(\n `enterprise/locations/locations/getCurrentResidents?customerId=${detailLocation.customerId}`\n );\n const data = tenantsList?.data;\n\n data?.forEach((value) => {\n this.store.createRecord('enterprise/locations/tenant', {\n id: this.id,\n firstName: value.attributes.firstName,\n lastName: value.attributes.lastName,\n emailAddress: value.attributes.emailAddress,\n phoneNumber: value.attributes.phoneNumber,\n moveOut: false\n });\n this.id += 1;\n });\n }\n\n @action\n updateSelected(selectedTenantsIds) {\n this.numTenantsChecked = selectedTenantsIds.length;\n this.selectedTenantsIds = selectedTenantsIds.slice();\n }\n\n @action\n toggleTenantsCheckboxes() {\n const tenants = this.tenantBinaryListItems;\n this.selectedTenantsIds = tenants.map((tenant) => tenant.props.id);\n this.allTenantsChecked = !this.allTenantsChecked;\n this.numTenantsChecked = this.allTenantsChecked ? tenants.length : 0;\n }\n\n @action\n resetTenantCount() {\n this.numTenantsChecked = 0;\n this.selectedTenantsIds = [];\n this.allTenantsChecked = false;\n }\n\n @action\n willDestroy() {\n super.willDestroy(...arguments);\n this.store.unloadAll('enterprise/locations/tenant');\n }\n\n @action\n retryResidentReset() {\n this.ajax.apiRequest(\n `enterprise/locations/locations/retryResidentReset?customerId=${this.resolvedModel.customerId}`\n );\n this.identityManager.refreshApplication(true, false);\n }\n\n @action\n async importPMSDataButtonAction() {\n this.store.unloadAll('point-central/manage-residents/resident-move-info');\n this.residentMoveInfo = await this.store.findRecord(\n 'point-central/manage-residents/resident-move-info',\n this.resolvedModel.customerId\n );\n this.isManageResidentsActionSheetActive = true;\n }\n\n /**\n * The tenant turnover status should be populate when the status indicate the location is currently in progress.\n */\n @computed('model.detailLocation')\n get isTenantTurnoverInProgress() {\n return (async () => {\n const status = await this.model.detailLocation;\n const noDisplayStatus = [NotSet, Pending, Complete, ManuallyVerifiedComplete];\n return !noDisplayStatus.includes(status.tenantTurnoverStatus);\n })();\n }\n\n /**\n * Check to see if the current status for tenant turnover is failed.\n */\n @equal('resolvedModel.tenantTurnoverStatus', TenantTurnoverFailed)\n isTenantTurnoverFailed;\n\n @alias('resolvedModel.tenantTurnoverFailedStep')\n tenantTurnoverFailedStep;\n\n /**\n * Get the status of tenant turnover and populate with the respective icon.\n * Depends on the current fail step, if it has complete the step respective to each status then we would\n * populate the check mark icon and gray dash if the step failed here or has reach it.\n */\n @computed(\n 'automationRemovalStepStatus',\n 'codeClearedStepStatus',\n 'deviceDeletionStepStatus',\n 'systemCheckStepStatus',\n 'userCodeSyncStepStatus'\n )\n get statusSection() {\n let statusSection = [];\n\n // Did tenant turnover complete step 2: SendInitCommands?\n statusSection.push(this.automationRemovalStepStatus);\n\n // Did tenant turnover complete step 7: SendUserCodes?\n statusSection.push(this.codeClearedStepStatus);\n\n // Did tenant turnover complete step 3(RemoveThirdPartyDevices), 4(PendingRemoveThirdPartyDevices), and 8(ClearInfoAtThePanel)?\n statusSection.push(this.deviceDeletionStepStatus);\n\n // Did tenant turnover complete step 5(RequestRecycleFlags), 6(PendingRecycleFlags), and 9(InitiateSystemCheck)?\n statusSection.push(this.systemCheckStepStatus);\n\n // Did tenant turnover complete step 10: SendVacantGroupCode?\n statusSection.push(this.userCodeSyncStepStatus);\n\n return statusSection;\n }\n\n /**\n * Check the current fail step is step(s) ahead of the last to complete the device removal status.\n */\n get deviceDeletionStepStatus() {\n const deviceDeletionSteps = [RemoveThirdPartyDevices, PendingRemoveThirdPartyDevices, ClearInfoAtThePanel];\n return this.getArrayWithTextAndSVGForStatus(deviceDeletionSteps, 'deviceRemovedStatus');\n }\n\n /**\n * Check the current fail step(s) ahead of SendInitCommands step to complete automation removal status.\n */\n get automationRemovalStepStatus() {\n const automationRemovalStep = [SendInitCommands];\n return this.getArrayWithTextAndSVGForStatus(automationRemovalStep, 'automationResetStatus');\n }\n\n /**\n * Check the current fail step(s) ahead of SendUserCodes step to complete the code clear status.\n */\n get codeClearedStepStatus() {\n const codeClearedStep = [SendUserCodes];\n return this.getArrayWithTextAndSVGForStatus(codeClearedStep, 'codeClearStatus');\n }\n\n /**\n * Check the current fail step is step(s) ahead of the last to complete the system check status.\n */\n get systemCheckStepStatus() {\n const systemCheckSteps = [RequestRecycleFlags, PendingRecycleFlags, InitiateSystemCheck];\n return this.getArrayWithTextAndSVGForStatus(systemCheckSteps, 'systemCheckStatus');\n }\n\n /**\n * Check the current fail step(s) ahead of SendVacantGroupCode step to complete the user code sync status.\n */\n get userCodeSyncStepStatus() {\n const userCodeSyncStep = [SendVacantGroupCode];\n return this.getArrayWithTextAndSVGForStatus(userCodeSyncStep, 'sentUserCodeStatus');\n }\n\n /**\n * Helper function that gets the translated string.\n *\n * @function\n * @param {string} key the key that maps to the translated string\n * @returns {string} the translated string\n */\n getText(key) {\n return this.intl.tc(this, key);\n }\n\n /**\n * returns the object that holds the translated text, svg, and style based on the current failed step.\n *\n * @function\n * @param {number []} params the array of tenant turnover steps for the status\n * @param {string} status text name for the current status\n * @returns {[{svg: *, text: String, class: String}]} An array that holds the the translated text, the svg,\n * and whether we want the svg to the left of the text.\n */\n getArrayWithTextAndSVGForStatus(params, status) {\n var icon = '';\n var style = '';\n if (params.includes(this.tenantTurnoverFailedStep)) {\n icon = 'circle-x';\n style = 'failed';\n } else if (this.tenantTurnoverFailedStep > params[params.length - 1]) {\n icon = 'circle-check';\n style = 'passed';\n } else {\n icon = 'circle-o';\n style = 'not-complete';\n }\n return [{ text: this.getText(status), svg: icon, className: style }];\n }\n\n @action\n openResidentResetKBR() {\n window.open('https://answers.alarm.com/@go/cid/ResidentResetUnsuccessful', 'ResidentResetKBR', undefined);\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsManageResidentsV2 } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Browse to Manage Residents V2.\n *\n * @class enterprise.settings.property-management-integration.Route\n * @extends classes.BaseRoute\n */\nexport default class ManageResidentsV2Route extends AdcBaseRoute {\n /** @override **/\n routeId = EmberLocationsManageResidentsV2;\n\n /**\n * Returns relevant location model.\n *\n * @returns {models.enterprise.locations.Location}\n * @override\n */\n async model() {\n return await this.modelFor('enterprise.locations.location');\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n

    {{this.residentsMovingIn}}

    \\n
    \\n

    {{this.residentsMovingOut}}

    \\n
    \\n\\n\",{ moduleName: \"customer-site/components/modals/enterprise/locations/manage-residents/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { modalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ModalButtonConfig } from '@adc/ui-components/components/modals/base/footer/modal-footer';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface ManageResidentsArgs {\n model: {\n location: LocationModel;\n residentsMovingIn: string;\n residentsMovingOut: string;\n title: string;\n success: string;\n };\n}\n\n/**\n * @classdesc\n * Displays a modal for performing manage residents actions.\n */\nexport default class ManageResidents extends Component {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n @service declare modals: ModalService;\n @service declare notificationManager: NotificationManager;\n\n /**\n * The location id for the current location.\n */\n @alias('args.model.location')\n declare location: LocationModel;\n\n /**\n * The string containing the list of residents moving in.\n */\n @computed('args.model.residentsMovingIn')\n get residentsMovingIn(): string {\n return this.args.model.residentsMovingIn || this.intl.tc(this, 'moveInMessage');\n }\n\n /**\n * The string containing the list of residents moving out.\n */\n @computed('args.model.residentsMovingOut')\n get residentsMovingOut(): string {\n return this.args.model.residentsMovingOut || this.intl.tc(this, 'moveOutMessage');\n }\n\n /**\n * The title for the manage residents modal.\n */\n @computed('args.model.title')\n get title(): string {\n return this.args.model.title || this.intl.tc(this, 'manualConfirmTitle');\n }\n\n @action\n async manageResidents(): Promise {\n try {\n this.location.isMovingTenants = true;\n await this.location.save();\n\n // If the move-in was successful, we need to add the success message and transition to the previous route.\n this.contextManager.transitionToPreviousRoute();\n this.notificationManager.addSuccess(this.args.model.success);\n } catch (error) {\n // If location.save() gets an error back, it adds to the notification manager.\n // Doing this prevents logging duplicate errors.\n if (this.notificationManager.notifications.length == 0) {\n this.notificationManager.addError(error.errors[0].detail);\n }\n }\n }\n\n /**\n * Modal buttons\n */\n get footerButtons(): ModalButtonConfig[] {\n const { intl } = this;\n return [\n modalFooterButton(intl.t('generic.cancel'), () => this.modals.closeModal()),\n modalFooterButton(intl.t('generic.confirm'), async () => this.manageResidents(), 'btn-color-primary')\n ];\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Locations::ManageResidents': typeof ManageResidents;\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ManageResidentsModal from 'customer-site/components/modals/enterprise/locations/manage-residents/index';\nimport BaseSingleSystemSubrouteController from '../controller';\n\n/**\n * @classdesc\n * Controller for the manage residents page, allows manually moving residents in/out\n *\n * @class enterprise\\locations\\location\\manage-residents.ManageResidentsController\n */\nexport default class ManageResidentsController extends BaseSingleSystemSubrouteController {\n @service intl;\n @service modals;\n @service ajax;\n @service store;\n @service contextManager;\n\n /**\n * Whether this has a PMS integration. If this is true, we will display the \"sync again\" button, populate the tenants table\n * with residents that will move in today, and show the PMS integration message.\n *\n * @type {boolean}\n */\n isPMSIntegration = false;\n\n @tracked\n isAddResidentsActionSheetActive = false;\n\n /**\n * id for the current residents in the ember store. Used to populate the resident list on the page.\n *\n * @type {int}\n */\n id = 1;\n\n @tracked\n isDeleteResidentsActionSheetActive = false;\n\n @tracked selectedTenantsIds = [];\n\n @tracked numTenantsChecked = 0;\n\n @tracked allTenantsChecked = false;\n\n /**\n * Pulls the most up-to-date tenants moving in today and updates the add tenants section to display those tenants.\n */\n syncTenantsFromPMS() {\n // Do nothing for now\n }\n\n /**\n * Returns whether or not to disable the submit button.\n *\n * Returns true when:\n * - There are no tenants to move\n * - There are no tenants moving in and none of them have been selected to move out\n * - There are tenants to move in whose properties are invalid\n *\n * Note: It's possible for a tenant without an email to exist. These tenants should still\n * be able to be moved out which is why only new tenants (tenants that are being added from the page) are checked for having\n * valid fields.\n */\n get disableButton() {\n const tenants = this.store.peekAll('enterprise/locations/tenant');\n const existingTenants = tenants.filter((t) => t.id !== undefined && t.id !== null);\n const newTenants = tenants.filter((t) => t.id === undefined || t.id === null);\n return (\n tenants.length === 0 ||\n (tenants.length === existingTenants.length && existingTenants.isEvery('moveOut', false)) ||\n !newTenants.isEvery('isTenantValid')\n );\n }\n\n @action\n async dataLoaded(model) {\n this.store.unloadAll('enterprise/locations/tenant');\n const detailLocation = await model.detailLocation;\n this.resolvedModel = detailLocation;\n const tenantsList = await this.ajax.apiRequest(\n `enterprise/locations/locations/getCurrentResidents?customerId=${detailLocation.customerId}`\n );\n const data = tenantsList?.data;\n\n data?.forEach((value) => {\n this.store.createRecord('enterprise/locations/tenant', {\n id: this.id,\n firstName: value.attributes.firstName,\n lastName: value.attributes.lastName,\n emailAddress: value.attributes.emailAddress,\n phoneNumber: value.attributes.phoneNumber,\n moveOut: false\n });\n this.id += 1;\n });\n }\n\n /**\n * V1 Move Tenants - Performs the action to move the inputted and selected tenants, and then transitions back to previous route with the success/error message.\n */\n @action\n moveTenants() {\n const { resolvedModel, intl } = this;\n let newResidents = ': None';\n let residentsLeaving = ': None';\n let tenantsList = this.store.peekAll('enterprise/locations/tenant').filter((tenant) => !tenant.moveOut);\n tenantsList.forEach((newTenant) => {\n if (newTenant.isTenantValid && newTenant.id == null) {\n if (newResidents == ': None') {\n newResidents = ': ' + newTenant.firstName + ' ' + newTenant.lastName;\n } else {\n newResidents += ', ' + newTenant.firstName + ' ' + newTenant.lastName;\n }\n }\n });\n\n let tenantsMovingOut = this.store.peekAll('enterprise/locations/tenant').filter((tenant) => tenant.moveOut);\n tenantsMovingOut.forEach((tenantMovingOut) => {\n if (residentsLeaving == ': None') {\n residentsLeaving = ': ' + tenantMovingOut.firstName + ' ' + tenantMovingOut.lastName;\n } else {\n residentsLeaving += ', ' + tenantMovingOut.firstName + ' ' + tenantMovingOut.lastName;\n }\n });\n\n this.resolvedModel.tenants = tenantsList;\n\n this.modals.showModal(ManageResidentsModal, {\n location: resolvedModel,\n residentsMovingIn: intl.tc(this, 'moveInMessage') + newResidents,\n residentsMovingOut: intl.tc(this, 'moveOutMessage') + residentsLeaving,\n title: intl.tc(this, 'manualConfirmTitle'),\n success: intl.tc(this, 'manualMoveSuccess')\n });\n }\n\n @action\n willDestroy() {\n super.willDestroy(...arguments);\n this.store.unloadAll('enterprise/locations/tenant');\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsManageResidents } from '../../../../enums/CustomerPageUrl';\n\nexport default class ManageResidentsRoute extends AdcBaseRoute {\n routeId = EmberLocationsManageResidents;\n\n async model() {\n return await this.modelFor('enterprise.locations.location');\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { assert } from '@ember/debug';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type BaseSingleSystemSubrouteRoute from '../route';\n\ntype ResolvedModel = ResolvedModelFrom['detailLocation'];\n\n/**\n * @classdesc\n * The controller for adding new tenants to manually move in.\n */\nexport default class ManualMoveInController extends Controller {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare ajax: ServiceRegistry['ajax'];\n @service declare store: ServiceRegistry['store'];\n\n declare model: ModelFrom;\n @tracked resolvedModel?: ResolvedModel;\n\n @computed('resolvedModel.tenants.{@each.isTenantValid,[]}')\n get disableButton(): boolean {\n const { tenants } = this.resolvedModel ?? {};\n if (!tenants) {\n return true;\n }\n\n return tenants.length === 0 || tenants.slice().some((tl) => !tl.isTenantValid);\n }\n\n /**\n * Whether this has a PMS integration. If this is true, we will display the \"sync again\" button, populate the tenants table\n * with residents that will move in today, and show the PMS integration message.\n */\n isPMSIntegration = false;\n\n /**\n * Pulls the most up-to-date tenants moving in today and updates the add tenants section to display those tenants.\n */\n syncTenantsFromPMS(): void {\n // Do nothing for now\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n async dataLoaded(detailLocation: ResolvedModel): Promise {\n detailLocation.tenants.setObjects([this.store.createRecord('enterprise/locations/tenant')]);\n this.resolvedModel = detailLocation;\n }\n\n /**\n * Performs the action to move in the inputted tenants, and then transitions back to previous route with the success/error message.\n */\n @action\n moveInTenants(): void {\n const { notificationManager, resolvedModel, intl } = this;\n assert('Resolved model is defined at this point', resolvedModel);\n\n resolvedModel.tenants.forEach((tenant) => {\n tenant.moveOut = false;\n });\n\n this.modals.showConfirmationDialog(intl.tc(this, 'manualMoveInTitle'), intl.tc(this, 'manualMoveInMessage'), {\n text: intl.t('generic.confirm'),\n action: async () => {\n try {\n resolvedModel.isMovingTenants = true;\n await resolvedModel.save();\n // If the move-in was successful, we need to add the success message, clear the list of tenants, and transition to the previous route.\n const tenants = this.store\n .peekAll('enterprise/locations/tenant')\n .filter((tenant) => tenant.id != undefined);\n tenants.forEach((tenant) => tenant.deleteRecord());\n resolvedModel.tenants.setObjects([]);\n notificationManager.addSuccess(intl.tc(this, 'manualMoveOutSuccess'));\n this.contextManager.transitionToPreviousRoute();\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n }\n }\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/locations/location/manual-move-in': ManualMoveInController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsEditManualMoveIn } from 'customer-site/enums/CustomerPageUrl';\n\nimport './_style.scss';\n\n/**\n * @classdesc\n * Change property management integration settings.\n */\nexport default class ManualMoveInRoute extends AdcBaseRoute {\n routeId = EmberLocationsEditManualMoveIn;\n}\n","import { computed, get } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport BaseSingleSystemSubrouteController from '../controller';\n\n/**\n * @classdesc\n * Panel sub route controller.\n */\nexport default class PanelController extends BaseSingleSystemSubrouteController {\n /** @override */\n @computed('model.detailLocation.partitions.[]')\n get cards() {\n return (async () => {\n const location = await get(this.model, 'detailLocation');\n return location.partitions.toArray();\n })();\n }\n\n /** @override */\n get deviceTypeKey() {\n return 'panels';\n }\n\n /**\n * The sensors to display for the current location.\n *\n * @type {Promise>}\n */\n @computed('model.detailLocation.sensors.@each.isMonitoringEnabled')\n get sensors() {\n return (async () => {\n const location = await get(this.model, 'detailLocation'),\n sensors = await location.sensors;\n\n return sensors.filterBy('isMonitoringEnabled');\n })();\n }\n\n /**\n * Indicates there are no panels or sensors for this location.\n *\n * @type {Promise}\n */\n @computed('cards.[]', 'sensors.[]')\n get hasNoDevices() {\n return (async () => {\n const cards = await this.cards,\n sensors = await this.sensors;\n\n return isEmpty(cards) && isEmpty(sensors);\n })();\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsLocationPanel } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Panel sub route.\n *\n * @class enterprise.locations.location.panel.Route\n * @extends classes.BaseRoute\n */\nconst PanelRoute = AdcBaseRoute.extend(\n /** @lends enterprise.locations.location.panel.Route# */ {\n /** @override */\n routeId: EmberLocationsLocationPanel,\n\n /**\n * Returns relevant location model.\n *\n * @function\n * @returns {models.enterprise.locations.Location}\n */\n model() {\n return this.modelFor('enterprise.locations.location');\n }\n }\n);\n\nexport default PanelRoute;\n","import { setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberLocationsLocation } from '../../../enums/CustomerPageUrl';\nimport { SingleSystemDetail } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc\n * Base for single system sub routes.\n */\nexport default class BaseSingleSystemSubrouteRoute extends BaseLocationsSubrouteRoute {\n @service store;\n\n /** @override */\n routeId = EmberLocationsLocation;\n\n /** @override */\n locationDataType = SingleSystemDetail;\n\n model({ id_location }) {\n this.locationId = id_location;\n\n const model = super.model(...arguments),\n detailLocation = this.store\n .query('enterprise/locations/location', {\n locationDataType: this.locationDataType,\n id: id_location\n })\n .then((response) => response.get('firstObject')),\n locationUsers = this.store.findRecord('enterprise/locations/location-user-info', id_location);\n\n detailLocation.then((location) => {\n const pageTitle = location.description;\n if (this.contextManager?.currentRouteData?.routeItem?.parent != undefined) {\n setProperties(this.contextManager?.currentRouteData?.routeItem?.parent, { pageTitle });\n }\n });\n\n model.set('detailLocation', detailLocation);\n model.set('locationUsers', locationUsers);\n\n return model;\n }\n}\n","import { computed } from '@ember/object';\nimport BaseSingleSystemSubrouteController from '../controller';\n\n/**\n * @classdesc\n * Thermostats sub route controller\n */\nexport default class LocationThermostatDetailsController extends BaseSingleSystemSubrouteController {\n @computed('model.detailLocation.thermostats.[]')\n get cards() {\n return (async () => {\n const location = await this.model.detailLocation;\n return location.thermostats;\n })();\n }\n\n /** @override */\n get deviceTypeKey() {\n return 'thermostats';\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsLocationThermostats } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Thermostats sub route.\n *\n * @class enterprise.locations.location.thermostats.Route\n * @extends classes.BaseRoute\n */\nconst ThermostatsRoute = AdcBaseRoute.extend(\n /** @lends enterprise.locations.location.thermostats.Route# */ {\n /** @override */\n routeId: EmberLocationsLocationThermostats,\n\n /**\n * Returns relevant location model.\n *\n * @function\n * @returns {models.enterprise.locations.Location}\n */\n model() {\n return this.modelFor('enterprise.locations.location');\n }\n }\n);\n\nexport default ThermostatsRoute;\n","import { inject as service } from '@ember/service';\nimport { dasherize } from '@ember/string';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport LocationOccupancyInfo from '../helper-objects/location-occupancy-info';\n\n/**\n * @classdesc\n * Occupancy subroute controller.\n */\nexport default class OccupancySubrouteController extends BaseLocationsSubrouteController {\n @service intl;\n\n /** @override */\n createLocationInfos(locations) {\n return locations.rejectBy('isCommonArea').map((model) => new LocationOccupancyInfo(model));\n }\n\n /** @override */\n get columnHeadersInfo() {\n return ['status', 'checkIn', 'checkOut', 'locationReadiness'].map((header) => ({\n header: this.intl.tc(this, header),\n extraClass: `${dasherize(header)}-column`\n }));\n }\n}\n","import { EmberLocationsOccupancy } from '../../../enums/CustomerPageUrl';\nimport { STR } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations occupancy subroute\n */\nexport default class OccupancyRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsOccupancy;\n\n /** @override */\n locationDataType = STR;\n\n /** @override */\n showWideFilters = true;\n}\n","import { computed } from '@ember/object';\nimport { dasherize } from '@ember/string';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport LocationPersonalSafetyInfo from '../helper-objects/location-personal-safety-info';\n\n/**\n * @classdesc Personal Safety subroute controller\n */\nexport default class PersonalSafetySubrouteController extends BaseLocationsSubrouteController {\n /** @override */\n createLocationInfos(locations) {\n return locations.map((location) => new LocationPersonalSafetyInfo(location));\n }\n\n /** @override */\n @computed('intl')\n get columnHeadersInfo() {\n return ['activeEmergencies', 'batteryStatus'].map((header) => ({\n header: this.intl.tc(this, header),\n extraClass: `${dasherize(header)}-column`\n }));\n }\n}\n","import { PersonalSafety } from 'customer-site/enums/LocationDataType';\nimport { EmberLocationsPersonalSafety } from '../../../enums/CustomerPageUrl';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations Personal Safety dashboard subroute\n */\nexport default class EnterprisePersonalSafetyRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsPersonalSafety;\n\n /** @override */\n locationDataType = PersonalSafety;\n}\n","import { A } from '@ember/array';\nimport EmberObject, { action, set, setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport DS from 'ember-data';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\nimport AdcBaseRoute from '../../classes/base-route';\nimport { EmberLocations } from '../../enums/CustomerPageUrl';\nimport { getOccupancyFilterSelection } from './helpers/filters';\n\n/**\n * @classdesc Locations parent route\n *\n * @class enterprise.locations.Route\n */\nexport default class EnterpriseLocationsRoute extends AdcBaseRoute {\n @service store;\n\n /** @override */\n routeId = EmberLocations;\n\n queryParams = {\n searchString: getQueryParam('string'),\n searchKeyword: getQueryParam('string'),\n checkIn: getQueryParam('date'),\n checkOut: getQueryParam('date'),\n occupancyStatus: getQueryParam('string'),\n cleaningStatus: getQueryParam('string'),\n inspectionStatus: getQueryParam('string'),\n propertyStatus: getQueryParam('string')\n };\n\n /**\n * Task that gets the uncached filter counts for the current dashboard.\n */\n loadUncachedFilters = task(this, { restartable: true }, async (store, searchString, searchKeyword, filtersString) =>\n store.query('enterprise/locations/filter-count', {\n searchString,\n searchKeyword,\n filtersString,\n onlyUncachedFilterCounts: true,\n pageUrlEnum: EmberLocations\n })\n );\n\n /**\n * Loads the model for the parent route, including all of the data the child routes will need.\n *\n * @returns {{ getLocationsAndFilters: function, setViewProperties: function, occupancyFilterOptions: Promise }}\n */\n model({\n searchString,\n searchKeyword,\n checkIn,\n checkOut,\n occupancyStatus,\n cleaningStatus,\n inspectionStatus,\n propertyStatus\n }) {\n const { store, contextManager, loadUncachedFilters } = this;\n const controller = this.controllerFor(this.routeName);\n\n return EmberObject.create({\n getLocationsAndFilters: function (keepFilters = false, locationId = '') {\n // First, get the currentFilters from the model.\n const { currentFilters, batchSize, groupBatchSize, groupedLocationsBatchSize, locationDataType } = this,\n // Use the tracked locFiltersString property when there are no currentFilters on the model.\n filtersString = currentFilters ? JSON.stringify(currentFilters) : controller.locFiltersString;\n\n // Now, if we want new filters, request them and set the property once they've been received.\n if (!keepFilters) {\n set(\n this,\n 'filters',\n DS.PromiseArray.create({\n promise: store.query('enterprise/locations/filter', {\n locationDataType,\n searchString,\n searchKeyword,\n filtersString,\n pageUrlEnum: EmberLocations\n })\n })\n );\n }\n\n // Get occupancy-specific filters from query params.\n const occupancyFilterSelection = getOccupancyFilterSelection(\n checkIn,\n checkOut,\n occupancyStatus,\n cleaningStatus,\n inspectionStatus,\n propertyStatus\n );\n\n // We check the occupancyFilterSelection object to determine which filters to select in the filter dropdown.\n set(this, 'occupancyFilterSelection', occupancyFilterSelection);\n\n // Asynchronously request the first batch of locations (0 through batchSize) at the same time as the filters.\n const getLocationsPromise = store.query('enterprise/locations/location', {\n locationDataType,\n startIndex: 0,\n searchString,\n searchKeyword,\n filtersString,\n batchSize: batchSize,\n groupedLocationsBatchSize: groupedLocationsBatchSize,\n groupBatchSize: groupBatchSize,\n id: locationId,\n ...occupancyFilterSelection\n });\n\n // Set isLoading so the container will show a loading animation.\n set(this, 'isLoading', getLocationsPromise);\n\n // After we've retrieved the locations, set the locations and metadata on the model,\n // and update our nextStartIndex so that it will start right after the last location we retrieved.\n getLocationsPromise.then((response) => {\n setProperties(this, {\n locations: A(response.toArray()),\n meta: response.meta,\n nextStartIndex: batchSize,\n nextGroupStartIndex: groupBatchSize\n });\n\n // Set up group states for each rendered group.\n const groupStates = this.groupStates ?? new Map();\n this.locations.forEach((loc) => {\n // If the location is not a fake one (indicates empty group) and the group isn't already in the map, add it.\n if (loc.description != null && groupStates.get(Number(loc.groupId)) === undefined) {\n groupStates.set(\n Number(loc.groupId),\n window.localStorage.getItem('parentGroupExpandState')?.includes('true') ?? false\n );\n }\n });\n\n set(this, 'groupStates', groupStates);\n\n // Once location data has been saved, fetch filter counts.\n // This may have already been done on the back end by the locations controller when applying the filters.\n set(\n this,\n 'filterCounts',\n DS.PromiseArray.create({\n promise: store.query('enterprise/locations/filter-count', {\n searchString,\n searchKeyword,\n filtersString,\n onlyUncachedFilterCounts: !contextManager.identityModel.isUsingEnterpriseLocationsCache,\n pageUrlEnum: EmberLocations\n })\n })\n );\n\n if (contextManager.identityModel.isUsingEnterpriseLocationsCache) {\n set(\n this,\n 'uncachedFilterCounts',\n DS.PromiseArray.create({\n promise: loadUncachedFilters.perform(store, searchString, searchKeyword, filtersString)\n })\n );\n }\n });\n },\n\n setViewProperties: function (locationDataType, showWideFilters) {\n // Set the view-dependent properties on the model.\n setProperties(this, {\n locationDataType,\n showWideFilters,\n batchSize: 50,\n groupedLocationsBatchSize: 20,\n groupBatchSize: 10,\n groupedLocationsStartIndexes: new Map()\n });\n },\n\n occupancyFilterOptions: DS.PromiseObject.create({\n promise: this.ajax\n .apiRequest('enterprise/locations/occupancyFilterOptions')\n .then((response) => response.value)\n })\n });\n }\n\n deactivate() {\n super.deactivate();\n\n // make sure our task is stopped upon page deactivation\n this.loadUncachedFilters.cancelAll();\n }\n\n /**\n * Clears filters.\n */\n @action\n clearFilters() {\n // Clear out \"currentFilters\" so that as we change views, filters that are on multiple views don't stay selected.\n // Clear out \"filters\" so that we hide the filters during the transition while we wait for new filters.\n // Clear out \"uncachedFilterCounts\" so that it appears loading at the same time as the cached filters counts.\n this.currentModel.setProperties(this, {\n currentFilters: undefined,\n filters: [],\n uncachedFilterCounts: []\n });\n\n // Set \"showClearFilterButtonWithoutFilters\" to false so the \"clear filters\" button doesn't appear with no filters selected.\n this.controllerFor(this.routeName).set('showClearFilterButtonWithoutFilters', false);\n }\n}\n","import { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberLocationsLocationAccessPoints } from '../../../enums/CustomerPageUrl';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport LocationSummaryInfo from '../helper-objects/location-summary-info';\n\n/**\n * @classdesc\n * Summary subroute controller.\n *\n * @class SummarySubrouteController\n * @extends enterprise.locations.BaseLocationsSubrouteController\n * @memberof enterprise.locations.summary\n */\nexport default class SummarySubrouteController extends BaseLocationsSubrouteController {\n @service contextManager;\n @service intl;\n\n /** @override */\n createLocationInfos(locations) {\n const { showBusinessStatus, showAccessPoints, showPanels, showTenantTurnoverStatus } = this.model.meta;\n return locations.map(\n (model) =>\n new LocationSummaryInfo(\n model,\n showBusinessStatus,\n showAccessPoints,\n showPanels,\n showTenantTurnoverStatus\n )\n );\n }\n\n /** @override */\n @computed(\n 'contextManager.identityModel.isPointCentral',\n 'model.meta.{showLocationsDetailsView,showBusinessStatus,showAccessPoints,showPanels,showTenantTurnoverStatus,showCentralStationId}'\n )\n get columnHeadersInfo() {\n const columnHeaders = [],\n { meta } = this.model;\n\n let columns;\n\n if (meta.showLocationsDetailsView) {\n columns = ['city', 'state', 'zipCode', 'centralStationId'];\n } else {\n columns = [\n 'businessStatus',\n this.contextManager.identityModel.isPointCentral ? 'hubs' : 'panels',\n 'accessPoints'\n ];\n }\n\n columns.forEach((type) => {\n if (\n (type === 'businessStatus' && !meta.showBusinessStatus) ||\n (type === 'accessPoints' && !meta.showAccessPoints) ||\n ((type === 'panels' || type === 'hubs') && !meta.showPanels) ||\n (type === 'tenantTurnoverStatus' && !meta.showTenantTurnoverStatus) ||\n (type === 'centralStationId' && !meta.showCentralStationId)\n ) {\n return;\n }\n\n const extraClass = {\n businessStatus: 'business-status-column',\n panels: 'panel-status-column',\n hubs: 'panel-status-column',\n accessPoints: 'access-points-column',\n city: 'city-column',\n state: 'state-column',\n zipCode: 'zip-code-column',\n centralStationId: 'central-station-id-column'\n }[type];\n\n const header = meta[`${type}Header`] || this.intl.tc(this, type);\n\n columnHeaders.push({\n header,\n extraClass\n });\n });\n\n return columnHeaders;\n }\n\n /**\n * RouteId of the access points sub-page.\n *\n * @type {number}\n */\n accessPointsSubRouteId = EmberLocationsLocationAccessPoints;\n}\n","import { EmberLocationsSummary } from '../../../enums/CustomerPageUrl';\nimport { Commercial } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations summary subroute\n *\n */\nexport default class SummarySubrouteController extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsSummary;\n\n /** @override */\n locationDataType = Commercial;\n}\n","import { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport LocationTemperaturesInfo from '../helper-objects/location-temperatures-info';\n\n/**\n * @classdesc\n * Thermostats subroute controller.\n */\nexport default class TemperaturesSubrouteController extends BaseLocationsSubrouteController {\n @service intl;\n\n /** @override */\n createLocationInfos(locations) {\n return locations.map((model) => new LocationTemperaturesInfo(model));\n }\n\n /** @override */\n @computed()\n get columnHeadersInfo() {\n return [\n ...[\n ['sensors', 'sensors'],\n ['temperatureStatus', 'temperature-status']\n ]\n .map((header) => {\n return {\n header: this.intl.tc(this, header[0]),\n extraClass: `${header[1]}-column`\n };\n })\n .compact()\n ];\n }\n}\n","import { EmberLocationsTemperatures } from '../../../enums/CustomerPageUrl';\nimport { CommercialTemperatures } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations thermostats subroute\n */\nexport default class TemperaturesRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsTemperatures;\n\n /** @override */\n locationDataType = CommercialTemperatures;\n}\n","import { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport LocationThermostatsInfo from '../helper-objects/location-thermostats-info';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Thermostats subroute controller.\n */\nexport default class ThermostatsSubrouteController extends BaseLocationsSubrouteController {\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n\n /** @override */\n createLocationInfos(locations: LocationModel[]): LocationThermostatsInfo[] {\n return locations.map((model) => new LocationThermostatsInfo(model));\n }\n\n /** @override */\n @computed('identityManager.pointCentralIdentity.isPointCentralSTR')\n get columnHeadersInfo(): { header: string; extraClass: string }[] {\n return [\n { header: this.intl.tc(this, 'thermostatsColumn'), extraClass: 'thermostat-button-sub-row' },\n ...[\n ['insideTemp'],\n ['mode'],\n ['schedules', true, this.identityManager.pointCentralIdentity?.isPointCentralSTR],\n ['localControl', true]\n ] // [header, isOptionalIcon, isHidden]\n .map(([header, optional, hidden]) => {\n if (hidden) {\n return undefined;\n }\n\n return {\n header: typeof header == 'string' ? this.intl.tc(this, header) : '',\n extraClass: 'thermostat-detail icon-sub-row' + (optional ? ' optional-icon' : '') // Optional icons (icons that depend on whether the thermostat supports them or not) have different styling to allow icons to be centered under the column title\n };\n })\n ].filter(Boolean) as { header: string; extraClass: string }[];\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/locations/thermostats': ThermostatsSubrouteController;\n }\n}\n","import { EmberLocationsThermostats } from '../../../enums/CustomerPageUrl';\nimport { Energy } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations thermostats subroute\n */\nexport default class ThermostatsSubrouteRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsThermostats;\n\n /** @override */\n locationDataType = Energy;\n}\n","import { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { dasherize } from '@ember/string';\nimport BaseLocationsSubrouteController from '../base-locations-subroute-controller';\nimport { displayReportFromResponse } from '../controller';\nimport LocationVideoInfo from '../helper-objects/location-video-info';\n\n/**\n * @classdesc\n * Video subroute controller.\n */\nexport default class VideoSubrouteController extends BaseLocationsSubrouteController {\n @service intl;\n\n /** @override */\n createLocationInfos(locations) {\n return locations.map((model) => new LocationVideoInfo(model));\n }\n\n /**\n * If no location has an SVR, filter out the 'svrsOnline' and 'recordedVideo' column headers\n */\n /** @override */\n @computed('locationInfos.[]', 'model.meta.showRecordedVideo')\n get columnHeadersInfo() {\n return (async () => {\n const hasSvrs = await this.someSvrs();\n const hasRecordedVideoDevices = this.model.meta.showRecordedVideo;\n\n const shouldHideColumn = (header) =>\n (header === 'svrsOnline' && !hasSvrs) || (header === 'recordedVideo' && !hasRecordedVideoDevices);\n\n return ['svrsOnline', 'camerasOnline', 'recordedVideo', 'monthlyUploads'].map((header) => ({\n header: this.intl.tc(this, header),\n extraClass: `${dasherize(header)}-column ${shouldHideColumn(header) ? 'location-without-svrs' : ''}`\n }));\n })();\n }\n\n /**\n * Determines whether there exists any svrs in the system\n */\n async someSvrs() {\n for (let locationInfo of this.locationInfos) {\n if ((await locationInfo.model.allSvrs).length > 0) {\n return true;\n }\n }\n }\n\n /**\n * Produces a popup displaying info about the given (name) property\n * The recorded video popup is only displayed if the location has more than 1 svr\n *\n * @param {LocationInfo} locationInfo\n * @param {String} name\n * @param {MouseEvent} mouseEvent\n */\n @action\n toggleLocationInfoProperty(locationInfo, name, mouseEvent) {\n mouseEvent.stopPropagation();\n locationInfo[name] = !locationInfo[name];\n }\n\n /**\n * Runs the Single System Video Health Report for the associated location\n *\n * @param {LocationInfo} locationInfo\n */\n @action\n async runSingleSystemVideoHealthReport(locationInfo, mouseEvent) {\n mouseEvent.stopPropagation();\n displayReportFromResponse(\n await locationInfo.model.runFleetTripReport(),\n locationInfo,\n this.navigation,\n this.notificationManager,\n this.identityManager,\n this.intl\n );\n }\n}\n","import { EmberLocationsVideo } from '../../../enums/CustomerPageUrl';\nimport { Video } from '../../../enums/LocationDataType';\nimport BaseLocationsSubrouteRoute from '../base-locations-subroute-route';\n\n/**\n * @classdesc Locations video subroute\n */\nexport default class VideoRoute extends BaseLocationsSubrouteRoute {\n /** @override */\n routeId = EmberLocationsVideo;\n\n /** @override */\n locationDataType = Video;\n}\n","import EmberController from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to show the options when creating an enterprise login.\n */\nexport default class EnterpriseManageLoginsAddEnterpriseLoginsOptionsController extends EmberController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/add-enterprise-logins-options': EnterpriseManageLoginsAddEnterpriseLoginsOptionsController;\n }\n}\n","import BaseEnterpriseAddEnterpriseLoginsOptionsRoute from 'customer-site/classes/enterprise/logins/add-enterprise-logins-options/route';\nimport { EmberAddEnterpriseLoginsOptions } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route that displays the options to create a non-access-control, enterprise login.\n */\nexport default class EnterpriseAddEnterpriseLoginsOptionsRoute extends BaseEnterpriseAddEnterpriseLoginsOptionsRoute {\n /** @override */\n routeId = EmberAddEnterpriseLoginsOptions;\n}\n","import MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport { EmberEnterpriseLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to associate a new login.\n */\nexport default class EnterpriseManageLoginsAssociateMultiGroupLoginController extends MultiGroupLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/associate/multi-group-login': EnterpriseManageLoginsAssociateMultiGroupLoginController;\n }\n}\n","import NewMultiGroupLoginRoute from 'customer-site/enterprise/logins/new-login/new-multi-group-login/route';\nimport { EmberAssociateMultiGroupLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route to create a new multi group login.\n */\nexport default class AssociateMultiGroupLoginRoute extends NewMultiGroupLoginRoute {\n /** @override */\n routeId = EmberAssociateMultiGroupLogin;\n\n /** @override */\n parentRoute = 'enterprise/logins/associate';\n\n /**\n * @override\n * Let the base controller know that we are associating an existing login with this group.\n */\n isAssociatingLogin = true;\n}\n","import BaseNewEnterpriseLoginsRoute from 'customer-site/enterprise/logins/new-login/route';\nimport { EmberAssociateEnterpriseLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * The route to edit an enterprise login.\n */\nexport default class BaseAssociateEnterpriseLoginsRoute extends BaseNewEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberAssociateEnterpriseLogin;\n}\n","import BaseEditScheduledDeviceLoginController from 'customer-site/classes/enterprise/logins/edit/edit-scheduled-device-login/controller';\nimport { EmberEnterpriseLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Route for editing a scheduled device access login in a non-AC context.\n *\n */\nexport default class EditScheduledDeviceLoginController extends BaseEditScheduledDeviceLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/edit/edit-scheduled-device-login': EditScheduledDeviceLoginController;\n }\n}\n","import MultiGroupLoginRoute from 'customer-site/classes/enterprise/logins/edit/multi-group-login/route';\nimport { EmberEditScheduledDeviceLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * The route to create a new enterprise scheduled login.\n */\nexport default class BaseEditEnterpriseScheduledLoginsRoute extends MultiGroupLoginRoute {\n /** @override */\n routeId = EmberEditScheduledDeviceLogin;\n}\n","import MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport { EmberEnterpriseLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to edit a login's access on multiple groups.\n */\nexport default class EnterpriseManageLoginsEditMultiGroupLoginController extends MultiGroupLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/edit/multi-group-login': EnterpriseManageLoginsEditMultiGroupLoginController;\n }\n}\n","import BaseEnterpriseEditMultiGroupLoginsRoute from 'customer-site/classes/enterprise/logins/edit/multi-group-login/route';\nimport { EmberEditMultiGroupLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise logins route.\n */\nexport default class EnterpriseEditMultiGroupLoginsRoute extends BaseEnterpriseEditMultiGroupLoginsRoute {\n /** @override */\n routeId = EmberEditMultiGroupLogin;\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEditEnterpriseLogin } from 'customer-site/enums/CustomerPageUrl';\n\nimport type NonGroupLoginModel from 'customer-site/models/logins/non-group-login';\nimport type SystemGroupLoginModel from 'customer-site/models/logins/system-group-login';\n\ntype GetLoginModelType =\n | Promise\n | SystemGroupLoginModel\n | Promise\n | NonGroupLoginModel;\n\n/**\n * @classdesc\n *\n * The route to edit an enterprise login.\n */\nexport default class BaseEditEnterpriseLoginsRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberEditEnterpriseLogin;\n\n /**\n * cl refers to whether or not the login being edited is a customer login.\n */\n queryParams = {\n cl: {\n refreshModel: false,\n replace: true\n }\n };\n\n /**\n * Gets the system group login associated with the login id.\n *\n * @param loginId\n */\n getSystemGroupLoginModel(loginId: string, isNonGroupLogin: boolean): GetLoginModelType {\n return this.store.findRecord(`logins/${isNonGroupLogin ? 'non-group' : 'system-group'}-login`, loginId, {\n reload: true\n });\n }\n\n /** @override */\n model({ id_login, cl }: { id_login: string; cl: string }):\n | {\n login: GetLoginModelType;\n }\n | { isNew: boolean } {\n return {\n login: this.getSystemGroupLoginModel(id_login, cl === 'true')\n };\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberElevateLogins } from 'customer-site/enums/CustomerPageUrl';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\n\n/**\n * @classdesc\n * Elevate non-access-control customer logins route.\n */\nexport default class EnterpriseElevateLoginsRoute extends AdcBaseRoute {\n routeId = EmberElevateLogins;\n\n queryParams = {\n searchString: getQueryParam('string')\n };\n}\n","import BaseEnterpriseLoginsIndexController from 'customer-site/classes/enterprise/logins/index/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The Enterprise manage logins page, listing all logins on the selected system group.\n */\nexport default class EnterpriseManageLoginsIndexController extends BaseEnterpriseLoginsIndexController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/index': EnterpriseManageLoginsIndexController;\n }\n}\n","import BaseEnterpriseLoginsRoute from 'customer-site/classes/enterprise/logins/index/route';\nimport { EmberEnterpriseLogins } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise logins route.\n */\nexport default class EnterpriseLoginsRoute extends BaseEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberEnterpriseLogins;\n}\n","import MultiGroupLoginController from 'customer-site/classes/enterprise/logins/edit/multi-group-login/controller';\nimport { EmberEnterpriseLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller of the page to create a new login.\n */\nexport default class EnterpriseManageLoginsNewMultiGroupLoginController extends MultiGroupLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/new-login/new-multi-group-login': EnterpriseManageLoginsNewMultiGroupLoginController;\n }\n}\n","import MultiGroupLoginRoute from 'customer-site/classes/enterprise/logins/edit/multi-group-login/route';\nimport { EmberNewMultiGroupLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route to create a new multi group login.\n */\nexport default class NewMultiGroupLoginRoute extends MultiGroupLoginRoute {\n /** @override */\n routeId = EmberNewMultiGroupLogin;\n\n /** @override */\n parentRoute = 'enterprise/logins/new-login';\n\n /**\n * This lets the base multi-group-login route know which route to pull from when getting the login's model.\n */\n isNew = true;\n}\n","import EditScheduledDeviceLoginController from 'customer-site/classes/enterprise/logins/edit/edit-scheduled-device-login/controller';\nimport { EmberEnterpriseLogins } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The base route controller for creating a new scheduled device access login.\n *\n * @class enterprise.logins.NewScheduledDeviceLoginController\n */\nexport default class NewScheduledDeviceLoginController extends EditScheduledDeviceLoginController {\n declare model: ModelFrom;\n\n /** @override */\n loginIndexRouteId = EmberEnterpriseLogins;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/logins/new-login/new-scheduled-device-login': NewScheduledDeviceLoginController;\n }\n}\n","import NewMultiGroupLoginRoute from 'customer-site/enterprise/logins/new-login/new-multi-group-login/route';\nimport { EmberNewScheduledDeviceLogin } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * The route to create a new enterprise scheduled login.\n */\nexport default class BaseNewEnterpriseScheduledLoginsRoute extends NewMultiGroupLoginRoute {\n /** @override */\n routeId = EmberNewScheduledDeviceLogin;\n}\n","import BaseEditEnterpriseLoginsRoute from 'customer-site/enterprise/logins/edit/route';\nimport { EmberNewEnterpriseLogin } from 'customer-site/enums/CustomerPageUrl';\nimport { WEEK_DAYS } from 'customer-site/utils/datetime';\nimport LoginTemporarySchedule from 'customer-site/utils/transforms-objects/login-temporary-schedule';\nimport WeeklySchedule from 'customer-site/utils/transforms-objects/weekly-schedule';\n\nimport type SystemGroupLoginModel from 'customer-site/models/logins/system-group-login';\n\n/**\n * @classdesc\n *\n * The route to edit an enterprise login.\n */\nexport default class BaseNewEnterpriseLoginsRoute extends BaseEditEnterpriseLoginsRoute {\n /** @override */\n routeId = EmberNewEnterpriseLogin;\n\n /** @override */\n getSystemGroupLoginModel(): SystemGroupLoginModel {\n const NINE_AM = 540,\n FIVE_PM = 1020;\n\n const newLogin = this.store.createRecord('logins/system-group-login', {\n canBeEdited: true,\n canBeDeleted: true,\n loginRolesItems: {},\n selectedUnitIds: [],\n weeklySchedule: new WeeklySchedule(this, { selectedDays: WEEK_DAYS, beginTime: NINE_AM, endTime: FIVE_PM }),\n loginTemporarySchedule: new LoginTemporarySchedule(this, {\n beginDateTime: new Date(),\n endDateTime: undefined\n })\n });\n\n return newLogin;\n }\n}\n","import { EmberMultiGroupSettings } from 'customer-site/enums/CustomerPageUrl';\nimport BaseSettingsRoute from '../../classes/base-settings-route';\n\n/**\n * @class enterprise.settings.index.Route\n * @extends classes.BaseSettingsRoute\n */\nconst Route = BaseSettingsRoute.extend(\n /** @lends enterprise.settings.index.Route# **/ {\n /** @override */\n routeId: EmberMultiGroupSettings\n }\n);\n\nexport default Route;\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseLtrCommunityDashboard } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for the LTR community dashboard.\n */\nexport default class PointCentralCommunityDashboardRoute extends AdcBaseRoute {\n routeId = EmberEnterpriseLtrCommunityDashboard;\n redirect(): void {\n window.location.replace(window.location.origin + '/web/pointcentral-community');\n }\n}\n","import EmberController from '@ember/controller';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\n/**\n * @classdesc\n *\n * Controller for a high-level overview of parent's child groups.\n *\n * @class enterprise.locations.overview.Controller\n * @extends Ember.Controller\n */\nexport default class Controller extends EmberController {\n @service contextManager;\n @service store;\n @service intl;\n @service identityManager;\n\n /**\n * Variable holding search string used to filter system groups.\n *\n * @type {String}\n */\n searchString = '';\n\n /**\n * The system group models matching search string text.\n *\n * @returns {Promise>}\n */\n @computed('model.parent.isFulfilled', 'searchString')\n get loadChildGroups() {\n return (async () => {\n const { searchString, model } = this;\n const { children = [] } = await model.parent;\n\n return children.filter((group) => {\n const { description } = group;\n return (\n !searchString ||\n description.includes(searchString) ||\n description.toLowerCase().includes(searchString.toLowerCase())\n );\n });\n })();\n }\n\n /**\n * The count of the number of system groups currently shown.\n * @returns {Promise}\n */\n @computed('loadChildGroups')\n get groupCountDescription() {\n return (async () => {\n return this.intl.tc(this, 'groupCount', { numGroups: (await this.loadChildGroups).length });\n })();\n }\n\n /**\n * Switch application context to the system group passed in.\n *\n * @param childGroup {models.systems.SystemGroup}\n */\n @action\n childGroupClicked(childGroup) {\n if (!this.identityManager.isMobileApp) {\n const { store, contextManager } = this,\n availableSystemItem = store.peekRecord('systems/available-system-item', 'group-' + childGroup.id);\n contextManager.switchContext(availableSystemItem);\n }\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberLocationsOverview } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for a high-level overview of parent's child groups.\n *\n * @class enterprise.locations.overview.Route\n * @extends AdcBaseRoute\n */\nexport default class Route extends AdcBaseRoute {\n @service store;\n\n /** @override **/\n routeId = EmberLocationsOverview;\n\n @service contextManager;\n\n /** @override **/\n model() {\n const { store, contextManager } = this;\n return {\n parent: store.findRecord('systems/system-group-cache-datum', contextManager.getSelectedSystemGroupId())\n };\n }\n}\n","import ReportsCatalogController from 'customer-site/commercial/reports/catalog/controller';\nimport { EmberEnterpriseReportEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class EnterpriseReportsCatalogController extends ReportsCatalogController {\n declare model: ModelFrom;\n\n newReportRouteId = EmberEnterpriseReportEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/catalog': EnterpriseReportsCatalogController;\n }\n}\n","import BaseReportsCatalogRoute from '../../../commercial/reports/catalog/base-catalog-route';\nimport { EmberEnterpriseReportsCatalog } from '../../../enums/CustomerPageUrl';\n\nexport default class EnterpriseReportsCatalogRoute extends BaseReportsCatalogRoute {\n routeId = EmberEnterpriseReportsCatalog;\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit an access history report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/access-history-report': Controller;\n }\n}\n","import BaseAccessHistoryReportEditRoute from '../../../../commercial/reports/edit/access-history-report/route';\nimport { EmberEnterpriseAccessHistoryReportEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing access history report.\n *\n * @class enterprise.reports.edit.access-history-report.Route\n * @extends commercial.reports.edit.access-history-report.route\n */\nexport default class Route extends BaseAccessHistoryReportEditRoute {\n /** @override */\n routeId = EmberEnterpriseAccessHistoryReportEdit;\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit an alarms & issues report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/alarms-issues-report': Controller;\n }\n}\n","import BaseAlarmsIssuesReportEditRoute from '../../../../commercial/reports/edit/alarms-issues-report/route';\nimport { EmberEnterpriseAlarmsIssuesReportEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing alarms & issues report.\n *\n * @class enterprise.reports.edit.alarms-issues-report.Route\n * @extends commercial.reports.edit.alarms-issues-report.route\n */\nexport default class Route extends BaseAlarmsIssuesReportEditRoute {\n /** @override */\n routeId = EmberEnterpriseAlarmsIssuesReportEdit;\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a battery level report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/battery-level-report': Controller;\n }\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a baa report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/business-activity-analytics-report': Controller;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseBAAReportEdit } from '../../../../enums/CustomerPageUrl';\n\nimport type Transition from '@ember/routing/transition';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseReportEditRoute from '../route';\n\n/**\n * @classdesc Edit an existing baa report.\n */\nexport default class EnterpriseBAAReportEditRoute extends AdcBaseRoute {\n routeId = EmberEnterpriseBAAReportEdit;\n\n model(_: any, transition: Transition): ModelFrom {\n return this.modelFor(transition.to.parent!.name);\n }\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit': Controller;\n }\n}\n","import BaseReportEditRoute from 'customer-site/classes/commercial/reports/edit/base-report-edit-route';\nimport { EmberEnterpriseReportEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing report.\n */\nexport default class Route extends BaseReportEditRoute {\n routeId = EmberEnterpriseReportEdit;\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a Self Guided Tours Report\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/self-guided-tours-report': Controller;\n }\n}\n","import { set } from '@ember/object';\nimport { setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ExtraDataRoute from 'customer-site/classes/commercial/reports/edit/extra-data-route';\nimport { EmberEnterpriseSelfGuidedToursReportEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Transition from '@ember/routing/transition';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type BaseReport from 'customer-site/models/notifications/reports/base-report';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ReportEditRoute from '../route';\n\ntype SGTReportEditModel = ModelFrom & {\n systemGroup: ADCAsyncStoreFindRecord;\n};\n\n/**\n * @classdesc Edit an existing self-guided tours report.\n */\nexport default class Route extends ExtraDataRoute {\n @service declare identityManager: ServiceRegistry['identity-manager'];\n @service declare store: ServiceRegistry['store'];\n\n routeId = EmberEnterpriseSelfGuidedToursReportEdit;\n\n extraDataDelegate = (report: BaseReport) => {\n const isNewReport = !!report.isNew;\n if (isNewReport) {\n set(report, 'extraData', '');\n }\n };\n\n model(_: any, transition: Transition): SGTReportEditModel {\n return {\n ...this.modelFor>(transition.to.parent!.name),\n systemGroup: this.store.findRecord('systems/system-group', this.identityManager.getSelectedSystemGroupId())\n };\n }\n\n afterModel(model: SGTReportEditModel) {\n const { systemGroup, data } = model;\n setProperties(data, {\n ...data,\n systemGroup\n });\n }\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a trouble condition details report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/trouble-condition-details-report': Controller;\n }\n}\n","import { set } from '@ember/object';\nimport ExtraDataRoute from 'customer-site/classes/commercial/reports/edit/extra-data-route';\nimport { EmberEnterpriseTroubleConditionDetailsReportEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type BaseReport from 'customer-site/models/notifications/reports/base-report';\n\n/**\n * @classdesc Edit an existing trouble condition details report.\n */\nexport default class Route extends ExtraDataRoute {\n routeId = EmberEnterpriseTroubleConditionDetailsReportEdit;\n\n extraDataDelegate = (report: BaseReport) => {\n // Default selections for new reports should be all trouble condition categories except \"Other\" and all data columns\n // There is intentionally no selection set for frequency, so users will need to manually select \"Daily\" or \"Weekly\"\n if (report.isNew || report.extraData.length === 0) {\n set(report, 'extraData', '500,501,502,503,504,505,302,304,308,303,306,305,307,301,300');\n } else {\n if (report.extraData.includes('trouble_condition_filters_key')) {\n const searchParams = new URLSearchParams(report.extraData),\n paramValue = searchParams.get('trouble_condition_filters_key');\n if (paramValue !== null) {\n const extraDataArray = paramValue.split(',').map(Number);\n set(report, 'extraData', extraDataArray.join(','));\n }\n } else {\n const extraDataArray = report.extraData.split(',').map(Number);\n set(report, 'extraData', extraDataArray.join(','));\n }\n }\n };\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a trouble condition report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/trouble-condition-report': Controller;\n }\n}\n","import { set } from '@ember/object';\nimport ExtraDataRoute from 'customer-site/classes/commercial/reports/edit/extra-data-route';\nimport { EmberEnterpriseTroubleConditionReportEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing trouble condition report.\n *\n * @class enterprise.reports.edit.trouble-condition-report.Route\n * @extends commercial.reports.edit.trouble-condition-report.route\n */\nexport default class Route extends ExtraDataRoute {\n /** @override */\n routeId = EmberEnterpriseTroubleConditionReportEdit;\n\n extraDataDelegate = (report) => {\n if (report.isNew || report.extraData.length === 0) {\n set(report, 'extraData', report.troubleConditionReportOptions);\n } else {\n if (report.extraData.includes('trouble_condition_filters_key')) {\n let searchParams = new URLSearchParams(report.extraData);\n set(report, 'extraData', searchParams.get('trouble_condition_filters_key').split(',').map(Number));\n } else {\n set(report, 'extraData', report.extraData.split(',').map(Number));\n }\n }\n };\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a user activity report.\n */\nexport default class EnterpriseUserActivityReportEditController extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/user-activity-report': EnterpriseUserActivityReportEditController;\n }\n}\n","import BaseUserActivityReportEditRoute from '../../../../commercial/reports/edit/user-activity-report/route';\nimport { EmberEnterpriseUserActivityReportEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing user activity report.\n */\nexport default class Route extends BaseUserActivityReportEditRoute {\n /** @override */\n routeId = EmberEnterpriseUserActivityReportEdit;\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a user summary report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/user-summary-report': Controller;\n }\n}\n","import BaseUserSummaryReportEditRoute from '../../../../commercial/reports/edit/user-summary-report/route';\nimport { EmberEnterpriseUserSummaryReportEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing user summary report.\n *\n */\nexport default class Route extends BaseUserSummaryReportEditRoute {\n routeId = EmberEnterpriseUserSummaryReportEdit;\n}\n","import BaseReportEditController from 'customer-site/classes/commercial/reports/edit/base-report-edit-controller';\nimport { EmberEnterpriseReports } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Add/Edit a video health report.\n */\nexport default class Controller extends BaseReportEditController {\n reportRoute = EmberEnterpriseReports;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/edit/video-health-report': Controller;\n }\n}\n","import BaseVideoHealthReportEditRoute from '../../../../commercial/reports/edit/video-health-report/route';\nimport { EmberEnterpriseVideoHealthReportEdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc Edit an existing video health report.\n */\nexport default class Route extends BaseVideoHealthReportEditRoute {\n routeId = EmberEnterpriseVideoHealthReportEdit;\n}\n","import CommercialReportsController from '../../../commercial/reports/index/controller';\nimport { EmberEnterpriseReportsCatalog } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc View all reports.\n *\n * Controller for group reports\n *\n */\nexport default class Controller extends CommercialReportsController {\n /** @override */\n catalogRouteId = EmberEnterpriseReportsCatalog;\n\n /** @override */\n catalogRoutePrefix = 'enterprise';\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/reports/index': Controller;\n }\n}\n","import BaseReportsRoute from '../../../commercial/reports/index/base-reports-route';\nimport { EmberEnterpriseReports } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc List of Reports\n *\n * Route for group reports\n *\n */\nexport default class EnterpriseReportsIndexRoute extends BaseReportsRoute {\n routeId = EmberEnterpriseReports;\n}\n","import { getRestrictedAccessSetting } from 'customer-site/classes/access-control/access-plans/base-index-route';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsAccessControlRestrictedAccess } from 'customer-site/enums/CustomerPageUrl';\nimport { getPlanDetailTotals } from 'customer-site/models/access-control/access-control-access-plan';\n\nimport type { RestrictedAccessSettingsRouteModel } from 'customer-site/settings/access-control-restricted-access/route';\n\n/**\n * Route for the enterprise Access Control Restricted Access settings page\n */\nexport default class EnterpriseSettingsAccessControlRestrictedAccessRoute extends AdcBaseRoute {\n routeId = EmberGroupSettingsAccessControlRestrictedAccess;\n\n model(): RestrictedAccessSettingsRouteModel {\n const { store, identityManager } = this;\n\n return {\n restrictedAccessSetting: getRestrictedAccessSetting(store, identityManager),\n accessPlans: store.findAll('access-control/access-control-access-plan'),\n timetables: store.findAll('access-control/access-control-timetable'),\n planDetailTotals: getPlanDetailTotals(this.ajax, true)\n };\n }\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class AccessSettingController extends Controller {\n declare model: ModelFrom;\n\n /**\n * User's search query string\n */\n searchString = '';\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/access-settings': AccessSettingController;\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsAccessSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the access settings.\n *\n * @class enterprise.settings.access-settings.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsAccessSettings;\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ENV from 'customer-site/config/environment';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils.js';\nimport type ActiveDirectoryAuthenticationProviderTokenRoute from './route';\n\nexport default class ActiveDirectoryAuthenticationProviderTokenController extends EmberController {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare ajax: ServiceRegistry['ajax'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare browser: ServiceRegistry['browser'];\n @service declare nativeBridge: ServiceRegistry['native-bridge'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n declare model: ModelFrom;\n\n @tracked\n resolvedModel?: ResolvedModelFrom;\n\n @tracked\n isTokenVisible = false;\n\n resetControllerProperties(): void {\n this.isTokenVisible = false;\n }\n\n @computed('resolvedModel.activeDirectoryClientIdentifier.authenticationProviderToken')\n get authTokenUrl(): string {\n if (this.resolvedModel?.activeDirectoryClientIdentifier) {\n return `${ENV.siteUrl}/web/api/TokenSso.ashx?AuthProvider=${this.resolvedModel.activeDirectoryClientIdentifier.authenticationProviderToken}`;\n }\n return '';\n }\n\n @action\n async copyToClipboard(copySuccess: string, copyString: string, anchorSelector: string): Promise {\n const anchorElement = document.querySelector(anchorSelector),\n copySuccessString = this.intl.tc(this, copySuccess);\n\n if (!anchorElement) {\n this.notificationManager.addError(this.intl.t('generic.failedToCopyToClipboard'));\n return;\n }\n\n const result = await this.browser.universalCopyToClipboard(copySuccessString, anchorElement, copyString);\n if (result && !this.nativeBridge.doesSupportLaunchShareActionDialog) {\n this.notificationManager.addSuccess(copySuccessString);\n return;\n }\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/active-directory-setup/active-directory-authentication-provider-token': ActiveDirectoryAuthenticationProviderTokenController;\n }\n}\n","import { EmberGroupSettingsActiveDirectoryAuthenticationProviderToken } from 'customer-site/enums/CustomerPageUrl';\nimport ActiveDirectorySetupRoute from '../route';\n\nimport type Controller from './controller';\nimport './_style.scss';\n\nexport default class ActiveDirectoryAuthenticationProviderTokenRoute extends ActiveDirectorySetupRoute {\n routeId = EmberGroupSettingsActiveDirectoryAuthenticationProviderToken;\n\n resetController(controller: Controller, isExiting: boolean): void {\n if (controller && isExiting) {\n controller.resetControllerProperties();\n }\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectoryBulkLoginMapping } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { BulkMappingRouteModel } from '../active-directory-bulk-plan-mapping/route';\n\nexport default class EnterpriseSettingsActiveDirectorySetupBulkPlanMappingRoute extends AdcBaseRoute {\n routeId = EmberGroupSettingsActiveDirectoryBulkLoginMapping;\n\n model(): BulkMappingRouteModel {\n return {\n exportUrls: this.ajax.apiRequestForValue(\n 'settings/activeDirectorySetup/groupToEnterpriseLoginMappings/getExportUrls'\n ),\n exampleCsvResources: this.ajax.apiRequestForValue(\n 'settings/activeDirectorySetup/groupToEnterpriseLoginMappings/getExampleCsvResources'\n )\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectoryBulkPlanMapping } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\n\nexport type BulkMappingRouteModel = {\n exportUrls: Promise<{ mappings: string; activeDirectoryUserGroups: string }>;\n exampleCsvResources: Promise<{\n headers: string[];\n actions: string[2];\n actionHeader: string;\n rows: string[][];\n }>;\n};\n\nexport default class EnterpriseSettingsActiveDirectorySetupBulkPlanMappingRoute extends AdcBaseRoute {\n @service declare ajax: ServiceRegistry['ajax'];\n\n routeId = EmberGroupSettingsActiveDirectoryBulkPlanMapping;\n\n model(): BulkMappingRouteModel {\n return {\n exportUrls: this.ajax.apiRequestForValue(\n 'settings/activeDirectorySetup/groupToAccessPlanMappings/getExportUrls'\n ),\n exampleCsvResources: this.ajax.apiRequestForValue(\n 'settings/activeDirectorySetup/groupToAccessPlanMappings/getExampleCsvResources'\n )\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectoryEnterpriseGroupMapping } from 'customer-site/enums/CustomerPageUrl';\nimport { Enterprise } from 'customer-site/enums/LoginTemplateType';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group.ts';\nimport type GroupToEnterpriseLoginMapping from 'customer-site/models/settings/active-directory-setup/group-to-enterprise-login-mapping.ts';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ActiveDirectorySetupRoute from '../route.ts';\nimport type { ActiveDirectorySetupRouteModel } from '../route.ts';\n\ntype EnterpriseGroupMappingRouteModel = Pick<\n ActiveDirectorySetupRouteModel,\n 'activeDirectoryClientIdentifier' | 'loginTemplates'\n> & {\n loginMappings: ADCAsyncStoreFindAll;\n adGroups: ADCAsyncStoreFindAll;\n type: typeof Enterprise;\n};\n\n/**\n * @classdesc\n *\n * Allows for mapping AD groups to login templates for the enterprise group\n */\nexport default class EnterpriseGroupMappingRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n /** @override */\n isMediumWidthPage = true;\n\n /**\n * @override\n */\n routeId = EmberGroupSettingsActiveDirectoryEnterpriseGroupMapping;\n\n model(): EnterpriseGroupMappingRouteModel {\n const parentModel = this.modelFor(\n 'enterprise.settings.active-directory-setup'\n ) as ModelFrom;\n return {\n activeDirectoryClientIdentifier: parentModel.activeDirectoryClientIdentifier,\n loginMappings: this.store.findAll('settings/active-directory-setup/group-to-enterprise-login-mapping'),\n loginTemplates: parentModel.loginTemplates,\n adGroups: this.store.findAll('active-directory-user-management/active-directory-group'),\n type: Enterprise\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectoryGroupToPlanMapping } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group';\nimport type GroupToAccessPlanMapping from 'customer-site/models/settings/active-directory-setup/group-to-access-plan-mapping';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ActiveDirectorySetupRoute from '../route.ts';\nimport type { ActiveDirectorySetupRouteModel } from '../route.ts';\n\ntype GroupToPlanMappingRouteModel = Pick<\n ActiveDirectorySetupRouteModel,\n 'activeDirectoryClientIdentifier' | 'accessPlans'\n> & {\n planMappings: ADCAsyncStoreFindAll;\n adGroups: ADCAsyncStoreFindAll;\n};\n\n/**\n * @classdesc\n *\n * Allows for mapping AD groups to Access Plans for the enterprise group\n */\nexport default class GroupToPlanMappingRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n /** @override */\n isMediumWidthPage = true;\n\n /**\n * @override\n */\n routeId = EmberGroupSettingsActiveDirectoryGroupToPlanMapping;\n\n model(): GroupToPlanMappingRouteModel {\n const parentModel = this.modelFor(\n 'enterprise.settings.active-directory-setup'\n ) as ModelFrom;\n\n return {\n activeDirectoryClientIdentifier: parentModel.activeDirectoryClientIdentifier,\n planMappings: this.store.findAll('settings/active-directory-setup/group-to-access-plan-mapping'),\n accessPlans: parentModel.accessPlans,\n adGroups: this.store.findAll('active-directory-user-management/active-directory-group')\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectoryLocationGroupMapping } from 'customer-site/enums/CustomerPageUrl';\nimport { SingleSystem } from 'customer-site/enums/LoginTemplateType';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ActiveDirectoryGroup from 'customer-site/models/active-directory-user-management/active-directory-group.ts';\nimport type GroupToEnterpriseLoginMapping from 'customer-site/models/settings/active-directory-setup/group-to-enterprise-login-mapping.ts';\nimport type AvailableSystemItem from 'customer-site/models/systems/available-system-item.ts';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ActiveDirectorySetupRoute from '../route.ts';\nimport type { ActiveDirectorySetupRouteModel } from '../route.ts';\n\ntype LocationGroupMappingRouteModel = Pick<\n ActiveDirectorySetupRouteModel,\n 'activeDirectoryClientIdentifier' | 'loginTemplates'\n> & {\n loginMappings: ADCAsyncStoreFindAll;\n adGroups: ADCAsyncStoreFindAll;\n singleSystems: ADCAsyncStoreFindAll;\n type: typeof SingleSystem;\n};\n\n/**\n * @classdesc\n *\n * Allows for mapping AD groups to login templates for specific locations\n */\nexport default class LocationGroupMappingRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n /** @override */\n isMediumWidthPage = true;\n\n /**\n * @override\n */\n routeId = EmberGroupSettingsActiveDirectoryLocationGroupMapping;\n\n model(): LocationGroupMappingRouteModel {\n const parentModel = this.modelFor(\n 'enterprise.settings.active-directory-setup'\n ) as ModelFrom;\n\n return {\n activeDirectoryClientIdentifier: parentModel.activeDirectoryClientIdentifier,\n loginMappings: this.store.findAll('settings/active-directory-setup/group-to-enterprise-login-mapping'),\n loginTemplates: parentModel.loginTemplates,\n adGroups: this.store.findAll('active-directory-user-management/active-directory-group'),\n singleSystems: this.store.findAll('systems/available-system-item'),\n type: SingleSystem\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport { getAccessControlPermissions } from 'customer-site/classes/access-control/access-plans/base-index-route';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectorySetup } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * TODO: Add description.\n *\n * @class enterprise.settings.active-directory-setup.Route\n * @extends AdcBaseRoute\n */\nexport default class ActiveDirectorySetupIndexRoute extends AdcBaseRoute {\n @service store;\n\n /**\n * @override\n */\n isMediumWidthPage = true;\n\n /**\n * @override\n */\n routeId = EmberGroupSettingsActiveDirectorySetup;\n\n model() {\n const { store, identityManager } = this;\n\n return {\n permissions: getAccessControlPermissions(store, identityManager),\n activeDirectoryClientIdentifier: this.modelFor('enterprise.settings.active-directory-setup')\n .activeDirectoryClientIdentifier\n };\n }\n}\n","import { isDestroyed } from '@adc/ember-utils/utils/ember-helpers';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsActiveDirectorySetup } from 'customer-site/enums/CustomerPageUrl';\nimport { DefaultOperatingMode } from 'customer-site/enums/MercuryControllerOperatingMode';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type AccessControlAccessPlanModel from 'customer-site/models/access-control/access-control-access-plan';\nimport type LoginTemplatesForGroupWithRole from 'customer-site/models/enterprise/settings/login-templates-for-group-with-role';\nimport type ActiveDirectoryClientIdentifier from 'customer-site/models/settings/active-directory-setup/active-directory-client-identifier';\n\nexport function getAccessPlans(\n store: ServiceRegistry['store'],\n searchString: string,\n userId = null,\n includeParentScope = false,\n accessPlanOperatingMode = DefaultOperatingMode,\n accessPoints = []\n): ADCAsyncStoreFindAll {\n return store.query('access-control/access-control-access-plan', {\n searchString,\n userId,\n includeParentScope,\n accessPlanOperatingMode,\n accessPoints\n });\n}\n\nexport type ActiveDirectorySetupRouteModel = {\n activeDirectoryClientIdentifier: ADCAsyncStoreFindRecord;\n loginTemplates: ADCAsyncStoreFindRecord;\n accessPlans: ADCAsyncStoreFindAll;\n};\n\n/**\n * @classdesc\n *\n * TODO: Add description.\n */\nexport default class ActiveDirectorySetupRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n declare currentModel: ActiveDirectorySetupRouteModel;\n\n /**\n * @override\n */\n routeId = EmberGroupSettingsActiveDirectorySetup;\n\n model(): ActiveDirectorySetupRouteModel {\n const systemGroupId = this.identityManager.getSelectedSystemGroupId();\n\n return {\n activeDirectoryClientIdentifier: this.store.findRecord(\n 'settings/active-directory-setup/active-directory-client-identifier',\n this.identityManager.getContextId(),\n { reload: true }\n ),\n loginTemplates: this.store.findRecord(\n 'enterprise/settings/login-templates-for-group-with-role',\n systemGroupId\n ),\n accessPlans: getAccessPlans(this.store, '')\n };\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const clientIdentifier = await this.currentModel.activeDirectoryClientIdentifier;\n\n if (!clientIdentifier || isDestroyed(clientIdentifier) || clientIdentifier.isSaving) {\n return;\n }\n\n if (clientIdentifier.isNew) {\n clientIdentifier.destroyRecord();\n } else if (clientIdentifier.hasDirtyAttributes) {\n clientIdentifier.rollbackAttributes();\n }\n }\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class EnterpriseSettingsArmingScheduleTemplatesApply extends Controller {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/arming-schedule-templates/apply': EnterpriseSettingsArmingScheduleTemplatesApply;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberArmingScheduleTemplatesApply } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Apply page for Arming Schedule Templates\n */\nexport default class EnterpriseSettingsArmingScheduleTemplatesApply extends AdcBaseRoute {\n /** @override */\n routeId = EmberArmingScheduleTemplatesApply;\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class EnterpriseSettingsArmingScheduleTemplatesEditArmingSchedule extends Controller {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/arming-schedule-templates/edit-arming-schedule': EnterpriseSettingsArmingScheduleTemplatesEditArmingSchedule;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberArmingScheduleTemplatesEditArmingSchedule } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Edit Arming Schedule page for Arming Schedule Templates\n */\nexport default class EnterpriseSettingsArmingScheduleTemplatesEditArmingSchedule extends AdcBaseRoute {\n /** @override */\n routeId = EmberArmingScheduleTemplatesEditArmingSchedule;\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class EnterpriseSettingsArmingScheduleTemplatesEdit extends Controller {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/arming-schedule-templates/edit': EnterpriseSettingsArmingScheduleTemplatesEdit;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberArmingScheduleTemplatesEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Edit page for Arming Schedule Templates\n */\nexport default class EnterpriseSettingsArmingScheduleTemplatesEdit extends AdcBaseRoute {\n /** @override */\n routeId = EmberArmingScheduleTemplatesEdit;\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class EnterpriseSettingsArmingScheduleTemplatesIndex extends Controller {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/arming-schedule-templates/index': EnterpriseSettingsArmingScheduleTemplatesIndex;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberArmingScheduleTemplates } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Index page for the Arming Schedule Templates page\n */\nexport default class EnterpriseSettingsArmingScheduleTemplatesIndex extends AdcBaseRoute {\n /** @override */\n routeId = EmberArmingScheduleTemplates;\n}\n","import Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { alias, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ApplyMultipleGroupsModal from 'customer-site/components/modals/enterprise/settings/apply-multiple-groups/index';\nimport { default as DropdownSelectItem } from '@adc/ui-components/utils/dropdown-select-item';\nimport { getRentalTermTypeErrorMessage } from '../helpers/filter-functions';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type AutoRelock from 'customer-site/models/enterprise/settings/auto-relock';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Collection of possible auto-relock delays.\n */\nconst AUTO_RELOCK_DELAY_OPTIONS = {\n oneMinute: 1,\n fifteenMinutes: 15,\n thirtyMinutes: 30,\n fourtyFiveMinutes: 45,\n sixtyMinutes: 60,\n oneHundredTwentyMinutes: 120\n};\n\n/**\n * @classdesc\n * Turn on or off the auto relock group settings.\n */\nexport default class ApplyMultipleGroupsController extends Controller {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n declare model: ResolvedModelFrom;\n\n declare resolvedModel: ResolvedModelFrom['autoRelock'];\n\n /**\n * Whether the original auto relock setting is on (PointCentral + Self-Guided Tours only)\n */\n @alias('resolvedModel.autoRelockEnabled')\n declare autoRelockEnabled: boolean;\n\n /**\n * What the auto relock delay minutes dropdown selection is (PointCentral + Self-Guided Tours only)\n */\n @alias('resolvedModel.autoRelockDelayMinutes')\n declare autoRelockDelayMinutes: number;\n\n /**\n * The list of auto relock delay options that users can select from.\n */\n @computed()\n get autoRelockDropdownItems(): DropdownSelectItem[] {\n return Object.keys(AUTO_RELOCK_DELAY_OPTIONS).map((key: keyof typeof AUTO_RELOCK_DELAY_OPTIONS) =>\n DropdownSelectItem.create({\n name: this.intl.tc(this, key),\n value: AUTO_RELOCK_DELAY_OPTIONS[key].toString()\n })\n );\n }\n\n /**\n * Whether the nightly auto lock occupied setting is enabled (VRM only)\n */\n @alias('resolvedModel.nightlyAutoLockOccupiedEnabled')\n declare nightlyOccupiedSettingIsOn: boolean;\n\n /**\n * Whether the nightly auto lock vacant setting is enabled (VRM only)\n */\n @alias('resolvedModel.nightlyAutoLockVacantEnabled')\n declare nightlyVacantSettingIsOn: boolean;\n\n /**\n * Whether this is a VRM group. If it is, we will show the nightly occupied/vacant\n * auto-relock settings\n */\n @alias('resolvedModel.isVrm')\n declare showNightlySettings: boolean;\n\n /**\n * Currently, we want to show the auto relock setting for vrm and prm users and the nightly\n * lock settings for only vrm, so hide the nightly settings if necessary\n */\n @not('showNightlySettings')\n declare hideNightlySettings: boolean;\n\n /**\n * Update the autoRelock model with the appropriate settings and save the new parameters for\n * each of the groups specified by systemGroupIds.\n\n * @param {Array} systemGroupIds Array of system group ids of the groups to update if applying settings to multiple groups\n * (if empty, settings are only saved to the currently selected system)\n */\n saveSettingsToGroups(\n autoRelock: AutoRelock,\n autoRelockEnabled: boolean,\n autoRelockDelayMinutes: number,\n nightlyOccupiedSettingIsOn: boolean,\n nightlyVacantSettingIsOn: boolean,\n systemGroupIds: number[]\n ): Promise {\n Object.assign(autoRelock, {\n autoRelockEnabled: autoRelockEnabled,\n autoRelockDelayMinutes: autoRelockDelayMinutes,\n nightlyAutoLockOccupiedEnabled: nightlyOccupiedSettingIsOn,\n nightlyAutoLockVacantEnabled: nightlyVacantSettingIsOn,\n systemGroupIdsToChange: systemGroupIds\n });\n\n return autoRelock.save();\n }\n\n /**\n * Save method. Update model.\n */\n @action\n async saveSetting(autoRelock: AutoRelock, buttonAnimation: Promise): Promise {\n await this.saveSettingsToGroups(\n autoRelock,\n this.autoRelockEnabled,\n this.autoRelockDelayMinutes,\n this.nightlyOccupiedSettingIsOn,\n this.nightlyVacantSettingIsOn,\n []\n );\n buttonAnimation.then(() => this.contextManager.transitionToPreviousRoute());\n }\n\n /**\n * Save to multiple groups.\n */\n @action\n async openMultipleGroupsModal(): Promise {\n const selectedGroupTermType = (await this.identityManager.identityModel?.selectedSystemGroup)?.rentalTermType;\n if (selectedGroupTermType === undefined) {\n return;\n }\n\n this.modals.showModal(ApplyMultipleGroupsModal, {\n disableBackdropClose: true,\n selectedSystemGroupIds: [],\n systemGroups: this.model.systemGroups,\n filterFunction: (group: SystemGroup) =>\n getRentalTermTypeErrorMessage(group, selectedGroupTermType, this.intl),\n applyToSelectedSystems: (selectedSystemGroupIds: number[]) => {\n return this.saveSettingsToGroups(\n this.resolvedModel,\n this.autoRelockEnabled,\n this.autoRelockDelayMinutes,\n this.nightlyOccupiedSettingIsOn,\n this.nightlyVacantSettingIsOn,\n selectedSystemGroupIds\n );\n }\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/auto-relock': ApplyMultipleGroupsController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsAutoRelock } from '../../../enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type AutoRelock from 'customer-site/models/enterprise/settings/auto-relock';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off the auto/nightly relock settings.\n */\nexport default class EnterpriseSettingsAutoRelockRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n routeId = EmberGroupSettingsAutoRelock;\n\n model(): ModelFrom & {\n autoRelock: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n autoRelock: this.store.findRecord('enterprise/settings/auto-relock', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport { MINUTES_IN_HOUR } from '@adc/ember-utils/constants/time';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { minutesToDate } from 'customer-site/utils/datetime';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { SegmentedTimeModel } from '@adc/ui-components/components/segmented-time-picker';\nimport type AutomaticPanelArming from 'customer-site/models/enterprise/settings/automatic-panel-arming';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Turn on or off the automatic panel arming group settings.\n */\nexport default class AutomaticPanelArmingController extends Controller {\n @service declare intl: ADCIntlService;\n @service declare identityManager: IdentityManager;\n\n declare model: ModelFrom;\n declare resolvedModel: ResolvedModelFrom;\n\n @tracked declare currentAutoDisarmAfterOpen: boolean;\n @tracked declare currentNightlyArmEnabled: boolean;\n @tracked declare currentNightlyArmStartTimeMinutes: number;\n @tracked declare nightlyArmStartTimeModel: SegmentedTimeModel;\n\n /**\n * List of the currently selected properties and settings for automatically arming the panel.\n */\n get automaticPanelArmingProperties(): Partial {\n return {\n autoDisarmAfterOpen: this.currentAutoDisarmAfterOpen,\n nightlyArmEnabled: this.currentNightlyArmEnabled,\n nightlyArmStartTimeMinutes: this.currentNightlyArmStartTimeMinutes\n };\n }\n\n /**\n * Change start time of the nightly arm setting.\n */\n @action\n changeStartTime(value: SegmentedTimeModel): void {\n const startTimeMinutes = value.min + value.hour * MINUTES_IN_HOUR;\n this.currentNightlyArmStartTimeMinutes = startTimeMinutes;\n }\n\n /**\n * Whether the apply buttons should be disabled.\n */\n get shouldDisableApplyButton(): boolean {\n const { nightlyArmEnabled, nightlyArmStartTimeMinutes, autoDisarmAfterOpen } =\n this.resolvedModel.automaticPanelArming;\n if (\n this.currentAutoDisarmAfterOpen !== autoDisarmAfterOpen ||\n this.currentNightlyArmEnabled !== nightlyArmEnabled\n ) {\n return false;\n }\n\n // Disable the apply button if the nightly arm start time has changed and the nightly arm setting is not enabled\n if (this.currentNightlyArmStartTimeMinutes !== nightlyArmStartTimeMinutes) {\n return !this.currentNightlyArmEnabled;\n }\n\n return true;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel: ResolvedModelFrom): void {\n this.resolvedModel = resolvedModel;\n this.currentNightlyArmStartTimeMinutes = resolvedModel.automaticPanelArming.nightlyArmStartTimeMinutes;\n this.currentNightlyArmEnabled = resolvedModel.automaticPanelArming.nightlyArmEnabled;\n this.currentAutoDisarmAfterOpen = resolvedModel.automaticPanelArming.autoDisarmAfterOpen;\n\n const timeDate = minutesToDate(resolvedModel.automaticPanelArming.nightlyArmStartTimeMinutes);\n\n this.nightlyArmStartTimeModel = {\n hour: timeDate.getHours(),\n min: timeDate.getMinutes()\n };\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/automatic-panel-arming': AutomaticPanelArmingController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsAutomaticPanelArming } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type AutomaticPanelArming from 'customer-site/models/enterprise/settings/automatic-panel-arming';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off the automatic panel arming settings.\n */\nexport default class EnterpriseSettingsAutoArmingRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsAutomaticPanelArming;\n\n model(): { automaticPanelArming: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n automaticPanelArming: this.store.findRecord(\n 'enterprise/settings/automatic-panel-arming',\n this.modelFor>('enterprise.settings').systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\n/**\n * @classdesc\n * Turn on or off the auto AutomaticallyEnableBackgroundCapture group setting.\n */\nexport default class EnterpriseSettingsAutoEnableBackgroundCaptureController extends Controller {\n @service contextManager;\n\n @tracked settingEnabled;\n\n @action dataLoaded({ enabled }) {\n this.settingEnabled = enabled;\n }\n\n @action\n async apply(model, delayedHandler) {\n model.enabled = this.settingEnabled;\n await model.save();\n delayedHandler.then(() => this.contextManager.transitionToPreviousRoute());\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingAutomaticallyEnableBackgroundCapture } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Turn on or off the Automatically Enable Background Capture settings.\n */\nexport default class EnterpriseSettingsAutoEnableBackgroundCaptureRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingAutomaticallyEnableBackgroundCapture;\n\n model() {\n return {\n automaticallyEnableBackgroundCapture: this.store.findRecord(\n 'enterprise/settings/automatically-enable-background-capture',\n this.modelFor('enterprise.settings').systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsPointCentralErrorMessage } from '../helpers/filter-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type BackupCode from 'customer-site/models/enterprise/settings/backup-code';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Turn on or off the backup codes feature.\n */\nexport default class BackupCodesController extends EmberController {\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n\n @tracked resolvedModel?: BackupCode;\n @tracked storeBackupCodeOn?: boolean;\n\n /**\n * List of the currently selected properties and settings for backup codes.\n */\n @computed('storeBackupCodeOn')\n get backupCodesProperties(): Partial {\n return {\n storeBackupCodeEnabled: this.storeBackupCodeOn\n };\n }\n\n /**\n * This group setting is PointCentral specific, so this function is used to let PointCentral only groups to be\n * selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => string {\n return (group) => getIsPointCentralErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not any settings have been changed.\n */\n @computed('resolvedModel.storeBackupCodeEnabled', 'storeBackupCodeOn')\n get currentGroupSettingsChanged(): boolean {\n const { resolvedModel } = this;\n return !!resolvedModel && resolvedModel.storeBackupCodeEnabled !== this.storeBackupCodeOn;\n }\n\n /**\n * Process the loaded model data.\n *\n */\n @action\n dataLoaded(resolvedModel: { backupCodes: BackupCode }): void {\n this.resolvedModel = resolvedModel.backupCodes;\n this.storeBackupCodeOn = resolvedModel.backupCodes.storeBackupCodeEnabled;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/backup-codes': BackupCodesController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsBackupCodes } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type BackupCode from 'customer-site/models/enterprise/settings/backup-code';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * Turn on or off backup codes settings.\n */\nexport default class EnterpriseSettingsBackupCodesRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsBackupCodes;\n\n model(): ModelFrom & {\n backupCodes: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n backupCodes: this.store.findRecord('enterprise/settings/backup-code', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { GroupSettingsBusinessHoursTemplate } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * List all of the current business hours templates.\n */\nexport default class EnterpriseSettingsBusinessHourTemplatesController extends Controller {\n @service contextManager;\n\n editRoute = GroupSettingsBusinessHoursTemplate;\n\n @action newBusinessHourTemplate() {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(GroupSettingsBusinessHoursTemplate);\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsBusinessHourTemplates } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * List all of the current business hours templates.\n */\nexport default class EnterpriseSettingsBusinessHourTemplatesRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsBusinessHourTemplates;\n\n model() {\n return {\n businessHourTemplates: this.store.findAll('enterprise/settings/business-hour-template', {\n reload: true\n })\n };\n }\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class CommunicationSettingsCategoryController extends Controller {\n declare model: ModelFrom;\n\n /**\n * User's search query string\n */\n searchString = '';\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/communication-settings': CommunicationSettingsCategoryController;\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsCommunicationSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * Category that houses the communication settings.\n */\nexport default class CommunicationSettingsCategoryRoute extends BaseCategoryRoute {\n routeId = EmberGroupSettingsCommunicationSettings;\n}\n","import { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\nimport SelfGuidedToursCustomerLogoController from 'customer-site/enterprise/settings/self-guided-tours-customer-logo/controller';\n\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class CompanyLogoController extends SelfGuidedToursCustomerLogoController {\n declare model: ModelFrom;\n\n /** override */\n get filterFunction(): any {\n return (group: SystemGroup) => {\n return getIsEmptyGroupErrorMessage(group, this.intl);\n };\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/company-logo': CompanyLogoController;\n }\n}\n","import EnterpriseSettingsSelfGuidedCustomLogoRoute from 'customer-site/enterprise/settings/self-guided-tours-customer-logo/route';\nimport { EmberGroupSettingsCompanyLogo } from 'customer-site/enums/CustomerPageUrl';\n\nimport type CompanyLogo from 'customer-site/models/enterprise/settings/company-logo';\n\nexport default class CompanyLogoRoute extends EnterpriseSettingsSelfGuidedCustomLogoRoute {\n /** override */\n modelName = 'enterprise/settings/company-logo';\n\n /** override */\n routeId = EmberGroupSettingsCompanyLogo;\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type CompanyName from 'customer-site/models/enterprise/settings/company-name';\nimport type CompanyNameModel from 'customer-site/models/enterprise/settings/company-name';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Company Name at group level\n */\nexport default class CompanyNameController extends Controller {\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n\n /**\n * The Company Name model\n */\n @tracked companyNameModel?: CompanyNameModel;\n\n /**\n * List of currently selected properties and settings for company name\n */\n @computed('companyNameModel.name')\n get companyNameProperties(): Partial {\n return {\n name: this.companyNameModel?.name\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => string {\n return (group: SystemGroup) => {\n return getIsEmptyGroupErrorMessage(group, this.intl);\n };\n }\n\n /**\n * Whether or not any settings have been changed.\n */\n @computed('companyNameModel.hasDirtyAttributes')\n get currentGroupSettingsChanged(): boolean {\n // Data hasn't loaded yet, so return false.\n if (!this.companyNameModel) {\n return false;\n }\n\n // Check for a change.\n return this.companyNameModel.hasDirtyAttributes;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel: { companyName: CompanyName }): void {\n this.companyNameModel = resolvedModel.companyName;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/company-name': CompanyNameController;\n }\n}\n","import { service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsCompanyName } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type CompanyName from 'customer-site/models/enterprise/settings/company-name';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * Set a company name at group level.\n */\nexport default class EnterpriseSettingsCompanyNameRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsCompanyName;\n\n model(): ModelFrom & {\n companyName: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n ...m,\n companyName: this.store.findRecord('enterprise/settings/company-name', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n

    {{tc this \\'emailAddress\\'}}

    \\n \\n
    \\n\",{ moduleName: \"customer-site/components/modals/enterprise/settings/customizable-welcome-email-test-email/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport './_style.scss';\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\nimport { service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\nimport { getModalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ModalButtonConfig } from '@adc/ui-components/components/modals/base/footer/modal-footer';\nimport type ModalService from '@adc/ui-components/services/modals';\n\ninterface CustomizableWelcomeEmailTestEmailSignature {\n Args: {\n model: {\n sendTestEmail: (testEmailAddress: string) => void;\n loginEmail: string;\n };\n };\n}\n\n/**\n * @classdesc\n * Displays a modal for performing manage residents actions.\n */\n@intlPath({ path: 'modals/enterprise/settings/customizable-welcome-email-test-email' })\nexport default class CustomizableWelcomeEmailTestEmail extends Component {\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n /**\n * Indicates whether to show the thermostat select box.\n */\n testEmailAddress = this.args.model.loginEmail;\n\n @computed('args.model', 'testEmailAddress.length')\n get buttons(): ModalButtonConfig[] {\n const yesButton = getModalFooterButton(\n this.intl.tc(this, 'sendEmail'),\n () => this.args.model.sendTestEmail(this.testEmailAddress),\n 'btn-color-primary',\n this.testEmailAddress.length == 0\n );\n\n return [yesButton];\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Settings::CustomizableWelcomeEmailTestEmail': typeof CustomizableWelcomeEmailTestEmail;\n }\n}\n","import Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport CustomizableWelcomeEmailTestEmail from 'customer-site/components/modals/enterprise/settings/customizable-welcome-email-test-email/index';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\nimport { POST } from '@adc/ajax/services/adc-ajax';\nimport { LTR, STR } from '../../../enums/RentalPropertyLengthType';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type CustomizeWelcomeEmailModel from 'customer-site/models/enterprise/settings/customize-welcome-email';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type ADCIntlService from 'customer-site/services/intl';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Customize Welcome Email at group level\n */\nexport default class CustomizeWelcomeEmailController extends Controller {\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n @service declare ajax: AjaxService;\n @service declare notificationManager: NotificationManager;\n\n declare model: ModelFrom;\n\n /**\n * The Customize Welcome Email model\n */\n @alias('model.customizeWelcomeEmail')\n declare customizeWelcomeEmailModel: CustomizeWelcomeEmailModel;\n\n /**\n * The customer login email\n */\n @alias('model.customizeWelcomeEmail.loginEmail')\n declare loginEmail: string;\n\n /**\n * Use the Apply to All Groups button for applying the setting\n */\n @computed('customizeWelcomeEmailModel.rentalTermType')\n get supportsApplyToAllGroups(): boolean {\n return this.customizeWelcomeEmailModel.rentalTermType == LTR;\n }\n\n /**\n * Use the Apply to Multiple Groups button for applying the setting\n */\n @computed('customizeWelcomeEmailModel.rentalTermType')\n get supportsApplyToMultipleGroups(): boolean {\n return this.customizeWelcomeEmailModel.rentalTermType == STR;\n }\n\n /**\n * List of currently selected properties and settings for the customize welcome email setting\n */\n @computed('customizeWelcomeEmailModel.{titleA,titleB,titleC,boxA,boxB,boxC}')\n get customizeWelcomeEmailProperties(): {\n titleA: string;\n titleB: string;\n titleC: string;\n boxA: string;\n boxB: string;\n boxC: string;\n } {\n return {\n titleA: this.customizeWelcomeEmailModel.titleA,\n titleB: this.customizeWelcomeEmailModel.titleB,\n titleC: this.customizeWelcomeEmailModel.titleC,\n boxA: this.customizeWelcomeEmailModel.boxA,\n boxB: this.customizeWelcomeEmailModel.boxB,\n boxC: this.customizeWelcomeEmailModel.boxC\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n */\n get filterFunction(): any {\n return (group: SystemGroup) => {\n return getIsEmptyGroupErrorMessage(group, this.intl);\n };\n }\n\n /**\n * Whether or not any settings have been changed.\n */\n @computed('customizeWelcomeEmailModel.hasDirtyAttributes')\n get currentGroupSettingsChanged(): boolean {\n // Data hasn't loaded yet or attributes aren't dirty, so return false.\n if (!this.customizeWelcomeEmailModel || !this.customizeWelcomeEmailModel.hasDirtyAttributes) {\n return false;\n }\n\n // Check for a change on the optional text sections.\n return ['titleA', 'titleB', 'titleC', 'boxA', 'boxB', 'boxC'].some(\n (optionalText) => optionalText in this.customizeWelcomeEmailModel.changedAttributes()\n );\n }\n\n /**\n * Opens CustomizableWelcomeEmailTestEmail modal.\n */\n @action\n openCustomizeWelcomeEmailTestEmail(): void {\n this.modals.showModal(CustomizableWelcomeEmailTestEmail, {\n sendTestEmail: this.sendTestEmailWithNotifications,\n loginEmail: this.loginEmail\n });\n }\n\n @action\n async sendTestEmailWithNotifications(testEmail: string): Promise {\n this.customizeWelcomeEmailModel.loginEmail = testEmail;\n try {\n await this.ajax.apiRequest(\n 'enterprise/settings/customizeWelcomeEmails/sendTestEmail',\n undefined,\n this.customizeWelcomeEmailModel,\n POST\n );\n this.notificationManager.addSuccess(this.intl.tc(this, 'emailSendSuccess'));\n } catch (error) {\n this.notificationManager.addError(error.errors[0].detail);\n return Promise.reject();\n }\n\n return testEmail;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/customize-welcome-email': CustomizeWelcomeEmailController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsCustomizeWelcomeEmail } from 'customer-site/enums/CustomerPageUrl';\nimport { hash } from 'rsvp';\n\nimport type Store from '@ember-data/store';\nimport type CustomizeWelcomeEmail from 'customer-site/models/enterprise/settings/customize-welcome-email';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set a Customize Welcome Email Setting at group level.\n */\nexport default class EnterpriseSettingsCustomizeWelcomeEmailRoute extends BaseRoute {\n @service declare store: Store;\n\n /** @override */\n routeId = EmberGroupSettingsCustomizeWelcomeEmail;\n\n model(): Promise<\n ResolvedModelFrom & {\n customizeWelcomeEmail: CustomizeWelcomeEmail;\n }\n > {\n const m = this.modelFor>('enterprise.settings');\n\n return hash({\n ...m,\n customizeWelcomeEmail: this.store.findRecord(\n 'enterprise/settings/customize-welcome-email',\n m.systemGroupId,\n {\n reload: true\n }\n )\n });\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\n\nimport type DeleteExpiredUser from 'customer-site/models/enterprise/settings/delete-expired-user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsDeleteExpiredUsersRoute from './route';\n\nexport default class EnterpriseSettingsDeleteExpiredUsersController extends Controller {\n /**\n * Variable to track if the setting toggle is enabled\n */\n @tracked declare deleteExpiredUsersEnabled: boolean;\n\n declare model: ModelFrom;\n\n deleteExpireUsersSwitch(): void {\n this.deleteExpiredUsersEnabled = !this.deleteExpiredUsersEnabled;\n }\n\n /**\n * The propertied needed to update the setting model\n *\n * @type {Object}\n */\n @computed('deleteExpiredUsersEnabled')\n get deleteExpiredUsersProperties(): Partial {\n return {\n deleteExpiredUsersSettingEnabled: this.deleteExpiredUsersEnabled\n };\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel: { deleteExpiredUsers: DeleteExpiredUser }): void {\n this.deleteExpiredUsersEnabled = resolvedModel.deleteExpiredUsers.deleteExpiredUsersSettingEnabled ?? false;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/delete-expired-users': EnterpriseSettingsDeleteExpiredUsersController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsDeleteExpiredUsers } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type DeleteExpiredUser from 'customer-site/models/enterprise/settings/delete-expired-user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\nexport default class EnterpriseSettingsDeleteExpiredUsersRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsDeleteExpiredUsers;\n\n model(): ModelFrom & {\n deleteExpiredUsers: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n deleteExpiredUsers: this.store.findRecord('enterprise/settings/delete-expired-user', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { default as DropdownSelectItem } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type DeleteInactiveUsers from 'customer-site/models/enterprise/settings/delete-inactive-user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Collection of possible values for monthsOfInactivityBeforeDeletion property of the DeleteInactiveUsers Setting.\n * @private\n */\nconst MONTHS_OF_INACTIVITY_OPTIONS: { [id: string]: number | undefined } = {\n never: undefined,\n oneMonth: 1,\n twoMonths: 2,\n aYear: 12\n};\n\nexport default class EnterpriseSettingsDeleteInactiveUsersController extends EmberController {\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n\n @tracked\n declare monthsOfInactivityBeforeDeletionSelection?: string;\n\n /**\n * The list of monthsOfInactivityBeforeDeletion options that users\n * can select from converted for use by the DropdownSelectComponent.\n */\n get deleteInactiveUsersDropdownItems(): DropdownSelectItem[] {\n return Object.keys(MONTHS_OF_INACTIVITY_OPTIONS).map((key) =>\n DropdownSelectItem.create({\n name: this.intl.tc(this, key),\n value: MONTHS_OF_INACTIVITY_OPTIONS[key]?.toString()\n })\n );\n }\n\n /**\n * Propertied to update the deleteInactiveUsers Model\n */\n @computed('monthsOfInactivityBeforeDeletionSelection')\n get deleteInactiveUsersProperties(): Partial {\n return {\n monthsOfInactivityBeforeDeletion: Number.isNaN(this.monthsOfInactivityBeforeDeletionSelection)\n ? undefined\n : Number(this.monthsOfInactivityBeforeDeletionSelection)\n };\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel: { deleteInactiveUsers: DeleteInactiveUsers }): void {\n const monthsOfInactivityBeforeDeletionNumber =\n resolvedModel.deleteInactiveUsers.monthsOfInactivityBeforeDeletion;\n this.monthsOfInactivityBeforeDeletionSelection =\n monthsOfInactivityBeforeDeletionNumber === undefined\n ? undefined\n : String(monthsOfInactivityBeforeDeletionNumber);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/delete-inactive-user': EnterpriseSettingsDeleteInactiveUsersController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsDeleteInactiveUsers } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type DeleteInactiveUsers from 'customer-site/models/enterprise/settings/delete-inactive-user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\nexport default class EnterpriseSettingsDeleteInactiveUsersRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsDeleteInactiveUsers;\n\n model(): ModelFrom & {\n deleteInactiveUsers: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n deleteInactiveUsers: this.store.findRecord('enterprise/settings/delete-inactive-user', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsPointCentralErrorMessage } from '../helpers/filter-functions';\n\nimport type EnergySaverRule from 'customer-site/models/enterprise/settings/energy-saver-rule';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type intl from 'customer-site/services/intl';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EmberEnterpriseEnergySaverRuleSettingsRoute from './route';\n\nexport default class EnterpriseEnergySaverRulesController extends EmberController {\n @service declare intl: intl;\n\n declare model: ModelFrom;\n\n @tracked\n resolvedModel?: EnergySaverRule;\n @tracked\n energySaverRuleOn!: boolean;\n\n @computed('energySaverRuleOn')\n get energySaverRuleProperties(): any {\n return {\n energySaverRuleEnabled: this.energySaverRuleOn\n };\n }\n\n @computed('resolveModel.energySaverRuleEnabled', 'energySaverRuleOn')\n get currentSettingChanged(): boolean {\n const { resolvedModel } = this;\n return !!resolvedModel && resolvedModel.energySaverRuleEnabled !== this.energySaverRuleOn;\n }\n\n /**\n * Process the loaded model data.\n *\n */\n @action\n dataLoaded(resolvedModel: EnergySaverRule): void {\n Object.assign(this, {\n resolvedModel,\n energySaverRuleOn: resolvedModel.energySaverRuleEnabled\n });\n }\n\n get filterFunction() {\n return (group: SystemGroup) => getIsPointCentralErrorMessage(group, this.intl);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/energy-saver-rules': EnterpriseEnergySaverRulesController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseEnergySaverRuleSettings } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type EnergySaverRule from 'customer-site/models/enterprise/settings/energy-saver-rule';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\nexport default class EmberEnterpriseEnergySaverRuleSettingsRoute extends AdcBaseRoute {\n @service declare store: Store;\n /** @override */\n routeId = EmberEnterpriseEnergySaverRuleSettings;\n\n model(): ADCAsyncStoreFindRecord {\n const m = this.modelFor>('enterprise.settings');\n\n return this.store.findRecord('enterprise/settings/energy-saver-rule', m.systemGroupId, {\n reload: true\n });\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsEnergySettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the energy settings.\n *\n * @class enterprise.settings.energy-settings.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsEnergySettings;\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\n/**\n * @classdesc\n * Turn on or off the group setting to enable guest login access.\n */\nexport default class EnterpriseSettingsGuestLoginAccessController extends Controller {\n @service contextManager;\n\n @tracked isOn;\n\n @action dataLoaded({ enabled }) {\n this.isOn = enabled;\n }\n\n /**\n * Save method. Update model.\n */\n @action\n async saveSetting(model, buttonAnimation) {\n model.enabled = this.isOn;\n await model.save();\n buttonAnimation.then(() => this.contextManager.transitionToPreviousRoute());\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsGuestLoginAccess } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Turn on or off the guest login access group setting.\n */\nexport default class EnterpriseSettingsGuestLoginAccessRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsGuestLoginAccess;\n\n model() {\n return {\n guestLoginAccess: this.store.findRecord(\n 'enterprise/settings/guest-login-access',\n this.modelFor('enterprise.settings').systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, setProperties, set } from '@ember/object';\n\nimport type HouseReadyEarly from 'customer-site/models/enterprise/settings/house-ready-early';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * The houseReadyEarly model stores the start time as the amount of minutes after midnight. This method creates a date object using\n * the model's minutes after midnight.\n */\nexport function getDateFromMinutesAfterMidnight(minutesAfterMidnight: number): Date {\n return new Date(Date.UTC(0, 0, 0, minutesAfterMidnight / 60, minutesAfterMidnight % 60, 0, 0));\n}\n\n/**\n * @classdesc\n * Turn on or off the house ready early feature.\n */\nexport default class EnterpriseSettingsHREController extends Controller {\n @tracked houseReadyEarlyProperties!: HouseReadyEarly;\n @tracked time: Date = new Date();\n @tracked previousEnabledUnits: number[] = [];\n\n declare model: ModelFrom;\n\n @action\n dataLoaded(hre: HouseReadyEarly): void {\n setProperties(this, {\n houseReadyEarlyProperties: hre,\n time: getDateFromMinutesAfterMidnight(hre.startTime),\n previousEnabledUnits: hre.enabledUnitIds\n });\n }\n\n /**\n * Save method, update model, and then redirect to the Group Settings page.\n */\n @action\n async saveSetting(hre: HouseReadyEarly): Promise {\n const props = this.houseReadyEarlyProperties;\n\n setProperties(hre, {\n houseReadyEarlyAutomationEnabled: props.houseReadyEarlyAutomationEnabled,\n houseReadyEarlyNotificationEnabled: props.houseReadyEarlyNotificationEnabled,\n startTime: this.time.getUTCHours() * 60 + this.time.getUTCMinutes(),\n enabledUnitIds: props.enabledUnitIds\n });\n\n await hre.save();\n }\n\n /**\n * When All Locations or Partial Locations is pressed, update the units that have the feature\n * enabled. Toggle the feature if necessary.\n */\n @action\n updateLocations(enabledLocations: number[]): void {\n set(this.houseReadyEarlyProperties, 'enabledUnitIds', enabledLocations);\n this.previousEnabledUnits = enabledLocations;\n\n const { houseReadyEarlyProperties } = this,\n { length } = houseReadyEarlyProperties.enabledUnitIds;\n\n if (\n (length === 0 && houseReadyEarlyProperties.houseReadyEarlyAutomationEnabled) ||\n (length > 0 && !houseReadyEarlyProperties.houseReadyEarlyAutomationEnabled)\n ) {\n this.toggleAutomation();\n }\n }\n\n /**\n * The house ready early setting toggle changed value. If the user selected systems and then turned the\n * toggle off, then back on, those selected systems are remembered and reapplied.\n */\n @action\n toggleAutomation(): void {\n const { houseReadyEarlyProperties } = this;\n\n setProperties(houseReadyEarlyProperties, {\n houseReadyEarlyAutomationEnabled: !houseReadyEarlyProperties.houseReadyEarlyAutomationEnabled,\n enabledUnitIds: this.previousEnabledUnits\n });\n\n // if automation is turned off, notification must also be turned off.\n if (\n !houseReadyEarlyProperties.houseReadyEarlyAutomationEnabled &&\n houseReadyEarlyProperties.houseReadyEarlyNotificationEnabled\n ) {\n this.toggleNotification();\n }\n }\n\n @action\n toggleNotification(): void {\n const { houseReadyEarlyProperties } = this;\n\n setProperties(houseReadyEarlyProperties, {\n houseReadyEarlyNotificationEnabled: !houseReadyEarlyProperties.houseReadyEarlyNotificationEnabled,\n enabledUnitIds: this.previousEnabledUnits\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/house-ready-early': EnterpriseSettingsHREController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsHouseReadyEarly } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type ArrayProxy from '@ember/array/proxy';\nimport type HouseReadyEarly from 'customer-site/models/enterprise/settings/house-ready-early';\nimport type System from 'customer-site/models/systems/system';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off house ready early settings.\n */\nexport default class EnterpriseSettingsHRERoute extends AdcBaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsHouseReadyEarly;\n\n model(): {\n systems: ArrayProxy;\n houseReadyEarly: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n const systems: ArrayProxy = this.store.findAll('systems/system');\n\n return {\n systems: systems,\n houseReadyEarly: this.store.findRecord('enterprise/settings/house-ready-early', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import BaseSettingsRoute from '../../../classes/base-settings-route';\nimport { EmberGroupSettings } from '../../../enums/CustomerPageUrl';\n\nexport default class EnterpriseSettingsIndexRoute extends BaseSettingsRoute {\n routeId = EmberGroupSettings;\n}\n","import Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ApplyMultipleGroupsModal from 'customer-site/components/modals/enterprise/settings/apply-multiple-groups/index';\nimport { getGroupHasDuplicateTemplate } from 'customer-site/enterprise/settings/helpers/filter-functions';\nimport { SingleSystem, Enterprise } from 'customer-site/enums/LoginTemplateType';\nimport { EnterpriseLoginTemplate, SingleSystemLoginTemplate } from '../../../enums/CustomerPageUrl';\n\nimport type { SyncHasMany } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { SystemGroupAvailableForLoginTemplateCopy } from 'customer-site/enterprise/settings/helpers/filter-functions';\nimport type LoginTemplate from 'customer-site/models/enterprise/settings/login-template';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * List the enterprise and single system login templates for the group.\n */\nexport default class LoginTemplatesController extends Controller {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare ajax: ServiceRegistry['ajax'];\n @service declare store: ServiceRegistry['store'];\n @service declare navigation: ServiceRegistry['navigation'];\n\n declare model: ModelFrom;\n\n /**\n * Populates the properties needed to use the login template list component in the template.\n */\n @computed(\n 'contextManager.identityModel.isPointCentral',\n 'identityManager.identityModel.isPointCentral',\n 'model.loginTemplatesForGroup.{enterpriseLoginTemplates.[],isFulfilled,singleSystemLoginTemplates.[]}'\n )\n get loginTemplateTypeProperties(): {\n items: Promise>;\n pageHeader: string;\n pageDescription: string;\n editTemplate: (arg: string) => void;\n newTemplate: VoidFunction;\n showAllTemplates: VoidFunction;\n }[] {\n const isPointCentral = this.identityManager.identityModel?.isPointCentral ?? false,\n { model, intl } = this;\n\n return [\n {\n items: model.loginTemplatesForGroup.then((loginTemplatesForGroup) => {\n return loginTemplatesForGroup.enterpriseLoginTemplates;\n }),\n pageHeader: intl.tc(this, 'groupRolesTitle'),\n pageDescription: intl.tc(\n this,\n isPointCentral ? 'groupRolesDescriptionPointCentral' : 'groupRolesDescription'\n ),\n editTemplate: (templateId: string) => this.editTemplate(templateId, EnterpriseLoginTemplate),\n newTemplate: () => this.newTemplate(EnterpriseLoginTemplate),\n showAllTemplates: () => this.showAllTemplates(Enterprise)\n },\n {\n items: model.loginTemplatesForGroup.then(\n (loginTemplatesForGroup) => loginTemplatesForGroup.singleSystemLoginTemplates\n ),\n pageHeader: intl.tc(this, 'locationRolesTitle'),\n pageDescription: intl.tc(\n this,\n isPointCentral ? 'locationRolesDescriptionPointCentral' : 'locationRolesDescription'\n ),\n editTemplate: (templateId: string) => this.editTemplate(templateId, SingleSystemLoginTemplate),\n newTemplate: () => this.newTemplate(SingleSystemLoginTemplate),\n showAllTemplates: () => this.showAllTemplates(SingleSystem)\n }\n ];\n }\n\n /**\n * Transition to the passed-in .NET page to create a template.\n *\n * @param {number} pageId Indicates the page to which to transition and create a new template.\n */\n @action\n newTemplate(pageId: number): void {\n this.navigation.transitionToRouteId(pageId);\n }\n\n /**\n * Transition to the .NET page to edit the template whose id was passed-in.\n *\n * @param {string} templateId The id of the login template to edit.\n * @param {number} pageId The id of the create/edit page to transition to after the edit button is clicked.\n */\n @action\n editTemplate(templateId: string, pageId: number): void {\n this.navigation.transitionToRouteId(Number(pageId), {\n queryParams: {\n id: templateId.toString()\n }\n });\n }\n\n /**\n * Delete the template.\n *\n * @param {models.enterprise.settings.LoginTemplate} template The login template to delete.\n */\n @action\n deleteTemplate(template: LoginTemplate): void {\n const { intl } = this;\n this.modals.showConfirmationDialog(\n intl.tc(this, 'deleteTemplateModalTitle'),\n intl.tc(this, 'deleteTemplateModalDesc'),\n {\n text: intl.t('generic.delete'),\n css: 'btn-color-danger',\n action: async () => {\n const { name } = template;\n await template.destroyRecord();\n this.notificationManager.addSuccess(intl.tc(this, 'successfulDelete', { name }));\n }\n }\n );\n }\n\n /**\n * Displays a modal to have the end-user select which groups to copy the template to.\n *\n * @param {models.enterprise.settings.LoginTemplate} template The template to copy\n */\n @action\n async copyTemplate(template: LoginTemplate): Promise {\n const getAvailableSystemGroupsForLoginTemplateCopyRequest = await this.ajax.apiRequest<{\n value: SystemGroupAvailableForLoginTemplateCopy[];\n }>(\n `systems/systemGroups/getAvailableSystemGroupsForLoginTemplateCopy?loginTemplateIdToCopy=${template.id}`,\n undefined,\n null,\n 'GET'\n ),\n availableSystemGroups = getAvailableSystemGroupsForLoginTemplateCopyRequest.value.map((group) => {\n const { id, name, hasLoginTemplateWithSameName, hasCopyOfLoginTemplate } = group;\n return {\n id,\n name,\n hasLoginTemplateWithSameName,\n hasCopyOfLoginTemplate\n };\n }),\n availableSystemGroupModels = (await this.model.systemGroups).filter((sg) =>\n availableSystemGroups.any((asg) => `${asg.id}` === sg.id)\n ),\n systemGroupsWithDuplicateTemplates = availableSystemGroups.filter(\n (asg) => asg.hasLoginTemplateWithSameName\n ),\n systemGroupsIdsWithCopyOfTemplate = systemGroupsWithDuplicateTemplates\n .filter((systemGroup) => systemGroup.hasCopyOfLoginTemplate)\n .map((template) => template.id.toString());\n\n // Open the select groups modal so the end-user can choose the groups they want to copy to.\n await this.openApplyToMultipleGroupsModal(\n availableSystemGroupModels,\n systemGroupsWithDuplicateTemplates,\n systemGroupsIdsWithCopyOfTemplate,\n template\n );\n }\n\n /**\n * Opens the 'apply to multiple groups' modal so that the end-user can decide which groups to copy the template to.\n *\n * @param {models.enterprise.settings.LoginTemplate} template The login template we want to copy\n * @returns {Promise}\n */\n openApplyToMultipleGroupsModal(\n availableSystemGroupModels: SystemGroup[],\n systemGroupsWithDuplicateTemplates: SystemGroupAvailableForLoginTemplateCopy[],\n systemGroupsIdsWithCopyOfTemplate: string[],\n template: LoginTemplate\n ): void {\n const { intl } = this;\n this.modals.showModal(ApplyMultipleGroupsModal, {\n disableBackdropClose: true,\n filterFunction: (group: SystemGroup) =>\n getGroupHasDuplicateTemplate(group, systemGroupsWithDuplicateTemplates, intl),\n systemGroups: availableSystemGroupModels,\n allSelectable: true,\n forceDisplayErrorMessage: true,\n errorTooltipOnly: true,\n title: intl.tc(this, 'copyLoginTemplatesModalTitle'),\n description: intl.tc(this, 'copyLoginTemplatesModalDescription'),\n selectedSystemGroupIds: systemGroupsIdsWithCopyOfTemplate,\n applyToSelectedSystems: async (selectedSystemGroupIds: number[]) => {\n return template.copyLoginTemplate(selectedSystemGroupIds).then(async () => {\n this.notificationManager.addSuccess(\n intl.tc(this, 'successfulCopy', {\n name: template.name,\n numGroups: selectedSystemGroupIds.length\n })\n );\n (await this.model.loginTemplatesForGroup).reload();\n });\n }\n });\n }\n\n /**\n * Hide the login template from the UI.\n *\n * @param {models.enterprise.settings.LoginTemplate} template The login template to hide.\n */\n @action\n hideTemplate(template: LoginTemplate): void {\n const { intl } = this;\n this.modals.showConfirmationDialog(\n intl.t('components.enterprise.settings.login-template-list.hideTemplate'),\n intl.tc(this, 'hideLoginTemplateModalDesc'),\n {\n text: intl.tc(this, 'hide'),\n action: async () => {\n await template.hideLoginTemplate();\n template.isHidden = true;\n }\n }\n );\n }\n\n /**\n * Show all templates of the template type in the UI.\n *\n * @param {enum.LoginTemplateType} type The type of login templates (enterprise or single system) to make visible.\n */\n @action\n async showAllTemplates(type: number): Promise {\n const templates = await this.model.loginTemplatesForGroup;\n await templates.showAllTemplatesOfType(type);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/login-templates': LoginTemplatesController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsLoginTemplates } from '../../../enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type LoginTemplatesForGroup from 'customer-site/models/enterprise/settings/login-templates-for-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * The login templates for the selected system group.\n */\nexport default class EnterpriseSettingsLoginTemplatesRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n routeId = EmberGroupSettingsLoginTemplates;\n\n model(): ModelFrom & {\n loginTemplatesForGroup: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n loginTemplatesForGroup: this.store.findRecord(\n 'enterprise/settings/login-templates-for-group',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import BaseManagedAccountAccessRoute from 'customer-site/classes/settings/base-managed-account-access-route';\nimport { EmberGroupSettingsManagedAccountAccess } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for changing managed 24/7 access settings in an enterprise context.\n *\n * @class enterprise.settings.managed-account-access.Route\n * @extends BaseManagedAccountAccessRoute\n */\nexport default class Route extends BaseManagedAccountAccessRoute {\n /** @override */\n routeId = EmberGroupSettingsManagedAccountAccess;\n}\n","import BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsMobileBadge } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ArrayProxy from '@ember/array/proxy';\nimport type MobileBadge from 'customer-site/models/enterprise/settings/mobile-badge';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\ninterface MobileBadgeRouteModel {\n mobileBadge: ADCAsyncStoreFindRecord;\n systemGroups: ArrayProxy;\n}\nexport default class MobileBadgeRoute extends BaseRoute {\n /** override */\n routeId = EmberGroupSettingsMobileBadge;\n\n model(): MobileBadgeRouteModel {\n const m = this.modelFor>('enterprise.settings');\n return {\n mobileBadge: this.store.findRecord('enterprise/settings/mobile-badge', m.systemGroupId, { reload: true }),\n systemGroups: m.systemGroups\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ResolvedModelFrom, ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsNewBusinessHourTemplatesApplyRoute from './route';\n\nexport default class EnterpriseSettingsNewBusinessHourTemplatesApply extends Controller {\n @service declare contextManager: ContextManager;\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n resolvedModel?: ResolvedModelFrom;\n\n @computed('resolvedModel.systems')\n get locationItems(): Array | undefined {\n const systems = this.resolvedModel?.systems;\n if (!systems) {\n return undefined;\n }\n\n return systems.map((system) => {\n return DropdownSelectItem.create({\n name: system.description,\n value: system.id\n });\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/new-business-hour-templates/apply': EnterpriseSettingsNewBusinessHourTemplatesApply;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberNewBusinessHourTemplatesApply } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { AsyncHasMany } from '@ember-data/model';\nimport type System from 'customer-site/models/systems/system';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface EnterpriseSettingsNewBusinessHourTemplatesApplyModel {\n systems: AsyncHasMany;\n}\n\n/**\n * @classdesc\n *\n * Apply page for (New) Business Hour Templates page\n */\nexport default class EnterpriseSettingsNewBusinessHourTemplatesApplyRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberNewBusinessHourTemplatesApply;\n\n @service declare contextManager: ContextManager;\n\n model(): Promise {\n return (async () => {\n const selectedSystemGroup = await this.contextManager.identityModel.selectedSystemGroup;\n const systems = selectedSystemGroup?.get('systems');\n\n return {\n systems\n };\n })();\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberNewBusinessHourTemplates, EmberNewBusinessHourTemplatesApply } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type BusinessHourTemplate from 'customer-site/models/enterprise/settings/business-hour-template';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsNewBusinessHourTemplatesEditRoute from './route';\n\n// Link to the KBB Article for Business Hours.\n// TODO: Get the actual article link (still pending from PM)\nconst kbbArticleLink = 'https://www.alarm.com';\n\nexport default class EnterpriseSettingsNewBusinessHourTemplatesEdit extends Controller {\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n @service declare notificationManager: NotificationManager;\n\n declare model: ModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n @alias('resolvedModel.businessHourTemplate')\n declare template: BusinessHourTemplate;\n\n @tracked\n toolTipOpen = false;\n\n get learnMoreLink(): string {\n return kbbArticleLink;\n }\n\n @action\n cancel(): void {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplates);\n }\n\n /**\n * Validates the template data and saves if its in the appropriate format.\n * If the data is invalid, it will show the appropriate error message.\n */\n @action\n async save(transitionToApplyPage: boolean): Promise {\n if (this.resolvedModel) {\n // Validate template data\n const validationError = this.validateTemplateData();\n if (validationError !== null) {\n this.notificationManager.addError(this.intl.tc(this, validationError));\n return Promise.reject();\n }\n\n await this.template\n .save()\n .then(() => {\n // Transition to apply if the user presses \"yes, continue\" on the modal\n // otherwise go to the index page\n if (transitionToApplyPage) {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplatesApply, this.template.id);\n } else {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplates);\n }\n this.notificationManager.addSuccess(\n this.intl.tc(this, 'templateCreateSuccess', { templateName: this.template.name })\n );\n return Promise.resolve();\n })\n .catch(() => {\n this.notificationManager.addError(this.intl.tc(this, 'saveError'));\n return Promise.reject();\n });\n }\n }\n\n /**\n * Helper method that does validation on the model\n * @returns the appropriate translation to render depending on what is invalid, null if everything is valid.\n */\n validateTemplateData(): string | null {\n if (this.template.name !== null && this.template.name !== undefined && this.template.name.trim().length > 100) {\n return 'nameInvalidError';\n }\n\n if (\n this.template.description !== null &&\n this.template.description !== undefined &&\n this.template.description.length > 500\n ) {\n return 'descriptionInvalidError';\n }\n\n return null;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/new-business-hour-templates/edit': EnterpriseSettingsNewBusinessHourTemplatesEdit;\n }\n}\n","import { set } from '@ember/object';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberNewBusinessHourTemplatesEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { daysInWeek } from 'date-fns';\n\nimport type BusinessHourDay from '@adc/login-setup-addon/models/settings/business-hours/day/business-hour-day';\nimport type BusinessHourTemplate from 'customer-site/models/enterprise/settings/business-hour-template';\n\n/**\n * @classdesc\n *\n * Edit page for (New) Business Hour Templates page\n */\nexport default class EnterpriseSettingsNewBusinessHourTemplatesEditRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberNewBusinessHourTemplatesEdit;\n\n model(params: { id_template: any }): {\n businessHourTemplate: BusinessHourTemplate | ADCAsyncStoreFindRecord;\n } {\n if (params.id_template === 'new') {\n // Create a new BusinessHourTemplate\n const businessHourTemplate = this.store.createRecord('enterprise/settings/business-hour-template');\n\n // Create an array of 7 BusinessHourDay objects\n const businessHourDays: BusinessHourDay[] = [];\n for (let i = 0; i < daysInWeek; i++) {\n const businessHourDay: BusinessHourDay = this.store.createRecord(\n 'settings/business-hours/day/business-hour-day'\n );\n businessHourDay.day = i.toString();\n businessHourDays.push(businessHourDay);\n }\n\n // Set the businessHourDays property of the businessHourTemplate\n set(businessHourTemplate, 'businessHourDays', businessHourDays);\n\n return {\n businessHourTemplate: businessHourTemplate\n };\n }\n\n return {\n businessHourTemplate: this.store.findRecord(\n 'enterprise/settings/business-hour-template',\n params.id_template\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { getErrorText } from 'customer-site/utils/ember';\nimport {\n EmberNewBusinessHourTemplates,\n EmberNewBusinessHourTemplatesApply,\n EmberNewBusinessHourTemplatesEdit\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ResolvedModelFrom, ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsNewBusinessHourTemplatesIndexRoute from './route';\n\nexport default class EnterpriseSettingsNewBusinessHourTemplatesIndex extends Controller {\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n @service declare navigation: NavigationService;\n @service declare notificationManager: NotificationManager;\n\n declare model: ModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n /**\n * String provided by the user to filter out templates\n */\n @tracked\n searchString = '';\n\n @alias('resolvedModel.businessHourTemplates.length')\n filteredTemplatesCount?: number;\n\n @alias('resolvedModel.totalTemplatesCount')\n totalTemplatesCount?: number;\n\n /**\n * Handles the formatting of the \"Templates\" string that's next to the search bar\n */\n @computed('filteredTemplatesCount', 'totalTemplatesCount', 'searchString')\n get templatesCountText(): string {\n // If the user has provided a search string, display the filteredTemplatesCount/totalTemplatesCount\n if (this.searchString) {\n return this.intl.tc(this, 'filteredTemplatesCount', {\n filteredTemplatesCount: this.filteredTemplatesCount,\n totalTemplatesCount: this.totalTemplatesCount\n });\n }\n\n // If there is no search string, just display the number of total schedules\n return this.intl.tc(this, 'totalTemplatesCount', { totalTemplatesCount: this.totalTemplatesCount });\n }\n\n /**\n * Filters the schedules by refreshing the model.\n */\n @action\n filterSchedules(searchString: string): void {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplates, {\n queryParams: {\n searchString: isEmpty(searchString) ? null : searchString\n }\n });\n }\n\n @action\n navigateToCreatePage(): void {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplatesEdit, 'new');\n }\n\n @action\n applyTemplate(templateId: string): void {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplatesApply, templateId);\n }\n\n @action\n editTemplate(templateId: string): void {\n this.navigation.transitionToRouteId(EmberNewBusinessHourTemplatesEdit, templateId);\n }\n\n @action\n deleteTemplate(templateId: string): void {\n const template = this.resolvedModel?.businessHourTemplates?.filter((t) => t.id === templateId)[0];\n\n if (template) {\n this.modals.showDeleteModal({\n title: this.intl.tc(this, 'deleteTemplate'),\n message: this.intl.tc(this, 'deleteTemplateBody'),\n delete: () => {\n template\n ?.destroyRecord()\n .then(() => {\n this.notificationManager.addSuccess(\n this.intl.tc(this, 'deleteSuccess', { templateName: template.name })\n );\n return Promise.resolve();\n })\n .catch((e) => {\n const errorText = getErrorText(e);\n if (errorText) {\n this.notificationManager.addError(errorText);\n }\n return Promise.reject();\n });\n }\n });\n } else {\n // If for some reason we don't find the template, notify the user and then refresh the page after 2 seconds.\n this.notificationManager.addError(this.intl.tc(this, 'deleteTemplateError'));\n setTimeout(() => {\n this.navigation.router.refresh(this.navigation.router.currentRouteName);\n }, 2000);\n }\n }\n\n resetQueryParams(): void {\n this.searchString = '';\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/new-business-hour-templates/index': EnterpriseSettingsNewBusinessHourTemplatesIndex;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberNewBusinessHourTemplates } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Transition from '@ember/routing/transition';\nimport type BusinessHourTemplate from 'customer-site/models/enterprise/settings/business-hour-template';\nimport type EnterpriseSettingsNewBusinessHourTemplatesIndex from './controller';\n\nexport interface NewBusinessHourTemplatesModel {\n businessHourTemplates?: ADCStoreQuery;\n totalTemplatesCount: number;\n canEditTemplates: boolean;\n}\n\nexport interface NewBusinessHourTemplatesRouteQueryParams {\n searchString: string;\n}\n\n/**\n * @classdesc\n *\n * Index page for (New) Business Hour Templates page\n */\nexport default class EnterpriseSettingsNewBusinessHourTemplatesIndexRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberNewBusinessHourTemplates;\n\n queryParams = {\n searchString: {\n refreshModel: true,\n replace: true\n }\n };\n\n async model(params: NewBusinessHourTemplatesRouteQueryParams): Promise {\n return this.store\n .query('enterprise/settings/business-hour-template', {\n filter: params\n })\n .then((businessHourTemplates) => this.initBusinessHourTemplatesModel(businessHourTemplates))\n .catch((error) => {\n console.error('An error occurred while querying business hour templates:', error);\n const businessHourTemplatesModel: NewBusinessHourTemplatesModel = {\n businessHourTemplates: undefined,\n totalTemplatesCount: 0,\n canEditTemplates: false\n };\n\n return businessHourTemplatesModel;\n });\n }\n\n initBusinessHourTemplatesModel(\n businessHourTemplates: ADCStoreQuery\n ): NewBusinessHourTemplatesModel {\n const { totalTemplatesCount, canEditTemplates } = businessHourTemplates.meta;\n\n const businessHourTemplatesModel: NewBusinessHourTemplatesModel = {\n businessHourTemplates,\n totalTemplatesCount,\n canEditTemplates\n };\n\n return businessHourTemplatesModel;\n }\n\n /**\n * @override\n * Hook used to reset the query params when the the model changes or the route is exiting.\n */\n resetController(\n controller: EnterpriseSettingsNewBusinessHourTemplatesIndex,\n isTransition: boolean,\n transition: Transition\n ): void {\n super.resetController(controller, isTransition, transition);\n controller.resetQueryParams();\n }\n}\n","import { action, computed, set } from '@ember/object';\nimport { alias, empty } from '@ember/object/computed';\nimport { Loudness } from 'customer-site/enums/SensorReadingType';\nimport NoiseSettingsController from 'customer-site/settings/noise-settings/controller';\n\nimport type SensorThreshold from 'customer-site/models/devices/sensor-threshold';\nimport type NoiseMonitorSettingsTemplate from 'customer-site/models/enterprise/settings/noise-monitor-settings-template';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class NoiseMonitorSettingsTemplateController extends NoiseSettingsController {\n declare model: ModelFrom;\n\n /**\n * The Noise Monitor Settings Template being edited.\n */\n @alias('model.template')\n declare settingsTemplate: NoiseMonitorSettingsTemplate;\n\n /**\n * Whether the user has not entered a name for the template.\n */\n @empty('settingsTemplate.name')\n declare isTemplateNameNull: boolean;\n\n /**\n * Gets all thresholds that will be displayed. We will ignore thresholds that were marked for deletion.\n * @override\n */\n @computed('sortThresholdsToDisplay', 'settingsTemplate.thresholdList.{@each.isDeleted,id,[]}')\n get displayThresholds(): SensorThreshold[] {\n return (this.settingsTemplate?.thresholdList?.toArray()?.sort(this.sortThresholdsToDisplay) ?? []).rejectBy(\n 'isDeleted'\n );\n }\n\n /**\n * Adds the threshold to the selected noise sensor's threshold list.\n * @override\n */\n @action\n addThreshold(): void {\n const { store, settingsTemplate } = this;\n if (!settingsTemplate) {\n return;\n }\n\n settingsTemplate.thresholdList.addObject(\n store.createRecord('devices/sensor-threshold', {\n sensorReadingType: Loudness\n })\n );\n }\n\n @action\n saveTemplate(): Promise | undefined {\n const { settingsTemplate, notificationManager } = this;\n\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This should be replaced with `settingsTemplate.thresholdList.setObjects(settingsTemplate.thresholdList.rejectBy('isDeleted'));`.\n set(settingsTemplate, 'thresholdList', settingsTemplate.thresholdList.rejectBy('isDeleted'));\n try {\n const promise = settingsTemplate.save();\n promise.then(\n (result) =>\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This should be replaced with `settingsTemplate.thresholdList.setObjects(result.get('thresholdList').filter((t) => t.id != null));`.\n (settingsTemplate.thresholdList = result.get('thresholdList').filter((t) => t.id != null))\n );\n return promise;\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n return;\n }\n }\n\n /**\n * When All Locations or Partial Locations is pressed, update units that will\n * have noise sensors with the template's thresholds.\n *\n * @param {Array} enabledLocations\n */\n @action updateLocations(enabledLocations: number[]) {\n set(this.settingsTemplate, 'enabledUnitIds', enabledLocations);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/noise-monitor-settings-templates/edit': NoiseMonitorSettingsTemplateController;\n }\n}\n","import { get } from '@ember/object';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseNoiseMonitorSettingsTemplateEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { Loudness } from 'customer-site/enums/SensorReadingType';\nimport { hash } from 'rsvp';\n\nimport type SensorThreshold from 'customer-site/models/devices/sensor-threshold';\nimport type NoiseMonitorSettingsTemplate from 'customer-site/models/enterprise/settings/noise-monitor-settings-template';\nimport type System from 'customer-site/models/systems/system';\n\nexport type NoiseMonitorSettingsTemplateModel = {\n template: NoiseMonitorSettingsTemplate;\n};\n\nexport default class EnterpriseSettingsNoiseMonitorSettingsTemplatesEditRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberEnterpriseNoiseMonitorSettingsTemplateEdit;\n\n declare currentModel: NoiseMonitorSettingsTemplateModel;\n\n /** @override */\n model({ id_template: templateId = 0 }): Promise<{\n systems: System[];\n template: ReturnType;\n }> {\n return hash({\n systems: this.ajax.apiRequestForDataRecords(\n 'enterprise/settings/noiseMonitorSettingsTemplates/getSystemsWithNoiseSensors'\n ),\n template: this.getTemplateModel(templateId)\n });\n }\n\n /** @override */\n getTemplateModel(id: string | number): NoiseMonitorSettingsTemplate | Promise {\n const { store } = this,\n modelName = 'enterprise/settings/noise-monitor-settings-template',\n isNew = id === 'new';\n\n if (isNew) {\n const defaultThreshold = store.createRecord('devices/sensor-threshold', {\n thresholdHigh: 70,\n durationInMinutes: 6,\n sensorReadingType: Loudness\n });\n\n return store.createRecord(modelName, {\n thresholdList: [defaultThreshold]\n });\n }\n\n return store.findRecord(modelName, id);\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const { thresholdList } = this.currentModel.template;\n thresholdList.forEach((threshold: SensorThreshold) => {\n if (get(threshold, 'isDeleted') || get(threshold, 'hasDirtyAttributes')) {\n threshold.rollbackAttributes();\n }\n\n if (get(threshold, 'isNew')) {\n threshold.deleteRecord();\n }\n });\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberEnterpriseNoiseMonitorSettingsTemplateEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type NoiseMonitorSettingsTemplate from 'customer-site/models/enterprise/settings/noise-monitor-settings-template';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * List all noise monitor setting templates.\n */\nexport default class EnterpriseSettingsNoiseMonitorTemplateIndexController extends Controller {\n @service declare contextManager: ContextManager;\n\n declare model: ModelFrom;\n\n sortName = ['name'];\n\n @sort('model.templates', 'sortName')\n declare templates: Array;\n\n /**\n * The route ID for the 'edit template' page for this template type.\n */\n editRoute = EmberEnterpriseNoiseMonitorSettingsTemplateEdit;\n\n /**\n * Navigate to the page to create a new noise monitor settings template.\n */\n @action newNoiseMonitorSettingsTemplate(): void {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(\n EmberEnterpriseNoiseMonitorSettingsTemplateEdit,\n undefined,\n undefined,\n 'new'\n );\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/noise-monitor-settings-templates/index': EnterpriseSettingsNoiseMonitorTemplateIndexController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsNoiseMonitorSettingsTemplates } from 'customer-site/enums/CustomerPageUrl';\n\nimport type NoiseMonitorSettingsTemplate from 'customer-site/models/enterprise/settings/noise-monitor-settings-template';\n\n/**\n * @classdesc\n * List all existing noise monitor settings templates.\n */\nexport default class EnterpriseSettingsNoiseMonitorSettingsTemplatesIndexRoute extends AdcBaseRoute {\n routeId = EmberGroupSettingsNoiseMonitorSettingsTemplates;\n\n /**\n * Model to return all Noise Monitor Settings templates for the enterprise group.\n */\n model(): {\n templates: ADCAsyncStoreFindAll;\n hasValidNoiseSensors: Promise;\n } {\n return {\n templates: this.store.findAll('enterprise/settings/noise-monitor-settings-template', {\n reload: true\n }),\n hasValidNoiseSensors: this.ajax.apiRequest(\n 'enterprise/settings/noiseMonitorSettingsTemplates/hasValidNoiseSensors'\n )\n };\n }\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class NoiseMonitorSettingController extends Controller {\n declare model: ModelFrom;\n\n /**\n * User's search query string\n */\n searchString = '';\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/noise-monitor-settings': NoiseMonitorSettingController;\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsNoiseMonitorSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the noise monitor settings.\n *\n * @class enterprise.settings.noise-monitor-settings.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsNoiseMonitorSettings;\n}\n","import Controller from '@ember/controller';\nimport { action, computed, set } from '@ember/object';\nimport { empty, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { default as DropdownSelectItem } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type OccupancyBasedPoolControllerRule from 'customer-site/models/enterprise/settings/occupancy-based-pool-controller-rule';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Edit an OBPCR template.\n */\nexport default class OccupancyBasedPoolControllerRulesEditController extends Controller {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n\n declare model: ResolvedModelFrom;\n\n /**\n * Minimum and Maximum setpoints for pool and spa controllers in Fahrenheit.\n */\n minPoolSetpoint = 40;\n maxPoolSetpoint = 90;\n minSpaSetpoint = 60;\n maxSpaSetpoint = 114;\n\n /**\n * The OBPCR template being edited.\n */\n @alias('model.template')\n declare settingsTemplate: OccupancyBasedPoolControllerRule;\n\n /**\n * Is the pool setpoint checkbox checked?\n */\n @alias('model.template.poolChecked')\n declare poolChecked: boolean;\n\n /**\n * Is the spa setpoint checkbox checked?\n */\n @alias('model.template.spaChecked')\n declare spaChecked: boolean;\n\n /**\n * The current setpoint value of the pool dropdown\n */\n @computed('minPoolSetpoint', 'settingsTemplate.occupiedPoolSetpoint')\n get poolSetpoint(): number {\n const currentSetpoint = this.convertTemp(this.settingsTemplate.occupiedPoolSetpoint);\n return currentSetpoint;\n }\n\n /**\n * The current setpoint value of the spa dropdown\n */\n @computed('minSpaSetpoint', 'settingsTemplate.occupiedSpaSetpoint')\n get spaSetpoint(): number {\n const currentSetpoint = this.convertTemp(this.settingsTemplate.occupiedSpaSetpoint);\n return currentSetpoint;\n }\n\n /**\n * Whether the user has not entered a name for the template.\n *\n * @type {boolean}\n */\n @empty('settingsTemplate.name')\n isTemplateNameNull: boolean | undefined;\n\n /**\n * Whether the user can edit thermostats.\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.canEditThermostats')\n declare canEditThermostats: boolean;\n\n /**\n * Whether we should display as Celsius or not\n */\n @computed('contextManager.identityModel.localizeTempUnitsToCelsius')\n get isCelsius(): boolean {\n return this.contextManager.identityModel.localizeTempUnitsToCelsius;\n }\n\n /**\n * The list of setpoints for the pool.\n */\n @computed('isCelsius', 'maxPoolSetpoint', 'minPoolSetpoint')\n get poolSetpointRange(): Array {\n return this.calculateDropdownValues(this.minPoolSetpoint, this.maxPoolSetpoint);\n }\n\n /**\n * The list of setpoints for the spa.\n *\n * @type {Array}\n */\n @computed('isCelsius', 'maxSpaSetpoint', 'minSpaSetpoint')\n get spaSetpointRange(): Array {\n return this.calculateDropdownValues(this.minSpaSetpoint, this.maxSpaSetpoint);\n }\n\n /**\n * Updates the pool setpoint with the dropdown value\n *\n * @type {Array}\n */\n @action updatePoolSetpoint(value: string): void {\n // Keeping setpoints as Farenheit for consistency with calculations\n let enumValue = parseInt(value);\n if (this.isCelsius) {\n enumValue = this.convertToFarenheit(enumValue);\n }\n\n set(this.settingsTemplate, 'occupiedPoolSetpoint', enumValue);\n }\n\n /**\n * Updates the spa setpoint with the dropdown value\n *\n * @type {Array}\n */\n @action updateSpaSetpoint(value: string): void {\n // Keeping setpoints as Farenheit for consistency with calculations\n let enumValue = parseInt(value);\n if (this.isCelsius) {\n enumValue = this.convertToFarenheit(enumValue);\n }\n\n set(this.settingsTemplate, 'occupiedSpaSetpoint', enumValue);\n }\n\n /**\n * When All Locations or Partial Locations is pressed, update the units that have the feature\n * enabled. Toggle the feature if necessary.\n */\n @action\n updateLocations(enabledLocations: number[]): void {\n set(this.settingsTemplate, 'enabledUnitIds', enabledLocations);\n }\n\n /**\n * Computes whether the pool and spa are disabled or not\n */\n @computed('settingsTemplate.{enabled,onWhenOccupied}')\n get checkDisabled(): boolean {\n return !this.settingsTemplate.onWhenOccupied || !this.settingsTemplate.enabled;\n }\n\n /**\n * Saves thermostat settings template, redirects to OBPCR templates page on success.\n */\n @action saveTemplate(): Promise {\n return this.settingsTemplate.save();\n }\n\n /**\n * Helper Method to convert from Fahrenheit to Celsius if necessary\n */\n convertTemp(temp: number): number {\n if (this.isCelsius) {\n return Math.round(((temp - 32) * 5) / 9);\n }\n\n return temp;\n }\n\n convertToFarenheit(temperatureInCelcius: number): number {\n return Math.round((temperatureInCelcius * 9) / 5 + 32);\n }\n\n /**\n * Helper Method to get ranges of dropdowns\n */\n calculateDropdownValues(min: number, max: number): Array {\n const degreeSymbol = '\\u00B0';\n const unit = this.isCelsius ? degreeSymbol + 'C' : degreeSymbol + 'F';\n const minTemp = this.convertTemp(min);\n const maxTemp = this.convertTemp(max);\n const tempRanges = Array.from(Array(maxTemp + 1).keys()).slice(minTemp);\n\n return tempRanges.map((temp) =>\n DropdownSelectItem.create({\n name: temp.toString() + unit,\n value: temp.toString()\n })\n );\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/occupancy-based-pool-controller-rules/edit': OccupancyBasedPoolControllerRulesEditController;\n }\n}\n","import { get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsOBPCREdit } from 'customer-site/enums/CustomerPageUrl';\nimport { hash } from 'rsvp';\n\nimport type Store from '@ember-data/store';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type OccupancyBasedPoolControlModel from 'customer-site/models/enterprise/settings/occupancy-based-pool-controller-rule';\nimport type System from 'customer-site/models/systems/system';\n\nexport type OccupancyBasedPoolControlRouteModel = {\n template: OccupancyBasedPoolControlModel;\n};\n\nexport default class OccupancyBasedPoolControllerRulesEditRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n /** @override */\n routeId = EmberGroupSettingsOBPCREdit;\n\n /** @override */\n declare currentModel: OccupancyBasedPoolControlRouteModel;\n\n model({ id_template: templateId = 0 }): Promise<{\n template: Awaited>;\n poolControllers: ThermostatModel[];\n systems: System[];\n }> {\n return hash({\n systems: this.ajax.apiRequestForDataRecords(\n 'enterprise/settings/occupancyBasedPoolControllerRules/getSystemsWithPoolControllers'\n ),\n template: this.getTemplateModel(templateId),\n poolControllers: this.store\n .findAll('devices/thermostat')\n .then((results) => results.filter((item) => get(item, 'isPoolController')))\n });\n }\n\n getTemplateModel(id: string | number): OccupancyBasedPoolControlModel | Promise {\n const { store } = this,\n modelName = 'enterprise/settings/occupancy-based-pool-controller-rule',\n isNew = id === 'new';\n\n return isNew ? store.createRecord(modelName) : store.findRecord(modelName, id);\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const request = await this.currentModel.template;\n\n // Was this model created just for this route?\n if (request && (request.id === null || request.id === 'new')) {\n // Unload from store because the user never saved it.\n this.store.unloadRecord(request);\n }\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberGroupSettingsOBPCREdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type OccupancyBasedPoolControllerRule from 'customer-site/models/enterprise/settings/occupancy-based-pool-controller-rule';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc List all OBPCR setting templates.\n */\nexport default class OccupancyBasedPoolControllerRulesIndexController extends Controller {\n @service declare contextManager: ContextManager;\n\n declare model: ModelFrom;\n\n sortName = ['name'];\n\n @sort('model.poolControllerTemplates', 'sortName')\n declare poolControllerTemplates: Array;\n\n /**\n * The route ID for the 'edit template' page for this template type.\n */\n editRoute = EmberGroupSettingsOBPCREdit;\n\n /**\n * Navigate to the page to create a new OBPCR settings template.\n */\n @action\n createNewOBPCRTemplate(): void {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(EmberGroupSettingsOBPCREdit, undefined, undefined, 'new');\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/occupancy-based-pool-controller-rules/index': OccupancyBasedPoolControllerRulesIndexController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberGroupSettingsOBPCR } from '../../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type OccupancyBasedPoolControllerRule from '../../../../models/enterprise/settings/occupancy-based-pool-controller-rule';\n\nexport default class OccupancyBasedPoolControllerRulesIndexRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n /** @override */\n routeId = EmberGroupSettingsOBPCR;\n\n /**\n * Model object with a promise of all OBPCR setting templates.\n */\n model(): {\n poolControllerTemplates: ADCAsyncStoreFindAll;\n hasValidPoolControllers: Promise;\n } {\n return {\n poolControllerTemplates: this.store.findAll('enterprise/settings/occupancy-based-pool-controller-rule', {\n reload: true\n }),\n hasValidPoolControllers: this.ajax.apiRequest(\n 'enterprise/settings/occupancyBasedPoolControllerRules/hasValidPoolControllers'\n )\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action, computed, set } from '@ember/object';\nimport { empty, alias } from '@ember/object/computed';\nimport { service } from '@ember/service';\nimport { default as DropdownSelectItem } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type ContextManager from '@adc/app-infrastructure/services/context-manager';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type OccupancyBasedThermostatRule from 'customer-site/models/enterprise/settings/occupancy-based-thermostat-rule';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type OccupancyBasedThermostatRulesEditRoute from './route';\n\nexport default class OccupancyBasedThermostatRulesEditController extends Controller {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n @service declare identityManager: IdentityManager;\n\n declare model: ModelFrom;\n\n /**\n * Minimum and maximum setpoint for heat and cool controller in Fahrenheit.\n */\n maxSetpoint = 95;\n minHeatSetpoint = 40;\n minCoolSetpoint = 50;\n\n /**\n * The OBTR template.\n */\n @alias('model.template')\n declare template: OccupancyBasedThermostatRule;\n\n /**\n * Whether the user has not entered a name for the template.\n *\n */\n @empty('model.template.name')\n declare isTemplateNameNull: boolean;\n\n /**\n * Saves thermostat settings template, redirects to OBPCR templates page on success.\n */\n @action saveTemplate(): Promise {\n return this.template.save();\n }\n\n /**\n * Whether the user can edit thermostats.\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.canEditThermostats')\n declare canEditThermostats: boolean;\n\n /**\n * When All Locations or Partial Locations is pressed, update the units that have the feature\n * enabled. Toggle the feature if necessary.\n */\n @action\n updateLocations(enabledLocations: number[]): void {\n set(this.template, 'enabledUnitIds', enabledLocations);\n }\n\n /**\n * Whether we should display as Celsius or not\n */\n @computed('identityManager.identityModel.localizeTempUnitsToCelsius')\n get isCelsius(): boolean {\n return this.identityManager.identityModel?.localizeTempUnitsToCelsius ?? false;\n }\n\n /**\n * Current occupiced heat setpoint value.\n */\n @computed('template.occupiedCoolSetpoint')\n get occupiedCool(): number {\n return this.convertTemp(this.template.occupiedCoolSetpoint);\n }\n\n /**\n * Current occupied heat setpoint value.\n */\n @computed('template.occupiedHeatSetpoint')\n get occupiedHeat(): number {\n return this.convertTemp(this.template.occupiedHeatSetpoint);\n }\n\n /**\n * Current unoccupiced cool setpoint value.\n */\n @computed('template.unoccupiedCoolSetpoint')\n get unoccupiedCool(): number {\n return this.convertTemp(this.template.unoccupiedCoolSetpoint);\n }\n\n /**\n * Current unoccupiced heat setpoint value.\n */\n @computed('template.unoccupiedHeatSetpoint')\n get unoccupiedHeat(): number {\n return this.convertTemp(this.template.unoccupiedHeatSetpoint);\n }\n\n /**\n * List of setpoints for occupied heat.\n */\n @computed('isCelsius', 'maxSetpoint', 'minHeatSetpoint')\n get occupiedHeatSetpointRange(): Array {\n return this.calculateDropdownValues(this.minHeatSetpoint, this.maxSetpoint);\n }\n\n /**\n * List of setpoints for occupied cool.\n */\n @computed('isCelsius', 'maxSetpoint', 'minCoolSetpoint')\n get occupiedCoolSetpointRange(): Array {\n return this.calculateDropdownValues(this.minCoolSetpoint, this.maxSetpoint);\n }\n\n /**\n * List of setpoints for unoccupied heat.\n */\n @computed('isCelsius', 'maxSetpoint', 'minHeatSetpoint')\n get unoccupiedHeatSetpointRange(): Array {\n return this.calculateDropdownValues(this.minHeatSetpoint, this.maxSetpoint);\n }\n\n /**\n * List of setpoints for unoccupied cool.\n */\n @computed('isCelsius', 'maxSetpoint', 'minCoolSetpoint')\n get unoccupiedCoolSetpointRange(): Array {\n return this.calculateDropdownValues(this.minCoolSetpoint, this.maxSetpoint);\n }\n\n /**\n * Using the dropdown value to update the setpoints for the template.\n */\n updateSetpoint(value: string, attr: keyof OccupancyBasedThermostatRule): void {\n let enumValue = parseInt(value);\n if (this.isCelsius) {\n enumValue = this.convertToFarenheit(enumValue);\n }\n\n set(this.template, attr, enumValue);\n }\n\n /**\n * Using the dropdown value to update the occupied heat setpoint.\n */\n @action updateOccupiedHeat(value: string): void {\n this.updateSetpoint(value, 'occupiedHeatSetpoint');\n }\n\n /**\n * Using the dropdown value to update the occupied cool setpoint.\n */\n @action updateOccupiedCool(value: string): void {\n this.updateSetpoint(value, 'occupiedCoolSetpoint');\n }\n\n /**\n * Using the dropdown value to update the unoccupied heat setpoint.\n */\n @action updateUnoccupiedHeat(value: string): void {\n this.updateSetpoint(value, 'unoccupiedHeatSetpoint');\n }\n\n /**\n * Using the dropdown value to update the unoccupied heat setpoint.\n */\n @action updateUnoccupiedCool(value: string): void {\n this.updateSetpoint(value, 'unoccupiedCoolSetpoint');\n }\n\n /**\n * Revert any toggles depend on the disable to off when checkbox is checked.\n */\n @action revertToggle(): void {\n set(this.template, 'disabled', !this.template.disabled);\n set(this.template, 'occupiedChecked', false);\n set(this.template, 'unoccupiedChecked', false);\n set(this.template, 'autoMode', false);\n }\n\n /**\n * Computed whether the heat and cool setpoint for occupied are disable or not.\n */\n @computed('template.{occupiedChecked,disabled}')\n get checkOccupiedDisabled(): boolean {\n return !this.template.occupiedChecked || this.template.disabled;\n }\n\n /**\n * Computed whether the heat and cool setpoint for unoccupied are disable or not.\n */\n @computed('template.{unoccupiedChecked,disabled}')\n get checkUnoccupiedDisabled(): boolean {\n return !this.template.unoccupiedChecked || this.template.disabled;\n }\n\n /**\n * Computed whether enable disable or not.\n */\n @computed('template.disabled')\n get checkDisabled(): boolean {\n return this.template.disabled;\n }\n\n /**\n * Helper method to convert from Fahrenheit to Celsius if necessary.\n */\n convertTemp(temp: number): number {\n if (this.isCelsius) {\n return Math.round(((temp - 32) * 5) / 9);\n }\n\n return temp;\n }\n\n /**\n * Helper method to covert from Celsius to Fahrenheit if necessary.\n */\n convertToFarenheit(temperatureInCelsius: number): number {\n return Math.round((temperatureInCelsius * 9) / 5 + 32);\n }\n\n /**\n * Helper method to get ranges of dropdowns.\n */\n calculateDropdownValues(min: number, max: number): Array {\n // create the respective degree symbol follow by the Fahrenheit or Celsius for dropdown box.\n const degreeSymbol = '\\u00B0';\n const unit = this.isCelsius ? degreeSymbol + 'C' : degreeSymbol + 'F';\n\n // Convert the min and max value to Celsius if needed.\n const minTemp = this.convertTemp(min);\n const maxTemp = this.convertTemp(max);\n\n // Create array of value from min to max to display.\n const tempRanges = Array.from(Array(maxTemp + 1).keys()).slice(minTemp);\n\n // Mapping to values that will be used to store to the backend.\n return tempRanges.map((temp) =>\n DropdownSelectItem.create({\n name: temp.toString() + unit,\n value: temp.toString()\n })\n );\n }\n}\n\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/occupancy-based-thermostat-rules/edit': OccupancyBasedThermostatRulesEditController;\n }\n}\n","import { get } from '@ember/object';\nimport { service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { hash } from 'rsvp';\nimport { EmberGroupSettingsOBTREdit } from '../../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type OccupancyBasedThermostatRuleModel from 'customer-site/models/enterprise/settings/occupancy-based-thermostat-rule';\nimport type System from 'customer-site/models/systems/system';\n\nexport type OccupancyBasedThermostatRuleRouteModel = {\n template: OccupancyBasedThermostatRuleModel;\n};\nexport default class OccupancyBasedThermostatRulesEditRoute extends AdcBaseRoute {\n @service declare Store: Store;\n\n /** @override */\n routeId = EmberGroupSettingsOBTREdit;\n\n /** @override */\n declare currentModel: OccupancyBasedThermostatRuleRouteModel;\n\n /** @override */\n model({ id_template: templateId = 0 }): Promise<{\n template: Awaited>;\n thermostats: ThermostatModel[];\n systems: System[];\n }> {\n return hash({\n systems: this.ajax.apiRequestForDataRecords(\n 'enterprise/settings/occupancyBasedThermostatRules/getSystemsWithThermostats'\n ),\n template: this.getTemplateModel(templateId),\n thermostats: this.store\n .findAll('devices/thermostat')\n .then((results) => results.filter((item) => get(item, 'isPoolController') === false))\n });\n }\n\n getTemplateModel(\n id: string | number\n ): OccupancyBasedThermostatRuleModel | Promise {\n const { store } = this,\n modelName = 'enterprise/settings/occupancy-based-thermostat-rule',\n isNew = id === 'new';\n\n return isNew ? store.createRecord(modelName) : store.findRecord(modelName, id);\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const request = await this.currentModel.template;\n\n // Was this model created just for this route?\n if (request && (request.id === null || request.id === 'new')) {\n // Unload from store because the user never saved it.\n this.store.unloadRecord(request);\n }\n }\n}\n","import Controller from '@ember/controller';\nimport { sort } from '@ember/object/computed';\nimport { EmberGroupSettingsOBTREdit } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * View all templates.\n */\nexport default class OccupancyBasedThermostatRulesController extends Controller {\n sortName = ['name'];\n\n /**\n * The list of templates, sorted by name\n *\n * @type {Array}\n */\n @sort('model.rules', 'sortName')\n items;\n\n /**\n * The route ID for the 'edit template' page for this template type.\n *\n * @type {number}\n */\n editRoute = EmberGroupSettingsOBTREdit;\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberGroupSettingsOBTR } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * List of OBTR schedules\n */\nexport default class OccupancyBasedThermostatRulesRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsOBTR;\n\n model() {\n return {\n rules: this.store.findAll('enterprise/settings/occupancy-based-thermostat-rule', {\n reload: true\n }),\n hasValidThermostats: this.ajax.apiRequest(\n 'enterprise/settings/occupancyBasedThermostatRules/hasValidThermostats'\n )\n };\n }\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class PanelSettingController extends Controller {\n declare model: ModelFrom;\n\n /**\n * User's search query string\n */\n searchString = '';\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/panel-settings': PanelSettingController;\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsPanelSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the panel settings.\n *\n * @class enterprise.settings.panel-settings.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsPanelSettings;\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsPermissionsAndIntegrations } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the permissions and integrations settings.\n *\n * @class enterprise.settings.permissions-and-integrations.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsPermissionsAndIntegrations;\n}\n","import Controller from '@ember/controller';\nimport { action, set, computed } from '@ember/object';\nimport { alias, empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EVERY_DAY } from 'customer-site/utils/datetime';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type PoolControlFilterPumpScheduleTemplate from 'customer-site/models/enterprise/settings/pool-control-filter-pump-schedule-template';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport interface PoolControlFilterPumpScheduleInfo {\n dayBit: number;\n startTime?: number;\n endTime?: number;\n}\n\nexport default class PoolControlFilterPumpSchedulesController extends Controller {\n @service declare store: Store;\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n\n declare model: ResolvedModelFrom;\n\n @alias('model.template')\n declare template: PoolControlFilterPumpScheduleTemplate;\n\n /**\n * Whether the user has not entered a name for the template.\n *\n * @type {boolean}\n */\n @empty('template.name')\n declare isTemplateNameNull: boolean;\n\n /**\n * Whether the user can edit thermostats.\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.canEditThermostats')\n declare canEditThermostats: boolean;\n\n /**\n * Returns a list of PoolControlFilterPumpScheduleInfo by taking the list of PoolControlFilterPumpScheduleInfo from\n * the template model (which holds the enabled days) and adding in the remaining days that weren't enabled.\n */\n @computed('template.filterPumpDayOfWeekInfo')\n get dayOfWeekSchedule(): PoolControlFilterPumpScheduleInfo[] {\n let { filterPumpDayOfWeekInfo } = this.template;\n if (!filterPumpDayOfWeekInfo) {\n filterPumpDayOfWeekInfo = [];\n }\n\n EVERY_DAY.forEach((dayBit) => {\n if (!filterPumpDayOfWeekInfo.find((scheduleInfo) => scheduleInfo.dayBit === dayBit)) {\n filterPumpDayOfWeekInfo.addObject(this.createNewDayOfWeekSchedule(dayBit));\n }\n });\n return filterPumpDayOfWeekInfo\n .compact()\n .sort((a: PoolControlFilterPumpScheduleInfo, b: PoolControlFilterPumpScheduleInfo) =>\n this.sortDays(a.dayBit, b.dayBit)\n );\n }\n\n /**\n * Function passed into the DayOfWeek components to update the start/end times for the days.\n *\n * @param dayBit\n * @param startTime\n * @param endTime\n */\n @action\n updateDayOfWeekSchedule(dayBit: number, startTime: number | undefined, endTime: number | undefined): void {\n const daySchedule = this.template.filterPumpDayOfWeekInfo.compact().find((f) => f.dayBit == dayBit);\n if (!daySchedule) {\n return;\n }\n\n daySchedule.startTime = startTime;\n daySchedule.endTime = endTime;\n }\n\n /**\n * Filters out the entries in the template's filterPumpDayOfWeekInfo that don't have a start/end date and saves the Filter\n * Pump Schedule template.\n */\n @action\n saveTemplate(): Promise | undefined {\n const { template, notificationManager, intl } = this,\n scheduleInfo = this.getActiveScheduledDays(template.filterPumpDayOfWeekInfo);\n\n // If the user didn't select any days or any day's start time was past the end time, we need to notify the user about the error.\n if (\n scheduleInfo === undefined ||\n scheduleInfo.length == 0 ||\n scheduleInfo.some((d) => (d.startTime ?? 0) >= (d.endTime ?? 0))\n ) {\n notificationManager.addError(intl.tc(this, 'saveScheduleDayError'));\n return;\n }\n\n set(template, 'filterPumpDayOfWeekInfo', scheduleInfo);\n try {\n return template.save();\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n }\n\n return;\n }\n\n /**\n * When All Locations or Partial Locations is pressed, update the units that have the feature\n * enabled. Toggle the feature if necessary.\n */\n @action\n updateLocations(enabledLocations: number[]): void {\n set(this.template, 'enabledUnitIds', enabledLocations);\n }\n\n /**\n * Creates a new PoolControlFilterPumpScheduleInfo object.\n *\n * @param dayBit\n */\n createNewDayOfWeekSchedule(dayBit: number): PoolControlFilterPumpScheduleInfo {\n return {\n dayBit: dayBit\n };\n }\n\n /**\n * Gets the days with start/end time selections.\n *\n * @param filterPumpDayOfWeekInfo\n */\n getActiveScheduledDays(\n filterPumpDayOfWeekInfo: PoolControlFilterPumpScheduleInfo[]\n ): PoolControlFilterPumpScheduleInfo[] {\n return filterPumpDayOfWeekInfo.filter((d) => d.startTime != null && d.endTime != null);\n }\n\n /**\n * Sorting method for the days of the week(PoolControlFilterPumpScheduleInfo). This sorting method will sort the\n * dayBit numbers with 0 last, so that the days are shown from Monday to Sunday.\n *\n * @param a PoolControlFilterPumpScheduleInfo object\n * @param b PoolControlFilterPumpScheduleInfo object\n */\n sortDays(a: number, b: number) {\n function value(x: number) {\n return x === 0 ? Infinity : x;\n }\n\n return value(a) - value(b);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/pool-control-filter-pump-schedules/edit': PoolControlFilterPumpSchedulesController;\n }\n}\n","import { get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsPoolControlFilterPumpScheduleEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { hash } from 'rsvp';\n\nimport type Store from '@ember-data/store';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type PoolControlFilterPumpScheduleTemplate from 'customer-site/models/enterprise/settings/pool-control-filter-pump-schedule-template';\nimport type System from 'customer-site/models/systems/system';\n\nexport default class PoolControlFilterPumpSchedulesEditRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n isMediumWidthPage = true;\n\n /** @override */\n routeId = EmberGroupSettingsPoolControlFilterPumpScheduleEdit;\n\n model({ id_template: templateId = 0 }): Promise<{\n template: Awaited>;\n poolControllers: ThermostatModel[];\n systems: System[];\n }> {\n return hash({\n systems: this.ajax.apiRequestForDataRecords(\n 'enterprise/settings/occupancyBasedPoolControllerRules/getSystemsWithPoolControllers'\n ),\n template: this.getTemplateModel(templateId),\n poolControllers: this.store\n .findAll('devices/thermostat')\n .then((results) => results.filter((item) => get(item, 'isPoolController')))\n });\n }\n\n getTemplateModel(\n id: string | number\n ): PoolControlFilterPumpScheduleTemplate | ADCAsyncStoreFindRecord {\n const { store } = this,\n modelName = 'enterprise/settings/pool-control-filter-pump-schedule-template',\n isNew = id === 'new';\n if (isNew) {\n const template = store.createRecord(modelName);\n template.filterPumpDayOfWeekInfo = [];\n return template;\n }\n return store.findRecord(modelName, id);\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberGroupSettingsPoolControlFilterPumpScheduleEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type PoolControlFilterPumpScheduleTemplate from 'customer-site/models/enterprise/settings/pool-control-filter-pump-schedule-template';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc Displays all Pump Filter Schedules for the enterprise group.\n */\nexport default class PoolControlFilterPumpSchedulesTemplatesController extends Controller {\n @service declare contextManager: ContextManager;\n\n declare model: ModelFrom;\n\n sortName = ['name'];\n\n @sort('model.templates', 'sortName')\n declare poolControlFilterPumpScheduleTemplates: Array;\n\n editRoute = EmberGroupSettingsPoolControlFilterPumpScheduleEdit;\n\n /**\n * Action to create new template and transition to new pump filter schedule page.\n */\n @action\n createNewTemplate(): void {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(\n EmberGroupSettingsPoolControlFilterPumpScheduleEdit,\n undefined,\n undefined,\n 'new'\n );\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/pool-control-filter-pump-schedules/index': PoolControlFilterPumpSchedulesTemplatesController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsPoolControlFilterPumpSchedule } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type PoolControlFilterPumpScheduleTemplate from 'customer-site/models/enterprise/settings/pool-control-filter-pump-schedule-template';\n\nexport default class PoolControlFilterPumpSchedulesIndexRoute extends AdcBaseRoute {\n @service declare store: Store;\n\n /** @override */\n routeId = EmberGroupSettingsPoolControlFilterPumpSchedule;\n\n /**\n * Model to return all Filter Pump Schedule template for the enterprise group.\n */\n model(): {\n templates: ADCAsyncStoreFindAll;\n hasValidPoolControllers: Promise;\n } {\n return {\n templates: this.store.findAll('enterprise/settings/pool-control-filter-pump-schedule-template', {\n reload: true\n }),\n hasValidPoolControllers: this.ajax.apiRequest(\n 'enterprise/settings/poolControlFilterPumpScheduleTemplates/hasValidPoolControllers'\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type PreloadedCodeForUserCreation from 'customer-site/models/enterprise/settings/preloaded-codes-for-user-creation';\nimport type ContextManager from 'customer-site/services/context-manager';\n\nexport default class EnterpriseSettingsPreloadedCodesForUserCreationController extends Controller {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n\n @tracked declare preloadedCodesEnabledForGroup?: boolean;\n declare model: { preloadedCodesForUserCreation: ADCAsyncStoreFindRecord };\n\n /**\n * List of the properties of the preloaded codes setting for user creation.\n *\n * @type {{ preloadedCodesForUserCreationEnabled: boolean }}\n */\n @computed('preloadedCodesEnabledForGroup')\n get PreloadedCodesProperties() {\n return {\n preloadedCodesForUserCreationEnabled: this.preloadedCodesEnabledForGroup\n };\n }\n\n /**\n * Check if setting has been changed and whether or not this setting has changed.\n *\n * @type {boolean}\n */\n @computed('model.preloadedCodesForUserCreation', 'preloadedCodesEnabledForGroup')\n get canSavePreloadedCodesSetting() {\n const preloadedCodesForUserCreationEnabled = this.model.preloadedCodesForUserCreation.get(\n 'preloadedCodesForUserCreationEnabled'\n );\n return preloadedCodesForUserCreationEnabled !== this.preloadedCodesEnabledForGroup;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(preloadedCodeForUserCreation: PreloadedCodeForUserCreation): void {\n this.preloadedCodesEnabledForGroup = preloadedCodeForUserCreation.preloadedCodesForUserCreationEnabled;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/preloaded-codes-for-user-creation': EnterpriseSettingsPreloadedCodesForUserCreationController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsPreloadedCodesForUserCreation } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type PreloadedCodeForUserCreation from 'customer-site/models/enterprise/settings/preloaded-codes-for-user-creation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off preloaded codes for user creation.\n */\nexport default class EnterpriseSettingsPreloadedCodesForUserCreationRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsPreloadedCodesForUserCreation;\n\n model(): { preloadedCodesForUserCreation: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n ...m,\n preloadedCodesForUserCreation: this.store.findRecord(\n 'enterprise/settings/preloaded-codes-for-user-creation',\n m.systemGroupId,\n { reload: true }\n )\n };\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
    \\n {{#if @model.residents}}\\n
    \\n {{#each @columnHeaders as |header|}}\\n

    {{header}}

    \\n {{/each}}\\n
    \\n {{#each @model.residents as |resident|}}\\n
    \\n \\n

    {{resident.name}}

    \\n

    {{resident.unitDesc}}

    \\n

    {{resident.moveInDateLocal}}

    \\n

    {{resident.status}}

    \\n
    \\n\\n {{/each}}\\n {{else}}\\n

    {{tc this \\\"noResidents\\\"}}

    \\n {{/if}}\\n
    \\n\\n\",{ moduleName: \"customer-site/components/modals/enterprise/settings/property-management-resident-select/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed, action, set } from '@ember/object';\nimport { empty, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type PropertyManagementResident from 'customer-site/models/enterprise/settings/property-management-resident';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\ninterface PropertyManagementResidentSelectComponentSignature {\n Args: {\n columnHeaders: string[];\n model: {\n residents: PropertyManagementResident[];\n };\n };\n}\n\n/**\n * @classdesc The modal used for selecting the residents to process for property management integrations\n */\n@intlPath({ path: 'modals/enterprise/settings/property-management-resident-select' })\nexport default class PropertyManagementResidentSelectComponent extends Component {\n @service declare intl: ADCIntlService;\n @service declare ajax: AjaxService;\n @service declare notificationManager: NotificationManager;\n @service declare identityManager: IdentityManager;\n\n /**\n * Does the user have the permission to actually process residents?\n */\n @reads('identityManager.pointCentralIdentity.hasPropertyManagementIntegrationEditAccess')\n declare hasPropertyManagementIntegrationEditAccess: boolean;\n\n /**\n * Array of the ids of the selected system groups to apply settings to\n */\n selectedResidentIds: string[] = [];\n\n /**\n * The selected date from the start date picker.\n */\n @reads('args.model.residentStartDateLocal')\n declare startDateLocal: Date;\n\n /**\n * The selected date from the end date picker.\n */\n @reads('args.model.residentEndDateLocal')\n declare endDateLocal: Date;\n\n /**\n * Whether any residents are selected\n */\n @empty('selectedResidentIds')\n declare noResidentsSelected: boolean;\n\n /**\n * Is the primary modal button disabled?\n */\n @computed('hasPropertyManagementIntegrationEditAccess', 'noResidentsSelected')\n get isProcessBtnDisabled(): boolean {\n // Disable the 'Process Residents' button if they don't have permission or a resident selected.\n return !this.hasPropertyManagementIntegrationEditAccess || this.noResidentsSelected;\n }\n\n /**\n * The column headers for the residents table\n */\n get columnHeaders(): Array {\n return ['resident', 'location', 'moveInDate', 'status'].map((x) => this.intl.tc(this, x));\n }\n\n /**\n * When a checkbox is clicked.\n */\n @action\n selectRow(resident: PropertyManagementResident): void {\n const { selectedResidentIds } = this;\n const id = resident.id;\n\n set(\n this,\n 'selectedResidentIds',\n selectedResidentIds.includes(id)\n ? selectedResidentIds.filter((residentId) => residentId !== id)\n : selectedResidentIds.concat(id)\n );\n }\n\n /**\n * Process the selected residents\n */\n @action\n async processCurrentResidents(): Promise {\n if (!this.startDateLocal || !this.endDateLocal) {\n this.notificationManager.addError(this.intl.tc(this, 'startEndDateError'));\n return Promise.reject();\n }\n\n try {\n const result = await this.ajax.apiRequestForValue(\n 'enterprise/settings/propertyManagementResidents/processCurrentResidents',\n undefined,\n {\n selectedResidents: this.selectedResidentIds,\n startDateLocal: this.startDateLocal,\n endDateLocal: this.endDateLocal\n },\n 'POST'\n );\n\n this.notificationManager.addSuccess(result);\n return true;\n } catch (error) {\n this.notificationManager.addError(error.errors[0].detail);\n return false;\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Enterprise::Settings::PropertyManagementResidentSelect': typeof PropertyManagementResidentSelectComponent;\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport PropertyManagementResidentSelectComponent from 'customer-site/components/modals/enterprise/settings/property-management-resident-select/index';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type PropertyManagementResident from 'customer-site/models/enterprise/settings/property-management-resident';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Handle pulling and processing tenants for move-in.\n */\nexport default class EnterpriseSettingsPropertyManagementIntegrationController extends Controller {\n @service declare modals: ModalService;\n @service declare intl: ADCIntlService;\n @service declare notificationManager: NotificationManager;\n @service declare store: Store;\n @service declare contextManager: ContextManager;\n\n declare model: ModelFrom;\n\n /**\n * The current system time zone.\n */\n @reads('contextManager.identityModel.timezone')\n declare timezone: string;\n\n /**\n * The selected date from the start date picker.\n */\n @tracked residentStartDateLocal?: Date;\n\n /**\n * The selected date from the end date picker.\n */\n @tracked residentEndDateLocal?: Date;\n\n get disableProcessButton(): boolean {\n return !this.residentStartDateLocal || !this.residentEndDateLocal;\n }\n\n /**\n * Select residents to process.\n */\n @action\n async openResidentSelectModal(): Promise {\n const { notificationManager, residentStartDateLocal, residentEndDateLocal } = this;\n\n if (residentStartDateLocal && residentEndDateLocal) {\n try {\n const residents = await this.loadResidentsAction();\n this.modals.showModal(PropertyManagementResidentSelectComponent, {\n residents,\n residentStartDateLocal,\n residentEndDateLocal,\n disableBackdropClose: true\n });\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n }\n } else {\n // Add the error and return reject because we want the button to turn into a red X.\n notificationManager.addError(this.intl.tc(this, 'startEndDateError'));\n }\n }\n\n /**\n * Loads the residents with the dates from the date pickers.\n */\n @action\n loadResidentsAction(): ADCAsyncStoreQuery {\n return this.store.query('enterprise/settings/property-management-resident', {\n dateFromLocal: this.residentStartDateLocal?.toISOString(),\n dateToLocal: this.residentEndDateLocal?.toISOString()\n });\n }\n\n @action\n changeDate(isStartDate: boolean, value: Date): void {\n if (isStartDate) {\n this.residentStartDateLocal = value;\n } else {\n this.residentEndDateLocal = value;\n }\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/property-management-integration': EnterpriseSettingsPropertyManagementIntegrationController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsPropertyManagementIntegration } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type EnterpriseSettingsRoute from 'customer-site/enterprise/settings/route';\nimport type PropertyManagementIntegration from 'customer-site/models/enterprise/settings/property-management-integration';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\ninterface PropertyManagementIntegrationModel {\n propertyManagementIntegration: ADCAsyncStoreFindRecord;\n}\n\n/**\n * @classdesc\n * Change property management integration settings.\n */\nexport default class EnterpriseSettingsPropertyManagementIntegrationRoute extends AdcBaseRoute {\n @service declare contextManager: ContextManager;\n @service declare store: Store;\n\n routeId = EmberGroupSettingsPropertyManagementIntegration;\n\n model(): PropertyManagementIntegrationModel {\n return {\n propertyManagementIntegration: this.store.findRecord(\n 'enterprise/settings/property-management-integration',\n (this.modelFor('enterprise.settings') as ModelFrom).systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nimport type Store from '@ember-data/store';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\ninterface EnterpriseSettingsModel {\n systemGroupId: string;\n systemGroups: ADCAsyncStoreFindAll;\n}\n\nexport default class EnterpriseSettingsRoute extends Route {\n @service declare identityManager: IdentityManager;\n @service declare store: Store;\n\n model(): EnterpriseSettingsModel {\n return {\n systemGroupId: this.identityManager.getSelectedSystemGroupId(),\n systemGroups: this.store.findAll('systems/system-group')\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { computed, action, setProperties } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getRentalTermTypeErrorMessage } from '../helpers/filter-functions';\n\n/**\n * @classdesc\n * Turn on or off the schedule welcome email feature.\n */\nexport default class ScheduleEmailController extends EmberController {\n @service contextManager;\n @service intl;\n\n @tracked scheduleEmail;\n @tracked receiveEmailOn;\n @tracked daysOffsetSelected;\n\n /**\n * This group setting is Short Term Rental specific, so this function is used to let Short Term Rental only groups to be\n * selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n @computed('contextManager.identityModel.selectedSystemGroup.isFulfilled')\n get filterFunction() {\n const selectedGroupTermType = this.contextManager.identityModel.selectedSystemGroup.get('rentalTermType');\n return (group) => getRentalTermTypeErrorMessage(group, selectedGroupTermType, this.intl);\n }\n\n /**\n * List of the currently selected properties and settings for schedule email.\n *\n * @type {Object}\n */\n @computed('receiveEmailOn', 'daysOffsetSelected')\n get scheduleEmailProperties() {\n return {\n receiveEmailEnabled: this.receiveEmailOn,\n scheduledEmailDaysOffset: this.daysOffsetSelected\n };\n }\n\n /**\n * Whether or not any settings have been changed.\n *\n * @type { boolean }\n */\n @computed('scheduleEmail.{receiveEmailEnabled,scheduledEmailDaysOffset}', 'receiveEmailOn', 'daysOffsetSelected')\n get currentGroupSettingsChanged() {\n const { scheduleEmail, daysOffsetSelected } = this;\n if (!scheduleEmail || isNaN(daysOffsetSelected)) {\n return false;\n }\n\n // Check for a change.\n return (\n scheduleEmail.receiveEmailEnabled !== this.receiveEmailOn ||\n scheduleEmail.scheduledEmailDaysOffset !== daysOffsetSelected\n );\n }\n\n /**\n * Process the loaded model data.\n *\n */\n @action\n dataLoaded(scheduleEmail) {\n setProperties(this, {\n scheduleEmail,\n receiveEmailOn: scheduleEmail.receiveEmailEnabled,\n daysOffsetSelected: scheduleEmail.scheduledEmailDaysOffset\n });\n }\n\n @action\n updateDays(value) {\n const v = parseInt(value, 10);\n if (!isNaN(v)) {\n this.daysOffsetSelected = Math.max(Math.min(14, parseInt(v, 10)), 0);\n }\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsScheduleEmail } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Turn on or off schedule welcome email settings.\n */\nexport default class EnterpriseSettingsScheduleEmailRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsScheduleEmail;\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n scheduleEmail: this.store.findRecord('enterprise/settings/schedule-email', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed, setProperties, get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getRentalTermTypeErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ScheduleWelcomeMessage from 'customer-site/models/enterprise/settings/schedule-welcome-message';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\n\n/**\n * @classdesc\n * Turn on or off the schedule welcome message features on the group.\n */\nexport default class ScheduleWelcomeMessageController extends EmberController {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n\n /**\n * Should we schedule welcome messages?\n */\n @tracked declare receiveEmailOn: boolean;\n /**\n * How many days early are we sending welcome messages.\n */\n @tracked declare daysOffsetSelected: number;\n\n declare model: { scheduleWelcomeMessage: ADCAsyncStoreFindRecord };\n\n /**\n * This group setting is Short Term Rental specific, so this function is used to let Short Term Rental only groups to be\n * selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => { errorMessage: string } {\n const selectedGroupTermType = get(this.contextManager.identityModel.selectedSystemGroup, 'rentalTermType');\n // Do not copy this incorrect uage. If you see this, please fix it.\n // @ts-expect-error The `getRentalTermTypeErrorMessage` function returns a string, but this getter incorrectly claims it returns an object.\n return (group) => getRentalTermTypeErrorMessage(group, selectedGroupTermType, this.intl);\n }\n\n /**\n * List of the currently selected properties and settings for schedule welcome message.\n */\n get scheduleWelcomeMessageProperties(): {\n receiveEmailEnabled: boolean;\n scheduledEmailDaysOffset: number;\n } {\n return {\n receiveEmailEnabled: this.receiveEmailOn,\n scheduledEmailDaysOffset: this.daysOffsetSelected\n };\n }\n\n /**\n * Whether or not any settings have been changed.\n */\n @computed(\n 'model.scheduleWelcomeMessage.{receiveEmailEnabled,scheduledEmailDaysOffset,hasDirtyAttributes}',\n 'receiveEmailOn',\n 'daysOffsetSelected'\n )\n get currentGroupSettingsChanged() {\n const receiveEmailEnabled = get(this.model.scheduleWelcomeMessage, 'receiveEmailEnabled');\n const scheduledEmailDaysOffset = get(this.model.scheduleWelcomeMessage, 'scheduledEmailDaysOffset');\n\n return receiveEmailEnabled !== this.receiveEmailOn || scheduledEmailDaysOffset !== this.daysOffsetSelected;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(scheduleWelcomeMessage: ScheduleWelcomeMessage): void {\n setProperties(this, {\n receiveEmailOn: scheduleWelcomeMessage.receiveEmailEnabled,\n daysOffsetSelected: scheduleWelcomeMessage.scheduledEmailDaysOffset\n });\n }\n\n /**\n * Set day offset.\n */\n @action\n updateDays(value: string): void {\n const v = parseInt(value, 10);\n if (!isNaN(v)) {\n // We want to limit the value to be between 0 and 14.\n this.daysOffsetSelected = Math.max(Math.min(14, v), 0);\n }\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/schedule-welcome-message': ScheduleWelcomeMessageController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsScheduleWelcomeMessage } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type ScheduleWelcomeMessage from 'customer-site/models/enterprise/settings/schedule-welcome-message';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off schedule welcome message settings.\n */\nexport default class EnterpriseSettingsScheduleWelcomeMessageRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsScheduleWelcomeMessage;\n\n model(): { scheduleWelcomeMessage: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n ...m,\n scheduleWelcomeMessage: this.store.findRecord(\n 'enterprise/settings/schedule-welcome-message',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { setProperties } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from '../helpers/filter-functions';\n\n/**\n * @classdesc\n * Set Self-Guided Tours appointment lengths at the group level\n */\nexport default class Controller extends EmberController {\n @service identityManager;\n @service intl;\n\n /**\n * Array of possible durations for Self-Guided Tours appointments.\n *\n * @type {number[]}\n */\n appointmentLengths = [15, 30, 45, 60, 90, 120];\n\n /**\n * The CRM the parent group is configured with.\n *\n * @type {CustomerRelationshipManagementIntegration}\n */\n @reads('identityManager.identityModel.selectedSystemGroup.customerRelationshipManagementIntegration')\n customerRelationshipManagementIntegration;\n\n /**\n * Create an array to keep track of which length is currently selected and create their text for buttons.\n *\n * @param currentlySelectedLength\n * @returns {{text: *, value: int, selected: boolean}[]}\n */\n createAppointmentLengthArray(currentlySelectedLength) {\n return this.appointmentLengths.map((length) => {\n return {\n value: length,\n selected: length == currentlySelectedLength,\n text: this.intl.tc(this, 'minutes', { length: length })\n };\n });\n }\n\n /**\n * Create array for single showing lengths.\n *\n * @returns {{text: string, value: *, selected: boolean}[]}\n */\n @computed('singleShowingLength')\n get singleShowingAppointmentLengths() {\n return this.createAppointmentLengthArray(this.singleShowingLength);\n }\n\n /**\n * List of currently selected properties and settings for appointment length\n *\n * @returns {{singleShowingAppointmentLength: number}}\n */\n @computed('singleShowingLength')\n get appointmentLengthProperties() {\n return {\n singleShowingAppointmentLength: this.singleShowingLength\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n get filterFunction() {\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not either durations have been changed.\n *\n * @type { boolean }\n */\n @computed('model.appointmentLength.singleShowingAppointmentLength', 'singleShowingLength')\n get currentGroupSettingsChanged() {\n const { appointmentLength } = this.model;\n\n // Data hasn't loaded yet, so return false.\n if (!appointmentLength) {\n return false;\n }\n\n // Check for a change.\n return appointmentLength.get('singleShowingAppointmentLength') !== this.singleShowingLength;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded() {\n const { appointmentLength } = this.model;\n setProperties(this, {\n singleShowingLength: appointmentLength.get('singleShowingAppointmentLength')\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursAppointmentLength } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Set the duration of Self-Guided Tours appointments at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedDuration extends BaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSelfGuidedToursAppointmentLength;\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n appointmentLength: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-appointment-length',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\n/**\n * @classdesc\n * Set credit card verification on/off for Self-Guided Tours at group level\n */\nexport default class Controller extends EmberController {\n @service contextManager;\n @service intl;\n\n @tracked verificationOn;\n\n get creditCardVerificationProperties() {\n return {\n creditCardVerificationIsOn: this.verificationOn\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n get filterFunction() {\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not the verification selection has been changed.\n *\n * @type { boolean }\n */\n @computed('model.creditCardVerification.creditCardVerificationIsOn', 'verificationOn')\n get currentGroupSettingsChanged() {\n const { creditCardVerification } = this.model;\n\n // Data hasn't loaded yet, so return false.\n if (!creditCardVerification) {\n return false;\n }\n\n // Check for a change.\n return creditCardVerification.get('creditCardVerificationIsOn') !== this.verificationOn;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel) {\n this.verificationOn = resolvedModel.creditCardVerificationIsOn;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursCCVerification } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Turn credit card verification on/off for Self-Guided Tours at the group level.\n */\nexport default class EnterpriseSettingsSelfGuidedCCVerificationRoute extends BaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSelfGuidedToursCCVerification;\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n creditCardVerification: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-cc-verification',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action } from '@ember/object';\nimport { empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { ISelectItem } from '@adc/ui-components/utils/select-item';\nimport type SelfGuidedToursCheckpointId from 'customer-site/models/enterprise/settings/self-guided-tours-checkpoint-id';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsSelfGuidedCheckpointIdRoute from './route';\n\n/**\n * @classdesc\n * Set api key and location id for the SelfGuidedTours group.\n */\nexport default class EnterpriseSettingsSelfGuidedToursCheckpointIdController extends EmberController {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n\n @tracked declare checkpointIdEnabled: boolean;\n @tracked declare locationId: string;\n @tracked declare apiKey: string;\n @tracked declare verificationDuration: number;\n @tracked declare verifyAtTimeOfSchedule: boolean;\n @tracked declare verifyAtTimeOfTour: boolean;\n @tracked declare checkpointId: SelfGuidedToursCheckpointId;\n\n declare model: ModelFrom;\n\n /**\n * List of currently selected properties and settings for checkpointId\n */\n get checkpointIdProperties(): {\n checkpointIdEnabled: boolean;\n checkpointIdLocationId: string;\n checkpointIdApiKey: string;\n checkpointIdVerificationDuration: number;\n verifyAtTimeOfSchedule: boolean;\n verifyAtTimeOfTour: boolean;\n } {\n return {\n checkpointIdEnabled: this.checkpointIdEnabled,\n checkpointIdLocationId: this.locationId,\n checkpointIdApiKey: this.apiKey,\n checkpointIdVerificationDuration: this.verificationDuration,\n verifyAtTimeOfSchedule: this.verifyAtTimeOfSchedule,\n verifyAtTimeOfTour: this.verifyAtTimeOfTour\n };\n }\n\n @empty('apiKey')\n declare emptyApiKey: boolean;\n\n @empty('locationId')\n declare emptyLocationId: boolean;\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => any {\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not any settings have been changed.\n */\n get currentGroupSettingsChanged(): boolean {\n const checkpointId = this.checkpointId;\n\n // Data hasn't loaded yet, so return false.\n if (!checkpointId) {\n return false;\n }\n\n // Check for a change.\n return (\n checkpointId.checkpointIdEnabled !== this.checkpointIdEnabled ||\n checkpointId.checkpointIdLocationId !== this.locationId ||\n checkpointId.checkpointIdApiKey !== this.apiKey ||\n checkpointId.checkpointIdVerificationDuration != this.verificationDuration ||\n checkpointId.verifyAtTimeOfSchedule !== this.verifyAtTimeOfSchedule ||\n checkpointId.verifyAtTimeOfTour !== this.verifyAtTimeOfTour\n );\n }\n\n get disablingCheckpointId(): boolean {\n return this.checkpointId.checkpointIdEnabled && !this.checkpointIdEnabled;\n }\n\n get showVerificationSettingsError(): boolean {\n return !this.verifyAtTimeOfSchedule && !this.verifyAtTimeOfTour;\n }\n\n get disableApplyButton(): boolean {\n return (\n !this.disablingCheckpointId &&\n (this.showVerificationSettingsError ||\n this.emptyApiKey ||\n this.emptyLocationId ||\n !this.currentGroupSettingsChanged)\n );\n }\n\n get getVerificationDurations(): ISelectItem[] {\n const durations = [\n { value: 0, name: 'everyTour' },\n { value: 1, name: 'afterOneDay' },\n { value: 2, name: 'afterTwoDays' },\n { value: 3, name: 'afterThreeDays' },\n { value: 7, name: 'afterOneWeek' },\n { value: 30, name: 'afterOneMonth' }\n ];\n\n return durations.map(({ value, name }) => ({ value, name: this.intl.tc(this, name) }));\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(checkpointId: SelfGuidedToursCheckpointId): void {\n Object.assign(this, {\n checkpointId: checkpointId,\n checkpointIdEnabled: checkpointId.checkpointIdEnabled,\n locationId: checkpointId.checkpointIdLocationId,\n apiKey: checkpointId.checkpointIdApiKey,\n verificationDuration: checkpointId.checkpointIdVerificationDuration,\n verifyAtTimeOfSchedule: checkpointId.verifyAtTimeOfSchedule,\n verifyAtTimeOfTour: checkpointId.verifyAtTimeOfTour\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-checkpoint-id': EnterpriseSettingsSelfGuidedToursCheckpointIdController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursCheckpointId } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursCheckpointId from 'customer-site/models/enterprise/settings/self-guided-tours-checkpoint-id';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set CheckpointID settings for Self-Guided Tours.\n */\nexport default class EnterpriseSettingsSelfGuidedCheckpointIdRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursCheckpointId;\n\n model(): { checkpointId: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n return {\n checkpointId: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-checkpoint-id',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { dataUrlToFile } from '../helpers/file-upload-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type SelfGuidedToursCommunitySiteMap from 'customer-site/models/enterprise/settings/self-guided-tours-community-site-map';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsSelfGuidedToursCommunitySiteMapRoute from './route';\n\n/**\n * @classdesc\n * Set the community site map for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursCommunitySiteMapController extends EmberController {\n @service declare intl: ADCIntlService;\n @service declare media: ADCResponsiveMediaService;\n\n @tracked disclaimerAcknowledged = false;\n @tracked mapFile: File | null = null;\n @tracked mapFileDataUrl = '';\n @tracked resolvedCommunitySiteMap?: SelfGuidedToursCommunitySiteMap;\n\n declare model: ModelFrom;\n\n /**\n * List of currently selected properties and settings for community site map\n */\n get communitySiteMapProperties(): {\n fileName: string | undefined;\n fileDataUrl: string;\n } {\n return {\n fileName: this.mapFile?.name,\n fileDataUrl: this.mapFileDataUrl\n };\n }\n\n /**\n * Check if setting has been changed and if legal disclaimer is acknowledged or if the file being saved is empty.\n */\n get canSaveCommunitySiteMap(): boolean {\n const communitySiteMap = this.resolvedCommunitySiteMap;\n\n if (communitySiteMap == null) {\n return false;\n }\n\n const canSaveMapFile =\n communitySiteMap.fileDataUrl != this.mapFileDataUrl &&\n (!this.mapFileDataUrl || this.disclaimerAcknowledged);\n\n // Check for a change and if disclaimer has been acknowledged.\n // Don't require disclaimer check if map file is being removed.\n return communitySiteMap && canSaveMapFile;\n }\n\n /**\n * Check if the url or file has been changed and if it's not being set to empty to determine if the legal\n * statement needs to be shown or not.\n */\n get needLegalDisclaimer(): boolean {\n const communitySiteMap = this.resolvedCommunitySiteMap;\n\n if (communitySiteMap == null) {\n return false;\n }\n\n const mapFileChanged = communitySiteMap.fileDataUrl != this.mapFileDataUrl && !isEmpty(this.mapFileDataUrl);\n\n return communitySiteMap && mapFileChanged;\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(communitySiteMap: SelfGuidedToursCommunitySiteMap): void {\n Object.assign(this, {\n resolvedCommunitySiteMap: communitySiteMap,\n mapFile: dataUrlToFile(communitySiteMap.fileName, communitySiteMap.fileDataUrl),\n mapFileDataUrl: communitySiteMap.fileDataUrl\n });\n }\n\n @action\n fileChanged(file: File | null, dataUrl: string): void {\n this.mapFile = file;\n this.mapFileDataUrl = dataUrl;\n this.disclaimerAcknowledged = false;\n }\n\n @action\n previewLink(): void {\n window.open(URL.createObjectURL(this.mapFile ?? new Blob()), '_blank');\n }\n\n get shouldShowPreviewButton(): boolean {\n // Do not show the preview button on mobile\n return !this.media.isMobile && this.mapFile != null;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-community-site-map': EnterpriseSettingsSelfGuidedToursCommunitySiteMapController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursCommunitySiteMap } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursCommunitySiteMap from 'customer-site/models/enterprise/settings/self-guided-tours-community-site-map';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set the community site map for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursCommunitySiteMapRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursCommunitySiteMap;\n\n model(): ModelFrom & {\n communitySiteMap: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n communitySiteMap: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-community-site-map',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\n\nimport type SelfGuidedToursConfigureFunnelCrm from 'customer-site/models/enterprise/settings/self-guided-tours-configure-funnel-crm';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ConfigureFunnelCrmModel } from './route';\n\nexport default class EnterpriseSettingsSelfGuidedToursConfigureFunnelCrm extends EmberController {\n @tracked declare useFunnelAvailableTimes: boolean;\n @tracked declare hasParentGroup: boolean;\n\n declare model: ConfigureFunnelCrmModel;\n\n /**\n * List of currently selected properties and settings for the Funnel configuration\n */\n @computed('useFunnelAvailableTimes')\n get configureFunnelCrmProperties(): Record {\n return {\n useFunnelAvailableTimes: this.useFunnelAvailableTimes\n };\n }\n\n /**\n * Whether or not any settings have changed.\n */\n @computed('model.configureFunnelCrm.useFunnelAvailableTimes', 'useFunnelAvailableTimes')\n get currentGroupSettingsChanged(): boolean {\n const { configureFunnelCrm } = this.model;\n\n // Data hasn't loaded yet, so return false.\n if (!configureFunnelCrm) {\n return false;\n }\n\n return configureFunnelCrm.get('useFunnelAvailableTimes') !== this.useFunnelAvailableTimes;\n }\n\n /**\n * Don't need to do anything here so just return the group.\n */\n @action\n setSelectableFunction(group: SystemGroup): string | undefined {\n return group.id;\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(configureFunnelCrm: SelfGuidedToursConfigureFunnelCrm): void {\n Object.assign(this, {\n useFunnelAvailableTimes: configureFunnelCrm.useFunnelAvailableTimes,\n hasParentGroup: this.model.hasParentGroup\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-configure-funnel-crm': EnterpriseSettingsSelfGuidedToursConfigureFunnelCrm;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursConfigureFunnelCrm } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursConfigureFunnelCrm from 'customer-site/models/enterprise/settings/self-guided-tours-configure-funnel-crm';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\nexport interface ConfigureFunnelCrmModel {\n configureFunnelCrm: ADCAsyncStoreFindRecord;\n hasParentGroup: boolean;\n}\n\n/**\n * @classdesc\n * Configure Funnel CRM integration.\n * For now, can only choose whether or not to retrieve available times from Funnel.\n */\nexport default class EnterpriseSettingsSelfGuidedToursConfigureFunnelCrm extends AdcBaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursConfigureFunnelCrm;\n\n model(): ConfigureFunnelCrmModel {\n const m = this.modelFor>('enterprise.settings');\n const currentGroup = m.systemGroups.find((item) => item.id === m.systemGroupId);\n\n return {\n configureFunnelCrm: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-configure-funnel-crm',\n m.systemGroupId,\n {\n reload: true\n }\n ),\n hasParentGroup: currentGroup != undefined && !currentGroup.isHighestGroupWithAccess\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\n\nimport type SelfGuidedToursConfigureKnockCrm from 'customer-site/models/enterprise/settings/self-guided-tours-configure-knock-crm';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsSelfGuidedToursConfigureKnockCrmRoute from './route';\n\n/**\n * @classdesc\n * Set the API key, community id, and whether or not to enable the integration for Knock CRM at the parent group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursConfigureKnockCrm extends EmberController {\n @tracked resolvedModel?: SelfGuidedToursConfigureKnockCrm;\n @tracked declare apiKey: string;\n @tracked declare communityId: string;\n @tracked declare active: boolean;\n @tracked declare hasParentGroup: boolean;\n\n declare model: ModelFrom;\n\n /**\n * List of currently selected properties and settings for the knock configuration\n */\n @computed('apiKey', 'communityId', 'active')\n get configureKnockCrmProperties(): Partial {\n return {\n knockApiKey: this.apiKey,\n knockCommunityId: this.communityId,\n knockActive: this.active\n };\n }\n\n /**\n * Whether or not any settings have changed.\n */\n @computed('active', 'apiKey', 'communityId')\n get currentGroupSettingsChanged(): boolean {\n const { resolvedModel } = this;\n\n if (!resolvedModel) {\n return false;\n }\n\n return (\n resolvedModel.knockApiKey !== this.apiKey ||\n resolvedModel.knockCommunityId !== this.communityId ||\n resolvedModel.knockActive !== this.active\n );\n }\n\n /**\n * Don't need to do anything here so just return the group id.\n */\n @action\n setSelectableFunction(group: SystemGroup): string | undefined {\n return group.id;\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(configureKnockCrm: SelfGuidedToursConfigureKnockCrm): void {\n Object.assign(this, {\n resolvedModel: configureKnockCrm,\n apiKey: configureKnockCrm.knockApiKey,\n communityId: configureKnockCrm.knockCommunityId,\n active: configureKnockCrm.knockActive,\n hasParentGroup: this.model.hasParentGroup\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-configure-knock-crm': EnterpriseSettingsSelfGuidedToursConfigureKnockCrm;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursConfigureKnockCrm } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursConfigureKnockCrm from 'customer-site/models/enterprise/settings/self-guided-tours-configure-knock-crm';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\nexport interface ConfigureKnockCrmModel {\n configureKnockCrm: ADCAsyncStoreFindRecord;\n hasParentGroup: boolean;\n}\n\n/**\n * @classdesc\n * Set the API key, community id, and whether or not to enable the integration for Knock CRM at the parent group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursConfigureKnockCrmRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursConfigureKnockCrm;\n\n async model(): Promise {\n const m = this.modelFor>('enterprise.settings');\n const systemGroups = await m.systemGroups;\n const currentGroup = systemGroups.find((group) => group.id === m.systemGroupId);\n\n return {\n configureKnockCrm: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-configure-knock-crm',\n m.systemGroupId,\n {\n reload: true\n }\n ),\n hasParentGroup: currentGroup !== undefined && currentGroup.hasParentGroup\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n\n/**\n * @classdesc\n * Set a custom URL for access on the Self-Guided Tours Site\n */\nexport default class EnterpriseSettingsSelfGuidedCustomUrlController extends Controller {\n @service contextManager;\n @service notificationManager;\n @service intl;\n @tracked resolvedModel;\n @tracked isOn;\n @tracked lastSavedUrl;\n\n urlPrefix = 'https://www.selfguidedtours.pointcentral.com/app/';\n\n @computed('resolvedModel.selfGuidedToursUrl')\n get validUrl() {\n const url = this.resolvedModel.selfGuidedToursUrl;\n if (!url) {\n return true;\n }\n return url.match(/^[0-9a-z-_~]+$/i);\n }\n\n @computed('resolvedModel.{hasDirtyAttributes,selfGuidedToursUrl}')\n get copyLinkEnabled() {\n return !this.resolvedModel.hasDirtyAttributes && isPresent(this.resolvedModel.selfGuidedToursUrl);\n }\n\n @computed('resolvedModel.id')\n get urlSuffix() {\n return '/bookings/' + this.resolvedModel.id;\n }\n\n @action\n copyUrl() {\n // Get the text field.\n var text = this.urlPrefix + this.lastSavedUrl + this.urlSuffix;\n\n // Copy the text inside the text field.\n navigator.clipboard.writeText(text);\n\n this.notificationManager.addSuccess(this.intl.tc(this, 'linkCopied'));\n }\n\n @action dataLoaded(resolvedModel) {\n Object.assign(this, {\n resolvedModel,\n isOn: isPresent(resolvedModel.selfGuidedToursUrl),\n lastSavedUrl: resolvedModel.selfGuidedToursUrl\n });\n }\n\n /**\n * Save method. Update model.\n */\n @action\n async saveSetting() {\n const { resolvedModel } = this;\n\n // Save no text if the on/off switch is toggled to off.\n if (!this.isOn) {\n resolvedModel.selfGuidedToursUrl = '';\n }\n await resolvedModel.save();\n // Enable copy link button if a valid value was set for the custom url.\n Object.assign(this, {\n lastSavedUrl: resolvedModel.selfGuidedToursUrl,\n isOn: isPresent(resolvedModel.selfGuidedToursUrl)\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursCustomUrl } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Set a custom URL for access on the Self-Guided Tours Site\n */\nexport default class EnterpriseSettingsSelfGuidedCustomUrlRoute extends BaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSelfGuidedToursCustomUrl;\n\n model() {\n return {\n customUrl: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-custom-url',\n this.modelFor('enterprise.settings').systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\nimport { dataUrlToFile, isUrlLink } from '../helpers/file-upload-functions';\n\n/**\n * @classdesc\n * Set the customer logo for Self-Guided Tours at group level.\n */\nexport default class Controller extends EmberController {\n @service intl;\n\n @tracked disclaimerAcknowledged = false;\n @tracked logoUrl = '';\n @tracked logoFile = null;\n @tracked logoFileDataUrl = '';\n\n /**\n * List of currently selected properties and settings for customer logo\n *\n * @returns {{ imageUrlOrFileName: string, fileDataUrl: string}}\n */\n @computed('logoUrl', 'logoFile.name', 'logoFileDataUrl')\n get customerLogoProperties() {\n return {\n imageUrlOrFileName: this.logoUrl ? this.logoUrl : this.logoFile?.name, // Save the image url or file name, at most one is non-null/non-empty\n fileDataUrl: this.logoFileDataUrl\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n get filterFunction() {\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Check if setting has been changed and if legal disclaimer is acknowledged or if the url or file being saved is empty.\n *\n * @type { boolean }\n */\n @computed(\n 'model.customerLogo.{imageUrlOrFileName,fileDataUrl}',\n 'logoUrl',\n 'logoFileDataUrl',\n 'disclaimerAcknowledged'\n )\n get canSaveCustomerLogo() {\n const { customerLogo } = this.model;\n const canSaveLogoUrl =\n !this.logoFileDataUrl &&\n (customerLogo.get('imageUrlOrFileName') ?? '') !== this.logoUrl &&\n (!this.logoUrl || this.disclaimerAcknowledged);\n const canSaveLogoFile =\n !this.logoUrl &&\n customerLogo.get('fileDataUrl') !== this.logoFileDataUrl &&\n (!this.logoFileDataUrl || this.disclaimerAcknowledged);\n\n // Check for a change and if disclaimer has been acknowledged.\n // Don't require disclaimer check if logo URL or file is being removed.\n return customerLogo && (canSaveLogoUrl || canSaveLogoFile);\n }\n\n /**\n * Check if the url or file has been changed and if it's not being set to empty to determine if the legal\n * statement needs to be shown or not.\n *\n * @returns {boolean}\n */\n @computed('model.customerLogo.{imageUrlOrFileName,fileDataUrl}', 'logoUrl', 'logoFileDataUrl')\n get needLegalDisclaimer() {\n const { customerLogo } = this.model;\n const logoUrlChanged = (customerLogo.get('imageUrlOrFileName') ?? '') != this.logoUrl && this.logoUrl;\n const logoFileChanged = customerLogo.get('fileDataUrl') != this.logoFileDataUrl && this.logoFileDataUrl;\n\n return customerLogo && (logoUrlChanged || logoFileChanged);\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(customerLogo) {\n Object.assign(this, {\n logoUrl:\n customerLogo.imageUrlOrFileName && isUrlLink(customerLogo.imageUrlOrFileName)\n ? customerLogo.imageUrlOrFileName\n : '',\n logoFile: dataUrlToFile(customerLogo.imageUrlOrFileName, customerLogo.fileDataUrl),\n logoFileDataUrl: customerLogo.fileDataUrl\n });\n }\n\n @action\n fileChanged(file, dataUrl) {\n const logoData = this.model.customerLogo.get('imageUrlOrFileName');\n\n if (file) {\n this.logoUrl = '';\n } else if (this.logoFile) {\n // Allow the text box to be repopulated with the saved value if a file is deleted\n this.logoUrl = logoData && isUrlLink(logoData) ? logoData : '';\n }\n\n this.logoFile = file;\n this.logoFileDataUrl = dataUrl;\n this.disclaimerAcknowledged = false;\n }\n\n @action\n previewLink() {\n window.open(this.model.customerLogo.get('selfGuidedToursUrl'), '_blank');\n }\n\n @computed('model.customerLogo.{imageUrlOrFileName,selfGuidedToursUrl}')\n get shouldShowPreviewButton() {\n const { customerLogo } = this.model;\n return customerLogo.get('imageUrlOrFileName') && customerLogo.get('selfGuidedToursUrl');\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursCustomerLogo } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Set the customer logo for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedCustomLogoRoute extends BaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSelfGuidedToursCustomerLogo;\n\n /**\n * The name of the model we are returning for the route.\n */\n modelName = 'enterprise/settings/self-guided-tours-customer-logo';\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n customerLogo: this.store.findRecord(this.modelName, m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action } from '@ember/object';\nimport { or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n\nimport type ContextManager from '@adc/app-infrastructure/services/context-manager';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type SelfGuidedToursGateCode from 'customer-site/models/enterprise/settings/self-guided-tours-gate-code';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Set the onsite (non ADC-integrated) gate code for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursGateCodeController extends EmberController {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n\n declare model: ModelFrom;\n\n @tracked gateCode?: string;\n @tracked gateCodeEnabled?: boolean;\n @tracked requireVerificationToShowGateCode?: boolean;\n @tracked resolvedModel?: SelfGuidedToursGateCode;\n maxCodeLength = 20;\n emptyLength = 0;\n\n @or('gateCode.length', 'emptyLength')\n declare gateCodeLength: number;\n\n /**\n * Check if the entered gate code is at the max length.\n */\n get codeAtMaxLength(): boolean {\n return this.gateCodeLength >= this.maxCodeLength;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel: SelfGuidedToursGateCode): void {\n Object.assign(this, {\n resolvedModel,\n gateCode: resolvedModel.gateCode,\n gateCodeEnabled: isPresent(resolvedModel.gateCode),\n requireVerificationToShowGateCode: resolvedModel.requireVerificationToShowGateCode\n });\n }\n\n /**\n * Update the given model to the groups.\n */\n saveSettingsToGroups(): Promise {\n const { resolvedModel, gateCode, gateCodeEnabled, requireVerificationToShowGateCode } = this;\n\n if (\n resolvedModel === undefined ||\n gateCodeEnabled === undefined ||\n gateCode === undefined ||\n requireVerificationToShowGateCode === undefined\n ) {\n return Promise.reject();\n }\n\n resolvedModel.gateCode = gateCode;\n resolvedModel.requireVerificationToShowGateCode = requireVerificationToShowGateCode;\n\n // Save no text if the on/off switch is toggled to off.\n if (!this.gateCodeEnabled) {\n resolvedModel.gateCode = '';\n }\n\n return resolvedModel.save();\n }\n\n @action\n async saveSetting(): Promise | undefined> {\n await this.saveSettingsToGroups();\n this.contextManager.transitionToPreviousRoute();\n return;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-gate-code': EnterpriseSettingsSelfGuidedToursGateCodeController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursGateCode } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursGateCode from 'customer-site/models/enterprise/settings/self-guided-tours-gate-code';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set the onsite (non ADC-integrated) gate code for Self-Guided Tours\n */\nexport default class EnterpriseSettingsSelfGuidedToursGateCodeRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursGateCode;\n\n model(): { gateCode: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n gateCode: this.store.findRecord('enterprise/settings/self-guided-tours-gate-code', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action } from '@ember/object';\n\nimport type SelfGuidedToursGeofence from 'customer-site/models/enterprise/settings/self-guided-tours-geofence';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsSelfGuidedToursGeofenceRoute from './route';\n\n/**\n * @classdesc\n * Enable geofencing for Self-Guided Tours on the group.\n */\nexport default class EnterpriseSettingsSelfGuidedToursGeofenceController extends EmberController {\n @tracked declare geofenceEnabled: boolean;\n @tracked declare disclaimerAcknowledged: boolean;\n @tracked resolvedGeofence?: SelfGuidedToursGeofence;\n\n declare model: ModelFrom;\n\n /**\n * List of geofencing properties.\n */\n get geofenceProperties(): { geofenceEnabled: boolean } {\n return {\n geofenceEnabled: this.geofenceEnabled\n };\n }\n\n /**\n * Whether the user can save the setting.\n */\n get canSaveGeofence(): boolean {\n const geofenceEnabled = this.resolvedGeofence?.geofenceEnabled;\n return (\n geofenceEnabled != this.geofenceEnabled &&\n ((this.geofenceEnabled && this.disclaimerAcknowledged) || !this.geofenceEnabled)\n );\n }\n\n /**\n * Check whether the legal disclaimer should be shown.\n */\n get needLegalDisclaimer(): boolean {\n return this.geofenceEnabled;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(selfGuidedToursGeofence: SelfGuidedToursGeofence): void {\n Object.assign(this, {\n resolvedGeofence: selfGuidedToursGeofence,\n geofenceEnabled: selfGuidedToursGeofence.geofenceEnabled,\n disclaimerAcknowledged: false\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-geofence': EnterpriseSettingsSelfGuidedToursGeofenceController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursGeofence } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursGeofence from 'customer-site/models/enterprise/settings/self-guided-tours-geofence';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set the geofence setting for Self-Guided Tours.\n */\nexport default class EnterpriseSettingsSelfGuidedToursGeofenceRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursGeofence;\n\n model(): { geofence: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n geofence: this.store.findRecord('enterprise/settings/self-guided-tours-geofence', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { computed, action, set } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { TimetableScheduleDay } from 'customer-site/models/access-control/access-control-timetable';\nimport type CustomerRelationshipManagementIntegration from 'customer-site/models/enterprise/settings/customer-relationship-management-integration';\nimport type SelfGuidedToursHoursOfOperation from 'customer-site/models/enterprise/settings/self-guided-tours-hours-of-operation';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Set the hours of operation for Self-Guided Tours at group level\n */\nexport default class SelfGuidedToursHoursOfOperationController extends EmberController {\n @service declare identityManager: IdentityManager;\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n\n /**\n * The hours of operation schedule.\n */\n @tracked scheduleDictionary: TimetableScheduleDay[] = [];\n\n /**\n * The schedule dictionary when the page initially loads.\n */\n @tracked scheduleDictionaryOnLoad: TimetableScheduleDay[] = [];\n\n /**\n * The CRM the parent group is configured with.\n */\n @reads('identityManager.identityModel.selectedSystemGroup.customerRelationshipManagementIntegration')\n declare customerRelationshipManagementIntegration: CustomerRelationshipManagementIntegration;\n\n /**\n * List of currently selected properties and settings for hours of operation\n *\n */\n @computed('scheduleDictionary')\n get hoursOfOperationProperties(): { scheduleDictionary: TimetableScheduleDay[] } {\n const { scheduleDictionary } = this;\n return {\n scheduleDictionary: scheduleDictionary\n };\n }\n\n /**\n * Whether hours of operation have changed.\n */\n @computed('scheduleDictionary', 'scheduleDictionaryOnLoad')\n get areHoursOfOperationChanged(): boolean {\n return this.areSchedulesEqual(this.scheduleDictionary, this.scheduleDictionaryOnLoad);\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => any {\n return (group: SystemGroup) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(hoursOfOperation: SelfGuidedToursHoursOfOperation): void {\n Object.assign(this, {\n scheduleDictionary: hoursOfOperation.scheduleDictionary,\n scheduleDictionaryOnLoad: hoursOfOperation.scheduleDictionary\n });\n }\n\n /**\n * Re-render the schedule when it is updated.\n */\n @action\n updateSchedule(schedule: TimetableScheduleDay[]): void {\n set(this, 'scheduleDictionary', schedule);\n }\n\n /**\n * Returns whether two schedules are equal.\n */\n areSchedulesEqual(updatedSchedule: TimetableScheduleDay[], originalSchedule: TimetableScheduleDay[]): boolean {\n if (updatedSchedule.length != originalSchedule.length) {\n return true;\n }\n\n for (let i = 0; i < updatedSchedule.length; i++) {\n if (!this.areTimeBlocksEqual(updatedSchedule[i], originalSchedule[i])) {\n return true;\n }\n }\n\n return false;\n }\n\n /**\n * Returns whether two time blocks are equal.\n */\n areTimeBlocksEqual(firstBlock: TimetableScheduleDay, secondBlock: TimetableScheduleDay): boolean {\n return (\n firstBlock.day == secondBlock.day &&\n firstBlock.startMinutesLocal == secondBlock.startMinutesLocal &&\n firstBlock.endMinutesLocal == secondBlock.endMinutesLocal\n );\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-hours-of-operation': SelfGuidedToursHoursOfOperationController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursHoursOfOperation } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursHoursOfOperation from 'customer-site/models/enterprise/settings/self-guided-tours-hours-of-operation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set the hours of operation for Self-Guided Tours at group level\n */\nexport default class EnterpriseSettingsSelfGuidedHoursRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursHoursOfOperation;\n\n model(): { hoursOfOperation: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n ...m,\n hoursOfOperation: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-hours-of-operation',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\n/**\n * @classdesc\n * Set Self-Guided Tours support phone number at group level\n */\nexport default class Controller extends EmberController {\n @service contextManager;\n @service intl;\n\n @tracked supportPhone;\n @tracked phoneNumber;\n\n /**\n * List of currently selected properties and settings for support phone\n *\n * @returns {{supportPhoneNumber: string}}\n */\n @computed('phoneNumber')\n get supportPhoneProperties() {\n return {\n supportPhoneNumber: this.phoneNumber\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n get filterFunction() {\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not any settings have been changed.\n *\n * @type { boolean }\n */\n @computed('supportPhone.supportPhoneNumber', 'phoneNumber')\n get currentGroupSettingsChanged() {\n const { supportPhone } = this;\n\n // Data hasn't loaded yet, so return false.\n if (!supportPhone) {\n return false;\n }\n\n // Check for a change.\n return supportPhone.supportPhoneNumber !== this.phoneNumber;\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(supportPhone) {\n Object.assign(this, {\n supportPhone,\n phoneNumber: supportPhone.supportPhoneNumber\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursSupportPhone } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Set a support phone number for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedSupportPhoneRoute extends BaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSelfGuidedToursSupportPhone;\n\n modelName = 'enterprise/settings/self-guided-tours-support-phone';\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n supportPhone: this.store.findRecord(this.modelName, m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\nimport { dataUrlToFile } from '../helpers/file-upload-functions';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type SelfGuidedToursTermsAndConditions from 'customer-site/models/enterprise/settings/self-guided-tours-terms-and-condition';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\n\n/**\n * @classdesc\n * Set the terms and conditions for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursTermsAndConditionsController extends EmberController {\n @service declare intl: ADCIntlService;\n @service declare media: ADCResponsiveMediaService;\n\n @tracked termsAndConditionsFile: File | null = null;\n @tracked termsAndConditionsFileDataUrl = '';\n @tracked disclaimerAcknowledged = false;\n\n declare model: any; // Please replace this 'any' with the actual model type!\n\n /**\n * Max file size that the terms and conditions file can be.\n */\n get maxFileBytes(): number {\n return 200 * 1024;\n }\n\n /**\n * List of currently selected properties and settings for terms and conditions.\n */\n @computed('termsAndConditionsFile.name', 'termsAndConditionsFileDataUrl')\n get termsAndConditionsProperties(): {\n fileName: string | undefined;\n fileDataUrl: string;\n } {\n return {\n fileName: this.termsAndConditionsFile?.name,\n fileDataUrl: this.termsAndConditionsFileDataUrl\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => { errorMessage: string } {\n // Do not copy this incorrect usage. If you see this, please fix it.\n // @ts-expect-error the `getIsEmptyGroupErrorMessage` function returns a string, but this code mistakenly expects it to return an object.\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Check if setting can be saved.\n *\n * @type { boolean }\n */\n @computed('termsAndConditionsFileChanged', 'disclaimerAcknowledged', 'showLegalDisclaimer')\n get canSaveTermsAndConditions() {\n return this.termsAndConditionsFileChanged && (this.disclaimerAcknowledged || !this.showLegalDisclaimer);\n }\n\n /**\n * Check if setting has been changed.\n *\n * @type { boolean }\n */\n @computed('model.termsAndConditions.{fileName,fileDataUrl}', 'termsAndConditionsFileDataUrl')\n get termsAndConditionsFileChanged() {\n const { termsAndConditions } = this.model;\n return (termsAndConditions.get('fileDataUrl') ?? '') !== this.termsAndConditionsFileDataUrl;\n }\n\n /**\n * Check if the legal disclaimer should be shown.\n *\n * @type { boolean }\n */\n @computed('termsAndConditionsFileChanged', 'termsAndConditionsFileDataUrl')\n get showLegalDisclaimer() {\n return this.termsAndConditionsFileChanged && this.termsAndConditionsFileDataUrl;\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(termsAndConditions: SelfGuidedToursTermsAndConditions) {\n Object.assign(this, {\n termsAndConditionsFile: dataUrlToFile(termsAndConditions.fileName, termsAndConditions.fileDataUrl),\n termsAndConditionsFileDataUrl: termsAndConditions.fileDataUrl\n });\n }\n\n @action\n fileChanged(file: File | null, dataUrl: string): void {\n this.termsAndConditionsFile = file;\n this.termsAndConditionsFileDataUrl = dataUrl;\n this.disclaimerAcknowledged = false;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/self-guided-tours-terms-and-conditions': EnterpriseSettingsSelfGuidedToursTermsAndConditionsController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursTermsAndConditions } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type SelfGuidedToursTermsAndConditions from 'customer-site/models/enterprise/settings/self-guided-tours-terms-and-condition';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Set the terms and conditions for Self-Guided Tours at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedToursTermsAndConditionsRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsSelfGuidedToursTermsAndConditions;\n\n model(): { termsAndConditions: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n termsAndConditions: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-terms-and-condition',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsEmptyGroupErrorMessage } from 'customer-site/enterprise/settings/helpers/filter-functions';\n\n/**\n * @classdesc\n * Set the web primary color for Self-Guided Tours at group level.\n */\nexport default class Controller extends EmberController {\n @service contextManager;\n @service intl;\n\n @tracked resolvedModel;\n @tracked webPrimaryColor = '';\n\n /**\n * List of currently selected properties and settings for web primary color\n *\n * @type {{selfGuidedToursColor: string}}\n */\n @computed('webPrimaryColor')\n get webPrimaryColorProperties() {\n return {\n selfGuidedToursColor: this.webPrimaryColor\n };\n }\n\n /**\n * This function is used to let only non-empty groups be selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n get filterFunction() {\n return (group) => getIsEmptyGroupErrorMessage(group, this.intl);\n }\n\n /**\n * Check if web primary color is valid for saving.\n *\n * @type {boolean}\n */\n @computed('isValidColor', 'resolvedModel.webPrimaryColor.selfGuidedToursColor', 'webPrimaryColor')\n get canSaveWebPrimaryColor() {\n const { resolvedModel } = this;\n if (!this.isValidColor || !resolvedModel) {\n return false;\n }\n\n return resolvedModel.selfGuidedToursColor !== this.webPrimaryColor;\n }\n\n /**\n * Check if web primary color is a valid color hex.\n *\n * @type {boolean}\n */\n @computed('webPrimaryColor')\n get isValidColor() {\n const { webPrimaryColor } = this;\n return !webPrimaryColor || /^#[0-9a-f]{6}$/i.test(webPrimaryColor);\n }\n\n /**\n * Process the loaded model data\n */\n @action\n dataLoaded(resolvedModel) {\n Object.assign(this, {\n resolvedModel,\n webPrimaryColor: resolvedModel.selfGuidedToursColor\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsSelfGuidedToursWebPrimaryColor } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Set the web primary color for Self-Guided Tours at group level.\n */\nexport default class Route extends AdcBaseRoute {\n @service store;\n\n /** @override */\n routeId = EmberGroupSettingsSelfGuidedToursWebPrimaryColor;\n\n /** @override */\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n webPrimaryColor: this.store.findRecord(\n 'enterprise/settings/self-guided-tours-web-primary-color',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsSelfGuidedTours } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the Self-Guided Tours settings.\n *\n * @class enterprise.settings.self-guided-tours.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsSelfGuidedTours;\n}\n","import EmberController from '@ember/controller';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getIsPointCentralErrorMessage } from '../helpers/filter-functions';\n\n/**\n * @classdesc\n * Turn on or off the send email by default feature.\n */\nexport default class SendEmailByDefaultController extends EmberController {\n @service contextManager;\n @service intl;\n\n /**\n * List of the currently selected properties and settings for send email by default.\n *\n * @type {Object}\n */\n @computed('sendGuestsEmailOn', 'sendNonGuestsEmailOn')\n get sendEmailByDefaultProperties() {\n return {\n sendEmailToAllGuestsEnabled: this.sendGuestsEmailOn,\n sendEmailToNonGuestsEnabled: this.sendNonGuestsEmailOn\n };\n }\n\n /**\n * This group setting is PointCentral specific, so this function is used to let PointCentral only groups to be\n * selectable in the apply to multiple groups modal.\n *\n * @type {function(*=): (string|*)}\n */\n get filterFunction() {\n return (group) => getIsPointCentralErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not any settings have been changed.\n *\n * @type { boolean }\n */\n @computed(\n 'model.sendEmailByDefault.{SendEmailToAllGuestsEnabled,SendEmailToNonGuestsEnabled}',\n 'sendGuestsEmailOn',\n 'sendNonGuestsEmailOn'\n )\n get currentGroupSettingsChanged() {\n // Data hasn't loaded yet, so return false.\n if (!this.model.sendEmailByDefault) {\n return false;\n }\n\n const { sendEmailByDefault } = this.model;\n\n // Check for a change.\n return (\n sendEmailByDefault.get('sendEmailToAllGuestsEnabled') !== this.sendGuestsEmailOn ||\n sendEmailByDefault.get('sendEmailToNonGuestsEnabled') !== this.sendNonGuestsEmailOn\n );\n }\n\n /**\n * Process the loaded model data.\n *\n */\n @action\n dataLoaded() {\n const { sendEmailByDefault } = this.model;\n\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/classic-decorator-no-classic-methods\n this.setProperties({\n sendGuestsEmailOn: sendEmailByDefault.get('sendEmailToAllGuestsEnabled'),\n sendNonGuestsEmailOn: sendEmailByDefault.get('sendEmailToNonGuestsEnabled')\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsSendEmailByDefault } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Turn on or off send email by default settings.\n */\nexport default class EnterpriseSettingsSendEmailByDefaultRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSendEmailByDefault;\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n sendEmailByDefault: this.store.findRecord('enterprise/settings/send-email-by-default', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n\n/**\n * @classdesc Turn on or off the group setting to send a follow up text.\n */\nexport default class EnterpriseSettingsSelfGuidedFollowUpTextController extends Controller {\n @service contextManager;\n\n maxSmsLength = 600;\n resolvedModel;\n @tracked isOn;\n\n @action dataLoaded(resolvedModel) {\n Object.assign(this, {\n resolvedModel,\n isOn: isPresent(resolvedModel.text)\n });\n }\n\n /**\n * Save method. Update model.\n */\n @action\n async saveSetting(buttonAnimation) {\n const { resolvedModel } = this;\n\n // Save no text if the on/off switch is toggled to off.\n if (!this.isOn) {\n resolvedModel.set('text', '');\n }\n\n await resolvedModel.save();\n buttonAnimation.then(() => this.contextManager.transitionToPreviousRoute());\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberGroupSettingsSendFollowUpText } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Turn on or off the send follow-up text group setting.\n */\nexport default class EnterpriseSettingsSelfGuidedFollowUpTextRoute extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsSendFollowUpText;\n\n model() {\n return {\n followUpText: this.store.findRecord(\n 'enterprise/settings/send-follow-up-text',\n this.modelFor('enterprise.settings').systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import SelfGuidedToursSupportPhoneNumber from 'customer-site/enterprise/settings/self-guided-tours-support-phone/controller';\n\nimport type SupportPhone from 'customer-site/models/enterprise/settings/support-phone';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Support phone number at group level\n */\nexport default class Controller extends SelfGuidedToursSupportPhoneNumber {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/support-phone-number': Controller;\n }\n}\n","import SelfGuidedToursSupportPhoneRoute from 'customer-site/enterprise/settings/self-guided-tours-support-phone/route';\nimport { EmberGroupSettingsSupportPhoneNumber } from 'customer-site/enums/CustomerPageUrl';\n\nimport type SupportPhone from 'customer-site/models/enterprise/settings/support-phone';\n\n/**\n * @classdesc\n * Set a support phone number at group level.\n */\nexport default class EnterpriseSettingsSelfGuidedSupportPhoneRoute extends SelfGuidedToursSupportPhoneRoute {\n /** @override */\n routeId = EmberGroupSettingsSupportPhoneNumber;\n\n /** @override */\n modelName = 'enterprise/settings/support-phone';\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getDateFromMinutesAfterMidnight } from 'customer-site/enterprise/settings/house-ready-early/controller';\nimport { EmberGroupSettingsTemporaryAccessCodes } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * The controller that will set the availability schedule for temporary access codes on the group.\n */\nexport default class Controller extends EmberController {\n @service contextManager;\n @service intl;\n\n /**\n * The previously selected expiration time. This is stored so that the date is remembered when the setting is toggled on and off.\n *\n * @type {Date}\n */\n previouslySelectedTemporaryAccessCodeExpirationTime;\n\n /**\n * The previously selected enabled time. This is stored so that the date is remembered when the setting is toggled on and off.\n *\n * @type {Date}\n */\n previouslySelectedTemporaryAccessCodeEnabledTime;\n\n /**\n * Is this setting disabled? This setting will be disabled if the Temporary Access Codes setting is disabled.\n *\n * @type {boolean}\n */\n @reads('model.temporaryAccessCodeAvailabilitySchedule.disabled')\n disabled;\n\n /**\n * Should we disable the setting's toggle?\n *\n * @type {boolean}\n */\n @computed('selectedAvailabilitySchedule.{selectedAccessCodeExpirationTime,selectedAccessCodeEnabledTime}')\n get disableToggle() {\n const { selectedAccessCodeExpirationTime, selectedAccessCodeEnabledTime } = this.selectedAvailabilitySchedule;\n return selectedAccessCodeExpirationTime === null && selectedAccessCodeEnabledTime === null;\n }\n\n /**\n * Should we hide the time picker from the page? We should hide the setting if we have this setting disabled or if\n * the toggle is not on.\n *\n * @type {boolean}\n */\n @computed('disabled', 'disableToggle')\n get hideTimePicker() {\n return this.disabled || this.disableToggle;\n }\n\n /**\n * List of the properties of the Temporary Access Codes setting.\n *\n * @type {Object}\n */\n @computed(\n 'temporaryAccessCodesCountForGroup',\n 'selectedAvailabilitySchedule.{selectedAccessCodeExpirationTime,selectedAccessCodeEnabledTime}'\n )\n get accessCodeExpirationTimeProperties() {\n const { selectedAvailabilitySchedule } = this;\n\n return {\n accessCodeExpirationTimeMinutesAfterMidnight: this.minutesAfterMidnight(\n selectedAvailabilitySchedule.selectedAccessCodeExpirationTime\n ),\n accessCodeEnabledTimeMinutesAfterMidnight: this.minutesAfterMidnight(\n selectedAvailabilitySchedule.selectedAccessCodeEnabledTime\n )\n };\n }\n\n /**\n * The message to display if the selected EndTime comes before the selected StartTime.\n *\n * @type {string}\n */\n @computed('selectedAvailabilitySchedule.{selectedAccessCodeExpirationTime,selectedAccessCodeEnabledTime}')\n get endTimeIsBeforeStartTime() {\n const { selectedAccessCodeExpirationTime, selectedAccessCodeEnabledTime } = this.selectedAvailabilitySchedule;\n\n if (!selectedAccessCodeExpirationTime || !selectedAccessCodeEnabledTime) {\n return false;\n }\n\n return (\n this.minutesAfterMidnight(selectedAccessCodeExpirationTime) <\n this.minutesAfterMidnight(selectedAccessCodeEnabledTime)\n );\n }\n\n /**\n * Check if setting has been changed and whether or not this setting has been changed.\n *\n * @type {boolean}\n */\n @computed(\n 'model.temporaryAccessCodeAvailabilitySchedule.{accessCodeExpirationTimeMinutesAfterMidnight,accessCodeEnabledTimeMinutesAfterMidnight}',\n 'selectedAvailabilitySchedule.{selectedAccessCodeExpirationTime,selectedAccessCodeEnabledTime}'\n )\n get canSaveAccessCodeExpirationTime() {\n const { temporaryAccessCodeAvailabilitySchedule } = this.model,\n { selectedAvailabilitySchedule } = this;\n\n // Data hasn't loaded yet, so return false.\n if (!temporaryAccessCodeAvailabilitySchedule) {\n return false;\n }\n\n // Check for a change.\n return (\n temporaryAccessCodeAvailabilitySchedule.get('accessCodeExpirationTimeMinutesAfterMidnight') !==\n this.minutesAfterMidnight(selectedAvailabilitySchedule.selectedAccessCodeExpirationTime) ||\n temporaryAccessCodeAvailabilitySchedule.get('accessCodeEnabledTimeMinutesAfterMidnight') !==\n this.minutesAfterMidnight(selectedAvailabilitySchedule.selectedAccessCodeEnabledTime)\n );\n }\n\n /**\n * Object that holds the selected times of the availability schedule.\n *\n * @type {undefined|{selectedAccessCodeExpirationTime: string, selectedAccessCodeEnabledTime: string}}\n */\n @tracked selectedAvailabilitySchedule = undefined;\n\n /**\n * Calculates the amount of minutes after midnight for the passed in time.\n *\n * @returns {null|number}\n */\n minutesAfterMidnight(time) {\n if (!time) {\n return null;\n }\n\n const hour = time.getUTCHours(),\n minutes = time.getUTCMinutes();\n\n return hour * 60 + minutes;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded() {\n const { temporaryAccessCodeAvailabilitySchedule } = this.model || {},\n accessCodeExpirationTimeMinutesAfterMidnight = temporaryAccessCodeAvailabilitySchedule.get(\n 'accessCodeExpirationTimeMinutesAfterMidnight'\n ),\n accessCodeEnabledTimeMinutesAfterMidnight = temporaryAccessCodeAvailabilitySchedule.get(\n 'accessCodeEnabledTimeMinutesAfterMidnight'\n );\n\n // Set properties on this controller with the values we got from the model.\n this.selectedAvailabilitySchedule = {\n selectedAccessCodeExpirationTime:\n accessCodeExpirationTimeMinutesAfterMidnight !== null\n ? getDateFromMinutesAfterMidnight(accessCodeExpirationTimeMinutesAfterMidnight)\n : null,\n selectedAccessCodeEnabledTime:\n accessCodeEnabledTimeMinutesAfterMidnight !== null\n ? getDateFromMinutesAfterMidnight(accessCodeEnabledTimeMinutesAfterMidnight)\n : null\n };\n }\n\n /**\n * If we have turned off the temporary access code expiration time setting, we no longer want there to be an expiration time, so we set selectedAccessCodeExpirationTime to null.\n * If we turn on this setting, automatically set the expiration time to midnight.\n *\n * @param {boolean} toggledValue\n */\n @action\n toggleAccessCodeExpirationTimeSetting(evt) {\n const toggledValue = !!evt.target.checked,\n { selectedAvailabilitySchedule } = this;\n\n if (!toggledValue) {\n Object.assign(this, {\n previouslySelectedTemporaryAccessCodeExpirationTime:\n selectedAvailabilitySchedule.selectedAccessCodeExpirationTime,\n previouslySelectedTemporaryAccessCodeEnabledTime:\n selectedAvailabilitySchedule.selectedAccessCodeEnabledTime\n });\n }\n\n this.selectedAvailabilitySchedule = {\n selectedAccessCodeExpirationTime: toggledValue\n ? this.previouslySelectedTemporaryAccessCodeExpirationTime ?? getDateFromMinutesAfterMidnight(0)\n : null,\n selectedAccessCodeEnabledTime: toggledValue\n ? this.previouslySelectedTemporaryAccessCodeEnabledTime ?? getDateFromMinutesAfterMidnight(0)\n : null\n };\n }\n\n /**\n * Transition to the Temporary Access Codes group setting.\n */\n @action\n transitionToAccessCodesSetting() {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(EmberGroupSettingsTemporaryAccessCodes);\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsTemporaryAccessCodesAccessCodeAvailabilitySchedule } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * The route to get the temporary access codes Availability Schedule time model.\n */\nexport default class Route extends AdcBaseRoute {\n @service store;\n\n routeId = EmberGroupSettingsTemporaryAccessCodesAccessCodeAvailabilitySchedule;\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n temporaryAccessCodeAvailabilitySchedule: this.store.findRecord(\n 'enterprise/settings/temporary-access-code-availability-schedule',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberGroupSettingsTemporaryAccessCodes } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * The controller to select the amount of time until the Temporary Access Code expires.\n */\nexport default class Controller extends EmberController {\n @service contextManager;\n @service intl;\n\n @tracked resolvedModel;\n @tracked selectedAccessCodeDuration;\n\n /**\n * Whether or not this setting is disabled. It will be disabled if the Temporary Access Codes setting is not enabled.\n *\n * @type {boolean}\n */\n @reads('resolvedModel.disabled')\n disabled;\n\n /**\n * Create array for access code expiration times.\n *\n * @type {{text: string, value: *, selected: boolean}[]}\n */\n @computed('selectedAccessCodeDuration')\n get accessCodeDurations() {\n return [60, 120, 240, 480, 720].map((minutes) => ({\n value: minutes,\n selected: minutes === this.selectedAccessCodeDuration,\n // Access code duration times are show in hours in the UI, but the setting is stored in minutes.\n text: this.intl.t('generic.hours', {\n num: minutes / 60\n })\n }));\n }\n\n /**\n * The property of the access code duration setting.\n *\n * @returns {Object}\n */\n @computed('selectedAccessCodeDuration')\n get accessCodeDurationProperties() {\n return {\n accessCodeDurationMinutes: this.selectedAccessCodeDuration\n };\n }\n\n /**\n * Check if setting has been changed and whether or not this setting has been changed.\n *\n * @type {boolean}\n */\n @computed('resolvedModel.accessCodeDurationMinutes', 'selectedAccessCodeDuration')\n get canSaveAccessCodeDuration() {\n const { resolvedModel } = this;\n return !!resolvedModel && resolvedModel.accessCodeDurationMinutes !== this.selectedAccessCodeDuration;\n }\n\n /**\n * Transition to the Temporary Access Codes setting.\n */\n @action\n transitionToAccessCodesSetting() {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(EmberGroupSettingsTemporaryAccessCodes);\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(resolvedModel) {\n Object.assign(this, {\n resolvedModel,\n selectedAccessCodeDuration: resolvedModel.accessCodeDurationMinutes\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsTemporaryAccessCodesAccessCodeDuration } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Route to get the temporary access code duration model for the group.\n */\nexport default class Route extends AdcBaseRoute {\n @service store;\n\n /** @override */\n routeId = EmberGroupSettingsTemporaryAccessCodesAccessCodeDuration;\n\n model() {\n const m = this.modelFor('enterprise.settings');\n return {\n ...m,\n temporaryAccessCodeDuration: this.store.findRecord(\n 'enterprise/settings/temporary-access-code-duration',\n m.systemGroupId,\n {\n reload: true\n }\n )\n };\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsTemporaryAccessCodeSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the temporary access code settings.\n *\n * @class enterprise.settings.temporary-access-code-settings.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsTemporaryAccessCodeSettings;\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action } from '@ember/object';\n\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nconst PRELOADED_CODES_DEFAULT_ENABLED = 5;\nconst PRELOADED_CODES_DISABLED_AMOUNT = 0;\n\n/**\n * @classdesc\n * Enables the temporary access codes feature.\n */\nexport default class Controller extends EmberController {\n declare model: ModelFrom;\n\n @tracked resolvedModel?: ResolvedModelFrom['temporaryAccessCodes'];\n\n /**\n * Toggle the temporary access codes feature.\n */\n @action\n toggleTemporaryAccessCodesSetting(evt: KeyboardEvent & { target: HTMLInputElement }): void {\n if (!this.resolvedModel) {\n return;\n }\n\n Object.assign(this.resolvedModel, {\n preloadedCodesCount: evt.target.checked ? PRELOADED_CODES_DEFAULT_ENABLED : PRELOADED_CODES_DISABLED_AMOUNT,\n temporaryAccessCodesEnabled: evt.target.checked\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/temporary-access-codes': Controller;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsTemporaryAccessCodes } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type TemporaryAccessCode from 'customer-site/models/enterprise/settings/temporary-access-code';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * The route to get the temporary access codes model.\n */\nexport default class Route extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n routeId = EmberGroupSettingsTemporaryAccessCodes;\n\n model(): ModelFrom & {\n temporaryAccessCodes: ADCAsyncStoreFindRecord;\n } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n temporaryAccessCodes: this.store.findRecord('enterprise/settings/temporary-access-code', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { GroupSettingsThermostatScheduleTemplate } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Lists all of thermostat schedule templates by name.\n */\nexport default class EnterpriseSettingsThermostatScheduleTemplateController extends Controller {\n @service contextManager;\n\n /**\n * The route ID for the 'edit template' page for this template type.\n *\n * @type {number}\n */\n editRoute = GroupSettingsThermostatScheduleTemplate;\n\n @action newThermostatScheduleTemplate() {\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-context-manager-transition\n this.contextManager.transitionToRouteId(GroupSettingsThermostatScheduleTemplate);\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsThermostatScheduleTemplates } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Lists all of thermostat schedule templates by name.\n */\nexport default class EnterpriseSettingsThermostatScheduleTemplateRoute extends AdcBaseRoute {\n @service ajax;\n @service store;\n\n routeId = EmberGroupSettingsThermostatScheduleTemplates;\n\n model() {\n return {\n thermostatScheduleTemplates: this.store.findAll('enterprise/settings/thermostat-schedule-template', {\n reload: true\n }),\n hasValidThermostats: this.ajax.apiRequest(\n 'enterprise/settings/thermostatScheduleTemplates/hasValidThermostats'\n )\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { computed, action, get, set } from '@ember/object';\nimport { notEmpty, alias, empty, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { Celsius } from 'customer-site/enums/TemperatureUnit';\n\n/**\n * Updates the provided settings template property, using null if property is enabled.\n *\n * @param {String} name The name of the property to update.\n * @param {number} defaultValue The default value to use when the property is enabled.\n *\n * @private\n * @instance\n */\nfunction toggleTemplateSetting(name, defaultValue) {\n set(this, `settingsTemplate.${name}`, get(this, `settingsTemplate.${name}`) ? null : defaultValue);\n}\n\n/**\n * Returns the min and max version of the specified field name, e.g. MyField -> minMyField, maxMyField\n *\n * @param {Array} map The current array of field names\n * @param {string} name The field name whose min and max versions we need to add\n *\n * @private\n * @instance\n *\n * @returns Array\n */\nfunction getMinMaxNames(map, name) {\n return map.concat(['min', 'max'].map((type) => `${type}${name}`));\n}\n\n/**\n * @classdesc\n * Edit a thermostat settings template.\n */\nexport default class EnterpriseSettingsThermostatSettingsTemplatesController extends Controller {\n @service contextManager;\n @service intl;\n\n /**\n * Holds the information needed to render the rows in the template form.\n *\n * @type {Array}\n */\n get rowMap() {\n return [\n { type: 'temperatureRange' },\n { type: 'offset', field: 'swing' },\n { type: 'offset', field: 'overshoot' },\n { type: 'humidity', field: 'humiditySetpoint' },\n { type: 'offset', field: 'humidityDifferential' },\n { type: 'temperature', field: 'balancePoint' },\n { type: 'lock', field: 'localDisplayLockingMode' }\n ];\n }\n\n /**\n * Whether the balance point is enabled for the settings template.\n *\n * @type {boolean}\n */\n @notEmpty('settingsTemplate.balancePoint')\n balancePointEnabled;\n\n get displayLockingModeOptions() {\n return ['disabled', 'enabled', 'partial'].map((x) => this.intl.tc(this, x));\n }\n\n /**\n * Holds the constants that are dependent on temperature unit.\n *\n * @type {Object}\n */\n @computed('isCelsius')\n get config() {\n const unit = this.isCelsius ? 'C' : 'F';\n return ['HeatSetpoint', 'CoolSetpoint', 'Swing', 'Overshoot', 'HumidityDifferential', 'BalancePoint']\n .reduce(getMinMaxNames, [])\n .concat(['balancePointDefaultValue', 'temperatureStep', 'offsetStep'])\n .reduce((result, key) => {\n result[key] = get(this, `model.config.${key}${unit}`);\n return result;\n }, {});\n }\n\n /**\n * Holds the constants that are unrelated to temperature unit.\n *\n * @type {Object}\n */\n @computed('model.config')\n get nonTempConfig() {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-get\n const config = get(this, 'model.config');\n return config.getProperties(\n ...['HumiditySetpointDefaultValue', 'MinHumiditySetpoint', 'MaxHumiditySetpoint'].reduce(getMinMaxNames, [])\n );\n }\n\n /**\n * Holds the description text for the various tooltips.\n *\n * @type {Object}\n */\n get tooltipDescriptions() {\n return [\n 'heatSetpoint',\n 'coolSetpoint',\n 'swing',\n 'overshoot',\n 'humiditySetpoint',\n 'humidityDifferential',\n 'balancePoint',\n 'localDisplayLockingMode'\n ].reduce((map, field) => {\n map[field] = this.intl.t('generic.thermostats.' + field + 'Description');\n return map;\n }, {});\n }\n\n /**\n * The thermostat settings template being edited.\n *\n * @type {models.enterprise.settings.ThermostatSettingsTemplate}\n */\n @alias('model.template')\n settingsTemplate;\n\n /**\n * Whether the user has not entered a name for the template.\n *\n * @type {boolean}\n */\n @empty('settingsTemplate.name')\n templateNameNull;\n\n /**\n * The current local display locking mode for the thermostats.\n *\n * @type {number}\n */\n @alias('settingsTemplate.localDisplayLockingMode')\n localDisplayLockingMode;\n\n /**\n * The temperature unit of the template being edited.\n *\n * @type {enums.TemperatureUnit}\n */\n @alias('model.config.temperatureUnit')\n temperatureUnit;\n\n /**\n * Whether the temperature unit of the template being edited is Celsius.\n *\n * @type {boolean}\n */\n @equal('temperatureUnit', Celsius)\n isCelsius;\n\n /**\n * The temperature unit label for the various temperature fields.\n *\n * @type {string}\n */\n @computed('isCelsius')\n get unitTranslation() {\n const isCelsius = this.isCelsius;\n return this.intl.tc(this, `degrees${isCelsius ? 'Celsius' : 'Fahrenheit'}`);\n }\n\n /**\n * Enables/disables balance point.\n */\n @action toggleBalancePoint() {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-get\n toggleTemplateSetting.call(this, 'balancePoint', get(this, 'config.balancePointDefaultValue'));\n }\n\n /**\n * Enables/disables minimum humidity setpoint.\n */\n @action toggleMinHumiditySetpoint() {\n toggleTemplateSetting.call(\n this,\n 'minHumiditySetpoint',\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-get\n get(this, 'nonTempConfig.minHumiditySetpointDefaultValue')\n );\n }\n\n /**\n * Enables/disables maximum humidity setpoint.\n */\n @action toggleMaxHumiditySetpoint() {\n toggleTemplateSetting.call(\n this,\n 'maxHumiditySetpoint',\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-get\n get(this, 'nonTempConfig.maxHumiditySetpointDefaultValue')\n );\n }\n\n /**\n * Selects specified thermostats.\n *\n * @param {Array} thermostats The thermostats to select.\n */\n @action selectThermostats(thermostats) {\n set(this, 'settingsTemplate.thermostats', thermostats);\n }\n\n /**\n * Updates specified template field\n *\n * @param {string} field The name of the field\n * @param {number} val The value to update the field to\n */\n @action updateField(field, val) {\n set(this, `settingsTemplate.${field}`, val);\n }\n\n /**\n * Saves thermostat settings template, redirects to thermostat templates page on success.\n */\n @action saveTemplate() {\n const settingsTemplate = this.settingsTemplate;\n\n settingsTemplate.setProperties(\n ['maxHumiditySetpoint', 'minHumiditySetpoint', 'balancePoint'].reduce((cache, key) => {\n cache[key] = get(this, `settingsTemplate.${key}`) ? get(this, `settingsTemplate.${key}`) : undefined;\n return cache;\n }, {})\n );\n\n return settingsTemplate.save();\n }\n}\n","import { get } from '@ember/object';\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseThermostatSettingsTemplateEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { Energy } from 'customer-site/enums/LocationDataType';\nimport { hash } from 'rsvp';\n\n/**\n * @classdesc\n * Edit an existing or new thermostat settings template.\n */\nexport default class EnterpriseSettingsThermostatSettingsTemplatesRoute extends AdcBaseRoute {\n @service ajax;\n @service store;\n\n isMediumWidthPage = true;\n\n routeId = EmberEnterpriseThermostatSettingsTemplateEdit;\n\n model({ id_template: templateId = 0 }) {\n const { store } = this;\n return hash({\n template: this.getTemplateModel(templateId),\n locations: store.query('enterprise/locations/location', {\n locationDataType: Energy\n }),\n thermostats: store\n .findAll('devices/thermostat')\n .then((results) => results.filter((item) => get(item, 'supportsAdvancedConfiguration'))),\n config: this.ajax\n .apiRequest(`enterprise/settings/thermostatConfiguration/${templateId === 'new' ? 0 : templateId}`)\n .then((data) => {\n return EmberObject.create(\n data.value.reduce((properties, { configurationName, value = 0 }) => {\n properties[configurationName] = value;\n return properties;\n }, {})\n );\n })\n });\n }\n\n getTemplateModel(id) {\n const { store } = this,\n modelName = 'enterprise/settings/thermostat-settings-template',\n isNew = id === 'new',\n template = isNew ? store.createRecord(modelName) : store.findRecord(modelName, id);\n\n if (isNew) {\n template.changeDefaultsToCelsiusIfNeeded();\n }\n\n return template;\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberEnterpriseThermostatSettingsTemplateEdit } from '../../../../enums/CustomerPageUrl';\n\nimport type ThermostatSettingsTemplate from 'customer-site/models/enterprise/settings/thermostat-settings-template';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * List all thermostat setting templates.\n */\nexport default class EnterpriseSettingsThermostatScheduleTemplateController extends Controller {\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n /**\n * The route ID for the 'edit template' page for this template type.\n *\n */\n editRoute = EmberEnterpriseThermostatSettingsTemplateEdit;\n\n sortName = ['name'];\n\n /**\n * List of templates excluding new templates.\n *\n */\n @sort('model.thermostatScheduleTemplates', 'sortName')\n declare existingTemplates: Array;\n\n /**\n * Navigate to the page to create a new thermostat settings template.\n */\n @action newThermostatSettingsTemplate(): void {\n this.navigation.transitionToRouteId(EmberEnterpriseThermostatSettingsTemplateEdit, undefined, undefined, 'new');\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/thermostat-settings-templates/index': EnterpriseSettingsThermostatScheduleTemplateController;\n }\n}\n","import AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberGroupSettingsThermostatSettingsTemplates } from '../../../../enums/CustomerPageUrl';\n\nimport type ThermostatSettingsTemplate from 'customer-site/models/enterprise/settings/thermostat-settings-template';\n\n/**\n * @classdesc\n * List all existing thermostat settings templates.\n */\nexport default class EnterpriseSettingsThermostatSettingsTemplatesIndexRoute extends AdcBaseRoute {\n routeId = EmberGroupSettingsThermostatSettingsTemplates;\n\n model(): {\n thermostatScheduleTemplates: ADCAsyncStoreFindAll;\n hasValidThermostats: Promise;\n } {\n return {\n thermostatScheduleTemplates: this.store.findAll('enterprise/settings/thermostat-settings-template', {\n reload: true\n }),\n hasValidThermostats: this.ajax.apiRequest(\n 'enterprise/settings/thermostatSettingsTemplates/hasValidThermostats'\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { computed, action } from '@ember/object';\nimport { service } from '@ember/service';\nimport { getIsPointCentralErrorMessage } from '../helpers/filter-functions';\nimport { getDateFromMinutesAfterMidnight } from '../house-ready-early/controller';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type UserCodeTimes from 'customer-site/models/enterprise/settings/user-code-time';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsUserCodeTimesRoute from './route';\n\n/**\n * @classdesc\n * Turn on or off the user code times feature.\n */\nexport default class UserCodeTimesController extends EmberController {\n @service declare intl: ADCIntlService;\n\n @tracked declare startTime: Date;\n @tracked declare endTime: Date;\n @tracked declare earlyPinOn: boolean;\n\n declare model: ModelFrom;\n\n /**\n * List of the currently selected properties and settings for user code times.\n */\n @computed('startTime', 'endTime', 'earlyPinOn')\n get userCodeTimesProperties(): {\n activeCodeStartTime: number;\n activeCodeEndTime: number;\n earlyPinEnabled: boolean;\n } {\n const { startTime, endTime } = this;\n return {\n activeCodeStartTime: startTime.getUTCHours() * 60 + startTime.getUTCMinutes(),\n activeCodeEndTime: endTime.getUTCHours() * 60 + endTime.getUTCMinutes(),\n earlyPinEnabled: this.earlyPinOn\n };\n }\n\n /**\n * This group setting is PointCentral specific, so this function is used to let PointCentral only groups to be\n * selectable in the apply to multiple groups modal.\n */\n get filterFunction(): (group: SystemGroup) => string {\n return (group: SystemGroup) => getIsPointCentralErrorMessage(group, this.intl);\n }\n\n /**\n * Whether or not any settings have been changed.\n */\n @computed(\n 'model.userCodeTimes.{activeCodeStartTime,activeCodeEndTime,earlyPinEnabled}',\n 'earlyPinOn',\n 'startTime',\n 'endTime'\n )\n get currentGroupSettingsChanged(): boolean {\n const { model, startTime, endTime } = this;\n\n // Data hasn't loaded yet, so return false.\n if (!model.userCodeTimes) {\n return false;\n }\n\n const { userCodeTimes } = model;\n\n // Check for a change.\n return (\n userCodeTimes.get('activeCodeStartTime') !== startTime.getUTCHours() * 60 + startTime.getUTCMinutes() ||\n userCodeTimes.get('activeCodeEndTime') !== endTime.getUTCHours() * 60 + endTime.getUTCMinutes() ||\n userCodeTimes.get('earlyPinEnabled') !== this.earlyPinOn\n );\n }\n\n /**\n * Boolean flag to check if the user has toggled the early pin on setting.\n */\n @computed('model.userCodeTimes.earlyPinEnabled', 'earlyPinOn')\n get earlyPinOnToggleChanged(): boolean {\n const { model } = this;\n\n // Data hasn't loaded yet, so return false.\n if (!model.userCodeTimes) {\n return false;\n }\n\n // Check for a change.\n return model.userCodeTimes.get('earlyPinEnabled') !== this.earlyPinOn;\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(userCodeTimes: UserCodeTimes): void {\n this.startTime = getDateFromMinutesAfterMidnight(userCodeTimes.get('activeCodeStartTime') ?? 0);\n this.endTime = getDateFromMinutesAfterMidnight(userCodeTimes.get('activeCodeEndTime') ?? 0);\n this.earlyPinOn = userCodeTimes.get('earlyPinEnabled') ?? false;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/user-code-times': UserCodeTimesController;\n }\n}\n","import { service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsUserCodeTimes } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type UserCodeTimes from 'customer-site/models/enterprise/settings/user-code-time';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off the user code times group setting.\n */\nexport default class EnterpriseSettingsUserCodeTimesRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsUserCodeTimes;\n\n model(): { userCodeTimes: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n return {\n ...m,\n userCodeTimes: this.store.findRecord('enterprise/settings/user-code-time', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsUserSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the user settings.\n *\n * @class enterprise.settings.user-settings.Route\n * @extends BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsUserSettings;\n}\n","import Controller from '@ember/controller';\nimport { action, computed, set } from '@ember/object';\nimport { alias, empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { B36WaterMeter } from 'customer-site/enums/WaterMeterTemplateType';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type Configuration from 'customer-site/models/enterprise/settings/water-meter-configuration';\nimport type WaterMeterConfigurationTemplate from 'customer-site/models/enterprise/settings/water-meter-configuration-template';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type WaterMeterModel from '../../../../models/devices/water-meter';\nimport type { WaterMeterConfigurationTemplateModel } from '../edit/route';\n\nexport interface WaterMeterConfiguration {\n ConfigurationId: number;\n ConfigurationValue?: number;\n}\n\nexport default class WaterMeterConfigurationEditController extends Controller {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare notificationManager: NotificationManager;\n @service declare contextManager: ContextManager;\n\n declare model: WaterMeterConfigurationTemplateModel;\n /**\n * The water meter settings template being edited.\n */\n @alias('model.template')\n declare settingsTemplate: WaterMeterConfigurationTemplate;\n\n /**\n * List of current supported configurations for template.\n */\n @computed('model.supportedConfigurations', 'settingsTemplate.configurations')\n get configurations(): Configuration[] {\n const { settingsTemplate, model } = this;\n if (settingsTemplate.configurations.length) {\n settingsTemplate.configurations.forEach((configuration) => {\n const configId = model.supportedConfigurations.find(\n (e: Configuration) => e.id === String(configuration.ConfigurationId)\n );\n\n if (configId != undefined) {\n configId.value = configuration.ConfigurationValue ?? 0;\n }\n });\n }\n return model.supportedConfigurations;\n }\n\n /**\n * The disabled/enabled button for the unitless configurations on the templage page.\n */\n get displayOptions(): string[] {\n return ['disabled', 'enabled'];\n }\n\n /**\n * Check if the water meter device is a B36 water meter and valve.\n */\n @computed('settingsTemplate.templateType')\n get isTemplateForB36WaterMeter(): boolean {\n return this.settingsTemplate.templateType == B36WaterMeter;\n }\n\n /**\n * Selects water meter devices.\n */\n @action selectWaterMeters(waterMeters: Array): void {\n this.settingsTemplate.waterMeters.setObjects(waterMeters);\n }\n\n /**\n * Save water meter configuration on the page to the template model.\n */\n updateWaterMeterConfiguration(): WaterMeterConfiguration[] {\n return this.configurations.map(({ id, value }) => this.createWaterMeterConfiguration(Number(id), value));\n }\n\n createWaterMeterConfiguration(configurationId: number, configurationValue: number): WaterMeterConfiguration {\n return {\n ConfigurationId: configurationId,\n ConfigurationValue: configurationValue\n };\n }\n\n /**\n * Saves water meter configuration template, redirects to WMC templates page on success.\n */\n @action saveTemplate(): Promise {\n set(this.settingsTemplate, 'configurations', this.updateWaterMeterConfiguration());\n return this.settingsTemplate.save();\n }\n\n /**\n * Whether the user has not entered a name for the template.\n *\n * @type {boolean}\n */\n @empty('settingsTemplate.name')\n isTemplateNameNull: boolean | undefined;\n\n /**\n * Whether the user can edit water meters.\n *\n * @type {boolean}\n */\n @alias('contextManager.identityModel.canEditWaterMeters')\n declare canEditWaterMeters: boolean;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/water-meter-configuration/edit': WaterMeterConfigurationEditController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { Water } from 'customer-site/enums/LocationDataType';\nimport { B36WaterMeter } from 'customer-site/enums/WaterMeterTemplateType';\nimport { hash } from 'rsvp';\nimport { EmberGroupSettingsWaterMeterConfigurationTemplateEdit } from '../../../../enums/CustomerPageUrl';\n\nimport type ArrayProxy from '@ember/array/proxy';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type WaterMeterModel from 'customer-site/models/devices/water-meter';\nimport type LocationModel from 'customer-site/models/enterprise/locations/location';\nimport type WaterMeterConfiguration from 'customer-site/models/enterprise/settings/water-meter-configuration';\nimport type WaterMeterConfigurationTemplate from 'customer-site/models/enterprise/settings/water-meter-configuration-template';\n\nexport type WaterMeterConfigurationTemplateModel = {\n template: WaterMeterConfigurationTemplate;\n supportedConfigurations: WaterMeterConfiguration[];\n locations: LocationModel[];\n waterMeters: WaterMeterModel[];\n};\n\n/**\n * @classdesc\n * List all parameters of the water meter configuration to create a template for\n * multiple devices at once\n */\nexport default class GroupSettingsWaterMeterConfigurationEditRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n /** @override */\n routeId = EmberGroupSettingsWaterMeterConfigurationTemplateEdit;\n\n /** @override */\n declare currentModel: WaterMeterConfigurationTemplateModel;\n\n /** @override */\n model({ id_template = 0, template_type = B36WaterMeter }: { id_template: number; template_type: number }): Promise<{\n template: Awaited>;\n locations: Awaited>;\n waterMeters: ArrayProxy;\n waterMeterTemplateType: number;\n supportedConfigurations: WaterMeterConfiguration[];\n }> {\n return hash({\n template: this.getTemplateModel(id_template, template_type),\n locations: this.store.query('enterprise/locations/location', {\n locationDataType: Water\n }),\n waterMeters: this.store.findAll('devices/water-meter'),\n waterMeterTemplateType: template_type,\n supportedConfigurations: this.ajax.apiRequestForDataRecords(\n `enterprise/settings/waterMeterConfigurationTemplates/getConfigurationsForWaterMeters/${template_type}`\n )\n });\n }\n\n /** @override */\n getTemplateModel(\n id: string | number,\n template_type: number\n ): WaterMeterConfigurationTemplate | Promise {\n const { store } = this,\n modelName = 'enterprise/settings/water-meter-configuration-template',\n isNew = id === 'new';\n\n return isNew\n ? store.createRecord(modelName, {\n templateType: template_type\n })\n : store.findRecord(modelName, id);\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const request = await this.currentModel.supportedConfigurations;\n\n request.forEach((i: WaterMeterConfiguration) => i.rollbackAttributes());\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberGroupSettingsWaterMeterConfigurationTemplateEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type WaterMeterConfigurationTemplate from 'customer-site/models/enterprise/settings/water-meter-configuration-template';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * List all water meter configuration templates.\n */\nexport default class GroupSettingsWaterMeterConfigurationIndexController extends Controller {\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n /**\n * The route ID for the 'edit template' page for this template type.\n */\n editRoute = EmberGroupSettingsWaterMeterConfigurationTemplateEdit;\n\n sortName = ['name'];\n /**\n * List of templates excluding new templates.\n */\n @sort('model.waterMeterTemplates', 'sortName')\n declare waterMeterTemplates: Array;\n\n /**\n * Navigate to the page to create a new water meter configuration template.\n */\n @action newWaterMeterConfiguration(): void {\n this.navigation.transitionToRouteId(\n EmberGroupSettingsWaterMeterConfigurationTemplateEdit,\n undefined,\n undefined,\n 'new'\n );\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/water-meter-configuration/index': GroupSettingsWaterMeterConfigurationIndexController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsWaterMeterConfigurationTemplate } from 'customer-site/enums/CustomerPageUrl';\n\nimport type WaterMeterConfigurationTemplate from 'customer-site/models/enterprise/settings/water-meter-configuration-template';\n\n/**\n * @classdesc\n * List all existing water meter configuration templates.\n */\nexport default class GroupSettingsWaterMeterConfigurationIndexRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberGroupSettingsWaterMeterConfigurationTemplate;\n\n /**\n * Model to return all Water Meter Configuration Templates for the enterprise group.\n */\n model(): {\n waterMeterTemplates: ADCAsyncStoreFindAll;\n hasValidWaterMeters: Promise;\n } {\n return {\n waterMeterTemplates: this.store.findAll('enterprise/settings/water-meter-configuration-template', {\n reload: true\n }),\n hasValidWaterMeters: this.ajax.apiRequest(\n `enterprise/settings/waterMeterConfigurationTemplates/hasValidWaterMeters`\n )\n };\n }\n}\n","import Controller from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class WaterSettingController extends Controller {\n declare model: ModelFrom;\n\n /**\n * User's search query string\n */\n searchString = '';\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/water-settings': WaterSettingController;\n }\n}\n","import BaseCategoryRoute from '../../../classes/base-category-route';\nimport { EmberGroupSettingsWaterSettings } from '../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Category that houses the water meter settings.\n *\n * @class enterprise.settings.water-settings.Route\n * @extends classes.BaseCategoryRoute\n */\nexport default class Route extends BaseCategoryRoute {\n /** @override */\n routeId = EmberGroupSettingsWaterSettings;\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, setProperties } from '@ember/object';\nimport { service } from '@ember/service';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type WelcomeMessage from 'customer-site/models/enterprise/settings/welcome-message';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsWelcomeMessageRoute from './route';\n\n/**\n * @classdesc\n * Turn on or off the welcome message features on the group.\n */\nexport default class WelcomeMessageController extends EmberController {\n /**\n * Should we send guest welcome emails.\n */\n @tracked declare sendGuestsEmailOn: boolean;\n /**\n * Should we send non guest welcome emails.\n */\n @tracked declare sendNonGuestsEmailOn: boolean;\n /**\n * Should we send guest welcome text messages.\n */\n @tracked declare sendGuestsTextOn: boolean;\n /**\n * Should we send non guest welcome text messages.\n */\n @tracked declare sendNonGuestsTextOn: boolean;\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n\n /**\n * List of welcome message properties.\n */\n get welcomeMessageProperties(): {\n sendEmailToAllGuestsEnabled: boolean;\n sendEmailToNonGuestsEnabled: boolean;\n sendTextToAllGuestsEnabled: boolean;\n sendTextToNonGuestsEnabled: boolean;\n } {\n return {\n sendEmailToAllGuestsEnabled: this.sendGuestsEmailOn,\n sendEmailToNonGuestsEnabled: this.sendNonGuestsEmailOn,\n sendTextToAllGuestsEnabled: this.sendGuestsTextOn,\n sendTextToNonGuestsEnabled: this.sendNonGuestsTextOn\n };\n }\n\n /**\n * Whether the user can save the setting.\n */\n get currentGroupSettingsChanged(): boolean {\n const { welcomeMessage } = this.model;\n\n // Data hasn't loaded yet, so return false.\n if (!welcomeMessage) {\n return false;\n }\n\n return (\n welcomeMessage.get('sendEmailToAllGuestsEnabled') !== this.sendGuestsEmailOn ||\n welcomeMessage.get('sendEmailToNonGuestsEnabled') !== this.sendNonGuestsEmailOn ||\n welcomeMessage.get('sendTextToAllGuestsEnabled') !== this.sendGuestsTextOn ||\n welcomeMessage.get('sendTextToNonGuestsEnabled') !== this.sendNonGuestsTextOn\n );\n }\n\n /**\n * Process the loaded model data.\n */\n @action\n dataLoaded(welcomeMessage: WelcomeMessage): void {\n setProperties(this, {\n sendGuestsEmailOn: welcomeMessage.sendEmailToAllGuestsEnabled,\n sendNonGuestsEmailOn: welcomeMessage.sendEmailToNonGuestsEnabled,\n sendGuestsTextOn: welcomeMessage.sendTextToAllGuestsEnabled,\n sendNonGuestsTextOn: welcomeMessage.sendTextToNonGuestsEnabled\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/settings/welcome-message': WelcomeMessageController;\n }\n}\n","import { service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberGroupSettingsWelcomeMessage } from '../../../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type WelcomeMessage from 'customer-site/models/enterprise/settings/welcome-message';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseSettingsRoute from '../route';\n\n/**\n * @classdesc\n * Turn on or off welcome message settings.\n */\nexport default class EnterpriseSettingsWelcomeMessageRoute extends BaseRoute {\n @service declare store: Store;\n\n routeId = EmberGroupSettingsWelcomeMessage;\n\n model(): { welcomeMessage: ADCAsyncStoreFindRecord } {\n const m = this.modelFor>('enterprise.settings');\n\n return {\n ...m,\n welcomeMessage: this.store.findRecord('enterprise/settings/welcome-message', m.systemGroupId, {\n reload: true\n })\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport { isDestroyed } from '@adc/ember-utils/utils/ember-helpers';\nimport { action, computed, get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { NINE_AM, FIVE_PM, DEFAULT_DAYS } from 'customer-site/components/users/item/access-period/index';\nimport TemporarySchedule from 'customer-site/utils/transforms-objects/temporary-schedule';\nimport WeeklySchedule from 'customer-site/utils/transforms-objects/weekly-schedule';\nimport addMonths from 'date-fns/addMonths';\nimport DeviceAccessController from '../device-access/controller';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type DeviceAccessModel from 'customer-site/models/users/access/device-access';\nimport type UsersPermissionsCollectionModel from 'customer-site/models/users/permissions-collection';\n\n/**\n * @classdesc\n * The route controller for editing a users access period.\n */\nexport default class EnterpriseAccessPeriodController extends DeviceAccessController {\n @service declare intl: ADCIntlService;\n @service declare notificationManager: NotificationManager;\n\n resolvedModel?: {\n deviceAccess: DeviceAccessModel;\n permissions: UsersPermissionsCollectionModel;\n };\n\n /**\n * Represents a copy of the WeeklySchedule object on deviceAccess. Should always have a value passed up from the component,\n * but if not default to the values below.\n */\n @tracked\n weeklyScheduleCopy = new WeeklySchedule(this, {\n beginTime: this.resolvedModel?.deviceAccess.weeklySchedule?.beginTime ?? NINE_AM,\n endTime: this.resolvedModel?.deviceAccess.weeklySchedule?.endTime ?? FIVE_PM,\n selectedDays: this.resolvedModel?.deviceAccess.weeklySchedule?.selectedDays ?? DEFAULT_DAYS\n });\n\n /**\n * Represents a copy of the TemporarySchedule object on deviceAccess.\n */\n @tracked\n temporaryScheduleCopy = new TemporarySchedule(this, {\n beginDateTime: this.resolvedModel?.deviceAccess.temporarySchedule?.beginDateTime ?? new Date(),\n endDateTime: this.resolvedModel?.deviceAccess.temporarySchedule?.endDateTime ?? addMonths(new Date(), 1)\n });\n\n /**\n * Should the confirm button be disabled?\n */\n @computed(\n 'resolvedModel.deviceAccess.{canChangeUserCode,hasValidSchedule,accessPointCollectionsSummary.selectedDevicesWithoutScheduleSupport}',\n 'weeklyScheduleCopy',\n 'temporaryScheduleCopy'\n )\n get isConfirmDisabled(): boolean {\n const deviceAccess = this.resolvedModel?.deviceAccess;\n if (!deviceAccess || isDestroyed(deviceAccess)) {\n return false;\n }\n\n return (\n !deviceAccess.canChangeUserCode ||\n !this.hasValidSchedule(this.temporaryScheduleCopy, this.weeklyScheduleCopy) ||\n !isEmpty(\n get(get(deviceAccess, 'accessPointCollectionsSummary') ?? {}, 'selectedDevicesWithoutScheduleSupport')\n )\n );\n }\n\n /**\n * Determines if the currently selected configuration has a valid schedule.\n */\n hasValidSchedule(temporaryScheduleCopy: TemporarySchedule, weeklyScheduleCopy: WeeklySchedule): boolean {\n if (!temporaryScheduleCopy && !weeklyScheduleCopy) {\n return true;\n }\n\n if (temporaryScheduleCopy && weeklyScheduleCopy) {\n return false;\n }\n\n return !!(temporaryScheduleCopy ?? weeklyScheduleCopy)?.isValid;\n }\n\n /**\n * Gets the text to display on the 'save' button.\n */\n @computed('resolvedModel.deviceAccess.isCreationFlow', 'isPointCentral')\n get confirmText(): string {\n const { deviceAccess } = this.resolvedModel ?? {},\n fnGetText = (key: string) => this.intl.t(`generic.${key}`);\n\n if (deviceAccess?.isCreationFlow) {\n return fnGetText(this.isPointCentral ? 'continue' : 'saveAndContinue');\n }\n\n return fnGetText('save');\n }\n\n /**\n * Method which brings up the view model up to this controller to save.\n */\n @action\n weeklyScheduleCopyUpdate(schedule: WeeklySchedule) {\n this.weeklyScheduleCopy = schedule;\n }\n\n /**\n * Method which brings up the view model up to this controller to save.\n */\n @action\n temporaryScheduleCopyUpdate(schedule: TemporarySchedule) {\n this.temporaryScheduleCopy = schedule;\n }\n\n /** @override **/\n @action\n async saveDeviceAccess(deviceAccess: DeviceAccessModel, buttonAnimation: Promise): Promise {\n // Overwrite the weeklySchedule and temporarySchedule on the model with our copy.\n deviceAccess.weeklySchedule = this.weeklyScheduleCopy;\n deviceAccess.temporarySchedule = this.temporaryScheduleCopy;\n\n return super.saveDeviceAccess(deviceAccess, buttonAnimation);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/access-period': EnterpriseAccessPeriodController;\n }\n}\n","import { EmberEnterpriseEditUserAccessPeriod, EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\nimport ResidentialAccessPeriodRoute from 'customer-site/users/edit/access-period/route';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Route for editing enterprise access period.\n */\nexport default class EnterpriseEditAccessPeriodRoute extends ResidentialAccessPeriodRoute> {\n routeId = EmberEnterpriseEditUserAccessPeriod;\n\n parentRoute = 'enterprise.users.edit';\n defaultEditRoute = EmberEnterpriseUserEdit;\n}\n","import BaseUsersAddContactRoute from 'customer-site/classes/users/edit/add-contact/route';\nimport {\n EmberEnterpriseUsersAddContactAddress,\n EmberEnterpriseEditUserContactInformation\n} from '../../../../enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EditRoute from '../route';\n\n/**\n * @classdesc\n *\n * Route for selecting type of contact address to add.\n */\nexport default class EnterpriseAddContactRoute extends BaseUsersAddContactRoute> {\n /** @override */\n routeId = EmberEnterpriseUsersAddContactAddress;\n\n /** @override */\n editUserContactInformationRouteId = EmberEnterpriseEditUserContactInformation;\n\n /** @override */\n userEditRouteName = 'enterprise.users.edit';\n}\n","import BaseController from 'customer-site/classes/users/edit/contact-information/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for editing contact information.\n */\nexport default class EnterpriseContactInfoController extends BaseController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/contact-information': EnterpriseContactInfoController;\n }\n}\n","import BaseUsersEditContactInformationRoute from 'customer-site/classes/users/edit/contact-information/route';\nimport {\n EmberEnterpriseEditUserContactInformation,\n EmberEnterpriseUsersAddContactAddress\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Route for editing contact information.\n */\nexport default class ResidentialEditContactInformationRoute extends BaseUsersEditContactInformationRoute<\n ModelFrom\n> {\n routeId = EmberEnterpriseEditUserContactInformation;\n\n userAddContactAddressRoute = EmberEnterpriseUsersAddContactAddress;\n}\n","import { action, computed, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { hasNoDeviceAccessModal } from 'customer-site/classes/helpers/pointcentral';\nimport EnterpriseDeviceAccessController, {\n hasNoDeviceAccess\n} from 'customer-site/enterprise/users/edit/device-access/controller';\nimport { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type DeviceAccessModel from 'customer-site/models/users/access/device-access';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type PointCentralShareUser from 'customer-site/services/users/pointcentral-share-user';\n\n/**\n * @classdesc\n * The enterprise access type controller. We must account for an access user that may need to saved alongside\n * device access, which is handled in the overrides below.\n */\nexport default class EnterpriseDeviceAccessAccessTypeController extends EnterpriseDeviceAccessController {\n @service declare contextManager: ContextManager;\n @service('users.pointcentral-share-user') declare pointCentralShareUser: PointCentralShareUser;\n @service declare modals: ModalService;\n\n /** @override */\n @action async saveDeviceAccess(deviceAccess: DeviceAccessModel, buttonAnimation: Promise): Promise {\n const { user, isCreationFlow } = deviceAccess;\n\n // If we are creating a PointCentral user and we have selected 'No Device Access', we need to rollback changes\n // independently here.\n if (!(this.isPointCentral && isCreationFlow && (await hasNoDeviceAccess(deviceAccess)))) {\n // User creation flow ends with setting the access type.\n set(deviceAccess, 'isCreationFlow', false);\n\n const resolvedUser = await user;\n\n // If we should send the welcome email after the user creation process, set the sendWelcomeEmailUponSave property to trigger a welcome email upon save.\n set(\n resolvedUser,\n 'sendWelcomeEmailUponSave',\n resolvedUser.shouldSendWelcomeEmailByDefault && isCreationFlow\n );\n\n // If we should send the welcome text after the user creation process, set the sendWelcomeTextUponSave property to trigger a welcome text upon save.\n set(resolvedUser, 'sendWelcomeTextUponSave', resolvedUser.shouldSendWelcomeTextByDefault && isCreationFlow);\n\n // Save device access. This must be done before saving the access plans (if any).\n return super.saveDeviceAccess(deviceAccess, buttonAnimation, isCreationFlow);\n }\n\n return new Promise((resolve) => {\n hasNoDeviceAccessModal.call(this, () => {\n set(deviceAccess, 'isCreationFlow', false);\n deviceAccess.save().then(() => {\n buttonAnimation.then((isSuccess) => {\n if (isSuccess !== false) {\n this.contextManager.transitionToPreviousRoute(EmberEnterpriseUserEdit);\n }\n });\n resolve();\n });\n });\n });\n }\n\n /** @override */\n @computed(\n 'resolvedModel.deviceAccess.{canBeSaved,userTypeSupportsDeviceAccess,accessControlUser,accessPointCollectionsSummary.hasBeenModified}'\n )\n get canBeSaved(): boolean {\n const { resolvedModel } = this;\n if (!resolvedModel) {\n return false;\n }\n\n const { accessControlUser, isCreationFlow } = resolvedModel.deviceAccess;\n\n // This user can be saved if it is a newly created user,\n // if we have changed device access,\n // or if we have updated its associated access control user.\n return !!(isCreationFlow || super.canBeSaved || accessControlUser);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/device-access/access-type': EnterpriseDeviceAccessAccessTypeController;\n }\n}\n","import BaseDeviceAccessRoute from 'customer-site/classes/users/edit/device-access/base-device-access-route';\nimport { EmberEnterpriseEditUserDeviceAccessAccessType } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Route to edit the device access type for this user.\n */\nexport default class AccessTypeRoute extends BaseDeviceAccessRoute> {\n routeId = EmberEnterpriseEditUserDeviceAccessAccessType;\n}\n","import { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport Controller from '@ember/controller';\nimport { action, computed, set } from '@ember/object';\nimport { alias, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { hasNoDeviceAccessModal } from 'customer-site/classes/helpers/pointcentral';\nimport {\n cancelEditPointCentralUser,\n handleAdditionalPointCentralDeviceAccessSaveSteps\n} from 'customer-site/classes/helpers/pointcentral';\nimport {\n userTypeSupportsDeviceAccess,\n getNextRouteForCreation\n} from 'customer-site/classes/users/edit/base-user-edit-controller';\nimport { ACCESS_TYPE_BULK_ACTIONS_BATCH_SIZE } from 'customer-site/components/users/item/device-access/access-type-bulk-actions/index';\nimport {\n EmberEnterpriseEditUserDeviceAccess,\n EmberEnterpriseEditUserDeviceAccessUserCode\n} from 'customer-site/enums/CustomerPageUrl';\nimport AccessPointCollectionsSummaryModel from 'customer-site/models/users/access/access-point-collections-summary';\nimport { reject, resolve } from 'rsvp';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type DeviceAccessModel from 'customer-site/models/users/access/device-access';\nimport type BasePermissionsCollection from 'customer-site/models/users/base-permissions-collection';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * Save device access for a PointCentral user. If we are in the user creation flow, don't save device access until after the creation\n * process is over. If we are attempting to save no device access to the user, show a confirmation message.\n */\nfunction saveDeviceAccessPointCentral(\n this: EnterpriseDeviceAccessController,\n deviceAccess: DeviceAccessModel,\n buttonAnimation: Promise,\n isNew = false\n): void | Promise {\n if (deviceAccess.isCreationFlow) {\n this.navigation.replaceWithRouteId(\n getNextRouteForCreation(this.contextManager),\n deviceAccess.belongsTo('user').id()\n );\n\n return;\n }\n\n return (async () => {\n const fnSave = () => saveAdcDeviceAccess.call(this, deviceAccess, buttonAnimation, isNew);\n\n if (await hasNoDeviceAccess(deviceAccess)) {\n return hasNoDeviceAccessModal.call(this, () => fnSave());\n }\n\n return fnSave();\n })();\n}\n\n/**\n * Checks to see if the user has no devices that it has access to.\n * This can happen if we've selected no devices, access plans, or E+F access in the UI.\n */\nexport async function hasNoDeviceAccess(deviceAccess: DeviceAccessModel): Promise {\n const { hasNoDeviceAccess, systemGroupIdsWithExistingPlusFutureAccess } =\n await deviceAccess.accessPointCollectionsSummary;\n\n return (\n hasNoDeviceAccess &&\n isEmpty(systemGroupIdsWithExistingPlusFutureAccess) &&\n isEmpty(deviceAccess.accessControlUser?.accessPlans ?? [])\n );\n}\n\n/**\n * Save device access and add success (or error) message.\n */\nexport async function saveAdcDeviceAccess(\n this: EnterpriseDeviceAccessController,\n deviceAccess: DeviceAccessModel,\n buttonAnimation: Promise,\n isNew = false\n): Promise {\n const { contextManager, notificationManager, intl } = this,\n { isCreationFlow } = deviceAccess;\n\n if (isCreationFlow) {\n await deviceAccess.validateUserCode().catch((error) => {\n const errorMessage = error.errors[0]?.detail || error.errors?.errors[0]?.detail;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n set(deviceAccess.errors, 'userCode', A([{ message: errorMessage }]));\n return reject();\n });\n\n this.navigation.replaceWithRouteId(\n getNextRouteForCreation(contextManager),\n deviceAccess.belongsTo('user').id()\n );\n\n return;\n }\n\n const previousUserType = deviceAccess.userType,\n previousStartDate = deviceAccess.temporarySchedule?.beginDateTime,\n previousEndDate = deviceAccess.temporarySchedule?.endDateTime,\n accessPointCollectionsSummary = await deviceAccess.accessPointCollectionsSummary,\n modelToSave = accessPointCollectionsSummary?.hasBeenModified ? accessPointCollectionsSummary : deviceAccess,\n modelSaved = await modelToSave.save();\n\n buttonAnimation\n .then(async (isSuccess) => {\n if (isSuccess !== false) {\n // PointCentral has additional steps to complete after saving device access.\n if (contextManager.isPointCentral) {\n // Handle any steps that need to be completed after device access is saved.\n await handleAdditionalPointCentralDeviceAccessSaveSteps.call(\n this,\n deviceAccess,\n previousUserType,\n previousStartDate,\n previousEndDate,\n isNew\n );\n }\n\n if (modelSaved instanceof AccessPointCollectionsSummaryModel) {\n await deviceAccess.reload();\n } else {\n accessPointCollectionsSummary.deviceAccess = modelSaved;\n }\n\n contextManager.transitionToPreviousRoute(EmberEnterpriseEditUserDeviceAccess);\n }\n\n return resolve();\n })\n .catch((error) => {\n // The user code component has its own error output so no need to display it here.\n if (contextManager.currentRouteData?.routeItem?.routeId !== EmberEnterpriseEditUserDeviceAccessUserCode) {\n notificationManager.addError(error.errors[0].detail);\n }\n\n return reject();\n });\n\n notificationManager.addSuccess(intl.t('classes.users.edit.updatesHaveBeenSaved'));\n}\n\n/**\n * @classdesc\n * Base enterprise controller for all it's routes.\n */\nexport default class EnterpriseDeviceAccessController extends Controller {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n @service declare modals: ModalService;\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n @tracked resolvedModel?: {\n deviceAccess: DeviceAccessModel;\n permissions: BasePermissionsCollection;\n };\n\n /**\n * The amount of locations to display.\n */\n @tracked\n numLocationsToDisplay = ACCESS_TYPE_BULK_ACTIONS_BATCH_SIZE;\n\n /**\n * The search string to filter the locations that appear on the page.\n */\n searchString = '';\n\n /**\n * Are we in a PointCentral context?\n */\n @alias('contextManager.isPointCentral')\n declare isPointCentral: boolean;\n\n /**\n * Notifications Only users are not allowed device access for PointCentral.\n */\n @computed('isPointCentral', 'resolvedModel.deviceAccess.resolvedUserType')\n get userTypeSupportsDeviceAccess(): boolean {\n const { deviceAccess } = this.resolvedModel ?? {};\n return !!deviceAccess && userTypeSupportsDeviceAccess(deviceAccess, this.isPointCentral);\n }\n\n /**\n * Can this user be saved and does the user's type allow for device access?\n *\n * NOTE: This is used in the template to control the confirmDisabled boolean.\n * Using the property directly results in an ember error when you visit the route a second time.\n */\n @computed('relevantModelsCanBeSaved', 'userTypeSupportsDeviceAccess')\n get canBeSaved(): boolean {\n return this.relevantModelsCanBeSaved && this.userTypeSupportsDeviceAccess;\n }\n\n /**\n * Can the deviceAccess or its accessPointCollectionsSummary be saved?\n */\n @or(\n 'resolvedModel.deviceAccess.accessPointCollectionsSummary.hasBeenModified',\n 'resolvedModel.deviceAccess.canBeSaved'\n )\n declare relevantModelsCanBeSaved: boolean;\n\n /**\n * Saves the device access model.\n */\n @action async saveDeviceAccess(\n deviceAccess: DeviceAccessModel,\n buttonAnimation: Promise,\n isNew = false\n ): Promise {\n return this.isPointCentral\n ? saveDeviceAccessPointCentral.call(this, deviceAccess, buttonAnimation, isNew)\n : saveAdcDeviceAccess.call(this, deviceAccess, buttonAnimation);\n }\n\n /**\n * Upon pressing the cancel button upon PointCentral user creation, show a confirmation modal.\n * If not part of the PointCentral user creation process, go back to the previous route.\n */\n @action\n cancelEdit(): void {\n const deviceAccess = this.resolvedModel?.deviceAccess;\n if (deviceAccess) {\n if (this.isPointCentral && deviceAccess.isCreationFlow) {\n cancelEditPointCentralUser.call(this, deviceAccess);\n return;\n }\n }\n\n // Default action.\n this.contextManager.transitionToPreviousRoute();\n }\n\n /**\n * Reload user permissions.\n */\n syncUserPermissions(): void {\n // Reload the users permissions because information about the duress users may have changed.\n this.resolvedModel?.permissions?.reload();\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/device-access': EnterpriseDeviceAccessController;\n }\n}\n","import AdcBaseRoute from '../../../../../classes/base-route';\nimport { EmberEnterpriseEditUserDeviceAccess } from '../../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Index route for editing device access for different locations.\n *\n * @class enterprise.users.edit.device-access.index.Route\n * @extends classes.BaseRoute\n */\nexport default class EnterpriseDeviceAccessIndexRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberEnterpriseEditUserDeviceAccess;\n\n /** @override */\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-shared-templates\n templateName = 'enterprise.users.edit.device-access.index';\n\n // TODO: This ignore is an existing deprecation that must be refactored, do not copy this usage\n // eslint-disable-next-line @adc/ember/no-shared-controllers\n controllerName = 'enterprise/users/edit/device-access';\n}\n","import { action } from '@ember/object';\nimport { setProperties } from '@ember/object';\nimport EnterpriseDeviceAccessController from 'customer-site/enterprise/users/edit/device-access/controller';\n\nimport type DeviceAccessModel from 'customer-site/models/users/access/device-access';\n\n/**\n * @classdesc\n * Controller for enterprise user device-access location-devices route.\n */\nexport default class Controller extends EnterpriseDeviceAccessController {\n @action async saveDeviceAccess(deviceAccess: DeviceAccessModel, buttonAnimation: Promise): Promise {\n // Since we're setting location-specific device access here, we need to revoke the all-access type.\n setProperties(deviceAccess, {\n isAllAccessUser: false,\n isCreationFlow: false\n });\n\n return super.saveDeviceAccess(deviceAccess, buttonAnimation);\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/device-access/location-devices': Controller;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseDeviceAccessRoute from 'customer-site/classes/users/edit/device-access/base-device-access-route';\nimport { EmberEnterpriseEditUserDeviceAccessLocationDevices } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type System from 'customer-site/models/systems/system';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\ntype ParentModel = ModelFrom;\n\ntype RouteModel = {\n deviceAccess: ParentModel['deviceAccess'];\n system: ADCAsyncStoreFindRecord;\n};\n\n/**\n * @classdesc\n * Route to edit individual location device access\n */\nexport default class LocationDevicesRoute extends BaseDeviceAccessRoute {\n @service declare store: Store;\n\n routeId = EmberEnterpriseEditUserDeviceAccessLocationDevices;\n\n /** @override */\n model({ id_system }: { id_system: string }): RouteModel {\n return {\n deviceAccess: (this.modelFor('enterprise.users.edit.device-access') as ParentModel).deviceAccess,\n system: this.store.findRecord('systems/system', id_system)\n };\n }\n}\n","import { get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberEnterpriseEditUserDeviceAccess } from 'customer-site/enums/CustomerPageUrl';\nimport ResidentialDeviceAccessRoute from 'customer-site/users/edit/device-access/route';\n\nimport type Store from '@ember-data/store';\nimport type Transition from '@ember/routing/transition';\nimport type SystemGroup from 'customer-site/models/systems/system-group';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\n/**\n * @classdesc\n * The route for editing a users device access.\n */\nexport default class EnterpriseDeviceAccessRoute extends ResidentialDeviceAccessRoute<{\n systemGroups: ADCAsyncStoreQuery;\n}> {\n @service declare store: Store;\n @service declare contextManager: ContextManager;\n\n routeId = EmberEnterpriseEditUserDeviceAccess;\n\n parentRoute = 'enterprise.users.edit';\n\n model(\n params: any,\n transition: Transition\n ): ModelFrom }>> {\n const model = super.model(params, transition);\n\n return {\n ...model,\n systemGroups: this.store.query('systems/system-group', {\n type: 'withUserPermissions',\n userType: get(model.deviceAccess, 'resolvedUserType')\n })\n };\n }\n}\n","import { action, computed } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\nimport { getNextRouteForCreation } from 'customer-site/classes/users/edit/base-user-edit-controller';\nimport { EmberEnterpriseEditUserDeviceAccess } from 'customer-site/enums/CustomerPageUrl';\nimport EnterpriseDeviceAccessController from '../controller';\n\nimport type DeviceAccessModel from 'customer-site/models/users/access/device-access';\n\n/**\n * @classdesc\n * The controller behind the enterprise user code page.\n */\nexport default class EnterpriseUserCodeController extends EnterpriseDeviceAccessController {\n /**\n * Determines whether to disable the save button.\n */\n @computed('isPointCentral', 'canBeSaved', 'resolvedModel.deviceAccess.canChangeUserCode')\n get confirmDisabled(): boolean {\n if (this.isPointCentral && this.resolvedModel?.deviceAccess?.canChangeUserCode) {\n return false;\n }\n\n return !this.canBeSaved;\n }\n\n /**\n * Determines the text to show on the 'Save' button on the enterprise user code page.\n */\n @computed('resolvedModel.deviceAccess.isCreationFlow', 'isPointCentral')\n get confirmText(): string {\n const { intl } = this,\n isCreationFlow = this.resolvedModel?.deviceAccess?.isCreationFlow ?? false;\n\n if (this.isPointCentral) {\n return intl.tc(this, isCreationFlow ? 'generateCodeAndContinue' : 'generateNewCodeAndSave');\n }\n\n return intl.t(isCreationFlow ? 'generic.saveAndContinue' : 'generic.save');\n }\n\n /**\n * Whether or not the user has access to armed partitions that do not allow changes while armed.\n */\n @notEmpty('resolvedModel.deviceAccess.accessPointCollectionsSummary.selectedUnchangeablePartitionAccessPoints')\n declare hasUnchangeablePartitions: boolean;\n\n /**\n * Generates a new code for the PointCentral user and saves all at once. If successful,\n * transition to previous page after.\n */\n @action\n async generateNewCodeAndSave(\n deviceAccessProxy: Promise,\n buttonAnimation: Promise\n ): Promise {\n const deviceAccess = await deviceAccessProxy,\n { isCreationFlow } = deviceAccess,\n { contextManager } = this;\n\n await deviceAccess.generateNewCodeAndSave();\n await deviceAccess.reload();\n\n buttonAnimation.then((isSuccess) => {\n if (isSuccess !== false) {\n if (isCreationFlow) {\n this.navigation.replaceWithRouteId(\n getNextRouteForCreation(contextManager),\n deviceAccess.belongsTo('user').id()\n );\n return;\n }\n\n contextManager.transitionToPreviousRoute(EmberEnterpriseEditUserDeviceAccess);\n this.notificationManager.addSuccess(this.intl.t('classes.users.edit.updatesHaveBeenSaved'));\n }\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/device-access/user-code': EnterpriseUserCodeController;\n }\n}\n","import BaseDeviceAccessRoute from 'customer-site/classes/users/edit/device-access/base-device-access-route';\nimport { EmberEnterpriseEditUserDeviceAccessUserCode } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Component for user code and random generation.\n */\nexport default class UserCodeRoute extends BaseDeviceAccessRoute> {\n routeId = EmberEnterpriseEditUserDeviceAccessUserCode;\n}\n","import {\n EmberEnterpriseEditUserInformation,\n EmberEnterpriseUserEditLanguage,\n EmberEnterpriseEditUserAccessPeriod,\n EmberEnterpriseEditUserDeviceAccess,\n EmberEnterpriseEditUserContactInformation,\n EmberEnterpriseUsersAddContactAddress,\n EmberEnterpriseEditUserType,\n EmberEnterpriseEditUserDeviceAccessUserCode,\n EmberEnterpriseEditUserAttributes,\n EmberEnterpriseEditUserAttributesEdit,\n EmberEnterpriseUsersUsername,\n EmberEnterpriseUsers\n} from 'customer-site/enums/CustomerPageUrl';\nimport BaseUsersEditIndexController from 'customer-site/users/edit/index/controller';\n\nexport default class EnterpriseUsersEditIndexController extends BaseUsersEditIndexController {\n enterpriseRouteMap = {\n accessPeriod: EmberEnterpriseEditUserAccessPeriod,\n deviceAccess: EmberEnterpriseEditUserDeviceAccess,\n userInformation: EmberEnterpriseEditUserInformation,\n languagePreference: EmberEnterpriseUserEditLanguage,\n userType: EmberEnterpriseEditUserType,\n userCode: EmberEnterpriseEditUserDeviceAccessUserCode,\n addNewUserAttribute: EmberEnterpriseEditUserAttributes,\n editUserAttribute: EmberEnterpriseEditUserAttributesEdit,\n username: EmberEnterpriseUsersUsername,\n usernameRedirect: EmberEnterpriseUsers,\n userAddContactAddressRoute: EmberEnterpriseUsersAddContactAddress,\n userEditContactInformationRoute: EmberEnterpriseEditUserContactInformation\n };\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/index': EnterpriseUsersEditIndexController;\n }\n}\n","import { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\nimport UsersEditIndexRoute from 'customer-site/users/edit/index/route';\n\n/**\n * @classdesc\n * Index route for editing users.\n */\nexport default class EnterpriseUsersEditIndexRoute extends UsersEditIndexRoute {\n /** @override */\n routeId = EmberEnterpriseUserEdit;\n}\n","import BaseController from 'customer-site/classes/users/edit/base-user-edit-controller';\nimport { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type User from 'customer-site/models/users/user';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\nexport default class EnterpriseLanguageController extends BaseController> {\n baseUserEditRoute = EmberEnterpriseUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/language': EnterpriseLanguageController;\n }\n}\n","import BaseUsersLanguageRoute from 'customer-site/classes/users/edit/language/route';\nimport { EmberEnterpriseUserEditLanguage } from '../../../../enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * The route for editing user-information.\n *\n */\nexport default class EnterpriseLanguageRoute extends BaseUsersLanguageRoute {\n routeId = EmberEnterpriseUserEditLanguage;\n\n userEditRouteName = 'enterprise.users.edit';\n}\n","import LinkLoginBaseController from 'customer-site/classes/users/edit/link-login/controller';\nimport { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for selecting a login ID for linking a login to a user.\n */\nexport default class EnterpriseUsersLinkLoginController extends LinkLoginBaseController> {\n baseUserEditRoute = EmberEnterpriseUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/link-login': EnterpriseUsersLinkLoginController;\n }\n}\n","import BaseEditUserLinkLoginRoute from 'customer-site/classes/users/edit/link-login/route';\nimport { EmberEnterpriseUsersLinkLogin } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\ntype RouteModel = ModelFrom;\n\n/**\n * @classdesc\n * Route for selecting a login ID for linking a login to a user.\n */\nexport default class EnterpriseUsersEditLinkLoginRoute extends BaseEditUserLinkLoginRoute {\n routeId = EmberEnterpriseUsersLinkLogin;\n}\n","import BaseNewUserAddContactInformationController from 'customer-site/classes/users/edit/new-user-add-contact-information/controller';\nimport { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * The controller for the enterprise new user add contact information route.\n */\nexport default class EnterpriseNewUserAddContactInformation extends BaseNewUserAddContactInformationController<\n ModelFrom\n> {\n baseUserEditRoute = EmberEnterpriseUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/new-user-add-contact-information': EnterpriseNewUserAddContactInformation;\n }\n}\n","import BaseNewUserAddContactInformationRoute from 'customer-site/classes/users/edit/new-user-add-contact-information/route';\nimport { EmberEnterpriseUsersAddContactAddressDuringUserCreation } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * The route to add contact information to an enterprise user during user creation..\n */\nexport default class Route extends BaseNewUserAddContactInformationRoute> {\n routeId = EmberEnterpriseUsersAddContactAddressDuringUserCreation;\n\n parentRoute = 'enterprise.users.edit';\n}\n","import { EmberEnterpriseUserEditNotSupported } from '../../../../enums/CustomerPageUrl';\nimport BaseNotSupportedRoute from '../../../../users/edit/not-supported/route';\n\n/**\n * @classdesc\n * A route displaying a message saying editing of this user is not supported.\n */\nexport default class EnterpriseUsersEditNotSupportedRoute extends BaseNotSupportedRoute {\n routeId = EmberEnterpriseUserEditNotSupported;\n}\n","import { EmberEnterpriseUserEdit, EmberEnterpriseUserEditNotSupported } from 'customer-site/enums/CustomerPageUrl';\nimport ResidentialUserEditRoute from 'customer-site/users/edit/route';\n\nimport type Transition from '@ember/routing/transition';\nimport type DeviceAccessModel from 'customer-site/models/users/access/device-access';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\ntype EnterpriseUserEditModel = ModelFrom;\n\n/**\n * @classdesc\n * Route for editing an existing enterprise user\n */\nexport default class EnterpriseEditRoute extends ResidentialUserEditRoute {\n routeId = EmberEnterpriseUserEdit;\n\n baseUsersRouteName = 'enterprise/users';\n userEditNotSupportedRoute = EmberEnterpriseUserEditNotSupported;\n\n model(\n params: { id_user: string },\n transition: Transition\n ): EnterpriseUserEditModel & { deviceAccess?: Promise } {\n const baseModel = super.model(params, transition);\n\n if (!baseModel.isNew) {\n const { user } = baseModel;\n if (user) {\n Object.assign(baseModel, {\n deviceAccess: Promise.resolve(user).then((user) => user?.deviceAccess)\n });\n }\n }\n\n return baseModel;\n }\n}\n","import BaseUserAttributesEditRoute from 'customer-site/classes/users/edit/user-attributes/edit/route';\nimport { EmberEnterpriseEditUserAttributesEdit } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for editing a single contact attribute.\n *\n */\nexport default class Route extends BaseUserAttributesEditRoute {\n /** @override */\n routeId = EmberEnterpriseEditUserAttributesEdit;\n\n userAttributesRouteName = 'enterprise.users.edit.userAttributes';\n}\n","import BaseUserAttributesIndexRoute from 'customer-site/classes/users/edit/user-attributes/index/route';\nimport {\n EmberEnterpriseEditUserAttributes,\n EmberEnterpriseEditUserAttributesEdit\n} from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Route for user attributes.\n */\nexport default class Route extends BaseUserAttributesIndexRoute {\n // region override properties\n /** @override */\n routeId = EmberEnterpriseEditUserAttributes;\n\n /** @override */\n editUserAttributeRouteId = EmberEnterpriseEditUserAttributesEdit;\n\n /** @override */\n userEditRouteName = 'enterprise.users.edit';\n}\n","import { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\nimport ResidentialUserInfoController from 'customer-site/users/edit/user-information/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller for editing the User Information section of a {@link models.users.User} model.\n */\nexport default class EnterpriseUsersEditUserInformationController extends ResidentialUserInfoController {\n declare model: ModelFrom;\n\n baseUserEditRoute = EmberEnterpriseUserEdit;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/user-information': EnterpriseUsersEditUserInformationController;\n }\n}\n","import { EmberEnterpriseEditUserInformation } from 'customer-site/enums/CustomerPageUrl';\nimport ResidentialUserInformationRoute from 'customer-site/users/edit/user-information/route';\n\nexport default class EnterpriseUsersEditUserInformationRoute extends ResidentialUserInformationRoute {\n routeId = EmberEnterpriseEditUserInformation;\n}\n","import { alias } from '@ember/object/computed';\nimport { EmberEnterpriseUserEdit } from 'customer-site/enums/CustomerPageUrl';\nimport BaseUserTypeController from 'customer-site/users/edit/user-type/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The controller for editing the user's \"type\".\n */\nexport default class EnterpriseUsersEditUserTypeController extends BaseUserTypeController {\n declare model: ModelFrom;\n\n baseUserEditRoute = EmberEnterpriseUserEdit;\n\n @alias('resolvedModel.deviceAccess.canBeSaved')\n declare canBeSaved: boolean;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/edit/user-type': EnterpriseUsersEditUserTypeController;\n }\n}\n","import { EmberEnterpriseEditUserType } from 'customer-site/enums/CustomerPageUrl';\nimport BaseUserTypeRoute from 'customer-site/users/edit/user-type/route';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\n\n/**\n * @classdesc\n * Route for editing the \"type\" of user (e.g. Arm Only, Guest, etc).\n */\nexport default class EnterpriseUsersEditUserTypeRoute extends BaseUserTypeRoute> {\n routeId = EmberEnterpriseEditUserType;\n\n parentRoute = 'enterprise.users.edit';\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseUsersUsername } from 'customer-site/enums/CustomerPageUrl';\n\nexport default class EnterpriseUsersEditUsername extends AdcBaseRoute {\n /** @override */\n routeId = EmberEnterpriseUsersUsername;\n}\n","import { tracked } from '@glimmer/tracking';\nimport { isMobileBrowser } from '@adc/ember-utils/utils/browser-helpers';\nimport { computed, action } from '@ember/object';\nimport { alias, bool } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport BaseController, { USERS_BATCH_SIZE } from 'customer-site/classes/users/index/base-controller';\nimport { MasterCodeUser as LockMasterCodeUser } from 'customer-site/enums/AccessPointUserType';\nimport { MasterCodeUser } from 'customer-site/enums/ContactUserType';\nimport { UsersQuickFiltersTour } from 'customer-site/enums/HelpTourType';\nimport { MasterCodeUser as PointCentralMasterCodeUser } from 'customer-site/enums/PointCentralUserType';\nimport { openDownloadUsersWarningModal } from 'customer-site/utils/users';\nimport DropdownActionItem from '@adc/ui-components/utils/dropdown-action-item';\nimport {\n EmberEnterpriseUserEdit,\n EmberEnterpriseUserEditNotSupported,\n EmberEnterpriseEditUserInformation,\n EnterpriseUsers\n} from '../../../enums/CustomerPageUrl';\nimport { startQuickFiltersTour } from '../quick-filters-tour/tour';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type EnterpriseUsersFilterManager from 'customer-site/classes/enterprise/users/filter-manager';\nimport type { UserFilterSelection } from 'customer-site/classes/enterprise/users/filter-manager';\nimport type { UserQuery } from 'customer-site/classes/users/index/base-controller';\nimport type CustomerSiteIntlService from 'customer-site/services/intl';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n *\n * Views all enterprise users in a system group.\n */\nexport default class EnterpriseUsersIndexController extends BaseController> {\n @service declare troubleConditions: ServiceRegistry['trouble-conditions'];\n @service declare router: ServiceRegistry['router'];\n @service declare intl: CustomerSiteIntlService;\n @service declare modals: ModalService;\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare store: ServiceRegistry['store'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n\n @tracked resolvedModel?: Pick, 'permissions' | 'mobileCredentialUtilization'>;\n\n routeMap = {\n userEdit: EmberEnterpriseUserEdit,\n userEditNotSupported: EmberEnterpriseUserEditNotSupported,\n editUserInformation: EmberEnterpriseEditUserInformation\n };\n\n /**\n * Indicates whether we are in bulk actions for inactive users mode.\n */\n @tracked onlyInactiveUsers = false;\n\n /**\n * Filter manager passed from route.\n */\n @tracked\n filtersManager?: EnterpriseUsersFilterManager;\n\n /**\n * Whether we are in a PointCentral context.\n */\n @alias('identityManager.isPointCentral')\n declare isPointCentral: boolean;\n\n /**\n * Is the PCMC feature toggle turned on?\n */\n @bool('identityManager.pointCentralIdentity.hasPointCentralMobileCredentialsFeatureToggle')\n declare hasPointCentralMobileCredentialsFeatureToggle: boolean;\n\n /**\n * Shortcut to the list of alarm trouble conditions on the current context.\n */\n @alias('troubleConditions.alerts')\n declare alarms: ServiceRegistry['trouble-conditions']['alerts'];\n\n /**\n * Should we display a 'loading' symbol on the users page?\n */\n @computed('usersCount')\n get displayLoadingIcon() {\n return !isMobileBrowser() && this.usersCount === undefined;\n }\n\n /**\n * Tells the route view how many containers we intend on rendering. Used for accurate metric kpi threshold metric tracking.\n */\n @computed('hasPointCentralMobileCredentialsFeatureToggle', 'resolvedModel.permissions.viewMobileCredential')\n get numOfContainersToRender() {\n return this.resolvedModel?.permissions.viewMobileCredential &&\n this.hasPointCentralMobileCredentialsFeatureToggle\n ? 2\n : 1;\n }\n\n @computed(\n 'hasUsersPageBulkActionsBeta',\n 'hideUserCodes',\n 'identityManager.{isMobileApp,isPointCentral,identityModel.hasProgrammingCodeAsDeviceSettingFeatureToggle}',\n 'resolvedModel.permissions.{canCreateLockMasterCodeUser,canRequestUserCodes,canRestoreUserCodes,canViewUserCodes,hideAllPinsGroupSettingEnabled,userPinChangesAllowedOnDevices}'\n )\n get toolsDropdownButtons(): DropdownActionItem[] {\n const { resolvedModel } = this;\n if (!resolvedModel) {\n return [];\n }\n\n const { intl, identityManager } = this,\n { permissions } = resolvedModel,\n links: DropdownActionItem[] = [],\n fnAddItem = (\n action: DropdownActionItem['action'],\n icon: DropdownActionItem['icon'],\n name = icon,\n disabled = false\n ) =>\n links.push(\n DropdownActionItem.create({\n action,\n icon,\n name,\n disabled\n })\n );\n\n const { userPinChangesAllowedOnDevices, exportPanelSlotNumbersUrl, downloadUsersUrl } = permissions,\n isMobileApp = identityManager.isMobileApp;\n\n // Add the bulk actions button to the more dropdown menu\n if (this.hasUsersPageBulkActionsBeta) {\n fnAddItem(() => this.toggleBulkEditMode(), 'edit', intl.t('users.index.usersPageBulkActions'));\n }\n\n // Add button to toggle user code visibility.\n if (permissions.canViewUserCodes && !permissions.hideAllPinsGroupSettingEnabled) {\n fnAddItem(\n () => this.toggleUsersProperty('hideUserCodes'),\n 'backup-codes',\n intl.t(`users.index.${this.hideUserCodes ? 'showUserCodes' : 'hideUserCodes'}`)\n );\n }\n\n // Add button to download users.\n if (downloadUsersUrl && !(isMobileApp || isMobileBrowser())) {\n const buttonTitle = this.intl.tc(this, 'downloadUsers');\n fnAddItem(\n () =>\n openDownloadUsersWarningModal(this.modals, buttonTitle, intl, () => {\n window.open(downloadUsersUrl, '_blank');\n }),\n 'download',\n buttonTitle\n );\n }\n\n // Add button for requesting panel user codes.\n if (permissions.canRequestUserCodes) {\n fnAddItem(\n () =>\n this.getUserCodeAction(\n 'requestPanelUserCodes',\n 'requestUserCodesConfirm',\n 'generic.request',\n 'requestPanelUserCodes'\n ),\n userPinChangesAllowedOnDevices ? 'upload' : 'access-none',\n intl.tc(this, 'requestPanelUserCodes'),\n !userPinChangesAllowedOnDevices\n );\n }\n\n // Add button for restoring panel user codes.\n if (permissions.canRestoreUserCodes) {\n fnAddItem(\n () =>\n this.getUserCodeAction(\n 'restorePanelUserCodes',\n 'restoreUserCodesConfirm',\n 'generic.restore',\n 'restorePanelUserCodes',\n true\n ),\n userPinChangesAllowedOnDevices ? 'download' : 'sync',\n intl.tc(this, 'restorePanelUserCodes'),\n !userPinChangesAllowedOnDevices\n );\n }\n\n // Add button for exporting panel slot numbers.\n if (exportPanelSlotNumbersUrl && !isMobileApp) {\n fnAddItem(\n () => window.open(exportPanelSlotNumbersUrl, '_blank'),\n 'panel',\n intl.t('users.index.exportPanelSlotNumbers')\n );\n }\n\n // Add button to create a lock master code user.\n if (\n permissions.canCreateLockMasterCodeUser &&\n !identityManager.identityModel?.hasProgrammingCodeAsDeviceSettingFeatureToggle\n ) {\n fnAddItem(() => this.createLockMasterCodeUser(), 'lock', intl.tc(this, 'createLockMasterCodeUser'));\n }\n\n // Add button to show legacy users page.\n if (identityManager.isPointCentral && !!this.navigation.getRouteItem(EnterpriseUsers)) {\n fnAddItem(() => this.transitionToLegacyPage(), 'feature-users', intl.tc(this, 'visitOldUsersPage'));\n }\n\n return links;\n }\n\n /**\n * Opens the bulk actions mode to edit only inactive users.\n */\n @action openInactiveUsersEdit(): void {\n this.onlyInactiveUsers = true;\n this.openBulkActions();\n this.clearUserSelections();\n this.clearUserData();\n }\n\n /**\n * Closes the bulk actions mode for editing only inactive users.\n */\n @action closeInactiveUsersEdit(): void {\n this.onlyInactiveUsers = false;\n this.closeBulkActions();\n this.clearUserSelections();\n this.clearUserData();\n }\n\n toggleBulkEditMode(): void {\n if (this.onlyInactiveUsers) {\n // Switch to regular bulk actions mode.\n this.onlyInactiveUsers = false;\n this.clearUserSelections();\n this.clearUserData();\n return;\n }\n\n super.toggleBulkEditMode();\n }\n\n /**\n * Apply the filter selection and get a new list of users.\n */\n @action\n applyFilters(filterSelection: { queryParams: UserFilterSelection }): void {\n // Unselect all users first\n this.clearUserSelections();\n this.clearUserData(false);\n\n const { queryParams } = filterSelection;\n\n // If the search string is empty, set it to undefined to remove the search string from the filtering.\n if (queryParams.searchString?.length === 0) {\n queryParams.searchString = undefined;\n }\n\n this.router\n .transitionTo({\n queryParams: {\n ...queryParams\n }\n })\n .then(() => this.loadMoreUsers.perform());\n }\n\n currentLoadUsersRequestId = '';\n\n private async loadUsers(batchSize = USERS_BATCH_SIZE): Promise {\n const requestId = this.currentLoadUsersRequestId,\n {\n model: { userFilterSelection }\n } = this;\n\n const users = await this.store.query('users/user', {\n searchString: userFilterSelection.searchString,\n batchSize,\n startIndex: this.users.length,\n includeChildScope: false,\n sortByAccess: (await this.model.permissions).sortUsersByAccess,\n onlyInactiveUsers: this.onlyInactiveUsers,\n ...userFilterSelection,\n pinStartDate: userFilterSelection.pinStartDate?.toISOString(),\n pinEndDate: userFilterSelection.pinEndDate?.toISOString()\n });\n\n //Prevents older requests from rendering and causing a UI flickering\n if (this.currentLoadUsersRequestId === requestId) {\n this.addLoadedUsers(users as unknown as UserQuery);\n }\n }\n\n /**\n * Invalidate the current request by changing the requestId.\n */\n @action\n refreshCurrentLoadUsersRequestId(): void {\n this.currentLoadUsersRequestId = crypto.randomUUID();\n }\n\n /**\n * Loads the next batch of users.\n */\n loadMoreUsers = task({ restartable: true }, async () => {\n await this.loadUsers();\n });\n\n /**\n * Loads all users.\n */\n @action async ensureAllUsersLoaded(): Promise {\n const { usersCount = 0 } = this,\n { length } = this.users;\n\n // Are all users NOT loaded?\n if (length < usersCount) {\n await this.loadUsers(usersCount - length);\n }\n }\n\n /**\n * Gets actions for requesting/restoring user code dropdown options.\n */\n getUserCodeAction(\n titleKey: string,\n confirmTextKey: string,\n confirmBtnTextKey: string,\n apiMethodName: string,\n setPinChangedAllowedToFalse = false\n ): void {\n const { notificationManager, intl } = this;\n\n // Create confirmation dialog promise\n this.modals.showConfirmationDialog(intl.tc(this, titleKey), intl.tc(this, confirmTextKey), {\n text: intl.t(confirmBtnTextKey),\n css: 'btn-color-danger',\n action: async () => {\n try {\n const response = await this.ajax.apiRequestForValue(\n `users/access/deviceAccesses/${apiMethodName}`,\n undefined,\n null,\n 'POST'\n );\n\n if (setPinChangedAllowedToFalse) {\n // Since reloading the permissions model seems to take way too long we want to set this to false after restoring so the buttons are disabled.\n this.resolvedModel?.permissions.set('userPinChangesAllowedOnDevices', false);\n }\n\n notificationManager.addSuccess(response);\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n }\n }\n });\n }\n\n /**\n * Creates the lock master code user. This creates the user, assigns it a code, and assigns it device access.\n */\n private async createLockMasterCodeUser(): Promise {\n const { intl, notificationManager, store } = this;\n\n // Create confirmation dialog promise\n this.modals.showConfirmationDialog(\n intl.tc(this, 'createLockMasterCodeUserModalTitle'),\n intl.tc(this, 'createLockMasterCodeUserConfirmText'),\n {\n text: intl.t('generic.confirm'),\n css: 'btn-color-danger',\n action: async () => {\n let user;\n try {\n // Create a new user with its contact user type as master code user.\n user = await store\n .createRecord('users/user', {\n firstName: intl.tc(this, 'lockMasterCodeUserFirstName'),\n lastName: intl.tc(this, 'lockMasterCodeUserLastName'),\n userType: MasterCodeUser\n })\n .save();\n\n // Get a new, valid code for the master code.\n const deviceAccess = await user.deviceAccess,\n accessPointCollectionsSummary = await deviceAccess.accessPointCollectionsSummary,\n newUserCode = await this.ajax.apiRequestForValue(\n `users/access/deviceAccesses/generateUniqueUserCode/${deviceAccess.id}`\n );\n\n // Set up the device access properly, including giving device access to any lock on the currently selected group.\n deviceAccess.userCode = newUserCode;\n deviceAccess.userType = LockMasterCodeUser;\n deviceAccess.pointCentralUserType = PointCentralMasterCodeUser;\n accessPointCollectionsSummary\n .get('locksAccessPointCollections')\n .filter(\n (collection) =>\n collection.belongsTo('systemGroup').id() ===\n this.identityManager.getSelectedSystemGroupId()\n )\n .forEach((collection) =>\n collection.accessPointItems.forEach((item) => (item.hasAccess = true))\n );\n\n // Attempt to save.\n await accessPointCollectionsSummary.save();\n\n // Reload the user to get the updated device access.\n user.reload();\n\n // Transition to the user profile page of the newly created lock master code user.\n this.navigation.transitionToRouteId(EmberEnterpriseUserEdit, user.id);\n\n // Success.\n notificationManager.addSuccess(intl.tc(this, 'lockMasterCodeUserSuccess'));\n } catch (error) {\n if (user) {\n // Delete the master code user because something went wrong.\n await user.destroyRecord();\n notificationManager.addError(error.errors[0].detail);\n }\n }\n }\n }\n );\n }\n\n /**\n * Transitions the user to the legacy page and logs wavefront data about the user.\n */\n private transitionToLegacyPage(): void {\n this.ajax.apiRequest('users/users/logPointCentralEnterpriseLegacyRedirectToWavefront', undefined, null, 'POST');\n this.navigation.transitionToRouteId(EnterpriseUsers);\n }\n\n /**\n * Load the Quick Filters tour if the login hasn't viewed it yet.\n */\n @action\n loadQuickFiltersTourIfNeeded(): void {\n if (this.identityManager.identityModel?.helpTours.includes(UsersQuickFiltersTour)) {\n startQuickFiltersTour.call(this);\n }\n }\n\n /**\n * Called to reset local tracked state.\n */\n resetState(): void {\n this.clearUserSelections();\n this.usersPageBulkActionsMode = false;\n //If we are in onlyInactiveUsers mode when we close the page, we want to reload the full users page.\n this.clearUserData(this.onlyInactiveUsers);\n this.onlyInactiveUsers = false;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/index': EnterpriseUsersIndexController;\n }\n}\n","import { setProperties, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isFullTransition } from 'customer-site/utils/ember';\nimport { getMobileCredentialUtilization } from 'customer-site/classes/access-control/users/base-index-route';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport EnterpriseUsersFilterManager from 'customer-site/classes/enterprise/users/filter-manager';\nimport { EmberEnterpriseUsers } from 'customer-site/enums/CustomerPageUrl';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\n\nimport type Transition from '@ember/routing/transition';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { UserFilterSelection, FilterOptions } from 'customer-site/classes/enterprise/users/filter-manager';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type ParentRoute from '../route';\nimport type Controller from './controller';\n\ninterface RouteModel extends ModelFrom {\n userFilterOptions: Promise;\n userFilterSelection: UserFilterSelection;\n mobileCredentialUtilization: Promise>;\n}\n\nconst filterKeys: (keyof UserFilterSelection)[] = [\n 'searchString',\n 'enterpriseAccessType',\n 'userType',\n 'location',\n 'pinStartDate',\n 'pinEndDate',\n 'pinStatus',\n 'userCodeSchedule',\n 'pinsStartingWithinNumDays',\n 'searchPinStartByDateOnly',\n 'searchPinEndByDateOnly'\n];\n\n/**\n * @classdesc\n * View of all enterprise users.\n */\nexport default class EnterpriseUsersIndexRoute extends AdcBaseRoute {\n @service declare ajax: ServiceRegistry['ajax'];\n\n routeId = EmberEnterpriseUsers;\n\n declare controller: Controller;\n\n /**\n * The filter manager.\n */\n filtersManager = new EnterpriseUsersFilterManager(this, this.applyFilters, false);\n\n /** @override */\n queryParams = {\n searchString: getQueryParam('string'),\n enterpriseAccessType: getQueryParam('array'),\n userType: getQueryParam('array'),\n location: getQueryParam('array'),\n pinStatus: getQueryParam('array'),\n userCodeSchedule: getQueryParam('array'),\n pinsStartingWithinNumDays: getQueryParam('array'),\n pinStartDate: getQueryParam('date'),\n pinEndDate: getQueryParam('date'),\n searchPinStartByDateOnly: getQueryParam('boolean'),\n searchPinEndByDateOnly: getQueryParam('boolean')\n };\n\n /**\n * The default values for enterprise user filters.\n **/\n defaultFilterValues = filterKeys.reduce(\n (filters, n) => ({\n ...filters,\n [n]: undefined\n }),\n {}\n );\n\n model(params: UserFilterSelection, transition: Transition): RouteModel {\n return {\n userFilterSelection: filterKeys.reduce(\n (filters, n) => ({\n ...filters,\n [n]: params[n] ?? this.defaultFilterValues[n]\n }),\n {}\n ),\n userFilterOptions: this.ajax.apiRequestForValue(\n 'enterprise/users/filters/userFilterOptions'\n ),\n mobileCredentialUtilization: getMobileCredentialUtilization(this.ajax),\n ...this.modelFor>(transition.to.parent!.name)\n };\n }\n\n afterModel(model: RouteModel, transition: Transition): void {\n super.afterModel(model, transition);\n\n // Sets up the properties on the filtersManager.\n setProperties(this.filtersManager, {\n queryParams: this.queryParams,\n userFilterSelection: model.userFilterSelection,\n userFilterOptions: model.userFilterOptions\n });\n\n // Initially setup the filters.\n this.filtersManager.updateFilters(undefined, this.defaultFilterValues, isFullTransition(transition));\n }\n\n setupController(controller: Controller, model: RouteModel, transition: Transition): void {\n super.setupController(controller, model, transition);\n\n // Synchronize filter manager with controller.\n controller.filtersManager = this.filtersManager;\n }\n\n /**\n * Applies the passed filters via route transition.\n */\n @action\n applyFilters(filters: { queryParams: Partial }): void {\n if (!this.filtersManager.validateFilterLength(filters.queryParams)) {\n this.refresh();\n return;\n }\n\n this.controller.applyFilters(filters);\n }\n\n deactivate(): void {\n this.filtersManager.resetState();\n this.controller.resetState();\n }\n}\n","import EmberController from '@ember/controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type EnterpriseMergeUsersListRoute from './route';\n\nexport default class EnterpriseMergeUsersListController extends EmberController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/users/merge-users': EnterpriseMergeUsersListController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEnterpriseMergeUsersList } from 'customer-site/enums/CustomerPageUrl';\n\nimport type User from 'customer-site/models/users/user';\n\ntype MergeUsersListRouteModel = {\n currentUserId: number;\n users: Array;\n totalCount: number;\n qp: { searchString: string; page: number; pageSize: number };\n};\n\n/**\n * @classdesc\n * The Ember route for the MergeUsers flow\n */\nexport default class EnterpriseUsersMergeUsersList extends AdcBaseRoute {\n routeId = EmberEnterpriseMergeUsersList;\n\n queryParams = {\n searchString: {\n refreshModel: true,\n replace: true\n },\n page: {\n refreshModel: true,\n replace: true\n },\n pageSize: {\n refreshModel: true,\n replace: true\n }\n };\n\n async model(params: {\n id_user: number;\n searchString?: string;\n page: number;\n pageSize: number;\n }): Promise {\n const { store } = this;\n const searchString = params.searchString ?? '';\n const page = params.page ?? 1;\n const pageSize = params.pageSize ?? 25;\n\n const usersResponse: ADCStoreQuery = await store.query('users/user', {\n searchString,\n contactIdForMerge: params.id_user,\n startIndex: (page - 1) * pageSize,\n batchSize: pageSize\n });\n\n const users = usersResponse.toArray();\n const totalCount = usersResponse.meta.count;\n\n return {\n currentUserId: params.id_user,\n users,\n totalCount,\n qp: {\n searchString,\n page,\n pageSize\n }\n };\n }\n}\n","import BaseMergeUsersPreviewRoute from 'customer-site/classes/users/base-merge-users-preview-route';\nimport { EmberEnterpriseMergeUsersPreview } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc Merge Users Preview route for Enterprise contexts\n */\nexport default class EnterpriseUsersMergeUsersPreviewRoute extends BaseMergeUsersPreviewRoute {\n routeId = EmberEnterpriseMergeUsersPreview;\n\n readonly userModelName = 'users/user';\n readonly permissionsModelName = 'users/permissions-collection';\n}\n","import { EmberEnterpriseUsers } from 'customer-site/enums/CustomerPageUrl';\nimport UsersRoute from 'customer-site/users/route';\n\n/**\n * @classdesc\n * Route for viewing enterprise users.\n */\nexport default class EnterpriseUsersRoute extends UsersRoute {\n routeId = EmberEnterpriseUsers;\n}\n","import { computed } from '@ember/object';\nimport { baseAdvancedSearchDefaultFilterValues } from 'customer-site/classes/video/advanced-video-search/helpers';\nimport EnterpriseActivityController from 'customer-site/enterprise/activity/event-history/controller';\nimport { NUM_SECONDS_IN_HOUR } from 'customer-site/utils/datetime';\n\n/**\n * @classdesc\n * A controller that provides support for the enterprise Advanced Video Search page.\n */\nexport default class EnterpriseAdvancedVideoSearchRoute extends EnterpriseActivityController {\n // region QueryParameters\n queryParams = ['startDate', 'endDate', 'timeInterval'];\n\n /** @override */\n @computed()\n get defaultFilterValues() {\n return {\n ...super.defaultFilterValues,\n ...baseAdvancedSearchDefaultFilterValues\n };\n }\n\n /**\n * When the SVR timeline is loaded, this represents the amount of time (in seconds) the timeline should show\n */\n timeInterval = NUM_SECONDS_IN_HOUR;\n\n /**\n * The search start date\n */\n startDate;\n\n /**\n * The search end date\n */\n endDate;\n\n /**\n * Whether the activity search feature is disabled.\n * @type {boolean}\n */\n activitySearchDisabled = baseAdvancedSearchDefaultFilterValues.activitySearchDisabled;\n\n /**\n * The sensitivity that the activity search should use.\n * @type {number}\n */\n activitySensitivity = baseAdvancedSearchDefaultFilterValues.activitySensitivity;\n\n /**\n * Whether the motion search feature is disabled.\n * @type {boolean}\n */\n motionSearchDisabled = baseAdvancedSearchDefaultFilterValues.motionSearchDisabled;\n\n /**\n * The sensitivity that the motion search should use.\n * @type {number}\n */\n motionSensitivity = baseAdvancedSearchDefaultFilterValues.motionSensitivity;\n\n // endregion\n}\n","import { inject as service } from '@ember/service';\nimport {\n baseAdvancedSearchModelHook,\n cancelObjectSearchRequest\n} from 'customer-site/classes/video/advanced-video-search/helpers';\nimport EnterpriseActivityRoute from 'customer-site/enterprise/activity/event-history/route';\nimport { EmberEnterpriseVideoAdvancedVideoSearch } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n *\n * Enterprise version of the Advanced Video Search page.\n */\nexport default class EnterpriseAdvancedVideoSearchRoute extends EnterpriseActivityRoute {\n @service contextManager;\n @service ajax;\n @service envSettings;\n\n routeId = EmberEnterpriseVideoAdvancedVideoSearch;\n\n /** @override */\n doNotTimeOut = true;\n\n /** @override */\n queryParams = {\n endDate: { replace: true, type: 'date' },\n startDate: { replace: true, type: 'date' },\n timeInterval: { replace: true, type: 'number' }\n };\n\n /** @override */\n model(params, transition) {\n return baseAdvancedSearchModelHook.call(this, this.contextManager, this.store, params, transition);\n }\n\n deactivate() {\n super.deactivate();\n\n cancelObjectSearchRequest(this.ajax, this.slugs[0], this.envSettings);\n }\n}\n","import {\n EmberEnterpriseVideoCameraGroups,\n EmberEnterpriseVideoCameraGroupsEdit\n} from 'customer-site/enums/CustomerPageUrl';\nimport BaseCameraGroupsController from 'customer-site/video/camera-groups/base-objects/base-camera-groups-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for enterprise manage camera groups page.\n */\nexport default class CameraGroupsController extends BaseCameraGroupsController {\n declare model: ModelFrom;\n\n /** @override */\n get manageGroupsRouteId(): number {\n return EmberEnterpriseVideoCameraGroups;\n }\n\n /** @override */\n get editGroupRouteId(): number {\n return EmberEnterpriseVideoCameraGroupsEdit;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/camera-groups': CameraGroupsController;\n }\n}\n","import { EmberEnterpriseVideoCameraGroupsEdit } from '../../../../enums/CustomerPageUrl';\nimport BaseCameraGroupEditRoute from '../../../../video/camera-groups/base-objects/base-camera-group-edit-route';\n\n/**\n * @classdesc\n * Route for enterprise edit camera group page.\n */\nexport default class EditRoute extends BaseCameraGroupEditRoute {\n /** @override */\n routeId = EmberEnterpriseVideoCameraGroupsEdit;\n}\n","import { EmberEnterpriseVideoCameraGroups } from '../../../enums/CustomerPageUrl';\nimport BaseCameraGroupsRoute from '../../../video/camera-groups/base-objects/base-camera-groups-route';\n\n/**\n * @classdesc\n * Route for enterprise manage camera groups page.\n */\nexport default class CameraGroupsRoute extends BaseCameraGroupsRoute {\n /** @override */\n routeId = EmberEnterpriseVideoCameraGroups;\n}\n","import { computed } from '@ember/object';\nimport FilteringVideoClipsController from '../../../classes/video/clips/filtering-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The enterprise parent filtering controller for saved video clips.\n */\nexport default class EnterpriseVideoClipsController extends FilteringVideoClipsController {\n declare model: ModelFrom;\n\n // region Controller state\n\n /** @override */\n @computed()\n get defaultFilterValues(): FilteringVideoClipsController['defaultFilterValues'] & {\n locations: string[];\n } {\n return {\n ...super.defaultFilterValues,\n locations: []\n };\n }\n\n /**\n * The enterprise locations to search for.\n */\n locations = this.defaultFilterValues.locations;\n\n // endregion\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/clips': EnterpriseVideoClipsController;\n }\n}\n","import FilterVideoClipResultsController from 'customer-site/classes/video/clips/filter-results-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The enterprise index controller for displaying a paginated list of saved video clips, grouped by location/time.\n */\nexport default class EnterpriseVideoClipsIndexController extends FilterVideoClipResultsController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/clips/index': EnterpriseVideoClipsIndexController;\n }\n}\n","import FilterVideoClipResultsRoute from '../../../../classes/video/clips/filter-results-route';\n\n/**\n * @classdesc\n * The enterprise index route for displaying a paginated list of saved video clips, grouped by location/time.\n *\n * @class enterprise.video.clips.index.EnterpriseVideoClipsIndexRoute\n * @extends classes.video.clips.FilterVideoClipResultsRoute\n */\nexport default class EnterpriseVideoClipsIndexRoute extends FilterVideoClipResultsRoute {}\n","import { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\nimport FilteringVideoClipsRoute from '../../../classes/video/clips/filtering-route';\nimport { EmberEnterpriseVideoClips, EmberEnterpriseVideoGallery } from '../../../enums/CustomerPageUrl';\n\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\n/**\n * @classdesc\n * The enterprise parent filtering route for saved video clips.\n *\n * @class enterprise.video.clips.EnterpriseVideoClipsRoute\n * @extends classes.video.clips.FilteringVideoClipsRoute\n */\nexport default class EnterpriseVideoClipsRoute extends FilteringVideoClipsRoute {\n @service declare identityManager: IdentityManager;\n @service declare navigation: NavigationService;\n\n /** @override */\n routeId = EmberEnterpriseVideoClips;\n\n /** @override */\n @computed()\n get queryParams() {\n return {\n ...super.queryParams,\n locations: getQueryParam('array')\n };\n }\n\n redirect(): void {\n const hasStoriesAccess = !!this.identityManager.identityModel?.hasStoriesAccess;\n if (hasStoriesAccess && this.routeId != EmberEnterpriseVideoGallery) {\n console.log('Transitioning to the enterprise gallery page...');\n this.navigation.transitionToRouteId(EmberEnterpriseVideoGallery);\n }\n }\n}\n","import { computed } from '@ember/object';\nimport FilteringVideoMediaController from 'customer-site/classes/video/gallery/filtering-video-media-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The enterprise parent controller for the gallery.\n */\nexport default class EnterpriseVideoGalleryController extends FilteringVideoMediaController {\n declare model: ModelFrom;\n\n /** @override */\n @computed()\n get defaultFilterValues(): FilteringVideoMediaController['defaultFilterValues'] & { locations: string[] } {\n return {\n ...super.defaultFilterValues,\n locations: []\n };\n }\n\n /**\n * The enterprise locations to search for.\n */\n locations = this.defaultFilterValues.locations;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/gallery': EnterpriseVideoGalleryController;\n }\n}\n","import FilterVideoMediaResultsController from 'customer-site/classes/video/gallery/filter-video-media-results-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * The enterprise index controller for displaying a paginated list of saved video clips and snapshots, grouped by location/time.\n */\nexport default class EnterpriseVideoGalleryIndexController extends FilterVideoMediaResultsController {\n declare model: ModelFrom;\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/gallery/index': EnterpriseVideoGalleryIndexController;\n }\n}\n","import FilterVideoMediaResultsRoute from 'customer-site/classes/video/gallery/filter-video-media-results-route';\n\n/**\n * @classdesc\n * The enterprise index route for displaying a paginated list of saved video clips and snapshots, grouped by location/time.\n *\n * @class enterprise.video.gallery.index.EnterpriseVideoGalleryIndexRoute\n * @extends classes.video.gallery.FilterVideoMediaResultsRoute\n */\nexport default class EnterpriseVideoGalleryIndexRoute extends FilterVideoMediaResultsRoute {}\n","import { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport FilteringVideoMediaRoute from 'customer-site/classes/video/gallery/filtering-video-media-route';\nimport { EmberEnterpriseVideoClips, EmberEnterpriseVideoGallery } from 'customer-site/enums/CustomerPageUrl';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\n\nimport type IdentityManager from 'customer-site/services/identity-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\n/**\n * @classdesc\n * The enterprise parent route for the gallery.\n *\n * @class enterprise.video.gallery.EnterpriseVideoGalleryRoute\n * @extends classes.video.gallery.FilteringVideoMediaRoute\n */\nexport default class EnterpriseVideoGalleryRoute extends FilteringVideoMediaRoute {\n @service declare identityManager: IdentityManager;\n @service declare navigation: NavigationService;\n\n /** @override */\n routeId = EmberEnterpriseVideoGallery;\n\n /** @override */\n @computed()\n get queryParams() {\n return {\n ...super.queryParams,\n locations: getQueryParam('array')\n };\n }\n\n redirect(): void {\n const hasStoriesAccess = !!this.identityManager.identityModel?.hasStoriesAccess;\n if (!hasStoriesAccess && this.routeId != EmberEnterpriseVideoClips) {\n console.log('Transitioning to the saved clips page...');\n this.navigation.transitionToRouteId(EmberEnterpriseVideoClips);\n }\n }\n}\n","import {\n EmberEnterpriseVideoCameraGroupsEdit,\n EmberEnterpriseVideoCameraGroups\n} from 'customer-site/enums/CustomerPageUrl';\nimport BaseLiveViewController from '../../../video/live-view/base-live-view-controller';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for enterprise live view page.\n */\nexport default class LiveViewController extends BaseLiveViewController {\n declare model: ModelFrom;\n\n /** @override */\n get editGroupRouteId(): number {\n return EmberEnterpriseVideoCameraGroupsEdit;\n }\n\n /** @override */\n get manageGroupsRouteId(): number {\n return EmberEnterpriseVideoCameraGroups;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/live-view': LiveViewController;\n }\n}\n","import { EmberEnterpriseVideoLiveView } from '../../../enums/CustomerPageUrl';\nimport BaseLiveViewRoute from '../../../video/live-view/base-live-view-route';\n\n/**\n * @classdesc\n * Route for enterprise live view page.\n */\nexport default class LiveViewRoute extends BaseLiveViewRoute {\n /** @override */\n routeId = EmberEnterpriseVideoLiveView;\n}\n","import { EmberEnterpriseVideoCameraGroupsEdit, EmberEnterpriseVideoCameraGroups } from '../../../enums/CustomerPageUrl';\nimport SvrTimelineController from '../../../video/svr-timeline/controller';\n\n/**\n * @classdesc\n * Controller for enterprise svr timeline page\n */\nexport default class EnterpriseSvrTimelineController extends SvrTimelineController {\n /** @override */\n editGroupRouteId = EmberEnterpriseVideoCameraGroupsEdit;\n\n /** @override */\n manageGroupsRouteId = EmberEnterpriseVideoCameraGroups;\n}\n","import { EmberEnterpriseVideoSvrTimeline } from '../../../enums/CustomerPageUrl';\nimport SvrTimelineRoute from '../../../video/svr-timeline/route';\n\n/**\n * @classdesc\n *\n * Route for enterprise svr timeline page.\n *\n * @class EnterpriseSvrTimelineRoute\n * @extends video.svr-timeline.BaseSvrTimelineRoute\n * @memberof enterprise.video.svr-timeline\n */\nexport default class EnterpriseSvrTimelineRoute extends SvrTimelineRoute {\n /** @override */\n routeId = EmberEnterpriseVideoSvrTimeline;\n}\n","import VideoThumbnailSearchController from 'customer-site/video/thumbnail-search/controller';\n\nexport default class EnterpriseVideoThumbnailSearchController extends VideoThumbnailSearchController {}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'enterprise/video/thumbnail-search': EnterpriseVideoThumbnailSearchController;\n }\n}\n","import { EmberEnterpriseVideoThumbnailSearch } from 'customer-site/enums/CustomerPageUrl';\nimport VideoThumbnailSearchRoute from 'customer-site/video/thumbnail-search/route';\n\nexport default class EnterpriseVideoThumbnailSearchRoute extends VideoThumbnailSearchRoute {\n /** @override */\n routeId = EmberEnterpriseVideoThumbnailSearch;\n}\n","import { helper } from '@ember/component/helper';\nimport { camelize as _camelize } from '@ember/string';\nimport createStringHelperFunction from '../-private/create-string-helper';\n\nexport const camelize = createStringHelperFunction(_camelize);\nexport default helper(camelize);\n","import { helper } from '@ember/component/helper';\nimport lowercaseLib from 'ember-cli-string-helpers/utils/lowercase';\nimport createStringHelperFunction from '../-private/create-string-helper';\n\nexport const lowercase = createStringHelperFunction(lowercaseLib);\nexport default helper(lowercase);\n","export default function lowercase(string = '') {\n if (typeof string !== 'string') {\n throw new TypeError(`Expected a string, got a ${typeof string}`);\n }\n\n return string.toLowerCase();\n}\n"],"names":["createTemplateFactory","scope","accessControlAccessPlansEditBase_","accessControlAccessPlansIndexRoute_","accessControlAccessPointsEdit_","accessControlAccessPointsIndexRoute_","routeView_","promiseHashTracked_","await_","t_","accessControlUsersItemUsersMissingCredentials_","accessControlUsersItemArmedPanelsWarning_","accessControlAccessPointsCollapsibleList_","accessControlAccessPointsIndexRouteListItem_","fn","accessControlHolidaysAccessControlHolidayPage_","enterpriseLoginsAddEnterpriseLoginsOptions_","enterpriseLoginsEditMultiGroupLogin_","enterpriseLoginsEditEditScheduledDeviceLogin_","loginsList_","enterpriseLoginsLoginsPage_","accessControlSystemModeConfigurationBase_","tc_","accessControlUsersBulkCreate_","accessControlUsersEditNotSupported_","accessControlUsersEditAccessPlans_","usersItemAddContact_","accessControlUsersEditExpiringCredentials_","accessControlUsersItemAccessControlEditUser_","usersItemLanguage_","usersLinkLoginEditRoute_","usersUserAttributesUserAttributeEditPage_","usersUserAttributesUserAttributeListPage_","usersEditUserGroup_","usersEditInfoRoute_","usersUsernameRoute_","accessControlUsersIndexRoute_","usersMergeUsersListComponent_","usersMergeUsersPreviewComponent_","accessControlUsersPromoteUserPromoteUserPage_","accessControlUsersUserGroupsEdit_","accessControlUsersUserGroupsIndexPage_","activityImageMedia_","pageView_","activityFilterBar_","dropdownActions_","buttonIcon_","activityResultsCount_","and_","activityActivityDay_","paginationBar_","hash","didInsert_","appRoutePerformance_","activityNoResults_","activityVideoMedia_","activityExtendedActivityHistoryForm_","appTroubleConditionsSystemOk_","appTroubleConditionsList_","buttonSimple_","on","actionSheet_","willDestroy_","enterpriseGroupsUserAccessSelector_","asyncLoader_","buttonAsync_","ViewState","ConfirmMoveSystems","_dec","intlPath","path","_dec2","equal","AddLocations","_dec3","CopyUsers","_dec4","MoveLocations","_dec5","computed","_dec6","_dec7","_dec8","_dec9","_dec10","_dec11","_class2","Component","constructor","arguments","_initializerDefineProperty","_descriptor","_descriptor2","_descriptor3","_descriptor4","_defineProperty","UserAccessHelper","this","isAccessControl","selectedCustomerIds","args","selectedGroup","_descriptor5","_descriptor6","_descriptor7","_descriptor8","restart","currentState","updateViewState","state","buttons","intl","fnGetBtn","text","_props$disabled","props","length","undefined","disabled","color","isPrimary","txtBack","t","txtNext","close","tc","count","selectedCustomers","saveSelectionAndCloseActionSheet","actionSheetTitle","contextManager","identityModel","map","system","parseInt","id","addLocationsDescription","addLocationsListTitle","movableSystems","description","moveLocationsDescription","htmlSafe","selectedGroupName","escapeHtml","get","moveSelectedSystems","removeAccessEnum","moveSystemsToGroup","then","async","meta","groupIdToSwitchTo","_ref","switchToNewGroup","Number","EmberEnterpriseGroups","refreshAvailableSystems","userAccessHelper","notificationManager","RetainUsers","removeAccess","RemoveUsers","movingSystemsWithinSameEnterprise","RetainAndElevateUsers","addSuccess","groupName","_applyDecoratedDescriptor","prototype","service","configurable","enumerable","writable","initializer","tracked","action","Object","getOwnPropertyDescriptor","_class","setComponentTemplate","TEMPLATE","routeViewEditView_","formGroup_","guidFor_","tc_0","textInput_","passwordInput_","actionSheetsEnterpriseGroupsConfirmMoveSystems_","dropdownSelectSingleSelect_","isPending_","EnterpriseGroupToolbar","templateOnlyComponent","GroupLevelUserAccessSelector","userAccessArgs","parentGroupName","childGroupName","userAccessDescriptionPath","selectAccessOption","shouldRemoveAccess","retainUsersDescription","removeUsersDescription","userAccessDescriptionKey","concat","retainUsersBulletText","getBulletText","useAPUMRetainUsers","removeUsersBulletText","resource","enterpriseGroupsGroupLevelUserAccessSelector_","not_","RemoveGroup","alias","groupToRemove","userAccessSelection","removeSubgroupResponse","removeSubgroup","systemGroupsManager","simpleContextSwitchHandler","eq_","enterpriseGroupsGroupsList_","enterpriseGroupsGroupsAdminLoginsList_","clearSelectedGroup","group","isSelected","EnterpriseGroupsMoveGroupComponent","GroupSelection","UserAccessSelection","ElevateLogins","moveGroupProperties","isMovingChildGroup","cancelText","nextText","backText","moveText","secondPageButtons","toggleViewState","ViewStateEnum","viewState","clearSelectionAndCloseActionSheet","enterprises","store","systemGroups","filter","g","childGroup","parentGroup","hasParentGroup","isSystemlessGroup","ParentGroupRow","showDropdownForChildGroups","showDropdown","isChildlessGroup","isSelectable","areChildrenSelectable","childGroupErrorMessage","selectRow","set","systemGroupModel","model","addSubgroupResponse","addSubgroup","_unused","afterSuccessfulSave","elevateChildGroupAdminLogins","selectedLogins","ex","addError","errors","detail","adminLoginsModel","groups","didUpdate_","enterpriseGroupsToolBar_","inlineAlert_","spinnerSvg_","svgSymbol_","or_","media_","actionSheetsEnterpriseGroupsRemoveGroup_","actionSheetsEnterpriseGroupsMoveGroup_","routeViewDetailsView_","simpleBinaryList_","actionButtons_","enterpriseLocationsLocationsList_","enterpriseLocationsLocationRow_","dashboardCardsMultipleDeviceTypesDetailLayout_","LocationsDeviceAccessContainer","stopPropagation","evt","enterpriseLocationsLocationsDeviceAccessContainer_","startOfWeek","dirtyDate","options","_ref2","_ref3","_options$weekStartsOn","_options$locale","_options$locale$optio","_defaultOptions$local","_defaultOptions$local2","requiredArgs","defaultOptions","getDefaultOptions","weekStartsOn","toInteger","locale","RangeError","date","toDate","day","getDay","diff","setDate","getDate","setHours","differenceInCalendarWeeks","dirtyDateLeft","dirtyDateRight","startOfWeekLeft","startOfWeekRight","timestampLeft","getTime","getTimezoneOffsetInMilliseconds","timestampRight","Math","round","popoverMenu_","await_0","FleetAlertItemsColumn","numberOfAlertItems","alertItemsMap","entry","flat","vehiclesHaveAlertItemsTranslation","numberOfVehicles","alertType","locationInfo","getAlertItemsMap","vehiclesWithAlerts","alertItems","issueDesc","firstAlertDesc","remainingAlertCount","vehicleName","icon","alertsDescription","oldestMaintenanceAlert","carIssueItems","earliestDate","Date","sortBy","issueDateUtc","today","loginCurrentDateUtc","daysBack","differenceInCalendarDays","differenceInCalendarMonths","recomputeCarIssueItems","triggerAlertItemsComputation","recomputedailyTripAlertItems","itemKeyToRecompute","alertItemsChangedTrigger","togglePopover","mouseEvent","showPopover","enterpriseLocationsFleetAlertItemsColumn_","stopPropagation_","LocationsFleetContainer","mobileColumnHeaders","columnHeaders","numberOfVehiclesDriven","header","fuelUsed","vehicleStatus","drivingAlerts","runSingleFleetTripReport","displayReportFromResponse","runFleetTripReport","Fleet","navigation","identityManager","enterpriseLocationsGroupRow_","enterpriseLocationsLocationsFleetContainer_","enterpriseLocationsViewMoreLocationsButton_","simpleBinary_","handleBinaryChange_","dragDropFileUpload_","accessControlScrollingListSelect_","UserSelectionItem","ScrollingListSelectItem","_len","Array","_key","super","createUserCheckboxItem","user","filterVisible","selectedUsers","unselectableUserIds","deviceAccess","includes","isEditSupported","create","name","displayName","systemDescription","resolvedUserType","SELECTED","UNSELECTED","disabledWarning","UsersSelect","reads","loadSelectedUsersFn","items","A","Promise","all","totalCount","index","loadUsersFn","_batchSize","_index","params","_users$filter","_users$length","_users$length2","users","allUsers","search","userTypes","filteredUsers","toLowerCase","userType","String","initializeOptions","filterProperties","userTypeFilters","showSystem","pageViewEdit_","enterpriseLocationsUserSelect_","ManageResidentV2Component","headerLabels","requirePhoneNumber","y","fieldName","isMandatory","toggleCheckedCount","tenantRows","selectedTenantsIds","forEach","tenant","push","updateSelected","t_0","AddSingleResidentForm","displayFirstNameErrorString","firstName","isEmpty","displayLastNameErrorString","lastName","isEmailInvalid","emailAddress","email","trim","match","isPhoneNumberInvalid","phoneNumber","phoneNumberRegex","p","str","deleteForm","deleteCurrentForm","updateFieldAndValidation","updatedFieldValue","isValid","areFieldsInvalid","updateChildValidationStatus","array","enterpriseLocationsAddSingleResidentForm_","AddResidents","tenantFormId","addNewForm","anyChildInvalid","newTenantForms","pushObject","cur","removeAt","updateTenantFormIds","some","tenantForm","el","idx","_objectSpread","addNewResidents","_location$tenants$las","_location$tenants$las2","location","detailLocation","peekAll","tenantRecord","tenants","tenantId","lastObject","isError","newTenant","createRecord","phoneNumberRequired","moveOut","isMovingTenants","save","error","notifications","closeAddActionSheet","DeleteResidents","selectedTenants","deleteTenantRows","tenantsList","toArray","removeObject","updateTenantStore","closeDeleteActionSheet","resetTenantCount","newTenantsList","deleteRecord","updatedTenantsList","ManaggeResidents","loadResidents","_this$args$residentMo","_this$args$residentMo2","residentsMovingIn","residentMoveInfo","residentsMovingOut","enterpriseLocationsManageResidentV_","actionSheetsEnterpriseLocationsAddResidents_","actionSheetsEnterpriseLocationsDeleteResidents_","actionSheetsEnterpriseLocationsManageResidents_","ManageResidentRowComponent","toggleDeleteTenant","isChecked","ManageResidentAddRowComponent","fnEmpty","didReceiveAttrs","isInvalidNameString","deleteTenant","deleteTenantRow","enterpriseLocationsManageResidentRow_","enterpriseLocationsManageResidentAddRow_","ManageResidentComponent","existingTenantsList","addTenantRow","addObject","destroyRecord","unloadRecord","enterpriseLocationsManageResident_","AddTenantRowComponent","empty","enterpriseLocationsAddTenantRow_","AddTenantComponent","guidFor","dasherize","setObjects","slice","enterpriseLocationsAddTenant_","dashboardCardsDevicesPartitionCard_","dashboardCardsDevicesSensorsCard_","dashboardCardsDevicesThermostatCard_","dropdownSelectMultiSelect_","OccupancyDropdownSelectWrapperComponent","enterpriseLocationsOccupancyDropdownSelectWrapper_","LocationsOccupancyContainer","modifyState","statusChanger","occupancyState","subitems","reduce","acc","val","stateOption","checkWhetherIsSelectedProperty","modifiableStateProperties","value","isFullySelected","catch","rollbackAttributes","enterpriseLocationsLocationsOccupancyContainer_","MpersDeviceStatus","batteryStatusText","batteryLevel","mpersDevice","emergencyStatusText","_mpersDevice$emergenc","_mpersDevice$emergenc2","eventType","Alarm","AuxiliaryPanic","emergencyEvent","timestamp","formatDateTz","emergencyTimestampUtc","month","hour","minute","enterpriseLocationsMpersDeviceStatus_","PersonalSafetyColumnItem","notEmpty","enterpriseLocationsPersonalSafetyColumnItem_","LocationsPersonalSafetyContainer","columnLabels","activeEmergency","batteryStatus","enterpriseLocationsLocationsPersonalSafetyContainer_","KNOWLEDGE_BASE_SGT","startSelfGuidedToursSettingsImprovementsTour","helpTour","tour","Tour","steps","Step","type","StepDisplayType","Modal","StepContent","title","content","link1","link2","link3","previous","show","next","isStepAvailable","resolve","document","querySelector","getAnchorSelector","EmberGroupSettings","beforeStart","schedule","afterEnd","_identityManager$iden","markHelpTourAsCompleted","SelfGuidedToursSettingsImprovementsTour","start","enterpriseLocationsShowTroubleIssues_","LocationsSummaryContainer","hideEditButton","getRouteItem","EmberLocationsPersonalSafety","isParentGroup","selectedSystemGroup","toggleOpenCloseHistoryPopover","showOpenCloseHistoryPopover","viewAllActivity","transitionToRouteId","EmberEnterpriseEventHistory","queryParams","locations","evtTypes","BusinessHourWarnings","startDate","subDays","setMilliseconds","loadSelfGuidedToursSettingsImprovementsTourIfNeeded","_this$identityManager","helpTours","call","enterpriseLocationsLocationsSummaryContainer_","LocationsTemperaturesContainer","toggleTemperatureStatusPopover","locationTemperaturesInfo","showTemperatureStatusPopover","enterpriseLocationsLocationsTemperaturesContainer_","isFulfilled_","_class3","dataLoaded","filterBy","LocationAccessPointInfo","expandButton_","filtersFiltersManager_","enterpriseLocationsCommonAreas_","safeHtml_","LocationsThermostatsContainer","enterpriseLocationsLocationsThermostatsContainer_","formatDateTz_","coalesce_","VideoDashboardPopoverMenu","recordedVideoDevices","svrs","sdCardCameras","svrUsageInfo","svr","daysOfRecording","daysOfRecordedVideo","earliestRecord","oldestRecordingDate","sdCardCameraUsageInfo","camera","daysOfSdRecording","device","isSdCard","earliestSdRecord","calculateWidthCSS","total","widthPercent","VideoDeviceNameAndStatus","cameraTriggeredClipStyle","clipData","cameraTriggeredClips","videoQuotaClips","eventTriggeredClipStyle","eventTriggeredClips","alarmTriggeredClipStyle","alarmTriggeredClips","didExceedQuota","clipsUploaded","toggleClipStatusPopover","showClipStatusPopover","enterpriseLocationsVideoDashboardPopoverMenu_","enterpriseLocationsVideoClipCountBar_","LocationsVideoContainer","someSvrs","locationInfos","item","allSvrs","toggleLocationInfoProperty","runSingleSystemVideoHealthReport","runVideoHealthReport","Video","enterpriseLocationsLocationsVideoContainer_","enterpriseSettingsPage_","listRowItem_","isMobileApp_","commercialReportsCatalogPage_","commercialReportsReportEditRoute_","commercialReportsReportsPage_","settingsRestrictedAccessSettings_","resolveModel_","enterpriseSettingsActiveDirectoryBulkImport_","settingsActiveDirectoryGroupMapping_","enterpriseSettingsActiveDirectoryMapping_","toString_","ActiveDirectoryGroupPlanMapping","accessPlansDropdownItems","_this$args$accessPlan","_this$args$accessPlan2","accessPlans","plan","DropdownSelectItem","updatePlanId","mapping","planId","navigateToRouteName_","hrefTo_","enterpriseSettingsActiveDirectoryGroupPlanMapping_","SettingsActiveDirectoryGroupMapping","mappings","_this$resolvedModel$m","_this$resolvedModel","resolvedModel","canBeSaved","_this$clientIdentifie","clientIdentifier","hasDirtyAttributes","isDeleted","every","groupId","hasGroupToPlansMappings","addNewMapping","_this$clientIdentifie2","_this$clientIdentifie3","mapGroupsToAccessPlans","cancel","_this$clientIdentifie4","EmberGroupSettingsActiveDirectorySetup","settingsActiveDirectoryGroupPlanMapping_","lowercase_","ADClientIdentifierStatusEnum","SettingsActiveDirectoryTestSetup","hasLinkOnAnotherLevel","adStatus","LinkAbove","LinkBelow","hasExistingLink","NoLink","linkDropdownItems","editLink","removeLink","DropdownActionItem","linkedStateProperties","descriptionText","labelTextKey","labelCssClass","nameOfGroupForErrorMessage","labelText","showInputs","saveLink","ActiveDirectorySettingOption","settingsActiveDirectoryTestSetup_","fieldsetHeader_","enterpriseSettingsActiveDirectorySettingOption_","handleNumberChange_","enterpriseSettingsGroupSettingPage_","segmentedTimePicker_","buttonNative_","enterpriseTemplatesTemplateCollection_","Textarea","getStaticResourcePath_","smartTime_","enterpriseAllPartialLocations_","rowItem_","LoginTemplateList","itemsToShow","_this$args$items","isHidden","template","hasCopyTemplateAccess","hasLoginTemplatesEditAccess","actionItems","EditActionItem","editTemplate","ActionItem","iconTitle","className","copyTemplate","canBeDeleted","DeleteActionItem","deleteTemplate","hideTemplate","compact","hideShowAllTemplatesButton","showAll","showAllTemplates","enterpriseSettingsLoginTemplateList_","settingsManagedAccountAccessPage_","getRoute_","weekView_","checkboxTree_","TimeSelectionsEnum","dayMinutesToTimeString","dayMinutes","formatDate","format","EditBusinessHoursTimetable","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","copyTimeblockDayOptions","CheckboxTreeItem","showAllNoneSelectors","key","selectedDay","currentBusinessHourDay","businessHourData","businessHourDays","currentSelectedDay","scheduleElements","timeblocks","businessHourDay","locationOpenForBusiness","flatMap","arrivalStartTime","hours","StartTime","arrivalEndTime","EndTime","businessStartTime","businessEndTime","departureStartTime","departureEndTime","MINUTES_IN_DAY","ARRIVAL_CLASS","HIDDEN_CLASS","HIDELABEL_CLASS","startMinutesLocal","endMinutesLocal","BUSINESS_HOURS_CLASS","DEPARTURE_CLASS","conflictTimeblocks","times","x","HALF_DAY","timesPlusSunday","sundayTimes","time","MINUTES_IN_WEEK","i","floor","conflictDelta","end","j","startTimeEqualsEndTime","min","CONFLICT_CLASS","copyHoursText","dayOfWeek","createTimeBlock","dayNum","enabled","businessHourTemplate","isReadOnly","useDefaultValues","initialOpenForBusinessStates","setProperties","EmployeeArrival","OpenForBusiness","EmployeeDeparture","selectTimeBlock","updatePreview","selectedPreviewDay","enableHasChanged","toggleCopyTimeblockPopover","showCopyTimeblockPopover","closeBusinessOnDay","showEditTimeblockPopover","timeBlockClicked","timeBlockId","selectedArrivalStartTimeChanged","performUpdateActions","selectedArrivalEndTimeChanged","selectedBusinessStartTimeChanged","selectedBusinessEndTimeChanged","selectedDepartureStartTimeChanged","selectedDepartureEndTimeChanged","selectionChanged","checkboxTree","daysToCopyTo","parent","copyBusinessHours","dayToCopy","element","JSON","parse","stringify","didUpdateHours","selectedTimeBlock","findBy","selectedTimeBlockId","updateConflictsForCurrentBusinessDay","getTimes","minuteValues","offset","arrivalStart","arrivalEnd","businessHoursStart","businessHoursEnd","departureStart","departureEnd","timeOfDay","getArrayOfDaysTimes","hasConflicts","arrivalStartHasConflicts","arrivalEndHasConflicts","businessHoursStartHasConflicts","businessHoursEndHasConflicts","departureStartHasConflicts","departureEndHasConflicts","resetConflicts","currentDayTimes","previousDayTimes","nextDayTimes","enableTimeConflict","startIndex","endIndex","enterpriseSettingsEditBusinessHourTemplatesTimetable_","EditBusinessHours","canSave","hasChanged","businessHoursEnabled","toggleExpandExceptionAndAlertPreview","expandExceptionAndAlertPreview","returnToSettingsPage","transitionToPreviousRoute","toggleBusinessHoursEnabled","scheduleComponentsHidden","populateDefaultBusinessHours","saveBusinessHours","toggleDisabled","closeAllDays","getInitialOpenForBusinessStates","saveAction","mapBy","setEach","nextOpenDay","getNextDayWithHours","previousOpenDay","getPreviousDayWithHours","previewIntervals","openStart","openEnd","openLateStart","openLateEnd","openUnexpectedlyStart","openUnexpectedlyEnd","notOpenedOnTime","closedOnTimeStart","closedOnTimeEnd","closedEarlyStart","closedEarlyEnd","closedLateStart","closedLateEnd","closedUnexpectedlyStart","closedUnexpectedlyEnd","notClosedOnTime","nextDay","previousDay","businessHoursEditorDescText","link","buildKnowledgeBaseURL","CustomerKnowledgeBase","CommericalEnableConfigureBusinessHours","countOfDaysWithHours","previewLabels","employeeArrivalStartTime","employeeArrivalEndTime","time1Day","getPreviewDayToDisplay","time2Day","employeeDepartureStartTime","employeeDepartureEndTime","employeeDepartureEndTimePlus3","nextBusinessDay","previousBusinessDay","dayNumber","dayName","daysOfWeek","currentDay","toolTip_","enterpriseSettingsEditBusinessHourTemplates_","showConfirmationModal_","homeNoiseSensorThreshold_","math_","DayOfWeekSelectionRowComponent","updateSchedule","dayBit","isDayEnabled","startTime","endTime","startTimeDisplay","getTimeModelFromMinutes","endTimeDisplay","updateDayEnabled","checked","target","updateTimes","updateStartTime","updateEndTime","settingsDayOfWeekSelectionRow_","smartDate_","buttonSelected_","knowledgeBaseLink_","singleSelect_","accessControlTimetablesItemEditTimetableSchedule_","Input","multilineTextInput_","formatTimeTz_","helper","wordStrings","toWords","words","moreWords","EnterpriseSettingsThermostatTemplates","camelize_","TemperatureFieldComponent","updateValue","update","field","OffsetFieldComponent","toBoolean_","PercentageFields","getBoundary","n","nonTempConfig","camelize","max","modalsEnterpriseLocationsDeviceSelectionBaseDeviceSelection_","ThermostatSelection","locationThermostats","LocationDeviceList","locationId","devices","thermostats","showSupportsAdvancedConfiguration","enterpriseLocationSelectionBaseLocationSelection_","updateLocationSelections","select","settingsTemplate","EnterpriseThermostatLocationSelectionComponent","openModal","_this$args$showSuppor","modals","showModal","templateId","templateThermostats","selectThermostats","selectPartial","selectAll","selectNone","compare","w_","enterpriseSettingsThermostatSettingsTemplatesSettingRow_","enterpriseSettingsThermostatSettingsTemplatesTemperatureField_","enterpriseSettingsThermostatSettingsTemplatesOffsetField_","enterpriseSettingsThermostatSettingsTemplatesPercentageField_","enterpriseLocationSelectionThermostatLocationSelection_","searchToolbar_","WaterMeterSelection","locationWaterMeters","waterMeters","hasValve","EnterpriseWaterMeterLocationSelectionComponent","templateWaterMeters","selectWaterMeters","enterpriseLocationSelectionWaterMeterLocationSelection_","usersItemAccessPeriod_","usersItemDeviceAccessAccessType_","usersItemDeviceAccessEnterpriseAccessInformation_","accessControlAccessPlansItemAccessControlPointcentralPlanList_","drillThroughItem_","getDeviceAccessLocations","systemAccessPointItemsForGroup","numLocationsToDisplay","accessItems","numberWithAccess","textParams","accessDescription","sort","a","b","profile","language","localeCompare","numeric","LocationsComponent","showGroupDropdown","isPointCentral","deviceAccessLocations","showViewMoreButton","groupToSelect","_this$deviceAccess$ge","systemGroupId","locationPassesSearchString","groupsForDropdown","getSystemGroupDropdownSelectItems","isAccessControlSystemGroup","editLocationDevices","transitionToNativeRoute","EmberEnterpriseEditUserDeviceAccessLocationDevices","id_system","editUserType","EmberEnterpriseEditUserType","returnToUsersPage","replaceRouteWithNativeRoute","EmberEnterpriseUsers","goToUserProfile","EmberEnterpriseUserEdit","selectSystemGroup","ACCESS_TYPE_BULK_ACTIONS_BATCH_SIZE","searchString","selectAccessPlans","accessControlUser","saveAccessPlansOnDifferentScope","ap","viewMore","additionalLocationItems","addObjects","usersItemDeviceAccessLocations_","usersItemDeviceAccessItemGroups_","usersItemDeviceAccessUserCodeWarnings_","LocationDevicesComponent","systemAccessPointItems","accessPointItems","systemAccessPointObject","systemId","allSystemItemsHaveAccess","accessPointItemCanBeModified","hasAccess","unifiedSelectionState","unifiedState","allUnitsAreDisabled","disableToggleAllButton","canChangeUserCode","toggleDevices","toggleAllButtonState","updateAllSystemModels","checkToggleSelections","systemAccessPointItemsLoaded","usersItemDeviceAccessLocationDevices_","usersItemDeviceAccessUserCode_","enterpriseUsersUserEdit_","usersNotSupported_","simpleBinaryButtonList_","UsersQuickFiltersConfigPanel","owner","_this$args$filtersMan","_this$args$filtersMan2","newFilterDesc","filtersManager","quickFilterToEdit","isEditing","cachedFilterValues","getProperties","validateDesc","isDuplicateName","find","_this$filterToEdit","filterToEdit","validateQuickFilterLength","recordToThrow","UsersQuickFilter","eachAttribute","areFilterParamsVaildLength","saveQuickFilter","closeQuickFilterConfig","e","_e$errors","newQuickFilter","_e$errors2","filtersToShow","filtersToAdd","filters","_this$filterToEdit2","matchingFilter","filteringFieldName","newItems","isMultiSelect","DropdownFilter","placeholder","maxItemCount","cacheFilterSelections","_this$cachedFilterVal","cachePinsNumDaysSelection","pinsStartingWithinNumDays","deleteQuickFilter","_this$filterToEdit3","enterpriseUsersQuickFiltersConfigPanel_","filtersFilterPanel_","SEARCH_QUERY_PARAM","EnterpriseUsersFilterBar","bool","searchValue","searchFilter","getFilterByName","filterButtonTitle","isOnlyGuestUserTypeFilterApplied","usersCountText","usersCount","inInactiveUsersMode","numUsers","resetFilters","resetFilterValues","page","handleSearchValueChange","refreshCurrentLoadUsersRequestId","debounceTask","applySearchValue","_this$searchFilter$ap","_this$searchFilter","apply","filterManager","_filterManager$userFi","_filterManager$userFi2","_filterManager$userFi3","hasUsersPageAutomaticFilterForGuestsOnly","appliedFilters","isArray","userFilterSelection","Guest","QuickFilters","_buildTask","context","generator","findAll","quickFilters","drop","populateQuickFilters","perform","applyFilter","_enterpriseAccessType","_pinStatus","_userCodeSchedule","_userType","_location","enterpriseAccessType","pinStatus","userCodeSchedule","newValues","applyCleanFilters","selectedFilterId","appliedFilterChange","hasAppliedFilters","keyInput","actionFn","event","code","ArrayProxy","enterpriseUsersFilterBar_","usersCommonToolbar_","usersIndexBulkToolbar_","accessControlUsersItemMobileCredentialUtilization_","verticalCollection_","usersListCheckboxUserItem_","usersListUserItem_","usersLoadingSpinner_","routeViewViewContainerNoResultsContent_","enterpriseUsersQuickFilters_","videoAdvancedVideoSearchPage_","videoEditCameraGroup_","videoManageCameraGroups_","videoClipsRouteBody_","videoLiveVideo_","exists_","videoVideoPlayerPlaybackFeaturesSvrPlaybackFeatures_","videoThumbnailSearch_","d","window","define","esc","require","RoutePerformace","insert","router","currentRouteName","replace","DashboardCardsMultipleDeviceTypesDetailLayout","appAppNavLink_","simpleBinaryAsyncToggle_","EnterpriseSettingsPageComponent","_this$args$searchStri","showSearchBar","settingsLinks","setToggleValue","linkItem","ajax","apiRequest","routeId","indicator","pageTitle","filterSettings","transitionTo","SystemSelectionItem","createSystemSelectionItem","SystemListSelectComponent","totalItemCount","systems","loadSystemsFn","_systems$filter","_systems$length","_systems$length2","filteredSystems","systemItem","selectedSystems","loadSelectedSystemsFn","modalsDialogModalsSimpleSimpleDialog_","enterpriseSystemListSelect_","PartialLocationsSelectorModal","initializeActionButtons","setActionButtons","cancelAction","closeModal","_this$actionButtonArg","_this$actionButtonArg2","confirmAction","actionButtonArgs","doNotGoBackAfterAction","updateLocations","selectedLocations","_item$model","unitId","EnterpriseAllPartialLocationsComponent","getEnabledUnitCount","_args$enabledUnits","featureEnabled","enabledUnits","isPartialLocationsSelected","isAllLocationsSelected","openSystemSelectionModal","PartialLocationSelector","indexOf","selectAllSystems","GroupRow","BaseItemRow","host","isOpen","errorMessage","errorTooltipOnly","forceDisplayErrorMessage","itemFilter","checkboxHidden","isAddLocationViaLoginCredentialsVisible","useListViewForChildren","childClass","canExpand","hasMany","ids","getChildItems","DS","PromiseArray","promise","m","SystemRow","getMenuItems","baseMenuItems","EmberEnterpriseGroupsAddLocation","visibility","openMoveGroupActionSheet","showRemoveGroupActionSheet","isHighestGroupWithAccess","menuItem","perform_","GroupsAdminLoginsListComponent","currentLogin","logins","getAdminLoginNames","fnGetLogin","label","BinaryListItem","availableLogins","uniq","without","selectLogin","clear","rejectBy","ItemRowComponent","and","showErrorMessage","itemRowObject","isDisabled","disableCheckbox","selectedGroupIds","groupCount","customerCount","isSystem","selectRowAction","toggleRow","row","kabobMenuItems","menuItems","baseKabobItems","inlineMenuItems","baseInlineItems","enterpriseGroupsItemRow_","guidFor_0","GroupsList","_this$args$selectedCu","_this$args$selectedGr","useInfinityScrollView","_this$args$parentItem","parentItem","sortedRowItems","isEvery","useScroll","isNotEmpty","_this$args$parentItem2","_this$args$parentItem3","itemObject","enterpriseGroupsRoleItemRow_","enterpriseGroupsGroupsRolesList_","GroupsRolesList","systemsOrGroupsList","isAny","clearRolesOnChildItems","_await$itemObject$chi","childItems","childItem","setSelectedRole","NO_DIRECT_ACCESS_LOGIN_ROLE_ID","modifiedRoleAction","disabledGroupId","childGroups","LoginPermissionRow","dropdownSelectItems","permissionOption","selectedValue","dropdownItems","ddi","selected","toString","featurePermissionDropdownItem","noAccessDropdownItem","dropdownValue","htmlSafeDefinition","definition","dropdownItemSelected","previouslySelectedDropdownItems","selectedDropdownItem","loginsLoginPermissionRow_","UserPermissionRow","UsersCustom","selectedUsersDropdownItemId","_this$args$permission","updateUserTypePermissions","userTypePermissionOptions","selectedUserAccessLevel","UsersFull","FullControl","UsersViewEdit","ViewPinsEditContact","UsersReadOnly","ReadOnly","displayUserTypePermissionOptions","userTypePermissionOption","loginsUserPermissionRow_","CustomLoginPermissions","EnterpriseManagementPermissions","DeviceControl","ImageSensorPermissions","VideoPermissions","Users","featurePermissionOptionCategories","getCategoryName","categoryId","categoryName","enterpriseManagementPermissionOptions","deviceControlPermissionOptions","imageSensorPermissionOptions","videoPermissionOptions","noop_","loginsCustomLoginPermissions_","getSelectedLoginFeatureAccessLevels","featurePermissionOptions","_featurePermissionOpt","selectedOption","getSelectedUserTypePermissions","_userTypePermissionOp","userTypeDict","CustomLoginPermissionsModalComponent","rollbackRoles","saveCustomSelections","_login$loginRolesItem","login","identifierId","confirmCustomSelection","loginRolesItem","loginRolesItems","loginFeatureAccessLevels","userTypePermissions","confirmedSelection","getModalButton_","AdministratorRoleModal","administratorRoleDescription","RemoveRoleWarningModal","removeRoleWarningDescription","actionSheetsEnterpriseLoginsCustomLoginPermissions_","deprecatedToValidPcRolesMap","Map","PointCentralManager","SingleSystemManagerLoginTemplate","PointCentralVendor","SingleSystemVendorLoginTemplate","PointCentralReservations","SingleSystemReservationsLoginTemplate","PointCentralFrontDesk","SingleSystemFrontDeskLoginTemplate","PointCentralOwner","SingleSystemOwnerLoginTemplate","getProperty","property","RoleItemRow","or","_dec12","_dec13","_dec14","_dec15","_dec16","_dec17","checkedValue","isMobileAppAsKeySelected","partiallySelected","_getProperty","_this$itemRowObject","numberOfChildGroups","_getProperty2","_this$itemRowObject2","doChildrenHaveRoles","_await$itemRowObject$","selectedRole","numberOfSystems","_this$itemRowObject3","dropdownArrowClass","_this$itemRowObject4","canExpandRow","numberChildElementsDescription","translationKey","numObjects","selectedRoleDescription","_this$roleDropdownIte","insufficientEditPermissions","roleDescription","roleDropdownItemsForGroupOrLocation","idSelector","dropdownItem","_itemRowObject$availa","loginRolesOnGroupsOrLocations","availableLoginRolesWithinScope","role","deprecatedRoleItem","has","_deprecatedToValidPcR","_validRoleForDeprecat","validRoleForDeprecatedRole","roleName","inheritRoleDescription","isInheritingHigherLevelRoles","canInheritRole","lr","displayCheckIcon","isCustomSelected","Custom","selectedRoleChanged","previousSelectedRole","useCheckboxes","showRoleDropdownErrorMessage","createCustomLoginPermissionsProperties","openCustomLoginPermissionsActionSheet","Administrator","openAdministratorModal","openWarningModal","editCustomPermissions","disableBackdropClose","clearRoles","clearRolesOnChildItemsAction","rollbackRole","_this$editLoginPermis","_loginRolesItem$origi","_this$editLoginPermis2","_this$editLoginPermis3","_loginRolesItem$origi2","_this$editLoginPermis4","_this$editLoginPermis5","_this$editLoginPermis6","_this$editLoginPermis7","_this$editLoginPermis8","_this$editLoginPermis9","editLoginPermissionOptions","apiRequestForValue","cachedEditLoginPermissionOptions","originalLoginFeatureAccessLevels","originalUserTypePermissions","customLoginPermissionsProperties","assign","toggleToolTip","toolTipOpen","class","UserAccessSelector","accessOptions","disableRetainAccessOption","bulletText","EnterpriseBaseLocationSelectionComponent","maxDeviceNumber","_this$group$systemGro","systemGroup","groupStates","showLocationsList","changeState","_this$args$groupState","toggleLocations","numGroupsRendered","getElementsByClassName","countExpanded","expandState","updateExpandAll","localStorage","setItem","childGroupClicked","nativeBridge","nativeViewId","Home","availableSystemItem","peekRecord","isMobileApp","doesSupportTransitionToNativeViewWithId","transitionToNativeView","contextSwitchType","EnterpriseToGroup","_identityManager$poin","_contextManager$curre","_contextManager$curre2","defaultRoute","pointCentralIdentity","isPointCentralSTR","EmberLocationsOccupancy","EmberLocationsSummary","previousRoute","currentRouteData","route","switchContext","searchKeyword","LocationRow","not","showEditLocationButton","showActionItems","editButtonIsVisible","canViewEditLocationPage","isPointCentralOrBuilderAccount","showEditLocationButtonForDesktop","media","isMobile","_this$identityManager2","_this$identityManager3","hasProgrammingCodeAsDeviceSettingFeatureToggle","isPcRpm","openMoveOutModal","showConfirmationDialog","numUnits","customerId","POST","_this$identityManager4","EmberLocationsOverview","refreshApplication","openMoveInPage","showManageResidentsOption","midLeaseMovesEnabled","manageResidentsV2Enabled","manageResidentsV2","manageResidents","moveInTenant","showEllipsis","listRowActionItems","visible","editLocation","showMoveOutOption","showMoveInOption","manageDevices","canViewManageDevicesPage","getActionItems","EnterpriseLocationsList","enterpriseLocationsTroubleIssuesWrapper_","ShowTroubleIssues","showTroubleIssues","showForMobile","enterpriseTroubleIssuesInfo","troubleIssues","troubleIssuesDropdownSelector","ViewMoreLocationsButton","showViewMoreLocationsButton","_this$args$model$meta","groupLocationCounts","locationDataType","SingleSystemDetail","viewMoreLocations","_model$groupedLocatio","_model$groupedLocatio2","_model$groupedLocatio3","currentFilters","batchSize","groupBatchSize","groupedLocationsBatchSize","groupNextLocationIndex","groupedLocationsStartIndexes","filtersString","locationsResponse","query","pushObjects","fieldsetDescription_","EnterpriseLoginsAddEnterpriseLoginsOptions","addEnterpriseLoginsOptions","addLoginOptions","option","queryParam","split","queryParamSeparated","navigationAction","routeToPage","visitedRoutesStack","pop","loginsLoginCredentialInformation_","schedulePicker_","ScheduledDeviceLoginRouteComponent","hasEndDate","_this$login$loginTemp","loginTemporarySchedule","endDateTime","hasValidSchedule","_this$login$loginTemp2","_this$login$weeklySch","weeklySchedule","updateHasEndDate","beginDateTime","updateWeeklySchedule","_this$selectedDays","selectedDays","beginTimeInMinutes","endTimeInMinutes","beginTime","loginsScheduledDeviceLogin_","EnterpriseLoginsEditScheduledDeviceLogin","StandaloneLocationsRolesList","loginsEditItem_","enterpriseGroupsStandaloneLocationsRolesList_","EnterpriseLoginsEditMultiGroupLogin","loginsIndexToolbar_","loginsListLoginItem_","EnterpriseLoginsPage","CsvParseAlertsComponent","fileUpload_","enterpriseBulkProcessingCsvParseAlerts_","ActiveDirectoryBulkImport","fileUploaded","result","parseResults","isReadyForImport","fileChanged","noErrorsOrWarnings","_this$parseResults","_this$parseResults2","warnings","moreDownloadOptions","open","exportUrls","activeDirectoryUserGroups","_this$resolvedModel2","alerts","_this$parseResults3","_this$parseResults4","rows","parseResultsCategories","htmlSafeActionHeader","_this$resolvedModel$e","_this$resolvedModel3","exampleCsvResources","actionHeader","downloadMappings","_this$resolvedModel4","submitMappings","response","startImportEndpoint","success","ActiveDirectoryMapping","deleteMapping","groupNameDropdownItems","_this$args$adGroups$m","_this$args$adGroups","adGroups","GroupSettingPageComponent","canApplyToMultipleGroups","_this$args$canApplyTo","saveSettingsToGroups","settingModel","properties","applyToGroupIds","saveSetting","disableRedirectOnApply","buttonAnimation","openMultipleGroupsModal","setSelectableFunction","ApplyMultipleGroupsModal","filterFunction","applyToSelectedSystems","selectedSystemGroupIds","TemplateCollection","isDestroyed","_navigation$getRouteI","isNative","objectName","css","searchInput_","LoginsList","qp","includeCustomerLogins","apiRequestForDataRecords","entries","join","restartable","loadLogins","updateSearch","loginName","elevateLogin","EmberEditMultiGroupAccessControlLogin","EmberEditMultiGroupLogin","EmberObject","isExpanded","deviceItems","locationDevices","checkForSelectedDevices","deviceId","templateDevices","any","toggleDeviceItem","deviceItem","BaseDeviceSelection","selectedDevices","locationItems","l","_this$args$locationDe","startingDevices","toggleDeviceRows","toggleProperty","toggleAll","_location$deviceItems","sendSelected","selectDevices","ApplyMultipleGroupsComponent","groupsModel","errMessage","allSelectable","saveGroupParameters","delayedHandler","_this$args$model$sele","ActiveDirectoryGroupMapping","showSingleSystemDropdown","SingleSystem","singleSystemsDropdownItems","_this$args$singleSyst","_this$args$singleSyst2","singleSystems","isNaN","loginTemplateDropdownItems","_this$args$loginTempl","_this$args$loginTempl2","loginTemplates","enterpriseSettingsActiveDirectoryGroupMapping_","uppercase_","templateType","Enterprise","enterpriseLoginTemplates","singleSystemLoginTemplates","hasGroupToLoginsMappings","mapGroupsToLogins","AccessPlansController","FilteringAccessPlansController","EnterpriseAccessControlAccessPlansEditController","AccessPlanEditController","EnterpriseAccessControlAccessPlansEditRoute","AccessGroupEditRoute","EmberEnterpriseAccessControlAccessPlanEdit","planDetailTotals","isPointCentralAccessControl","canPromoteSingleUser","getPlanDetailTotals","AccessPlansIndexController","FilterAccessPlanResultsController","AccessControlAccessPlansFilterBar","EnterpriseAccessPlansIndexRoute","BaseAccessPlansIndexRoute","EmberEnterpriseAccessControlAccessPlans","EnterpriseAccessPlansNewController","NewEnterpriseAccessPlanRoute","AccessGroupNewRoute","EmberEnterpriseAccessControlAccessPlanNew","AccessPlansRoute","FilteringAccessPlansRoute","FilteringAccessPointsController","EnterpriseAccessControlAccessPointsEditController","AccessPointEditController","EnterpriseAccessControlAccessPointEditRoute","AccessPointEditRoute","EmberEnterpriseAccessControlAccessPointEdit","EnterpriseAccessControlAccessPointsIndexController","Controller","EnterpriseAccessControlAccessPointsIndexRoute","BaseAccessPointsIndexRoute","FilteringAccessPointsRoute","EmberEnterpriseAccessControlAccessPoints","EnterpriseAccessControlElevatorsController","getEnterpriseElevatorsQuery","includeChildScope","elevatorArray","scopeIds","systemList","systemName","elevators","getParentElevatorsQuery","accumulator","current","existingGroup","enterpriseGroupDescription","existingSystem","getPointsQuery","EnterpriseAccessControlElevators","ElevatorFloor","EmberController","isSearchNotEmpty","editAccessPoint","accessPointId","parentElevatorsCount","viewingParentGroup","enterpriseElevatorsList","loadPoints","points","elevatorArr","filterAccessPoints","resetPoints","switchToSingleSystem","unitToTransitionTo","EmberAccessControlElevators","didCancel","EmberRoute","AccessPointsFilterManager","applyFilters","transition","paramsFor","to","modelFor","accessPoints","permissions","getAccessControlPermissions","setupController","controller","afterModel","updateFilters","defaultFilterValues","isFullTransition","validateFilterLength","controllerFor","routeName","refresh","EnterpriseAccessControlElevatorsRoute","EmberEnterpriseAccessControlElevators","Route","AdcBaseRoute","EmberEnterpriseAccessControlHolidaysEdit","holidays","redirect","EmberEnterpriseAccessControlIndex","EnterpriseAccessControlManageLoginsAddEnterpriseLoginsOptionsController","EnterpriseAddEnterpriseAccessControlLoginsOptionsRoute","BaseEnterpriseAddEnterpriseLoginsOptionsRoute","EmberAddEnterpriseAccessControlLoginsOptions","EnterpriseAccessControlManageLoginsAssociateMultiGroupLoginController","MultiGroupLoginController","EmberEnterpriseAccessControlLogins","AssociateMultiGroupAccessControlLoginRoute","AssociateMultiGroupLoginRoute","EmberAssociateMultiGroupAccessControlLogin","AssociateEnterpriseAccessControlLoginRoute","BaseAssociateEnterpriseLoginsRoute","EmberAssociateEnterpriseAccessControlLogin","EditScheduledDeviceLoginAccessControlController","BaseEditScheduledDeviceLoginController","EditScheduledDeviceLoginsAccessControlRoute","EditMultiGroupAccessControlLoginRoute","EmberEditScheduledDeviceLoginAccessControl","EnterpriseAccessControlManageLoginsEditMultiGroupLoginController","BaseEditMultiGroupLoginRoute","EditEnterpriseLoginsRoute","BaseEditEnterpriseLoginsRoute","EmberEditEnterpriseAccessControlLogin","EnterpriseElevateAccessControlLoginsRoute","EmberElevateAccessControlLogins","getQueryParam","EnterpriseAccessControlManageLoginsIndexController","BaseEnterpriseLoginsIndexController","EmberEnterpriseAccessControlLoginsRoute","BaseEnterpriseLoginsRoute","EnterpriseAccessControlManageLoginsNewMultiGroupLoginController","NewMultiGroupAccessControlLoginRoute","NewMultiGroupLoginRoute","EmberNewMultiGroupAccessControlLogin","NewScheduledDeviceLoginAccessControlController","EditScheduledDeviceLoginController","NewScheduledDeviceLoginsAccessControlRoute","EmberNewScheduledDeviceLoginAccessControl","NewEnterpriseAccessControlLoginsRoute","BaseNewEnterpriseLoginsRoute","EmberNewEnterpriseAccessControlLogin","EnterpriseLockdownConfigurationEditController","LockdownConfigurationEditController","EnterpriseLockdownConfigurationEditRoute","LockdownConfigurationEditRoute","EmberEnterpriseAccessControlLockdownConfigurationEdit","EnterpriseLockdownConfigurationController","LockdownConfigurationController","EnterpriseLockdownConfigurationRoute","LockdownConfigurationRoute","EmberEnterpriseAccessControlLockdownConfiguration","EnterpriseUserBulkCreateRoute","AccessControlUserBulkCreateRoute","EmberEnterpriseAccessControlUserBulkCreate","EnterpriseUsersController","FilteringContactsController","EnterpriseAccessControlUserEditNotSupportedRoute","AccessControlUserEditNotSupportedRoute","EmberEnterpriseAccessControlUserEditNotSupported","EnterpriseAccessControlUsersEditAccessPlans","BaseController","EnterpriseAccessControlUsersEditAccessPlansController","BaseEditAccessPlansRoute","EmberEnterpriseAccessControlUserEditAccessPlans","EnterpriseAccessControlAddContactRoute","BaseUsersAddContactRoute","EmberEnterpriseAccessControlUserEditAddContact","EmberEnterpriseAccessControlUserEditContactInformation","EnterpriseAccessControlUserContactInformationController","EnterpriseAccessControlEditContactInformationRoute","BaseUsersEditContactInformationRoute","EnterpriseAccessControlUserExpiringCredentialsController","EnterpriseAccessControlExpiringCredentialsRoute","BaseExpiringCredentialsRoute","EmberEnterpriseAccessControlUserEditExpiringCredentials","EnterpriseAccessControlUserOverviewController","userInformation","EmberEnterpriseAccessControlUserEditUserInformation","languagePreference","EmberEnterpriseAccessControlUserEditLanguage","userGroup","EmberEnterpriseAccessControlUserEditUserGroup","expiringCredentials","addNewUserAttribute","EmberEnterpriseAccessControlEditUserAttributes","editUserAttribute","EmberEnterpriseAccessControlEditUserAttributesEdit","userEditContactInformationRoute","userAddContactAddressRoute","userLinkLoginRoute","EmberEnterpriseAccessControlUsersLinkLogin","username","EmberEnterpriseAccessControlUsersUsername","usernameRedirect","EmberEnterpriseAccessControlUsers","toggleConfirmedTransitionFlag","confirmedTransition","AccessControlUserEditIndexRoute","EmberEnterpriseAccessControlUserEdit","EnterpriseAccessControlLanguageController","EnterpriseAccessControlLanguageRoute","BaseUsersLanguageRoute","EnterpriseAccessControlUsersLinkLoginController","LinkLoginBaseController","EnterpriseAccessControlUsersEditLinkLoginRoute","BaseEditUserLinkLoginRoute","ResidentialEditAccessControlUserRoute","BaseUserAttributesEditRoute","BaseUserAttributesIndexRoute","EnterpriseAccessControlUserAccessGroupController","EnterpriseEditContactUserGroup","BaseUserAddContactBaseRoute","EnterpriseAccessControlUserInformationController","ResidentialEditAccessControlUserInfoController","EnterpriseAccessControlEditUserInfoRoute","ResidentialEditUserInfoRoute","EnterpriseAccessControlUsersEditUsername","AccessControlEnterpriseUsersIndexController","BaseAccessControlUsersIndexController","AccessControlEnterpriseUsersIndexRoute","BaseAccessControlUsersIndexRoute","EnterpriseAccessControlMergeUsersListController","EnterpriseAccessControlUsersMergeUsersList","EmberEnterpriseAccessControlMergeUsersList","refreshModel","pageSize","_params$searchString","_params$page","_params$pageSize","usersResponse","contactIdForMerge","id_user","currentUserId","EnterpriseAccessControlUsersMergeUsersPreviewRoute","BaseMergeUsersPreviewRoute","EmberEnterpriseAccessControlMergeUsersPreview","accessGroups","EnterpriseAccessControlUsersPromoteUser","BasePromoteUserRoute","EmberEnterpriseAccessControlUserPromoteUser","EnterpriseAccessControlUsersRoute","FilteringContactsRoute","EnterpriseUserGroupEditController","UserGroupEditController","EnterpriseUserGroupEditRoute","UserGroupEditRoute","EmberEnterpriseAccessControlUserGroupsEdit","EnterpriseUserGroupsController","UserGroupsController","EnterpriseUserGroupsRoute","UserGroupsRoute","EmberEnterpriseAccessControlUserGroups","EnterpriseUserGroupNewController","UserGroupNewController","EnterpriseUserGroupNewRoute","UserGroupNewRoute","EmberEnterpriseAccessControlUserGroupsNew","EnterpriseActivityController","FilterResultsController","EnterpriseImageController","BaseImageEventController","EnterpriseImageRoute","BaseImageEventRoute","EmberEnterpriseEventImage","EnterpriseActivityIndexController","ActivityListController","EnterpriseActivityIndexRoute","ActivityListRoute","EmberEnterpriseExtendedActivityHistory","EnterpriseActivityRoute","FilterResultsRoute","filterResultsRouteQueryParams","EnterpriseVideoEventRoute","BaseVideoEventRoute","EmberEnterpriseEventVideo","EnterpriseExtendedActivityController","ExtendedActivityController","EnterpriseExtendedActivityRoute","ExtendedActivityRoute","EmberActivityGroupEventHistoryRoute","EmberActivityGroupEventHistory","EnterpriseAlertsIssuesController","BaseTroubleConditionController","getTCItems","troubleConditions","stopAlarm","stopAlarms","EnterpriseAlertsIssuesRoute","EmberEnterpriseAlertsIssues","activate","hideNotifications","AddLocationController","addLocationsToGroup","sourceLoginName","password","isBlank","addLocationsToGroupViaLogin","newUnits","groupsToMovableLocations","joiner","curr","unifiedDescriptionsList","locationOrLocations","defaultGroupId","isPresent","keys","getMovableLocations","movableSystemsExist","values","AddLocationRoute","id_selected_enterprise","selectedEnterprise","findRecord","enterprise","resetController","isExiting","modalsEnterpriseGroupsBaseManageGroupsModalWrapper_","AddSystems","none","clearSelectionAndCloseModal","saveSelectionAndCloseModal","noGroupSelected","cssClass","getModalFooterButton","hierarchicalGroupsModel","addSelectedSystems","modalsConfirmationsEditEditConfirmations_","coalesce_0","ConfirmDeleteEmptyGroupModal","displayMessage","renderGroupsList","BaseUserAccessModal","numSelectedCustomerIds","modalTitle","logMissingAbstractMember","movingLocationsWithinSameEnterprise","EnterpriseGroupsUserAccessModalsWrapper","modalsEnterpriseGroupsUserAccessModalWrapper_","MoveSystems","skipUserAccessModal","displayGroupSelector","groupSelectorTitle","userAccessTitle","groupButtons","userAccessButtons","toggleDisplayGroupSelector","_selectedGroup$model$","systemIdsUnderEnterprise","selectedCustomerId","rootLevelGroups","groupsWithSelectedSystems","groupToDisable","firstObject","newValue","RemoveSystems","buttonProperties","removeSelectedSystems","LOCATIONS_NOT_IN_ENTERPRISE","EnterpriseGroupsIndexController","_dec18","_dec19","_dec20","_dec21","_dec22","_dec23","_dec24","_dec25","_dec26","_dec27","_dec28","_dec29","_dec30","_dec31","_dec32","_descriptor23","_descriptor24","_descriptor25","_descriptor26","isLoading","enterpriseWaitingResponse","nameFilter","_this$selectedEnterpr","_this$selectedEnterpr2","_this$selectedEnterpr3","_this$selectedEnterpr4","_this$selectedEnterpr5","_this$selectedEnterpr6","occupiedGroupIdTemp","occupiedGroupId","vacantGroupIdTemp","vacantGroupId","isRenameDeleteDisabled","loginDoesNotSupportsSso","s","availableEnterprises","standaloneSystems","isSCIMGroup","enterpriseDropdownList","getDropdownLabel","autoSelectEnterprise","showLocationsNotInEnterprise","getSelectedEnterpriseForDropdown","_availableEnterprises","_currentSystemGroup2","currentSystemGroup","_currentSystemGroup$i","_currentSystemGroup","updateSelectedEnterprise","categorySection","rowsList","loadingStatus","labelTranslationKey","isSCIMSubgroup","createNewGroupMenuItem","EmberEnterpriseNewGroup","isCreateSubgroupVisible","addLocationMenuItem","parentGroupId","longTermRentalCommunity","groupStructure","isConfiguredForOccupancy","renameEnterpriseMenuItem","moveGroupMenuItem","isStandaloneGroupWithMLEG","deleteEnterpriseMenuItem","isDeleteHidden","manageEnterpriseMenuItems","deleteMenuItem","renameMenuItem","unshift","convertToDropdownActionItems","manageEnterpriseCreateNewGroupItem","tooltipText","standaloneMLEGDropdownItems","renameAndDeleteMenuItems","showInfoRibbon","hasAccessToParentGroup","isSeeingStandaloneGroup","hasAccessToMLEG","isAdministrator","loginPermissionsCollection","infoRibbonText","infoRibbonKBLinkURL","CreateParentGroup","loginSupportsMultiLevelEnterpriseGroups","showRemoveButton","_this$selectedEnterpr7","createNewEnterprise","EmberEnterpriseNewEnterprise","itemRow","selectedIds","deleteGroup","deleteSystemGroup","enterpriseToSelectInDropdown","openRenameGroupModal","instructionsTextResourceName","placeholderTextResourceName","enterpriseToMove","belongsTo","parentGroupRow","isMoveGroupActionSheetOpen","openMoveLocationsModal","groupsWithAllSystemsSelected","getSystemGroupsForSystems","acPermissions","acPermissionsCollection","MoveSystemsModal","userAccessEnum","later","openDeleteEmptyGroupModal","groupActionResponse","openAddLocationsModal","AddSystemsModal","addSystemsToGroup","refreshStandaloneSystems","refreshSystemGroupsAfterAction","openRemoveLocationsModal","RemoveSystemsModal","removeSystemsFromGroup","numberOfRemovedSystems","removingLocations","isRemovingGroup","moveButtonClick","contextSwitchHandler","ConfirmDeleteEmptyGroup","delete","deletingSelectedEnterprise","allSettled","sg","refreshGroups","onlyRetrieveGrouplessSystems","GroupsRoute","permissionsId","getSelectedSystemGroupId","setUpSystemGroupsManagerService","refreshStandaloneSystemsHandler","NewEnterpriseController","NewGroupController","newGroupInstructions","newGroupNameTranslationKey","selectGroupsText","newGroupDescription","saveGroup","newName","newGroup","isEmptyGroup","descriptionError","processValidationErrorsFromResponse","isNew","NewEnterpriseRoute","BaseNewGroupRoute","deactivate","ModalsElevateGroupLoginsComponent","performGroupActionWithSelectedLogins","binaryItems","selectedEnterpriseId","parentContainsUnits","showAdminLoginsSelectionModal","saveNewGroupAction","trimmedNewName","saveAndTransition","ElevateGroupLogins","hasCommitments","moveSystemsToChildGroup","transitionToManageGroups","NewGroupRoute","getStatusDropdownItems","occupancyFilterOptions","selectedFilters","occupancyFilterSelection","locationType","transitionToUrlInNewBrowserWindow","errorMessageResourcePath","LocationsController","STR","DeviceAccess","routeToolbar","isOccupancy","FilterBar","KeywordSearchToolbar","initiallyShowFilters","filterVisibilityInitialized","_meta$showFilters","showFilters","syncUsers","shouldHideSearchBar","_this$model$meta","isDeviceAccess","totalLocationsInGroup","locationsCountText","locationsCount","numLocations","allLocationsRetrieved","groupIds","Set","groupsCount","filterIds","totalGroupsCount","keywordSuggestions","data","keywordOptions","_this$model","showLocationsDetailsView","selectedKeyword","occupancyFilters","SearchFilter","defaultValue","isFulfilled","fnGetValues","checkOut","checkIn","minimumDate","maximumDate","DateFilter","timeZone","showDefaultDate","multiSelectQueryParams","showEnterpriseVHRButton","hasVhrAccess","showEnterpriseFleetTripReportButton","hasFleetDevices","lastLoadTime","lastLoadTimeZone","abbreviatedTimeZone","zonedNow","utcToZonedTime","now","getHours","toggleExpandAll","expandAll","defaultExpandState","newMap","isExpandAll","filterSelection","changeFilter","filterOutEmptyQueries","autoReloader","pageDataLoadTime","invoke","keepFilters","locFiltersString","size","getLocationsAndFilters","searchLocations","transitionToRoute","toggleLocationsDetailsView","toggleFilterVisibility","runEnterpriseVideoHealthReport","runEnterpriseFleetTripReport","occupancyStatus","cleaningStatus","inspectionStatus","propertyStatus","nextStartIndex","nextGroupStartIndex","getOccupancyFilterSelection","groupStartIndex","updateGroupStates","_this$model$groupStat","loc","filtered","loadSTRAccessPointsTabTourIfNeeded","STRAccessPointsTabTour","transitionHandler","stepClosed","startSTRAccessPointsTabTour","_window$localStorage$","_window$localStorage$2","getItem","LocationsDeviceAccessSubrouteController","BaseLocationsSubrouteController","createLocationInfos","LocationDeviceAccessInfo","columnHeadersInfo","extraClass","LocationsDeviceAccessSubrouteRoute","BaseLocationsSubrouteRoute","EmberLocationsDeviceAccess","FleetSubrouteController","LocationFleetInfo","isMetric","EnterpriseFleetRoute","EmberLocationsFleet","LocationsRoute","EmberLocations","_routeItem$relationsh","routeItem","relationship","subRoutes","AccessPointsController","BaseSingleSystemSubrouteController","cards","AccessPointDevicesCard","LockCard","GarageCard","devicesList","cardPath","hasNoDevices","card","deviceTypeKey","AccessPointsRoute","EmberLocationsLocationAccessPoints","changeRouteTitle","currentRoute","EmberLocationsLocationPanel","EmberLocationsLocationThermostats","EmberLocationsEdit","EmberLocationsEditManualMoveIn","EmberLocationsManageResidents","EmberLocationsManageResidentsV2","applicationController","send","routeTitleChanger","observer","once","noDevicesMessage","deviceType","isWholeNumber","test","numberInputLargerThanDecimal","number","isValidNameOrAddress","LocationsEditController","unattendedShowingInputsMapping","isIncrementOfPointFive","checkError","isNumber","inputType","resolvedLocationUserInfoModel","locationUsers","showDelistingPropertyWarning","unattendedShowingSetting","isListed","isPropertyListedOnLoad","upcomingAppointmentCount","usersWithAccess","userSectionHidden","numberOfUsers","_this$resolvedLocatio","_this$resolvedLocatio2","maximumNumberOfSelectableUsers","_this$originalUserIds","_this$originalUserIds2","originalUserIdsWithAccess","_contextManager$ident","_resolvedModel$userSe","systemIsFull","_this$maximumNumberOf","_resolvedModel$unatte","canEditLocation","changesInUsersSelection","noChanges","unattendedShowingSettingsChanged","pictureUrlOrFileChanged","emptyDescription","pictureUrlOrFileWithoutDisclaimer","unattendedShowingErrorsExist","setsAreEqual","setA","setB","_this$unattendedShowi","_this$unattendedShowi2","unattendedShowingSettings","showLegalDisclaimer","pictureUrlDisclaimerSelected","_this$resolvedModel$u","pictureUrlChanged","pictureImageUrlOrFileName","pictureUrl","pictureFileDataUrl","pictureFileChanged","_this$resolvedModel$u2","_this$resolvedModel5","pictureUrlChangedAndNotEmpty","pictureFileChangedAndNotEmpty","openEditUsersRoute","userIdsWithAccess","EmberLocationsEditUsers","transitionToBusinessHours","_this$resolvedModel6","BusinessHours","checkForErrorAndSetNewValue","_resolvedModel$unatte2","canViewUnattendedShowingSettings","canEditUnattendedShowingSettings","isUrlLink","pictureFile","dataUrlToFile","attribute","_this$unattendedShowi3","hasError","setPropertyManagementInfo","file","dataUrl","_this$resolvedModel7","pictureData","previewLink","_this$resolvedModel8","listingUrl","shouldShowPreviewButton","_this$resolvedModel9","_this$resolvedModel10","saveLocation","reject","unattendedShowingSettingSaveSuccess","_this$unattendedShowi4","_this$pictureFile$nam","_this$pictureFile","resolvedModelSaveSuccess","locationModel","locationUserInfoModel","_ex$errors","_this$resolvedModel11","propertyManagementIntegration","r","_r$data","attributes","LocationsEditRoute","willTransition","LocationsEditUsersController","gt","confirmButtonDisabled","confirmText","enterpriseUsers","_this$resolvedModel$l","enumValue","getUserIcon","returnToEditLocation","itemsToSave","cancelEdit","notifyPropertyChange","LocationsEditUsersRoute","getEnterpriseUsers","awaitedUsers","IndexRoute","EmberLocationsLocation","ToolBarComponent","ManageResidentsV2Controller","TenantTurnoverFailed","ManageResidentsV2Toolbar","syncTenantsFromPMS","tenantBinaryListItems","allTenantsChecked","disableButton","existingTenants","newTenants","unloadAll","numTenantsChecked","toggleTenantsCheckboxes","willDestroy","retryResidentReset","importPMSDataButtonAction","isManageResidentsActionSheetActive","isTenantTurnoverInProgress","status","NotSet","Pending","Complete","ManuallyVerifiedComplete","tenantTurnoverStatus","statusSection","automationRemovalStepStatus","codeClearedStepStatus","deviceDeletionStepStatus","systemCheckStepStatus","userCodeSyncStepStatus","deviceDeletionSteps","RemoveThirdPartyDevices","PendingRemoveThirdPartyDevices","ClearInfoAtThePanel","getArrayWithTextAndSVGForStatus","automationRemovalStep","SendInitCommands","codeClearedStep","SendUserCodes","systemCheckSteps","RequestRecycleFlags","PendingRecycleFlags","InitiateSystemCheck","userCodeSyncStep","SendVacantGroupCode","getText","style","tenantTurnoverFailedStep","svg","openResidentResetKBR","ManageResidentsV2Route","ManageResidents","footerButtons","modalFooterButton","ManageResidentsController","moveTenants","newResidents","residentsLeaving","isTenantValid","tenantMovingOut","ManageResidentsModal","ManageResidentsRoute","ManualMoveInController","tl","moveInTenants","ManualMoveInRoute","PanelController","partitions","sensors","extend","BaseSingleSystemSubrouteRoute","id_location","_this$contextManager","_this$contextManager2","LocationThermostatDetailsController","OccupancySubrouteController","LocationOccupancyInfo","OccupancyRoute","PersonalSafetySubrouteController","LocationPersonalSafetyInfo","EnterprisePersonalSafetyRoute","PersonalSafety","EnterpriseLocationsRoute","onlyUncachedFilterCounts","pageUrlEnum","loadUncachedFilters","getLocationsPromise","_this$groupStates","isUsingEnterpriseLocationsCache","setViewProperties","showWideFilters","PromiseObject","cancelAll","clearFilters","currentModel","uncachedFilterCounts","SummarySubrouteController","showBusinessStatus","showAccessPoints","showPanels","showTenantTurnoverStatus","LocationSummaryInfo","columns","showCentralStationId","businessStatus","panels","hubs","city","zipCode","centralStationId","Commercial","TemperaturesSubrouteController","LocationTemperaturesInfo","TemperaturesRoute","EmberLocationsTemperatures","CommercialTemperatures","ThermostatsSubrouteController","LocationThermostatsInfo","optional","hidden","Boolean","ThermostatsSubrouteRoute","EmberLocationsThermostats","Energy","VideoSubrouteController","LocationVideoInfo","hasSvrs","hasRecordedVideoDevices","showRecordedVideo","shouldHideColumn","VideoRoute","EmberLocationsVideo","EnterpriseManageLoginsAddEnterpriseLoginsOptionsController","EnterpriseAddEnterpriseLoginsOptionsRoute","EmberAddEnterpriseLoginsOptions","EnterpriseManageLoginsAssociateMultiGroupLoginController","EmberEnterpriseLogins","EmberAssociateMultiGroupLogin","EmberAssociateEnterpriseLogin","BaseEditEnterpriseScheduledLoginsRoute","MultiGroupLoginRoute","EmberEditScheduledDeviceLogin","EnterpriseManageLoginsEditMultiGroupLoginController","EnterpriseEditMultiGroupLoginsRoute","BaseEnterpriseEditMultiGroupLoginsRoute","EmberEditEnterpriseLogin","cl","getSystemGroupLoginModel","loginId","isNonGroupLogin","reload","id_login","EnterpriseElevateLoginsRoute","EmberElevateLogins","EnterpriseManageLoginsIndexController","EnterpriseLoginsRoute","EnterpriseManageLoginsNewMultiGroupLoginController","EmberNewMultiGroupLogin","NewScheduledDeviceLoginController","BaseNewEnterpriseScheduledLoginsRoute","EmberNewScheduledDeviceLogin","EmberNewEnterpriseLogin","canBeEdited","selectedUnitIds","WeeklySchedule","WEEK_DAYS","LoginTemporarySchedule","BaseSettingsRoute","EmberMultiGroupSettings","PointCentralCommunityDashboardRoute","EmberEnterpriseLtrCommunityDashboard","origin","loadChildGroups","children","groupCountDescription","numGroups","EnterpriseReportsCatalogController","ReportsCatalogController","EmberEnterpriseReportEdit","EnterpriseReportsCatalogRoute","BaseReportsCatalogRoute","EmberEnterpriseReportsCatalog","BaseReportEditController","EmberEnterpriseReports","BaseAccessHistoryReportEditRoute","EmberEnterpriseAccessHistoryReportEdit","BaseAlarmsIssuesReportEditRoute","EmberEnterpriseAlarmsIssuesReportEdit","EnterpriseBAAReportEditRoute","EmberEnterpriseBAAReportEdit","_","BaseReportEditRoute","ExtraDataRoute","EmberEnterpriseSelfGuidedToursReportEdit","report","EmberEnterpriseTroubleConditionDetailsReportEdit","extraData","paramValue","URLSearchParams","extraDataArray","EmberEnterpriseTroubleConditionReportEdit","troubleConditionReportOptions","searchParams","EnterpriseUserActivityReportEditController","BaseUserActivityReportEditRoute","EmberEnterpriseUserActivityReportEdit","BaseUserSummaryReportEditRoute","EmberEnterpriseUserSummaryReportEdit","BaseVideoHealthReportEditRoute","EmberEnterpriseVideoHealthReportEdit","CommercialReportsController","EnterpriseReportsIndexRoute","BaseReportsRoute","EnterpriseSettingsAccessControlRestrictedAccessRoute","EmberGroupSettingsAccessControlRestrictedAccess","restrictedAccessSetting","getRestrictedAccessSetting","timetables","AccessSettingController","BaseCategoryRoute","EmberGroupSettingsAccessSettings","ActiveDirectoryAuthenticationProviderTokenController","resetControllerProperties","isTokenVisible","authTokenUrl","activeDirectoryClientIdentifier","ENV","siteUrl","authenticationProviderToken","copyToClipboard","copySuccess","copyString","anchorSelector","anchorElement","copySuccessString","browser","universalCopyToClipboard","doesSupportLaunchShareActionDialog","ActiveDirectoryAuthenticationProviderTokenRoute","ActiveDirectorySetupRoute","EmberGroupSettingsActiveDirectoryAuthenticationProviderToken","EnterpriseSettingsActiveDirectorySetupBulkPlanMappingRoute","EmberGroupSettingsActiveDirectoryBulkLoginMapping","EmberGroupSettingsActiveDirectoryBulkPlanMapping","EnterpriseGroupMappingRoute","EmberGroupSettingsActiveDirectoryEnterpriseGroupMapping","parentModel","loginMappings","GroupToPlanMappingRoute","EmberGroupSettingsActiveDirectoryGroupToPlanMapping","planMappings","LocationGroupMappingRoute","EmberGroupSettingsActiveDirectoryLocationGroupMapping","ActiveDirectorySetupIndexRoute","getAccessPlans","userId","includeParentScope","accessPlanOperatingMode","DefaultOperatingMode","getContextId","rollbackModelOnTransition","isSaving","EnterpriseSettingsArmingScheduleTemplatesApply","EmberArmingScheduleTemplatesApply","EnterpriseSettingsArmingScheduleTemplatesEditArmingSchedule","EmberArmingScheduleTemplatesEditArmingSchedule","EnterpriseSettingsArmingScheduleTemplatesEdit","EmberArmingScheduleTemplatesEdit","EnterpriseSettingsArmingScheduleTemplatesIndex","EmberArmingScheduleTemplates","AUTO_RELOCK_DELAY_OPTIONS","oneMinute","fifteenMinutes","thirtyMinutes","fourtyFiveMinutes","sixtyMinutes","oneHundredTwentyMinutes","ApplyMultipleGroupsController","autoRelockDropdownItems","autoRelock","autoRelockEnabled","autoRelockDelayMinutes","nightlyOccupiedSettingIsOn","nightlyVacantSettingIsOn","systemGroupIds","nightlyAutoLockOccupiedEnabled","nightlyAutoLockVacantEnabled","systemGroupIdsToChange","_await$this$identityM","selectedGroupTermType","rentalTermType","getRentalTermTypeErrorMessage","EnterpriseSettingsAutoRelockRoute","EmberGroupSettingsAutoRelock","AutomaticPanelArmingController","automaticPanelArmingProperties","autoDisarmAfterOpen","currentAutoDisarmAfterOpen","nightlyArmEnabled","currentNightlyArmEnabled","nightlyArmStartTimeMinutes","currentNightlyArmStartTimeMinutes","changeStartTime","startTimeMinutes","MINUTES_IN_HOUR","shouldDisableApplyButton","automaticPanelArming","timeDate","minutesToDate","nightlyArmStartTimeModel","getMinutes","EnterpriseSettingsAutoArmingRoute","EmberGroupSettingsAutomaticPanelArming","EnterpriseSettingsAutoEnableBackgroundCaptureController","settingEnabled","EnterpriseSettingsAutoEnableBackgroundCaptureRoute","EmberGroupSettingAutomaticallyEnableBackgroundCapture","automaticallyEnableBackgroundCapture","BackupCodesController","backupCodesProperties","storeBackupCodeEnabled","storeBackupCodeOn","getIsPointCentralErrorMessage","currentGroupSettingsChanged","backupCodes","EnterpriseSettingsBackupCodesRoute","EmberGroupSettingsBackupCodes","EnterpriseSettingsBusinessHourTemplatesController","GroupSettingsBusinessHoursTemplate","newBusinessHourTemplate","EnterpriseSettingsBusinessHourTemplatesRoute","EmberGroupSettingsBusinessHourTemplates","businessHourTemplates","CommunicationSettingsCategoryController","CommunicationSettingsCategoryRoute","EmberGroupSettingsCommunicationSettings","CompanyLogoController","SelfGuidedToursCustomerLogoController","getIsEmptyGroupErrorMessage","CompanyLogoRoute","EnterpriseSettingsSelfGuidedCustomLogoRoute","EmberGroupSettingsCompanyLogo","CompanyNameController","companyNameProperties","_this$companyNameMode","companyNameModel","companyName","EnterpriseSettingsCompanyNameRoute","BaseRoute","EmberGroupSettingsCompanyName","CustomizableWelcomeEmailTestEmail","loginEmail","sendTestEmail","testEmailAddress","CustomizeWelcomeEmailController","supportsApplyToAllGroups","customizeWelcomeEmailModel","LTR","supportsApplyToMultipleGroups","customizeWelcomeEmailProperties","titleA","titleB","titleC","boxA","boxB","boxC","optionalText","changedAttributes","openCustomizeWelcomeEmailTestEmail","sendTestEmailWithNotifications","testEmail","EnterpriseSettingsCustomizeWelcomeEmailRoute","EmberGroupSettingsCustomizeWelcomeEmail","customizeWelcomeEmail","EnterpriseSettingsDeleteExpiredUsersController","deleteExpireUsersSwitch","deleteExpiredUsersEnabled","deleteExpiredUsersProperties","deleteExpiredUsersSettingEnabled","_resolvedModel$delete","deleteExpiredUsers","EnterpriseSettingsDeleteExpiredUsersRoute","EmberGroupSettingsDeleteExpiredUsers","MONTHS_OF_INACTIVITY_OPTIONS","never","oneMonth","twoMonths","aYear","EnterpriseSettingsDeleteInactiveUsersController","deleteInactiveUsersDropdownItems","_MONTHS_OF_INACTIVITY","deleteInactiveUsersProperties","monthsOfInactivityBeforeDeletion","monthsOfInactivityBeforeDeletionSelection","monthsOfInactivityBeforeDeletionNumber","deleteInactiveUsers","EnterpriseSettingsDeleteInactiveUsersRoute","EmberGroupSettingsDeleteInactiveUsers","EnterpriseEnergySaverRulesController","energySaverRuleProperties","energySaverRuleEnabled","energySaverRuleOn","currentSettingChanged","EmberEnterpriseEnergySaverRuleSettingsRoute","EmberEnterpriseEnergySaverRuleSettings","EmberGroupSettingsEnergySettings","EnterpriseSettingsGuestLoginAccessController","isOn","EnterpriseSettingsGuestLoginAccessRoute","EmberGroupSettingsGuestLoginAccess","guestLoginAccess","getDateFromMinutesAfterMidnight","minutesAfterMidnight","UTC","EnterpriseSettingsHREController","hre","houseReadyEarlyProperties","previousEnabledUnits","enabledUnitIds","houseReadyEarlyAutomationEnabled","houseReadyEarlyNotificationEnabled","getUTCHours","getUTCMinutes","enabledLocations","toggleAutomation","toggleNotification","EnterpriseSettingsHRERoute","EmberGroupSettingsHouseReadyEarly","houseReadyEarly","EnterpriseSettingsIndexRoute","LoginTemplatesController","loginTemplateTypeProperties","loginTemplatesForGroup","pageHeader","pageDescription","EnterpriseLoginTemplate","newTemplate","SingleSystemLoginTemplate","pageId","availableSystemGroups","hasLoginTemplateWithSameName","hasCopyOfLoginTemplate","availableSystemGroupModels","asg","systemGroupsWithDuplicateTemplates","systemGroupsIdsWithCopyOfTemplate","openApplyToMultipleGroupsModal","getGroupHasDuplicateTemplate","copyLoginTemplate","hideLoginTemplate","templates","showAllTemplatesOfType","EnterpriseSettingsLoginTemplatesRoute","EmberGroupSettingsLoginTemplates","BaseManagedAccountAccessRoute","EmberGroupSettingsManagedAccountAccess","MobileBadgeRoute","EmberGroupSettingsMobileBadge","mobileBadge","EnterpriseSettingsNewBusinessHourTemplatesApply","EnterpriseSettingsNewBusinessHourTemplatesApplyRoute","EmberNewBusinessHourTemplatesApply","EnterpriseSettingsNewBusinessHourTemplatesEdit","learnMoreLink","EmberNewBusinessHourTemplates","transitionToApplyPage","validationError","validateTemplateData","templateName","EnterpriseSettingsNewBusinessHourTemplatesEditRoute","EmberNewBusinessHourTemplatesEdit","id_template","daysInWeek","EnterpriseSettingsNewBusinessHourTemplatesIndex","templatesCountText","filteredTemplatesCount","totalTemplatesCount","filterSchedules","navigateToCreatePage","applyTemplate","showDeleteModal","message","errorText","getErrorText","setTimeout","resetQueryParams","EnterpriseSettingsNewBusinessHourTemplatesIndexRoute","initBusinessHourTemplatesModel","console","canEditTemplates","isTransition","NoiseMonitorSettingsTemplateController","NoiseSettingsController","displayThresholds","_this$settingsTemplat","_this$settingsTemplat2","thresholdList","sortThresholdsToDisplay","addThreshold","sensorReadingType","Loudness","saveTemplate","EnterpriseSettingsNoiseMonitorSettingsTemplatesEditRoute","EmberEnterpriseNoiseMonitorSettingsTemplateEdit","getTemplateModel","modelName","defaultThreshold","thresholdHigh","durationInMinutes","threshold","EnterpriseSettingsNoiseMonitorTemplateIndexController","newNoiseMonitorSettingsTemplate","EnterpriseSettingsNoiseMonitorSettingsTemplatesIndexRoute","EmberGroupSettingsNoiseMonitorSettingsTemplates","hasValidNoiseSensors","NoiseMonitorSettingController","EmberGroupSettingsNoiseMonitorSettings","OccupancyBasedPoolControllerRulesEditController","poolSetpoint","convertTemp","occupiedPoolSetpoint","spaSetpoint","occupiedSpaSetpoint","isCelsius","localizeTempUnitsToCelsius","poolSetpointRange","calculateDropdownValues","minPoolSetpoint","maxPoolSetpoint","spaSetpointRange","minSpaSetpoint","maxSpaSetpoint","updatePoolSetpoint","convertToFarenheit","updateSpaSetpoint","checkDisabled","onWhenOccupied","temp","temperatureInCelcius","unit","degreeSymbol","minTemp","maxTemp","from","OccupancyBasedPoolControllerRulesEditRoute","EmberGroupSettingsOBPCREdit","poolControllers","results","request","OccupancyBasedPoolControllerRulesIndexController","createNewOBPCRTemplate","OccupancyBasedPoolControllerRulesIndexRoute","EmberGroupSettingsOBPCR","poolControllerTemplates","hasValidPoolControllers","OccupancyBasedThermostatRulesEditController","occupiedCool","occupiedCoolSetpoint","occupiedHeat","occupiedHeatSetpoint","unoccupiedCool","unoccupiedCoolSetpoint","unoccupiedHeat","unoccupiedHeatSetpoint","occupiedHeatSetpointRange","minHeatSetpoint","maxSetpoint","occupiedCoolSetpointRange","minCoolSetpoint","unoccupiedHeatSetpointRange","unoccupiedCoolSetpointRange","updateSetpoint","attr","updateOccupiedHeat","updateOccupiedCool","updateUnoccupiedHeat","updateUnoccupiedCool","revertToggle","checkOccupiedDisabled","occupiedChecked","checkUnoccupiedDisabled","unoccupiedChecked","temperatureInCelsius","OccupancyBasedThermostatRulesEditRoute","EmberGroupSettingsOBTREdit","OccupancyBasedThermostatRulesController","OccupancyBasedThermostatRulesRoute","EmberGroupSettingsOBTR","rules","hasValidThermostats","PanelSettingController","EmberGroupSettingsPanelSettings","EmberGroupSettingsPermissionsAndIntegrations","PoolControlFilterPumpSchedulesController","dayOfWeekSchedule","filterPumpDayOfWeekInfo","EVERY_DAY","scheduleInfo","createNewDayOfWeekSchedule","sortDays","updateDayOfWeekSchedule","daySchedule","f","getActiveScheduledDays","_d$startTime","_d$endTime","Infinity","PoolControlFilterPumpSchedulesEditRoute","EmberGroupSettingsPoolControlFilterPumpScheduleEdit","PoolControlFilterPumpSchedulesTemplatesController","createNewTemplate","PoolControlFilterPumpSchedulesIndexRoute","EmberGroupSettingsPoolControlFilterPumpSchedule","EnterpriseSettingsPreloadedCodesForUserCreationController","PreloadedCodesProperties","preloadedCodesForUserCreationEnabled","preloadedCodesEnabledForGroup","canSavePreloadedCodesSetting","preloadedCodesForUserCreation","preloadedCodeForUserCreation","EnterpriseSettingsPreloadedCodesForUserCreationRoute","EmberGroupSettingsPreloadedCodesForUserCreation","PropertyManagementResidentSelectComponent","isProcessBtnDisabled","hasPropertyManagementIntegrationEditAccess","noResidentsSelected","resident","selectedResidentIds","residentId","processCurrentResidents","startDateLocal","endDateLocal","selectedResidents","EnterpriseSettingsPropertyManagementIntegrationController","disableProcessButton","residentStartDateLocal","residentEndDateLocal","openResidentSelectModal","residents","loadResidentsAction","_this$residentStartDa","_this$residentEndDate","dateFromLocal","toISOString","dateToLocal","changeDate","isStartDate","EnterpriseSettingsPropertyManagementIntegrationRoute","EmberGroupSettingsPropertyManagementIntegration","EnterpriseSettingsRoute","ScheduleEmailController","scheduleEmailProperties","receiveEmailEnabled","receiveEmailOn","scheduledEmailDaysOffset","daysOffsetSelected","scheduleEmail","updateDays","v","EnterpriseSettingsScheduleEmailRoute","EmberGroupSettingsScheduleEmail","ScheduleWelcomeMessageController","scheduleWelcomeMessageProperties","scheduleWelcomeMessage","EnterpriseSettingsScheduleWelcomeMessageRoute","EmberGroupSettingsScheduleWelcomeMessage","createAppointmentLengthArray","currentlySelectedLength","appointmentLengths","singleShowingAppointmentLengths","singleShowingLength","appointmentLengthProperties","singleShowingAppointmentLength","appointmentLength","EnterpriseSettingsSelfGuidedDuration","EmberGroupSettingsSelfGuidedToursAppointmentLength","creditCardVerificationProperties","creditCardVerificationIsOn","verificationOn","creditCardVerification","EnterpriseSettingsSelfGuidedCCVerificationRoute","EmberGroupSettingsSelfGuidedToursCCVerification","EnterpriseSettingsSelfGuidedToursCheckpointIdController","checkpointIdProperties","checkpointIdEnabled","checkpointIdLocationId","checkpointIdApiKey","apiKey","checkpointIdVerificationDuration","verificationDuration","verifyAtTimeOfSchedule","verifyAtTimeOfTour","checkpointId","disablingCheckpointId","showVerificationSettingsError","disableApplyButton","emptyApiKey","emptyLocationId","getVerificationDurations","EnterpriseSettingsSelfGuidedCheckpointIdRoute","EmberGroupSettingsSelfGuidedToursCheckpointId","EnterpriseSettingsSelfGuidedToursCommunitySiteMapController","communitySiteMapProperties","_this$mapFile","fileName","mapFile","fileDataUrl","mapFileDataUrl","canSaveCommunitySiteMap","communitySiteMap","resolvedCommunitySiteMap","canSaveMapFile","disclaimerAcknowledged","needLegalDisclaimer","mapFileChanged","_this$mapFile2","URL","createObjectURL","Blob","EnterpriseSettingsSelfGuidedToursCommunitySiteMapRoute","EmberGroupSettingsSelfGuidedToursCommunitySiteMap","EnterpriseSettingsSelfGuidedToursConfigureFunnelCrm","configureFunnelCrmProperties","useFunnelAvailableTimes","configureFunnelCrm","EmberGroupSettingsSelfGuidedToursConfigureFunnelCrm","currentGroup","EnterpriseSettingsSelfGuidedToursConfigureKnockCrm","configureKnockCrmProperties","knockApiKey","knockCommunityId","communityId","knockActive","active","configureKnockCrm","EnterpriseSettingsSelfGuidedToursConfigureKnockCrmRoute","EmberGroupSettingsSelfGuidedToursConfigureKnockCrm","EnterpriseSettingsSelfGuidedCustomUrlController","validUrl","url","selfGuidedToursUrl","copyLinkEnabled","urlSuffix","copyUrl","urlPrefix","lastSavedUrl","navigator","clipboard","writeText","EnterpriseSettingsSelfGuidedCustomUrlRoute","EmberGroupSettingsSelfGuidedToursCustomUrl","customUrl","customerLogoProperties","_this$logoFile","imageUrlOrFileName","logoUrl","logoFile","logoFileDataUrl","canSaveCustomerLogo","_customerLogo$get","customerLogo","canSaveLogoUrl","canSaveLogoFile","_customerLogo$get2","logoUrlChanged","logoFileChanged","logoData","EmberGroupSettingsSelfGuidedToursCustomerLogo","EnterpriseSettingsSelfGuidedToursGateCodeController","codeAtMaxLength","gateCodeLength","maxCodeLength","gateCode","gateCodeEnabled","requireVerificationToShowGateCode","EnterpriseSettingsSelfGuidedToursGateCodeRoute","EmberGroupSettingsSelfGuidedToursGateCode","EnterpriseSettingsSelfGuidedToursGeofenceController","geofenceProperties","geofenceEnabled","canSaveGeofence","_this$resolvedGeofenc","resolvedGeofence","selfGuidedToursGeofence","EnterpriseSettingsSelfGuidedToursGeofenceRoute","EmberGroupSettingsSelfGuidedToursGeofence","geofence","SelfGuidedToursHoursOfOperationController","hoursOfOperationProperties","scheduleDictionary","areHoursOfOperationChanged","areSchedulesEqual","scheduleDictionaryOnLoad","hoursOfOperation","updatedSchedule","originalSchedule","areTimeBlocksEqual","firstBlock","secondBlock","EnterpriseSettingsSelfGuidedHoursRoute","EmberGroupSettingsSelfGuidedToursHoursOfOperation","supportPhoneProperties","supportPhoneNumber","supportPhone","EnterpriseSettingsSelfGuidedSupportPhoneRoute","EmberGroupSettingsSelfGuidedToursSupportPhone","EnterpriseSettingsSelfGuidedToursTermsAndConditionsController","maxFileBytes","termsAndConditionsProperties","_this$termsAndConditi","termsAndConditionsFile","termsAndConditionsFileDataUrl","canSaveTermsAndConditions","termsAndConditionsFileChanged","_termsAndConditions$g","termsAndConditions","EnterpriseSettingsSelfGuidedToursTermsAndConditionsRoute","EmberGroupSettingsSelfGuidedToursTermsAndConditions","webPrimaryColorProperties","selfGuidedToursColor","webPrimaryColor","canSaveWebPrimaryColor","isValidColor","EmberGroupSettingsSelfGuidedToursWebPrimaryColor","EmberGroupSettingsSelfGuidedTours","SendEmailByDefaultController","sendEmailByDefaultProperties","sendEmailToAllGuestsEnabled","sendGuestsEmailOn","sendEmailToNonGuestsEnabled","sendNonGuestsEmailOn","sendEmailByDefault","EnterpriseSettingsSendEmailByDefaultRoute","EmberGroupSettingsSendEmailByDefault","EnterpriseSettingsSelfGuidedFollowUpTextController","EnterpriseSettingsSelfGuidedFollowUpTextRoute","EmberGroupSettingsSendFollowUpText","followUpText","SelfGuidedToursSupportPhoneNumber","SelfGuidedToursSupportPhoneRoute","EmberGroupSettingsSupportPhoneNumber","disableToggle","selectedAccessCodeExpirationTime","selectedAccessCodeEnabledTime","selectedAvailabilitySchedule","hideTimePicker","accessCodeExpirationTimeProperties","accessCodeExpirationTimeMinutesAfterMidnight","accessCodeEnabledTimeMinutesAfterMidnight","endTimeIsBeforeStartTime","canSaveAccessCodeExpirationTime","temporaryAccessCodeAvailabilitySchedule","toggleAccessCodeExpirationTimeSetting","_this$previouslySelec","_this$previouslySelec2","toggledValue","previouslySelectedTemporaryAccessCodeExpirationTime","previouslySelectedTemporaryAccessCodeEnabledTime","transitionToAccessCodesSetting","EmberGroupSettingsTemporaryAccessCodes","EmberGroupSettingsTemporaryAccessCodesAccessCodeAvailabilitySchedule","accessCodeDurations","minutes","selectedAccessCodeDuration","num","accessCodeDurationProperties","accessCodeDurationMinutes","canSaveAccessCodeDuration","EmberGroupSettingsTemporaryAccessCodesAccessCodeDuration","temporaryAccessCodeDuration","EmberGroupSettingsTemporaryAccessCodeSettings","toggleTemporaryAccessCodesSetting","preloadedCodesCount","temporaryAccessCodesEnabled","temporaryAccessCodes","EnterpriseSettingsThermostatScheduleTemplateController","GroupSettingsThermostatScheduleTemplate","newThermostatScheduleTemplate","EnterpriseSettingsThermostatScheduleTemplateRoute","EmberGroupSettingsThermostatScheduleTemplates","thermostatScheduleTemplates","toggleTemplateSetting","getMinMaxNames","EnterpriseSettingsThermostatSettingsTemplatesController","Celsius","rowMap","displayLockingModeOptions","config","tooltipDescriptions","unitTranslation","toggleBalancePoint","toggleMinHumiditySetpoint","toggleMaxHumiditySetpoint","updateField","cache","EnterpriseSettingsThermostatSettingsTemplatesRoute","EmberEnterpriseThermostatSettingsTemplateEdit","configurationName","changeDefaultsToCelsiusIfNeeded","newThermostatSettingsTemplate","EnterpriseSettingsThermostatSettingsTemplatesIndexRoute","EmberGroupSettingsThermostatSettingsTemplates","UserCodeTimesController","userCodeTimesProperties","activeCodeStartTime","activeCodeEndTime","earlyPinEnabled","earlyPinOn","userCodeTimes","earlyPinOnToggleChanged","_userCodeTimes$get","_userCodeTimes$get2","_userCodeTimes$get3","EnterpriseSettingsUserCodeTimesRoute","EmberGroupSettingsUserCodeTimes","EmberGroupSettingsUserSettings","WaterMeterConfigurationEditController","configurations","configuration","configId","supportedConfigurations","ConfigurationId","_configuration$Config","ConfigurationValue","displayOptions","isTemplateForB36WaterMeter","B36WaterMeter","updateWaterMeterConfiguration","createWaterMeterConfiguration","configurationId","configurationValue","GroupSettingsWaterMeterConfigurationEditRoute","EmberGroupSettingsWaterMeterConfigurationTemplateEdit","template_type","Water","waterMeterTemplateType","GroupSettingsWaterMeterConfigurationIndexController","newWaterMeterConfiguration","GroupSettingsWaterMeterConfigurationIndexRoute","EmberGroupSettingsWaterMeterConfigurationTemplate","waterMeterTemplates","hasValidWaterMeters","WaterSettingController","EmberGroupSettingsWaterSettings","WelcomeMessageController","welcomeMessageProperties","sendTextToAllGuestsEnabled","sendGuestsTextOn","sendTextToNonGuestsEnabled","sendNonGuestsTextOn","welcomeMessage","EnterpriseSettingsWelcomeMessageRoute","EmberGroupSettingsWelcomeMessage","EnterpriseAccessPeriodController","DeviceAccessController","isConfirmDisabled","_get","temporaryScheduleCopy","weeklyScheduleCopy","fnGetText","isCreationFlow","weeklyScheduleCopyUpdate","temporaryScheduleCopyUpdate","saveDeviceAccess","temporarySchedule","_this$resolvedModel$d","_this$resolvedModel$d2","_this$resolvedModel$d3","NINE_AM","FIVE_PM","DEFAULT_DAYS","_this$resolvedModel$d4","_this$resolvedModel$d5","TemporarySchedule","addMonths","EnterpriseEditAccessPeriodRoute","ResidentialAccessPeriodRoute","EmberEnterpriseEditUserAccessPeriod","EnterpriseAddContactRoute","EmberEnterpriseUsersAddContactAddress","EmberEnterpriseEditUserContactInformation","EnterpriseContactInfoController","ResidentialEditContactInformationRoute","EnterpriseDeviceAccessAccessTypeController","EnterpriseDeviceAccessController","hasNoDeviceAccess","resolvedUser","shouldSendWelcomeEmailByDefault","shouldSendWelcomeTextByDefault","hasNoDeviceAccessModal","isSuccess","AccessTypeRoute","BaseDeviceAccessRoute","EmberEnterpriseEditUserDeviceAccessAccessType","saveDeviceAccessPointCentral","fnSave","saveAdcDeviceAccess","replaceWithRouteId","getNextRouteForCreation","_deviceAccess$accessC","_deviceAccess$accessC2","systemGroupIdsWithExistingPlusFutureAccess","accessPointCollectionsSummary","_deviceAccess$tempora","_deviceAccess$tempora2","validateUserCode","_error$errors$","_error$errors","previousUserType","previousStartDate","previousEndDate","modelToSave","hasBeenModified","modelSaved","handleAdditionalPointCentralDeviceAccessSaveSteps","AccessPointCollectionsSummaryModel","EmberEnterpriseEditUserDeviceAccess","EmberEnterpriseEditUserDeviceAccessUserCode","userTypeSupportsDeviceAccess","relevantModelsCanBeSaved","cancelEditPointCentralUser","syncUserPermissions","EnterpriseDeviceAccessIndexRoute","isAllAccessUser","LocationDevicesRoute","EnterpriseDeviceAccessRoute","ResidentialDeviceAccessRoute","EnterpriseUserCodeController","confirmDisabled","generateNewCodeAndSave","deviceAccessProxy","UserCodeRoute","EnterpriseUsersEditIndexController","BaseUsersEditIndexController","accessPeriod","EmberEnterpriseEditUserInformation","EmberEnterpriseUserEditLanguage","userCode","EmberEnterpriseEditUserAttributes","EmberEnterpriseEditUserAttributesEdit","EmberEnterpriseUsersUsername","EnterpriseUsersEditIndexRoute","UsersEditIndexRoute","EnterpriseLanguageController","EnterpriseLanguageRoute","EnterpriseUsersLinkLoginController","EnterpriseUsersEditLinkLoginRoute","EmberEnterpriseUsersLinkLogin","EnterpriseNewUserAddContactInformation","BaseNewUserAddContactInformationController","BaseNewUserAddContactInformationRoute","EmberEnterpriseUsersAddContactAddressDuringUserCreation","EnterpriseUsersEditNotSupportedRoute","BaseNotSupportedRoute","EmberEnterpriseUserEditNotSupported","EnterpriseEditRoute","ResidentialUserEditRoute","baseModel","EnterpriseUsersEditUserInformationController","ResidentialUserInfoController","EnterpriseUsersEditUserInformationRoute","ResidentialUserInformationRoute","EnterpriseUsersEditUserTypeController","BaseUserTypeController","EnterpriseUsersEditUserTypeRoute","BaseUserTypeRoute","EnterpriseUsersEditUsername","EnterpriseUsersIndexController","userEdit","userEditNotSupported","editUserInformation","loadUsers","displayLoadingIcon","isMobileBrowser","numOfContainersToRender","viewMobileCredential","hasPointCentralMobileCredentialsFeatureToggle","toolsDropdownButtons","links","fnAddItem","userPinChangesAllowedOnDevices","exportPanelSlotNumbersUrl","downloadUsersUrl","hasUsersPageBulkActionsBeta","toggleBulkEditMode","canViewUserCodes","hideAllPinsGroupSettingEnabled","toggleUsersProperty","hideUserCodes","buttonTitle","openDownloadUsersWarningModal","canRequestUserCodes","getUserCodeAction","canRestoreUserCodes","canCreateLockMasterCodeUser","createLockMasterCodeUser","EnterpriseUsers","transitionToLegacyPage","openInactiveUsersEdit","onlyInactiveUsers","openBulkActions","clearUserSelections","clearUserData","closeInactiveUsersEdit","closeBulkActions","_queryParams$searchSt","loadMoreUsers","_userFilterSelection$","_userFilterSelection$2","USERS_BATCH_SIZE","requestId","currentLoadUsersRequestId","sortByAccess","sortUsersByAccess","pinStartDate","pinEndDate","addLoadedUsers","crypto","randomUUID","ensureAllUsersLoaded","titleKey","confirmTextKey","confirmBtnTextKey","apiMethodName","setPinChangedAllowedToFalse","MasterCodeUser","newUserCode","LockMasterCodeUser","pointCentralUserType","PointCentralMasterCodeUser","collection","loadQuickFiltersTourIfNeeded","UsersQuickFiltersTour","startQuickFiltersTour","resetState","usersPageBulkActionsMode","filterKeys","EnterpriseUsersIndexRoute","EnterpriseUsersFilterManager","searchPinStartByDateOnly","searchPinEndByDateOnly","_params$n","userFilterOptions","mobileCredentialUtilization","getMobileCredentialUtilization","EnterpriseMergeUsersListController","EnterpriseUsersMergeUsersList","EmberEnterpriseMergeUsersList","EnterpriseUsersMergeUsersPreviewRoute","EmberEnterpriseMergeUsersPreview","EnterpriseUsersRoute","UsersRoute","EnterpriseAdvancedVideoSearchRoute","NUM_SECONDS_IN_HOUR","baseAdvancedSearchDefaultFilterValues","activitySearchDisabled","activitySensitivity","motionSearchDisabled","motionSensitivity","EmberEnterpriseVideoAdvancedVideoSearch","endDate","timeInterval","baseAdvancedSearchModelHook","cancelObjectSearchRequest","slugs","envSettings","CameraGroupsController","BaseCameraGroupsController","manageGroupsRouteId","EmberEnterpriseVideoCameraGroups","editGroupRouteId","EmberEnterpriseVideoCameraGroupsEdit","EditRoute","BaseCameraGroupEditRoute","CameraGroupsRoute","BaseCameraGroupsRoute","EnterpriseVideoClipsController","FilteringVideoClipsController","EnterpriseVideoClipsIndexController","FilterVideoClipResultsController","EnterpriseVideoClipsIndexRoute","FilterVideoClipResultsRoute","EnterpriseVideoClipsRoute","FilteringVideoClipsRoute","EmberEnterpriseVideoClips","hasStoriesAccess","EmberEnterpriseVideoGallery","log","EnterpriseVideoGalleryController","FilteringVideoMediaController","EnterpriseVideoGalleryIndexController","FilterVideoMediaResultsController","EnterpriseVideoGalleryIndexRoute","FilterVideoMediaResultsRoute","EnterpriseVideoGalleryRoute","FilteringVideoMediaRoute","LiveViewController","BaseLiveViewController","LiveViewRoute","BaseLiveViewRoute","EmberEnterpriseVideoLiveView","EnterpriseSvrTimelineController","SvrTimelineController","EnterpriseSvrTimelineRoute","SvrTimelineRoute","EmberEnterpriseVideoSvrTimeline","EnterpriseVideoThumbnailSearchController","VideoThumbnailSearchController","EnterpriseVideoThumbnailSearchRoute","VideoThumbnailSearchRoute","EmberEnterpriseVideoThumbnailSearch","createStringHelperFunction","_camelize","lowercase","string","TypeError"],"sourceRoot":""}