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BkZ,MAAM,6CAA8C,CAAC,GACrDlhB,MAAM2hB,GAAeA,EAAW9K,YAE7C,GACHrmB,GAAAc,EAAAA,EAAAA,GAAAU,EAAAT,UAAA,SAlBIC,EAAAA,QAAO,CAAAC,cAAA,EAAAC,YAAA,EAAAC,UAAA,EAAAC,YAAA,OAAAnB,GAAAa,EAAAA,EAAAA,GAAAU,EAAAT,UAAA,kBACPC,EAAAA,QAAO,CAAAC,cAAA,EAAAC,YAAA,EAAAC,UAAA,EAAAC,YAAA,OAAAI,E,kDCvBG,WAASktC,GACtB,OAAO,SAAAj4B,GAAmB,IAATk4B,GAAOl4B,EAMtB,OALIm4B,EAAAA,EAAAA,YAAWD,KACbA,EAASA,EAAOA,QAGlBA,EAASA,GAAU,GACZD,EAAeC,EACxB,CACF,C,6DCPO,MAAMhT,GAAW38B,E,SAAAA,GAA2B6vC,EAAAA,UACnD,GAAe3vC,EAAAA,EAAAA,QAAOy8B,E","sources":["./settings/access-control-lockdown/template.hbs","./settings/access-control-restricted-access/template.hbs","./settings/account-management/index/template.hbs","./settings/account-management/move-portal-survey/completed/template.hbs","./settings/account-management/move-portal-survey/edit/template.hbs","./settings/account-management/move-portal-survey/index/template.hbs","./settings/account-management/user-slot-management/template.hbs","./settings/bluetooth/device-settings/index/template.hbs","./settings/bluetooth/device-settings/partition-list/template.hbs","./settings/bluetooth/disarming-settings/device-list/template.hbs","./settings/bluetooth/disarming-settings/edit-disarm-timeout/template.hbs","./settings/bluetooth/disarming-settings/index/template.hbs","./settings/bluetooth/index/template.hbs","./settings/car/template.hbs","./settings/control-panel-settings/alarm-delay-settings/template.hbs","./settings/control-panel-settings/index/template.hbs","./settings/control-panel-settings/panel-audio/template.hbs","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/helpers/dasherize.js","./components/settings/control-panel-settings/sensor-row-item/index.hbs","./components/settings/control-panel-settings/sensor-row-item/index.ts","./settings/control-panel-settings/sensor-names/template.hbs","./components/settings/everbridge-integration/everbridge-template-selector/index.hbs","./components/settings/everbridge-integration/everbridge-template-selector/index.ts","./components/settings/everbridge-integration/add-everbridge-credentials/index.hbs","./components/settings/everbridge-integration/add-everbridge-credentials/index.ts","./settings/everbridge-integration/edit/template.hbs","./components/settings/everbridge-integration/manage-everbridge-integration/index.hbs","./components/settings/everbridge-integration/manage-everbridge-integration/index.ts","./settings/everbridge-integration/index/template.hbs","./settings/face-recognition/template.hbs","./components/settings-page/index.hbs","./components/settings-page/index.ts","./settings/index/template.hbs","./settings/login-information/email-address/template.hbs","./settings/login-information/index/template.hbs","./settings/login-information/language/template.hbs","./settings/login-information/login-name/template.hbs","./settings/login-information/multi-system-access/index/template.hbs","./settings/login-information/multi-system-access/setup/template.hbs","./settings/login-information/new-device-alerts/template.hbs","./settings/login-information/site-appearance/template.hbs","./settings/manage-devices/associated-devices/template.hbs","./helpers/device-icon.ts","./components/settings/manage-devices/device-category/index.hbs","./components/settings/manage-devices/device-category/index.ts","./settings/manage-devices/index/template.hbs","./settings/managed-account-access/template.hbs","./settings/mobile-settings/template.hbs","./settings/monitoring-station/index/template.hbs","./settings/monitoring-station/loading/template.hbs","./settings/monitoring-station/monitoring-certificate/template.hbs","./components/settings/monitoring-station/property-action-category/index.hbs","./components/settings/monitoring-station/property-action-category/index.ts","./settings/monitoring-station/property-actions/template.hbs","./settings/monitoring-station/property-notes/index/template.hbs","./helpers/now.ts","./components/settings/monitoring-station/property-notes-add-edit/index.hbs","./components/settings/monitoring-station/property-notes-add-edit/index.ts","./settings/monitoring-station/property-notes/property-note-edit/template.hbs","./settings/monitoring-station/video/template.hbs","./settings/noise-settings/template.hbs","./settings/panel-wifi/config/template.hbs","./settings/panel-wifi/index/template.hbs","./settings/panel-wifi/networks/template.hbs","./components/modals/settings/voice-access-levels-dialog/index.hbs","./components/modals/settings/voice-access-levels-dialog/index.ts","./components/settings/voice-access-level-setting-item/index.hbs","./components/settings/voice-access-level-setting-item/index.ts","./components/settings/voice-control-device-settings/index.hbs","./components/settings/voice-control-device-settings/index.ts","./settings/voice/edit/template.hbs","./settings/voice/index/template.hbs","./assets/_route_/settings.access-control-lockdown.js","./components/automation/base-filter-bar/index.ts","./components/automation/filter-bar/index.hbs","./components/automation/filter-bar/index.ts","./components/settings/panel-wifi/connecting-view/index.hbs","./components/settings/panel-wifi/connecting-view/index.ts","./settings/access-control-lockdown/controller.ts","./settings/access-control-lockdown/route.ts","./settings/access-control-restricted-access/route.ts","./settings/account-management/index/route.ts","./settings/account-management/move-portal-survey/completed/controller.ts","./settings/account-management/move-portal-survey/completed/route.ts","./settings/account-management/move-portal-survey/edit/controller.ts","./settings/account-management/move-portal-survey/edit/route.ts","./settings/account-management/move-portal-survey/index/controller.ts","./settings/account-management/move-portal-survey/index/route.ts","./settings/account-management/move-portal-survey/route.ts","./settings/account-management/user-slot-management/controller.ts","./settings/account-management/user-slot-management/route.ts","./settings/bluetooth/device-settings/index/controller.ts","./settings/bluetooth/device-settings/partition-list/controller.ts","./settings/bluetooth/device-settings/partition-list/route.ts","./settings/bluetooth/device-settings/route.ts","./settings/bluetooth/disarming-settings/device-list/controller.ts","./settings/bluetooth/disarming-settings/device-list/route.ts","./settings/bluetooth/disarming-settings/edit-disarm-timeout/controller.ts","./settings/bluetooth/disarming-settings/edit-disarm-timeout/route.ts","./settings/bluetooth/disarming-settings/index/controller.ts","./settings/bluetooth/disarming-settings/index/route.ts","./settings/bluetooth/index/controller.ts","./settings/bluetooth/index/route.ts","./settings/car/controller.js","./settings/car/route.js","./settings/control-panel-settings/alarm-delay-settings/controller.js","./settings/control-panel-settings/alarm-delay-settings/route.ts","./settings/control-panel-settings/index/controller.js","./settings/control-panel-settings/index/route.ts","./settings/control-panel-settings/panel-audio/controller.ts","./settings/control-panel-settings/panel-audio/route.ts","./settings/control-panel-settings/sensor-names/controller.ts","./settings/control-panel-settings/sensor-names/route.ts","./settings/everbridge-integration/edit/controller.ts","./settings/everbridge-integration/edit/route.ts","./settings/everbridge-integration/index/controller.ts","./settings/everbridge-integration/index/route.ts","./settings/face-recognition/controller.js","./settings/face-recognition/route.js","./settings/index/route.ts","./settings/login-information/email-address/controller.js","./settings/login-information/email-address/route.js","./settings/login-information/index/controller.ts","./settings/login-information/index/route.ts","./settings/login-information/language/controller.js","./settings/login-information/language/route.js","./settings/login-information/login-name/controller.js","./settings/login-information/login-name/route.js","./settings/login-information/multi-system-access/index/controller.ts","./settings/login-information/multi-system-access/index/route.ts","./settings/login-information/multi-system-access/setup/controller.js","./settings/login-information/multi-system-access/setup/route.js","./settings/login-information/new-device-alerts/controller.js","./settings/login-information/new-device-alerts/route.js","./settings/login-information/site-appearance/controller.js","./settings/login-information/site-appearance/route.js","./settings/manage-devices/associated-devices/controller.ts","./settings/manage-devices/associated-devices/route.ts","./settings/manage-devices/index/controller.ts","./settings/manage-devices/index/route.ts","./settings/managed-account-access/route.js","./settings/mobile-settings/controller.ts","./settings/mobile-settings/route.ts","./settings/monitoring-station/index/controller.ts","./settings/monitoring-station/index/route.ts","./settings/monitoring-station/monitoring-certificate/controller.ts","./settings/monitoring-station/monitoring-certificate/route.ts","./settings/monitoring-station/property-actions/controller.ts","./settings/monitoring-station/property-actions/route.ts","./settings/monitoring-station/property-notes/index/controller.ts","./settings/monitoring-station/property-notes/index/route.ts","./settings/monitoring-station/property-notes/property-note-edit/controller.ts","./settings/monitoring-station/property-notes/property-note-edit/route.ts","./settings/monitoring-station/video/controller.ts","./settings/monitoring-station/video/route.ts","./settings/noise-settings/route.ts","./settings/panel-wifi/config/route.ts","./settings/panel-wifi/index/controller.ts","./settings/panel-wifi/index/route.ts","./settings/panel-wifi/networks/controller.ts","./settings/panel-wifi/networks/route.ts","./settings/voice/edit/route.ts","./settings/voice/index/route.ts","./users/route.ts","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/-private/create-string-helper.js","../rewritten-packages/ember-cli-string-helpers.7aab1772/node_modules/ember-cli-string-helpers/helpers/html-safe.js"],"sourcesContent":["import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n

\\n {{tc this\\n \\'lockdownSettingsSummary\\'\\n link=(href-to \\'access-control.system-mode-configuration.lockdown-configuration\\')\\n htmlSafe=true\\n }}\\n

\\n\\n \\n
\\n
\\n\",{ moduleName: \"customer-site/settings/access-control-lockdown/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/settings/access-control-restricted-access/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n
\\n {{!-- @glint-expect-error Please convert to PageView for type safety. --}}\\n {{#each routes as |r|}}\\n
\\n \\n
\\n {{/each}}\\n
\\n
\\n \\n
\",{ moduleName: \"customer-site/settings/account-management/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default>\\n
\\n \\n

{{tc this \\'oneStepCloserHeader\\'}}

\\n
\\n\\n
\\n
\\n \\n
\\n
\\n \\n\",{ moduleName: \"customer-site/settings/account-management/move-portal-survey/completed/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n \\n \\n \\n\\n
\\n

{{tc this \\\"formNewAddressSectionHeading\\\"}}

\\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

{{tc this \\\"footnoteHelpText\\\"}}

\\n\\n
\\n {{#unless (is-mobile-app)}}\\n \\n {{/unless}}\\n\\n \\n
\\n
\\n\\n \\n\",{ moduleName: \"customer-site/settings/account-management/move-portal-survey/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{tc\\n\\n
\\n

{{coalesce data.dealerCustomerAppPromotion.title (tc this \\'defaultTitle\\')}}

\\n

{{coalesce data.dealerCustomerAppPromotion.promotion (tc this \\'defaultDescription\\')}}

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

{{tc this \\'formAlreadySubmittedMessage\\' date=this.lastSubmittedDate}}

\\n {{/if}}\\n \\n
\\n \\n
\\n
\\n\\n\",{ moduleName: \"customer-site/settings/account-management/move-portal-survey/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n

{{tc this \\'instructions\\'}}

\\n
\\n \\n
\\n
\\n \\n \\n
\",{ moduleName: \"customer-site/settings/account-management/user-slot-management/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default>\\n
\\n

{{t \\'generic.deviceName\\'}}

\\n

{{this.model.bluetooth_device.description}}

\\n
\\n
\\n

{{tc this \\'useDeviceForBluetoothDisarming\\'}}

\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n\\n\\n\\n\",{ moduleName: \"customer-site/settings/bluetooth/device-settings/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default>\\n \\n \\n <:detail>\\n

{{item.partitionId}}

\\n \\n <:value>\\n {{#if item.isEnrolledPartition}}\\n
\\n {{/if}}\\n \\n \\n
\\n \\n
\\n \\n
\",{ moduleName: \"customer-site/settings/bluetooth/device-settings/partition-list/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default>\\n \\n \\n <:detail>\\n

{{device.description}}

\\n \\n <:value>\\n
\\n \\n \\n
\\n
\\n \\n
\\n \\n
\\n \\n\\n\\n\\n\",{ moduleName: \"customer-site/settings/bluetooth/disarming-settings/device-list/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default>\\n \\n \\n <:detail>\\n

{{get item 0}}

\\n \\n <:value>\\n {{#if (get item 1)}}\\n
\\n {{/if}}\\n \\n \\n
\\n \\n
\\n \\n
\\n\",{ moduleName: \"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n <:default>\\n
\\n {{tc this \\'enableBluetoothDisarming\\'}}\\n \\n
\\n \\n \\n \\n
\\n \\n\\n\",{ moduleName: \"customer-site/settings/bluetooth/disarming-settings/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n \\n\",{ moduleName: \"customer-site/settings/bluetooth/index/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 \\n \\n \\n \\n {{#if (await this.hasViewChangeCarMaintenanceRemindersPermission)}}\\n \\n \\n \\n {{/if}}\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n\\n {{! Only render this component if the selected car has the ability to set the Start-Stop value. }}\\n {{#if this.selectedCar.canViewStartStopSettings}}\\n
\\n
\\n \\n \\n
\\n
\\n \\n
\\n
\\n\\n
\\n {{/if}}\\n\\n\\n \\n\\n
\\n

{{tc this \\'alerts.highSpeedTitle\\'}}

\\n
\\n

{{tc this \\'alerts.highSpeedDesc\\'}}

\\n
\\n
\\n \\n \\n \\n
\\n \\n {{#if this.model.isMetric}}\\n {{tc this \\'kph\\' value=(await this.selectedCar.highSpeedThreshold.highThreshold)}}\\n {{else}}\\n {{tc this \\'mph\\' value=(await this.selectedCar.highSpeedThreshold.highThreshold)}}\\n {{/if}}\\n \\n
\\n
\\n
\\n
\\n

{{tc this \\'alerts.lowFuelTitle\\'}}

\\n
\\n

{{tc this \\'alerts.lowFuelDesc\\'}}

\\n
\\n
\\n \\n \\n \\n
\\n {{t \\'generic.valuePercent\\' value=(await this.selectedCar.lowFuelThreshold.lowThreshold)}}\\n
\\n
\\n
\\n
\\n

{{tc this \\'alerts.hardAccelTitle\\'}}

\\n
\\n

{{tc this \\'alerts.hardAccelDesc\\'}}

\\n
\\n {{t \\'generic.low\\'}}\\n
\\n \\n \\n \\n
\\n {{t \\'generic.high\\'}}\\n
\\n
\\n
\\n

{{tc this \\'alerts.helpDesc\\'}}

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

{{tc this \\'alerts.hardBrakeTitle\\'}}

\\n
\\n

{{tc this \\'alerts.hardBrakeDesc\\'}}

\\n
\\n {{t \\'generic.low\\'}}\\n
\\n \\n \\n \\n
\\n {{t \\'generic.high\\'}}\\n
\\n
\\n
\\n

{{tc this \\'alerts.helpDesc\\'}}

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

{{tc this \\'entryDelayTitle\\'}}

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

{{tc this \\'entryDelayInfo\\'}}

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

{{tc this \\'exitDelayTitle\\'}}

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

{{tc this \\'exitDelayInfo\\'}}

\\n \\n\\n \\n\\n \\n
\\n \\n
\",{ moduleName: \"customer-site/settings/control-panel-settings/alarm-delay-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n {{#each this.drillThroughItems as |route|}}\\n \\n {{/each}}\\n \\n \\n\",{ moduleName: \"customer-site/settings/control-panel-settings/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |PageViewContainer|>\\n \\n\\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n {{#if this.showTroubleBeeps}}\\n
\\n

{{tc this \\'troubleBeepTitle\\'}}

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

{{tc this \\\"troubleBeepInfo\\\"}}

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

{{tc this \\'beepVolumeTitle\\'}}

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

{{tc this \\\"beepVolumeInfo\\\"}}

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

{{tc this \\'speakerVolumeTitle\\'}}

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

{{tc this \\\"speakerVolumeInfo\\\"}}

\\n \\n\\n
\\n \\n
\\n {{/if}}\\n\\n \\n \\n
\\n \\n\\n\",{ moduleName: \"customer-site/settings/control-panel-settings/panel-audio/template.hbs\" })","import { helper } from '@ember/component/helper';\nimport { dasherize as _dasherize } from '@ember/string';\nimport createStringHelperFunction from '../-private/create-string-helper';\n\nexport const dasherize = createStringHelperFunction(_dasherize);\nexport default helper(dasherize);\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{@row.id}}\\n \\n\\n \\n {{#if @row.usesDropdownNames}}\\n
\\n \\n \\n \\n \\n
\\n {{else}}\\n \\n {{/if}}\\n \\n\\n \\n \\n \\n\\n \\n {{@row.status}}\\n \\n\\n \\n {{@row.type}}\\n \\n\\n {{#if @row.showMonitoring}}\\n \\n \\n \\n {{else}}\\n \\n

{{tc this \\\"notApplicable\\\"}}

\\n \\n {{/if}}\\n\",{ moduleName: \"customer-site/components/settings/control-panel-settings/sensor-row-item/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 { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type SensorRowInfo from 'customer-site/models/settings/control-panel-settings/sensor-row-info';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface SensorRowItemArgs {\n row: SensorRowInfo;\n panelNameRow2Disabled: boolean;\n panelNameRow3Disabled: boolean;\n}\n\n/**\n * Component used for a sensor row item.\n */\n@intlPath({ path: 'settings/control-panel-settings/sensor-row-item' })\nexport default class SensorRowItem extends Component {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n\n @alias('args.panelNameRow2Disabled')\n declare panelNameRow2Disabled: boolean;\n\n @alias('args.panelNameRow3Disabled')\n declare panelNameRow3Disabled: boolean;\n\n @action\n updateSelectedName(row: SensorRowInfo, dropdownIndex: number, newName: string): void {\n const { intl } = this;\n newName = newName === intl.tc(this, 'select') ? '' : newName;\n row.panelNames[dropdownIndex] = newName;\n\n if (dropdownIndex === 1) {\n if (newName === '') {\n row.panelNames[2] = '';\n row.panelNames[3] = '';\n this.panelNameRow2Disabled = true;\n this.panelNameRow3Disabled = true;\n } else {\n this.panelNameRow2Disabled = false;\n }\n } else if (dropdownIndex === 2) {\n if (newName === '') {\n row.panelNames[3] = '';\n this.panelNameRow3Disabled = true;\n } else {\n this.panelNameRow3Disabled = false;\n }\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::ControlPanelSettings::SensorRowItem': typeof SensorRowItem;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n\\n \\n\\n {{#if this.isAnyDeviceMalfunctioning}}\\n \\n

{{tc this \\\"sensorMalfunctionWarning\\\"}}

\\n \\n
\\n {{/if}}\\n\\n \\n \\n \\n {{#each (array \\'headerSensorId\\' \\'headerPanelName\\' \\'headerPreferredName\\' \\'headerStatus\\' \\'headerType\\' \\'headerMonitoring\\') as |key|}}\\n \\n {{/each}}\\n \\n \\n \\n {{#each this.rowInfo as |row|}}\\n \\n {{/each}}\\n \\n \\n
\\n {{tc this key}}\\n
\\n\\n \\n\\n
\\n \\n
\",{ moduleName: \"customer-site/settings/control-panel-settings/sensor-names/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/settings/everbridge-integration/everbridge-template-selector/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type EverbridgeTemplate from 'customer-site/models/settings/everbridge-integration/everbridge-template';\nimport './_style.scss';\n\ninterface EverbridgeTemplateSelectorSignature {\n Args: {\n everbridgeTemplates: EverbridgeTemplate[];\n backAction: () => void;\n saveAction: () => Promise;\n };\n}\n\n@intlPath({ path: 'settings/everbridge-integration/everbridge-template-selector' })\nexport default class EverbridgeTemplateSelector extends Component {}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::EverbridgeIntegration::EverbridgeTemplateSelector': typeof EverbridgeTemplateSelector;\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\",{ moduleName: \"customer-site/components/settings/everbridge-integration/add-everbridge-credentials/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type EverbridgeConfiguration from 'customer-site/models/settings/everbridge-integration/everbridge-configuration';\nimport './_style.scss';\n\ninterface AddEverbridgeCredentialsSignature {\n Args: {\n continueAction: () => Promise;\n everbridgeConfiguration: EverbridgeConfiguration;\n };\n}\n\n@intlPath({ path: 'settings/everbridge-integration/add-everbridge-credentials' })\nexport default class AddEverbridgeCredentials extends Component {\n get isContinueDisabled(): boolean {\n const { everbridgeConfiguration } = this.args;\n\n return (\n !everbridgeConfiguration.username ||\n !everbridgeConfiguration.password ||\n !everbridgeConfiguration.organizationId\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::EverbridgeIntegration::AddEverbridgeCredentials': typeof AddEverbridgeCredentials;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n <:default as |data|>\\n \\n \\n \\n {{#if this.showEverbridgeTemplates}}\\n \\n {{else}}\\n \\n {{/if}}\\n \\n <:error as |PageViewError|>\\n \\n \\n \\n\",{ moduleName: \"customer-site/settings/everbridge-integration/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:title-contents>\\n \\n \\n <:icon>\\n
\\n \\n \\n \\n
\\n \\n <:default>\\n \\n \\n \\n \\n \\n
\\n \\n
\\n \\n\",{ moduleName: \"customer-site/components/settings/everbridge-integration/manage-everbridge-integration/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 { NotificationsCenter } from 'customer-site/enums/CustomerPageUrl';\nimport { intlPath } from '@adc/i18n/path';\nimport SimpleListItem from '@adc/ui-components/components/simple-list/list-item';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type EverbridgeConfiguration from 'customer-site/models/settings/everbridge-integration/everbridge-configuration';\nimport './_style.scss';\n\ninterface ManageEverbridgeIntegrationSignature {\n Args: {\n everbridgeConfiguration: EverbridgeConfiguration | undefined;\n deleteConfiguration: () => Promise;\n };\n}\n\n@intlPath({ path: 'settings/everbridge-integration/manage-everbridge-integration' })\nexport default class ManageEverbridgeIntegration extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare navigation: ServiceRegistry['navigation'];\n\n everbridgeTitle = 'Everbridge';\n\n get createListItemsFromModel(): SimpleListItem[] {\n return (\n this.args.everbridgeConfiguration?.everbridgeTemplates.map(\n (template) =>\n new SimpleListItem({\n description: template.incidentTemplateName\n })\n ) ?? []\n );\n }\n\n @action\n handleDeleteConfiguration(): void {\n const { modals, intl } = this;\n modals.showDeleteModal({\n message: intl.tc(this, 'deleteIntegrationDescription'),\n title: intl.tc(this, 'deleteIntegration'),\n delete: async () => await this.args.deleteConfiguration()\n });\n }\n\n @action\n navigateToNotifications(): void {\n this.navigation.transitionToRouteId(NotificationsCenter);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::EverbridgeIntegration::ManageEverbridgeIntegration': typeof ManageEverbridgeIntegration;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n <:default as |data|>\\n {{#if (is-present data.everbridgeConfiguration.id)}}\\n \\n {{else}}\\n \\n \\n

{{tc this \\'addEverbridgeTitle\\'}}

\\n

{{tc this \\'addEverbridgeSubtitle\\'}}

\\n\\n \\n \\n \\n
\\n {{/if}}\\n \\n \\n\\n\\n\",{ moduleName: \"customer-site/settings/everbridge-integration/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n\\n {{#if data.ineligible}}\\n

{{tc this \\'ineligible.p1\\'}}

\\n

{{tc this \\'ineligible.p2\\'}}

\\n\\n \\n {{else}}\\n {{#if this.modelState.feature}}\\n

{{tc this \\\"optOut.status\\\"}}

\\n\\n \\n\\n \\\"\\\"\\n\\n

{{tc this \\\"optOut.p1\\\"}}

\\n

{{tc this \\\"optOut.p2\\\"}}

\\n

{{tc this \\\"optOut.p3\\\"}}

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

{{tc this \\\"optOut.warning\\\"}}

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

{{tc this \\\"optIn.p1\\\"}}

\\n

{{tc this \\\"optIn.p2\\\"}}

\\n

{{tc this \\\"optIn.p3\\\"}}

\\n\\n \\n\\n {{safe-html data.legal.featurePreamble}}\\n {{safe-html data.legal.featureShortTerms}}\\n {{/if}}\\n\\n
\\n \\n\\n {{#if this.modelState.feature}}\\n \\n {{else}}\\n \\n {{/if}}\\n
\\n {{/if}}\\n\\n {{#if data.permissions.canToggleDonation}}\\n \\n\\n {{#if this.modelState.donation}}\\n

{{tc this \\\"donation.optOut.p1\\\"}}

\\n

{{tc this \\\"donation.optOut.p2\\\"}}

\\n {{else}}\\n

{{tc this \\\"donation.optIn.p1\\\"}}

\\n

{{tc this \\\"donation.optIn.p2\\\"}}

\\n

{{tc this \\\"donation.optIn.p3\\\"}}

\\n {{/if}}\\n\\n
\\n \\n\\n {{#if this.modelState.donation}}\\n \\n {{else}}\\n \\n {{/if}}\\n
\\n {{/if}}\\n\\n {{#if (await this.showSaveButton)}}\\n \\n {{/if}}\\n
\\n \\n
\",{ moduleName: \"customer-site/settings/face-recognition/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |links|>\\n {{#if links}}\\n
    \\n {{#each links as |linkItem|}}\\n \\n \\n

    {{linkItem.pageTitle}}

    \\n

    {{linkItem.description}}

    \\n
    \\n {{/each}}\\n
\\n {{/if}}\\n \\n
\\n\",{ moduleName: \"customer-site/components/settings-page/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\nimport type RouteItem from 'customer-site/models/navigation/route-item';\n\nexport interface SettingsPageSignature {\n Args: {\n settingsLinks: {\n routeId: string;\n routeItem: RouteItem;\n icon: string;\n pageTitle: string;\n description: string;\n }[];\n };\n}\n\nconst SettingsPage = templateOnlyComponent();\nexport default SettingsPage;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n SettingsPage: typeof SettingsPage;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\",{ moduleName: \"customer-site/settings/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n

{{tc this \\'changeEmailAddressDescription\\'}}

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

{{t \\'settings.login-information.passwordRequiredHelpText\\'}}

\\n
\\n
\\n\",{ moduleName: \"customer-site/settings/login-information/email-address/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 |loginInfoRoutes|>\\n {{#each-in loginInfoRoutes as |category routes|}}\\n

{{category}}

\\n
\\n {{#each routes as |route|}}\\n \\n {{/each}}\\n
\\n {{/each-in}}\\n \\n
\\n \\n
\\n\\n\",{ moduleName: \"customer-site/settings/login-information/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n

{{tc this \\'changeLanguageDescription\\'}}

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

{{tc this \\'changeLoginNameDescription\\'}}

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

{{t \\'settings.login-information.passwordRequiredHelpText\\'}}

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

\\n {{tc this \\'instructions\\'\\n htmlSafe=true\\n loginName=this.loginName\\n action=(tc this (if (is-mobile-app) \\'actionMobile\\' \\'actionWeb\\'))\\n }}\\n

\\n\\n
\\n
\\n \\n\\n \\n
\\n\\n
\\n {{#each this.filteredSystems as |msaSystem|}}\\n \\n \\n\\n {{#if msaSystem.isDefault}}\\n
\\n {{tc this \\'screenReaderDefaultSystemDefinition\\'}}\\n \\n {{tc this \\'default\\'}}\\n \\n \\n {{tc this \\'defaultSystemDefinition\\'}}\\n \\n \\n
\\n {{/if}}\\n \\n {{/each}}\\n
\\n
\\n \\n {{/if}}\\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
\\n\\n\",{ moduleName: \"customer-site/settings/login-information/multi-system-access/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if (eq this.step 0)}}\\n
\\n

{{tc this \\'instructionsOne\\' htmlSafe=true loginName=this.loginName}}

\\n\\n \\n\\n {{#if this.showLinkedSystemsEnterpriseGroupAccessAlert}}\\n \\n \\n \\n {{/if}}\\n\\n {{#each (array\\n (hash l=\\'generic.username\\' v=\\'sourceLoginName\\' p=false)\\n (hash l=\\'generic.password\\' v=\\'password\\' p=true)\\n ) as |r|}}\\n
\\n \\n {{#if r.p}}\\n \\n {{else}}\\n \\n {{/if}}\\n \\n
\\n {{/each}}\\n
\\n {{/if}}\\n\\n {{#if (eq this.step 1)}}\\n
\\n

{{tc this \\'confirmAddition\\' htmlSafe=true loginName=this.loginName sourceLoginName=this.sourceLoginName}}

\\n\\n {{#if this.systemsAlreadyLinked}}\\n \\n {{/if}}\\n\\n
\\n {{#each this.availableSystemsToAdd as |system|}}\\n

{{system}}

\\n {{/each}}\\n
\\n\\n {{#unless this.cannotDeleteSourceLogin}}\\n \\n {{/unless}}\\n
\\n {{/if}}\\n\",{ moduleName: \"customer-site/settings/login-information/multi-system-access/setup/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |profile|>\\n

\\n {{tc this \\'newDeviceAlertsDescription\\'}}\\n

\\n\\n \\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/settings/login-information/new-device-alerts/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n {{#each (array\\n (hash n=\\'isDarkModeEnabled\\' c=\\'dark-mode\\' x=\\'darkMode\\')\\n (hash n=\\'isHighContrastModeEnabled\\' c=\\'high-contrast\\' x=\\'highContrast\\')\\n ) as |ctrl|}}\\n
\\n \\n

{{tc this (concat ctrl.x \\'Description\\')}}

\\n
\\n {{/each}}\\n
\\n\\n
\\n\\n\\n\",{ moduleName: \"customer-site/settings/login-information/site-appearance/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar>\\n \\n \\n\\n <:default as |PageViewContainer api|>\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n {{#if this.showSelectionUi}}\\n
\\n

{{tc this \\'associateCamerasText\\' deviceDescription=this.parentDeviceDescription}}

\\n
\\n\\n
\\n
\\n \\n <:label as |item|>\\n {{item.label}}\\n \\n\\n <:content as |item|>\\n {{#if item.state}}\\n \\n {{#if (eq item.props.id this.primaryCameraId)}}\\n \\n {{else}}\\n \\n {{/if}}\\n \\n {{/if}}\\n \\n \\n
\\n
\\n\\n \\n {{else}}\\n \\n

{{tc this \\'noValidCamerasText\\'}}

\\n
\\n {{/if}}\\n \\n
\\n \\n\",{ moduleName: \"customer-site/settings/manage-devices/associated-devices/template.hbs\" })","import IconMap from 'customer-site/enums/IconMap';\n\nimport type BaseDeviceModel from '../models/devices/base-device';\n\ntype IconMapEnum = typeof IconMap;\n\n/**\n * Helper function to return the icon string name.\n * IconMap,js contains all the api strings from the IconEnum.cs lookup\n * https://bitbucket.corp.adcinternal.com/projects/FALCOR/repos/software/browse/DotNetShared/AlarmBusinessObjects/Display/IconEnum.cs\n */\nexport default function deviceIcon(device: BaseDeviceModel): string {\n return IconMap[device.deviceIcon.icon as unknown as keyof IconMapEnum];\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'device-icon': typeof deviceIcon;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.displayCategory}}\\n \\n
\\n
\\n {{@deviceCategory.name}}\\n \\n
\\n\\n
\\n {{#each this.sortedManagedDevices as |device|}}\\n \\n {{#if device.hasState}}\\n \\n {{else}}\\n \\n {{/if}}\\n\\n
\\n {{device.description}}\\n\\n {{#if device.hasAssociatedDevices}}\\n

\\n \\n {{#if (and (not (this.isVideoDevice device.managedDeviceType)) this.hasLiveViewBuzzDoorAccess)}}\\n \\n {{/if}}\\n {{device.associatedDevicesNames}}\\n

\\n {{/if}}\\n\\n {{#if (or (this.isCurrentDevice device) device.isAssignedToCareReceiver)}}\\n \\n
{{tc this (if (this.isCurrentDevice device) \\'thisDevice\\' \\'ambientProfile\\')}}
\\n {{/if}}\\n
\\n \\n {{/each}}\\n
\\n
\\n \\n{{/if}}\",{ moduleName: \"customer-site/components/settings/manage-devices/device-category/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, set } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\nimport { alias } from '@ember/object/computed';\nimport { sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport {\n EmberManageDevicesAssociatedDevices,\n EmberRemotesEdit,\n EmberBluetoothDeviceSettings\n} from 'customer-site/enums/CustomerPageUrl';\nimport { DeleteZWaveDeviceGeneric } from 'customer-site/enums/WizardUrl';\nimport GunShotSensor from 'customer-site/models/devices/gun-shot-sensor';\nimport IqRouter from 'customer-site/models/devices/iq-router';\nimport PartitionModel from 'customer-site/models/devices/partition';\nimport Sensor from 'customer-site/models/devices/sensor';\nimport VideoDevice from 'customer-site/models/devices/video-device';\nimport WaterSensor from 'customer-site/models/devices/water-sensor';\nimport * as NATIVE_VIEW_TYPE from '@adc/app-infrastructure/enums/NativeView';\nimport { sentryWithScopeAndError } from '@adc/app-infrastructure/utils/sentry';\nimport { intlPath } from '@adc/i18n/path';\nimport { ActionItem, EditActionItem, DeleteActionItem } from '@adc/ui-components/utils/action-item';\nimport * as ADD_DEVICE_CATEGORY from '../../../../enums/AddDeviceCategory';\nimport * as ADD_DEVICE_RESOURCE from '../../../../enums/AddDeviceResource';\nimport * as MANAGED_DEVICE_TYPE from '../../../../enums/ManagedDeviceType';\nimport * as SENSOR_NAMING_FORMAT from '../../../../enums/SensorNamingFormat';\n\nimport type { SyncHasMany } from '@ember-data/model';\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 RouterService from '@ember/routing/router-service';\nimport type Transition from '@ember/routing/transition';\nimport type BaseManagedDevice from 'customer-site/models/devices/base-managed-device';\nimport type ManagedDeviceCategoryModel from 'customer-site/models/settings/manage-devices/managed-device-category';\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\nconst SDS_MAX_NAME_LENGTH = 100;\n\nexport type ManageDevicesDeviceCategory = {\n id: string;\n name: string;\n managedDevices: BaseManagedDevice[];\n deviceMap: string;\n};\n\ninterface DeviceCategorySignature {\n Args: {\n deviceCategory: ManageDevicesDeviceCategory;\n managedDeviceCategories: SyncHasMany;\n };\n}\n\n/**\n * Returns the remove message based on the device type.\n */\nfunction generateRemoveMessage(this: DeviceCategory, device: BaseManagedDevice): string {\n let message = 'removeSecurityDevice';\n\n switch (device.managedDeviceType) {\n case MANAGED_DEVICE_TYPE.Sensor:\n case MANAGED_DEVICE_TYPE.ImageSensor:\n message = 'removeSecurityDevice';\n break;\n case MANAGED_DEVICE_TYPE.VideoDevice:\n if (device instanceof VideoDevice) {\n const isMultisensor = device.onvifMultisensorParentMac && device.numberOfSensorsOnMultisensor > 1;\n const translationKey = device.hasClipAgeLimit\n ? isMultisensor\n ? 'generic.video.removeMultisensorDeviceWithClipLimit'\n : 'generic.video.removeVideoDeviceWithClipLimit'\n : isMultisensor\n ? 'generic.video.removeMultisensorDevice'\n : 'generic.video.removeVideoDevice';\n\n return this.intl.t(translationKey, {\n deviceName: device.description,\n numberOfSensors: device.numberOfSensorsOnMultisensor - 1\n });\n }\n break;\n case MANAGED_DEVICE_TYPE.Thermostat:\n case MANAGED_DEVICE_TYPE.Light:\n case MANAGED_DEVICE_TYPE.Lock:\n case MANAGED_DEVICE_TYPE.GarageDoor:\n message = device.isOAuth && device.manufacturer !== 'nami' ? 'removeOAuthDevice' : 'removeZWaveDevice';\n break;\n case MANAGED_DEVICE_TYPE.AudioDevice:\n message = 'removeOAuthDevice';\n break;\n case MANAGED_DEVICE_TYPE.MobileDevice:\n message = device.isAssignedToCareReceiver ? 'removeAmbientMobileDevice' : 'removeMobileDevice';\n break;\n default:\n break;\n }\n\n return this.intl.tc(this, message, { deviceName: device.description });\n}\n\n/**\n * @classdesc\n *\n * Container for Managed Device Category model.\n */\n@intlPath({ path: 'settings/manage-devices/device-category' })\nexport default class DeviceCategory extends Component {\n @service declare contextManager: ContextManager;\n @service declare navigation: NavigationService;\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n @service declare notificationManager: NotificationManager;\n @service declare nativeBridge: NativeBridgeService;\n @service declare router: RouterService;\n @service declare ajax: AjaxService;\n @service declare identityManager: IdentityManager;\n\n /**\n * Returns true if the sub-items are expanded.\n */\n @tracked expandItems = true;\n\n /**\n * The filtered devices.\n */\n @tracked declare filteredManagedDevices: BaseManagedDevice[];\n\n /**\n * Is the app being served as a webview in a mobile app?\n */\n @alias('contextManager.identityModel.isMobileApp')\n declare isMobileApp: boolean;\n\n /**\n * Does the user have the live view buzz door access feature toggle enabled?\n */\n @alias('identityManager.identityModel.hasLiveViewBuzzDoorAccess')\n declare hasLiveViewBuzzDoorAccess: boolean;\n\n /**\n * Action to trigger whether to expand items or not.\n */\n @action\n toggleExpand(): void {\n this.expandItems = !this.expandItems;\n }\n\n /**\n * Returns if the device type is a Video Device type.\n */\n isVideoDevice(managedDeviceType: number): boolean {\n return managedDeviceType === MANAGED_DEVICE_TYPE.VideoDevice;\n }\n\n /**\n * Return the Wifi Router type constant to the template\n */\n get wifiRouterDeviceType(): number {\n return MANAGED_DEVICE_TYPE.WiFiRouter;\n }\n\n /**\n * Whether to show the category or not.\n */\n @notEmpty('args.deviceCategory.managedDevices')\n declare displayCategory: boolean;\n\n /**\n * The sorted manage device list.\n */\n @sort('filteredManagedDevices', ['description'], (device1: BaseManagedDevice, device2: BaseManagedDevice) => {\n if (\n device1.managedDeviceType === MANAGED_DEVICE_TYPE.Partition ||\n device2.managedDeviceType === MANAGED_DEVICE_TYPE.Partition ||\n (device1 instanceof IqRouter && device1.isController) ||\n (device2 instanceof IqRouter && device2.isController)\n ) {\n return 0;\n }\n\n if (device1.description.toLowerCase() > device2.description.toLowerCase()) {\n return 1;\n } else if (device1.description.toLowerCase() < device2.description.toLowerCase()) {\n return -1;\n }\n\n return 0;\n })\n declare sortedManagedDevices: BaseManagedDevice[];\n\n /**\n * Filters the device array, allowing for any device specific alterations to be made\n */\n @action\n filterManagedDevices(): void {\n const devices = this.args.deviceCategory.managedDevices,\n wifiControllerNote = this.intl.t('generic.wifi.primary');\n devices.forEach((device) => {\n if (device instanceof IqRouter && device.isController && !device.description.includes(wifiControllerNote)) {\n device.description = `${device.description} ${wifiControllerNote}`;\n }\n });\n\n this.filteredManagedDevices = devices.slice();\n }\n\n /**\n * Indicates if the logged in user can access manage device's linked devices page.\n */\n get canAccessAssociatedDevices(): boolean {\n return isPresent(this.navigation.getRouteItem(EmberManageDevicesAssociatedDevices));\n }\n\n /**\n * Function for desired limit of the name length for a device.\n */\n getNameLengthLimitForDevice(device?: BaseManagedDevice): number | undefined {\n if (device instanceof GunShotSensor) {\n return SDS_MAX_NAME_LENGTH;\n }\n return undefined;\n }\n\n /**\n * Fetching action items for list-row-item.\n */\n @action\n getActionItems(deviceId: string): ActionItem[] {\n // Get the base managed device from the original list to update.\n const device = this.getBaseManagedDevice(deviceId);\n if (!device) {\n return [];\n }\n\n const isGoogleVideo =\n device.manufacturer === 'Google' && device.managedDeviceType === MANAGED_DEVICE_TYPE.VideoDevice;\n\n const isNamiDevice = device.manufacturer === 'nami';\n\n const itemList = [\n EditActionItem.create({\n action: () => this.openRenameDeviceModal(device),\n text: this.intl.tc(this, 'renameDevice'),\n visible: device.canBeRenamed\n }),\n\n ActionItem.create({\n action: () => this.goToDeviceSettings(device),\n disabled: false,\n visible:\n (!this.isMobileApp && device.canAccessWebSettings) ||\n (this.isMobileApp && device.canAccessAppSettings),\n icon: 'feature-settings',\n text: this.intl.tc(this, 'deviceSettings')\n }),\n\n ActionItem.create({\n action: () => {\n const currentURL = this.router.currentURL;\n return this.contextManager.transitionToWizard(device.troubleshootingWizard, currentURL, {\n returnToUrl: currentURL,\n deviceId: deviceId\n });\n },\n disabled: false,\n icon: 'issue',\n visible: device.canAccessTroubleshootingWizard,\n text: this.intl.tc(this, 'troubleshoot')\n }),\n\n ActionItem.create({\n action: (): undefined | ReturnType => {\n if (device.canBeAssociatedToVideoDevice) {\n return this.navigation.transitionToRouteId(EmberManageDevicesAssociatedDevices, {\n queryParams: {\n associatedCameraDeviceIds: Object.keys(device.associatedCameraDeviceIds),\n parentDeviceId: device.id,\n parentDeviceDescription: device.description\n }\n });\n }\n\n return;\n },\n disabled: false,\n visible: device.canBeAssociatedToVideoDevice && this.canAccessAssociatedDevices,\n icon: 'link',\n text: this.intl.tc(this, 'associatedDevices')\n }),\n\n DeleteActionItem.create({\n action: () => {\n if (device.isZWave) {\n if (device.isMalfunctioning) {\n if (\n !device.isZWaveWakeupNode ||\n (device.isZWaveWakeupNode && device.unitSupportsRemovingWakeupNode)\n ) {\n return this.openDeleteZWaveDeviceModal(device);\n }\n }\n\n const { currentURL } = this.router;\n this.contextManager.transitionToWizard(DeleteZWaveDeviceGeneric, currentURL, {\n returnToUrl: currentURL,\n cancelUrl: currentURL\n });\n\n return;\n }\n\n if (isGoogleVideo) {\n return this.router.transitionTo(\n 'settings.add-device.categories.devices.already-linked',\n ADD_DEVICE_CATEGORY.GoogleNest,\n ADD_DEVICE_RESOURCE.GoogleNestDevice\n );\n }\n\n return device.managedDeviceType === MANAGED_DEVICE_TYPE.VoiceAssistanceDevice\n ? this.openVoiceDeviceControlModal(device)\n : this.openDeleteDeviceModal(device, this.args.deviceCategory);\n },\n text: this.intl.tc(this, 'removeDevice'),\n visible: device.canBeDeleted && (!device.isOAuth || isGoogleVideo || isNamiDevice)\n })\n ];\n\n // additional logging for WEB-12831\n this.logActionItemsOnError(deviceId, itemList);\n\n return itemList;\n }\n\n @action\n openEditAction(deviceId: string): void {\n // Get the base managed device from the original list to update.\n const device = this.getBaseManagedDevice(deviceId);\n if (device?.canBeRenamed) {\n this.openRenameDeviceModal(device);\n }\n }\n\n /**\n * WEB-12831: If the list of action items is going to throw an error when we pass it to the list-row-item component\n * log that information here while we have additional information about the context\n */\n logActionItemsOnError(deviceId: string, itemList: ActionItem[]): void {\n let willThrowError = false;\n const badItems = [];\n\n const device = this.getBaseManagedDevice(deviceId);\n if (!device) {\n return;\n }\n\n for (const item of itemList) {\n if (item.visible && (!item.icon || !item.text)) {\n if (!willThrowError) {\n willThrowError = true;\n }\n\n badItems.push(item);\n }\n }\n\n if (willThrowError) {\n const addtlDeviceData = {\n deviceId: deviceId,\n canAccessAppSettings: device.canAccessAppSettings,\n canAccessWebSettings: device.canAccessWebSettings,\n canAccessTroubleshootingWizard: device.canAccessTroubleshootingWizard,\n canBeDeleted: device.canBeDeleted,\n canBeRenamed: device.canBeRenamed\n };\n\n const sentryExtras = {\n deviceData: addtlDeviceData,\n managedDeviceType: device.managedDeviceType,\n manufacturer: device.manufacturer,\n badActionItems: badItems\n },\n sentryTags = { ticket: 'WEB-12831' },\n fullErrorMessage = 'Additional logging data for list-row-item missing icon or text';\n\n sentryWithScopeAndError(fullErrorMessage, sentryExtras, sentryTags);\n }\n }\n\n /**\n * Open a modal specifically for voice control devices.\n */\n openVoiceDeviceControlModal(device: BaseManagedDevice): void {\n const { modals, intl } = this;\n\n modals.showConfirmationDialog(\n intl.tc(this, 'deleteDevice'),\n intl.tc(this, 'removeVoiceDevice', { manufacturer: device.manufacturer }),\n {\n text: intl.t('generic.ok'),\n action: () => {\n return true;\n }\n },\n null,\n 'center-confirm-button'\n );\n }\n\n /**\n * Open a modal to rename the device.\n */\n openRenameDeviceModal(device?: BaseManagedDevice): void {\n const { intl, notificationManager } = this;\n if (!device) {\n return;\n }\n\n let message = '';\n if (\n (device instanceof PartitionModel || device instanceof Sensor || device instanceof WaterSensor) &&\n (device.sensorNamingFormat === SENSOR_NAMING_FORMAT.Tokens ||\n device.sensorNamingFormat === SENSOR_NAMING_FORMAT.None)\n ) {\n message = intl.tc(this, 'renameDeviceNote');\n }\n\n if (device instanceof IqRouter && !isEmpty(device.renameDeviceMessage)) {\n message = device.renameDeviceMessage;\n }\n\n const output = {\n value: device?.description ?? '',\n error: ''\n };\n\n this.modals.showRenameModal({\n title: intl.tc(this, 'renameDevice'),\n message: message,\n disableBackdropClose: true,\n maxLength: this.getNameLengthLimitForDevice(device),\n output,\n rename: (value) => {\n return (async () => {\n try {\n device.description = value;\n // Note: This set() can't be removed until output.error is tracked in the rename modal.\n set(output, 'error', '');\n await device.save();\n notificationManager.addSuccess(this.intl.tc(this, 'deviceRenamed'));\n } catch (error) {\n device.rollbackAttributes();\n\n if (error.errors && Array.isArray(error.errors)) {\n error.errors.forEach((e: { detail?: string }) => {\n // Note: This set() can't be removed until output.error is tracked in the rename modal.\n set(output, 'error', e.detail ?? intl.tc(this, 'couldNotRename'));\n });\n }\n\n return false;\n }\n\n return true;\n })();\n }\n });\n }\n\n /**\n * Open a modal to delete the device and deletes the device if delete button is hit.\n */\n openDeleteDeviceModal(device: BaseManagedDevice, deviceCategory: ManageDevicesDeviceCategory): void {\n const { modals, intl, notificationManager } = this;\n\n modals.showDeleteModal({\n title: intl.tc(this, 'removeDevice'),\n message: generateRemoveMessage.call(this, device),\n disableBackdropClose: true,\n delete: async () => {\n try {\n // If OAuth, fetch all devices with the same add device resource and unload them\n // since deleting one device should remove the connection for all related devices.\n if (device.isOAuth) {\n let devicesToDelete: (BaseManagedDevice | undefined)[] = [device];\n\n const shouldRemoveRelatedDevices = device.manufacturer !== 'nami';\n if (shouldRemoveRelatedDevices) {\n devicesToDelete = deviceCategory.managedDevices\n .filter((item) => item.addDeviceResource === device.addDeviceResource)\n .map((device) => this.getBaseManagedDevice(device.id));\n }\n devicesToDelete.forEach(async (device) => {\n await device?.destroyRecord();\n device?.unloadRecord();\n });\n } else {\n await device.destroyRecord().then(\n () => {\n if (device instanceof VideoDevice && device.onvifMultisensorParentMac) {\n // If the device is a multisensor, fetch all devices with the same parent mac and unload them.\n const multisensorsToUnload = deviceCategory.managedDevices\n .filter((d) => {\n const videoDevice = d as VideoDevice;\n return (\n videoDevice.onvifMultisensorParentMac ===\n device.onvifMultisensorParentMac && videoDevice.id !== device.id\n );\n })\n .map((d) => this.getBaseManagedDevice(d.id));\n // We only want to unload the related sensors since destroying one sensor destroys all related sensors in DB\n multisensorsToUnload.forEach((device) => {\n device?.unloadRecord();\n });\n }\n const successMessage =\n device.managedDeviceType === MANAGED_DEVICE_TYPE.Sensor\n ? 'successfulSensorDeleteMessage'\n : 'successfulDeviceDeleteMessage';\n notificationManager.addSuccess(intl.tc(this, successMessage));\n },\n (reason) => {\n if (reason.errors) {\n notificationManager.addError(reason.errors[0].detail);\n } else {\n notificationManager.addError(intl.tc(this, 'failDeviceDeleteMessage'));\n }\n }\n );\n }\n\n return;\n } catch (error) {\n return false;\n }\n }\n });\n }\n\n openDeleteZWaveDeviceModal(device: BaseManagedDevice): void {\n const { modals, intl } = this;\n\n modals.showDeleteModal({\n title: intl.tc(this, 'removeDevice'),\n message: intl.tc(this, 'removeZWaveDeviceFailing', { deviceName: device.description }),\n disableBackdropClose: true,\n delete: async () => {\n await device.destroyRecord();\n }\n });\n }\n\n /**\n * Transitions to the corresponding settings page for the device.\n */\n async goToDeviceSettings(device: BaseManagedDevice): Promise {\n const routeItem = this.navigation.getRouteItem(parseInt(device.webSettings)),\n isGoogleVideo =\n device.manufacturer === 'Google' && device.managedDeviceType === MANAGED_DEVICE_TYPE.VideoDevice,\n routeItemToTransitionTo = routeItem?.url ? routeItem : routeItem?.relationship.subRoutes.slice()[0];\n\n if (!this.isMobileApp) {\n // for OAuth devices that are not Nest video cameras that support unlinking\n if (device.isOAuth) {\n if (device.managedDeviceType === MANAGED_DEVICE_TYPE.VoiceAssistanceDevice) {\n return this.navigation.transitionToRoute(routeItemToTransitionTo!);\n }\n\n if (!isGoogleVideo) {\n return await this.transitionToAlreadyLinkedPage(device);\n }\n }\n\n // non-OAuth devices\n switch (device.managedDeviceType) {\n case MANAGED_DEVICE_TYPE.VideoDevice:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!, {\n queryParams: {\n search: `?mac=${device.macAddress}`\n }\n });\n case MANAGED_DEVICE_TYPE.NoiseSensor:\n case MANAGED_DEVICE_TYPE.SmartChimeDevice:\n case MANAGED_DEVICE_TYPE.MobileDevice:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!, device.id);\n case MANAGED_DEVICE_TYPE.Light:\n return this.router.transitionTo('home.lights.edit', device.id);\n case MANAGED_DEVICE_TYPE.CarMonitor:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!, {\n queryParams: {\n deviceId: device.id\n }\n });\n case MANAGED_DEVICE_TYPE.Remote:\n return this.navigation.transitionToRouteId(EmberRemotesEdit, device.id);\n case MANAGED_DEVICE_TYPE.BluetoothDevice:\n return this.navigation.transitionToRouteId(EmberBluetoothDeviceSettings, device.id);\n case MANAGED_DEVICE_TYPE.Lock:\n return this.router.transitionTo('home.locks.edit', device.id);\n default:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!);\n }\n } else {\n // The redirections when we are in mobile app.\n // Connect Pages with Native Bridge\n const deviceId = device.id.split('-');\n\n // for OAuth devices that are not Nest video cameras that support unlinking\n if (device.isOAuth && !isGoogleVideo) {\n return await this.transitionToAlreadyLinkedPage(device);\n }\n\n if (\n isGoogleVideo &&\n this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.NestVideoSettings)\n ) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.NestVideoSettings, {\n deviceID: deviceId[1]\n });\n }\n\n switch (device.managedDeviceType) {\n case MANAGED_DEVICE_TYPE.MobileDevice:\n case MANAGED_DEVICE_TYPE.NoiseSensor:\n case MANAGED_DEVICE_TYPE.BluetoothDevice:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!, device.id);\n case MANAGED_DEVICE_TYPE.WiFiRouter:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!);\n case MANAGED_DEVICE_TYPE.Partition:\n if (this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.PanelSettings)) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.PanelSettings);\n }\n\n break;\n case MANAGED_DEVICE_TYPE.Thermostat:\n if (\n this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.ThermostatSettings)\n ) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.ThermostatSettings, {\n deviceID: deviceId[1]\n });\n }\n\n break;\n case MANAGED_DEVICE_TYPE.VideoDevice:\n if (\n this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.VideoSettings) &&\n device instanceof VideoDevice &&\n !device.isDoorbellCamera\n ) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.VideoSettings, {\n deviceID: deviceId[1]\n });\n } else if (\n this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.DoorbellSettings) &&\n device instanceof VideoDevice &&\n device.isDoorbellCamera\n ) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.DoorbellSettings, {\n deviceID: deviceId[1]\n });\n }\n\n break;\n /**\n case MANAGED_DEVICE_TYPE.DoorbellDevice:\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.DoorbellSettings, { deviceID: deviceID[1], macAddress: device.macAddress });\n */\n case MANAGED_DEVICE_TYPE.AudioDevice:\n if (this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.AudioSettings)) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.AudioSettings);\n }\n\n break;\n case MANAGED_DEVICE_TYPE.CarMonitor:\n if (this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.CarSettingsV2)) {\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.CarSettingsV2, {\n deviceID: deviceId[1],\n showBackArrow: true,\n returnToWebView: true\n });\n } else if (\n this.nativeBridge.doesSupportTransitionToNativeViewWithId(NATIVE_VIEW_TYPE.CarSettings)\n ) {\n // Older clients do not support CarSettingsV2\n return this.nativeBridge.transitionToNativeView(NATIVE_VIEW_TYPE.CarSettings, {\n deviceID: deviceId[1],\n showBackArrow: true,\n returnToWebView: true\n });\n }\n\n break;\n case MANAGED_DEVICE_TYPE.SmartChimeDevice:\n return this.navigation.transitionToRoute(routeItemToTransitionTo!, device.id);\n case MANAGED_DEVICE_TYPE.Light:\n return this.router.transitionTo('home.lights.edit', device.id);\n case MANAGED_DEVICE_TYPE.Remote:\n return this.navigation.transitionToRouteId(EmberRemotesEdit, device.id);\n case MANAGED_DEVICE_TYPE.Lock:\n return this.router.transitionTo('home.locks.edit', device.id);\n default:\n break;\n }\n return;\n }\n }\n\n /**\n * Redirects to add-device-engine's already-linked page.\n */\n async transitionToAlreadyLinkedPage(device: BaseManagedDevice): Promise {\n if (device.managedDeviceType == MANAGED_DEVICE_TYPE.Thermostat && device.manufacturer === 'Google') {\n const isCustomerGoogleAdtOAuth = await this.ajax\n .apiRequest<{ value: string }>('engines/addDeviceResources/isCustomerGoogleAdtOAuth')\n .then((data) => data?.value === 'True');\n if (isCustomerGoogleAdtOAuth) {\n return this.router.transitionTo(\n 'settings.add-device.categories.devices.already-linked',\n ADD_DEVICE_CATEGORY.GoogleNest,\n ADD_DEVICE_RESOURCE.GoogleNestDevice\n );\n }\n }\n\n const category = this.getAddDeviceCategory(device);\n\n if (category !== ADD_DEVICE_CATEGORY.Unknown && device.addDeviceResource !== ADD_DEVICE_RESOURCE.Unknown) {\n return this.router.transitionTo(\n 'settings.add-device.categories.devices.already-linked',\n category,\n device.addDeviceResource\n );\n }\n\n return;\n }\n\n /**\n * Gets the corresponding add device category for the device\n */\n getAddDeviceCategory(device: BaseManagedDevice): number {\n switch (device.managedDeviceType) {\n case MANAGED_DEVICE_TYPE.GarageDoor:\n return ADD_DEVICE_CATEGORY.GarageDoor;\n case MANAGED_DEVICE_TYPE.Light:\n return ADD_DEVICE_CATEGORY.LightingApplianceControl;\n case MANAGED_DEVICE_TYPE.ShadeAndShutter:\n // Because Lutron devices can't be added individually, Lutron shades are added through the Lutron Caseta RA2 under Lighting.\n if (device.manufacturer == 'Lutron Electronics Co., Inc.') {\n return ADD_DEVICE_CATEGORY.LightingApplianceControl;\n }\n return ADD_DEVICE_CATEGORY.ShadeAndShutter;\n case MANAGED_DEVICE_TYPE.Thermostat:\n return ADD_DEVICE_CATEGORY.Thermostat;\n case MANAGED_DEVICE_TYPE.VideoDevice:\n if (device.manufacturer === 'Google') {\n return ADD_DEVICE_CATEGORY.GoogleNest;\n }\n return ADD_DEVICE_CATEGORY.VideoCamera;\n case MANAGED_DEVICE_TYPE.AudioDevice:\n return ADD_DEVICE_CATEGORY.Audio;\n case MANAGED_DEVICE_TYPE.Lock:\n return ADD_DEVICE_CATEGORY.Lock;\n case MANAGED_DEVICE_TYPE.WaterValve:\n return ADD_DEVICE_CATEGORY.WaterValveMeter;\n case MANAGED_DEVICE_TYPE.WaterSensor:\n return ADD_DEVICE_CATEGORY.WaterValveMeter;\n case MANAGED_DEVICE_TYPE.Sensor:\n return ADD_DEVICE_CATEGORY.Sensor;\n default:\n return ADD_DEVICE_CATEGORY.Unknown;\n }\n }\n\n /**\n * Fetches baseManagedDevice model instance from the current category in managedDeviceCategories.\n */\n getBaseManagedDevice(deviceId: string): BaseManagedDevice | undefined {\n const currentCategoryId = this.args.deviceCategory.id;\n\n return this.args.managedDeviceCategories.reduce(\n (device, category) =>\n device ||\n (category.id == currentCategoryId\n ? category.managedDevices.find((item) => item.id === deviceId)\n : undefined),\n undefined\n );\n }\n\n /**\n * Whether the device is a channel, defaulting to false.\n */\n isChannel(device: BaseManagedDevice & { isChannel?: boolean }): boolean {\n return device.isChannel ?? false;\n }\n\n /**\n * Whether the device is the current device, defaulting to false.\n */\n isCurrentDevice(device: BaseManagedDevice & { isCurrentDevice?: boolean }): boolean {\n return device.isCurrentDevice ?? false;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::ManageDevices::DeviceCategory': typeof DeviceCategory;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar as |api|>\\n \\n {{#if this.resolvedModel.catalog.canAddDevices}}\\n {{#unless (media \\'isMobile\\')}}\\n \\n\\n {{else}}\\n \\n {{/unless}}\\n {{/if}}\\n \\n \\n\\n <:default as |PageViewContainer|>\\n \\n {{#if this.shouldDisplayMessage}}\\n

{{this.displayMessage}}

\\n {{else if data.catalog.managedDeviceCategories}}\\n {{#each this.filteredManagedDeviceCategories as |deviceCategory|}}\\n \\n {{/each}}\\n {{/if}}\\n
\\n \\n\",{ moduleName: \"customer-site/settings/manage-devices/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\",{ moduleName: \"customer-site/settings/managed-account-access/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n
\\n \\n\\n \\n\\n \\n\\n

{{tc this \\'manageSettingsFromAppDescription\\' deviceName=this.mobileDeviceDescription}}

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

{{tc this \\'monitoringStationDescription\\'}}

\\n
    \\n {{!-- @glint-expect-error Please convert to PageView for type safety. --}}\\n {{#each (await data) as |linkItem|}}\\n
  • \\n \\n
  • \\n {{/each}}\\n
\\n
\\n\\n \\n\\n
\\n
\",{ moduleName: \"customer-site/settings/monitoring-station/index/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\",{ moduleName: \"customer-site/settings/monitoring-station/loading/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n \\n \\n\\n \\n

{{tc this \\'alarmMonitoringCertificate\\'}}

\\n

{{tc this \\'certificateDescription\\'}}

\\n

{{this.monitoringCertificate.dealerName}}

\\n {{this.logoAlt}}\\n\\n {{#each this.certificateData as |dataPoint|}}\\n
\\n \\n

{{dataPoint.value}}

\\n
\\n {{/each}}\\n\\n \\n
\\n \\n \\n
\\n
\\n\",{ moduleName: \"customer-site/settings/monitoring-station/monitoring-certificate/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n
\\n
{{@category.localizedDescription}}
\\n
{{this.selectedDevices}}/{{@devices.length}}
\\n \\n
\\n
\\n \\n {{#each @devices as |device|}}\\n \\n {{/each}}\\n
\\n
\",{ moduleName: \"customer-site/components/settings/monitoring-station/property-action-category/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 PropertyActionsCategory from 'customer-site/models/settings/monitoring-station/property-action-category';\nimport type PropertyActionDevice from 'customer-site/models/settings/monitoring-station/property-action-device';\nimport './_style.scss';\n\ninterface SettingsMonitoringStationPropertyActionCategorySignature {\n Element: HTMLDivElement;\n Args: {\n category: PropertyActionsCategory;\n devices: PropertyActionDevice[];\n onDeviceExclusionChanged: (actionDevice: PropertyActionDevice, exclude: boolean) => void;\n onToggleExpand: () => void;\n expanded: boolean;\n };\n}\n\n@intlPath({ path: 'settings/monitoring-station/edit-contact' })\nexport default class SettingsMonitoringStationPropertyActionCategory extends Component {\n get selectedDevices(): number {\n const {\n args: { devices }\n } = this;\n return devices.filter((device) => !device.isExcluded).length;\n }\n\n @action\n checkAll(checked: boolean, event: Event): void {\n const {\n args: { devices, onDeviceExclusionChanged }\n } = this;\n devices.forEach((device) => onDeviceExclusionChanged(device, !checked));\n event.stopPropagation();\n }\n\n @action\n onToggle(device: PropertyActionDevice, event: Event): void {\n const {\n args: { onDeviceExclusionChanged }\n } = this;\n onDeviceExclusionChanged(device, !(event.currentTarget as HTMLInputElement).checked);\n event.stopPropagation();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::MonitoringStation::PropertyActionCategory': typeof SettingsMonitoringStationPropertyActionCategory;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n \\n\\n \\n

{{tc this \\'headerDescription\\'}}:

\\n \\n \\n \\n \\n
\\n \\n \\n
\\n
\\n\\n \\n\\n
\\n
\",{ moduleName: \"customer-site/settings/monitoring-station/property-actions/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n <:default>\\n \\n {{#unless (or this.permanentPropertyNotes.length this.temporaryPropertyNotes.length)}}\\n

{{tc this \\'noPropertyNotesAvailable\\'}}

\\n {{/unless}}\\n {{#if this.permanentPropertyNotes}}\\n \\n {{/if}}\\n {{#if this.temporaryPropertyNotes}}\\n \\n {{/if}}\\n
\\n \\n
\\n \\n \\n <:no-results as |PageViewNoResults|>\\n \\n \\n <:error as |PageViewError|>\\n \\n \\n
\\n\",{ moduleName: \"customer-site/settings/monitoring-station/property-notes/index/template.hbs\" })","import { helper } from '@ember/component/helper';\n\nexport interface NowSignature {\n Return: Date;\n}\n\nexport function now(): NowSignature['Return'] {\n return new Date();\n}\n\nexport default helper(now);\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n now: typeof now;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n\\n \\n {{#if this.propertyNoteMessageError.length}}\\n \\n {{/if}}\\n\\n\\n \\n\\n{{#unless this.isPermanent}}\\n \\n \\n {{#if this.propertyNoteExpirationDateError.length}}\\n \\n {{/if}}\\n \\n{{/unless}}\",{ moduleName: \"customer-site/components/settings/monitoring-station/property-notes-add-edit/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';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type PropertyNote from 'customer-site/models/settings/monitoring-station/property-note';\nimport './_style.scss';\n\nconst SUBJECT_CHAR_LIMIT = 25;\nconst MESSAGE_CHAR_LIMIT = 280;\nconst MAX_DATE_LIMIT = 60;\n\ninterface PropertyNotesAddEditSignature {\n Args: {\n disableSave: (disable: boolean) => void;\n isNewNote: boolean;\n noteData: PropertyNote;\n };\n}\n\n@intlPath({ path: 'settings/monitoring-station/property-notes-add-edit' })\nexport default class PropertyNotesAddEdit extends Component {\n @service declare intl: ADCIntlService;\n\n /**\n * Should the Expiration section be hidden?\n */\n @tracked hideExpiration?: boolean;\n\n /**\n * Property note subject error\n */\n @tracked propertyNoteSubjectError = '';\n\n /**\n * Property note message error\n */\n @tracked propertyNoteMessageError = '';\n\n /**\n * Property note expiration date error\n */\n @tracked propertyNoteExpirationDateError = '';\n\n /**\n * Is this note permanent?\n */\n @computed('args.{noteData.expirationDate}', 'hideExpiration')\n get isPermanent(): boolean {\n return this.hideExpiration ?? !this.args.noteData?.expirationDate;\n }\n\n /**\n * Check if there are invalid inputs\n */\n @computed('isPermanent', 'args.noteData.{subject,message,expirationDate}')\n get thereAreInvalidInputs(): boolean {\n const { args } = this;\n return !args.noteData.subject || !args.noteData.message || (!this.isPermanent && !args.noteData.expirationDate);\n }\n\n /**\n * User can select a date 60 days maximum in the future\n */\n get maxDate(): Date {\n const today = new Date();\n return new Date(new Date().setDate(today.getDate() + MAX_DATE_LIMIT));\n }\n\n /**\n * Action used to toggle between showing or hidding the Expiration section\n */\n @action toggleIsPermanent(): void {\n this.hideExpiration = this.hideExpiration === undefined ? !this.isPermanent : !this.hideExpiration;\n if (!this.hideExpiration) {\n this.propertyNoteExpirationDateError = this.intl.tc(this, 'propertyNoteExpirationError');\n }\n this.args.noteData.expirationDate = undefined;\n this.args.disableSave(this.thereAreInvalidInputs);\n }\n\n /**\n * Action to update the note's subject\n */\n @action updatePropertyNoteSubject(newSubject: string): void {\n const { intl } = this;\n\n this.args.noteData.subject = newSubject;\n\n if (newSubject.length === 0) {\n this.propertyNoteSubjectError = intl.tc(this, 'propertyNoteNoInputError');\n } else if (newSubject.length === SUBJECT_CHAR_LIMIT) {\n this.propertyNoteSubjectError = intl.tc(this, 'propertyNoteSubjectLimitError');\n } else {\n this.propertyNoteSubjectError = '';\n }\n this.args.disableSave(this.thereAreInvalidInputs);\n }\n\n /**\n * Action to update the note's message\n */\n @action updatePropertyNoteMessage(e: KeyboardEvent & { target: { value: string } }): void {\n const { intl } = this,\n newMessage = e.target?.value;\n this.args.noteData.message = newMessage;\n\n if (newMessage.length === 0) {\n this.propertyNoteMessageError = intl.tc(this, 'propertyNoteNoInputError');\n } else if (newMessage.length === MESSAGE_CHAR_LIMIT) {\n this.propertyNoteMessageError = intl.tc(this, 'propertyNoteMessageLimitError');\n } else {\n this.propertyNoteMessageError = '';\n }\n this.args.disableSave(this.thereAreInvalidInputs);\n }\n\n /**\n * Action to update the note's expiration date\n */\n @action updatePropertyNoteExpirationDate(newDate: Date): void {\n this.args.noteData.expirationDate = newDate;\n\n this.propertyNoteExpirationDateError = newDate ? '' : this.intl.tc(this, 'propertyNoteExpirationError');\n this.args.disableSave(this.thereAreInvalidInputs);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::MonitoringStation::PropertyNotesAddEdit': typeof PropertyNotesAddEdit;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n\",{ moduleName: \"customer-site/settings/monitoring-station/property-notes/property-note-edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n \\n {{#if @model.showVisualVerification}}\\n
\\n

{{tc this \\'visual-verification.header\\'}}

\\n

{{tc this \\'visual-verification.description\\'}}

\\n {{#if @model.hasFullTimeAccess}}\\n

{{tc this \\'visual-verification.accessStatement\\'}}

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

{{tc this \\'visual-verification.title\\'}}

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

{{tc this \\'external-video-monitoring.remainingDevices\\'}} {{this.remainingEvmDevicesCount}}

\\n {{/if}}\\n {{#each @model.visualVerificationDevices as |device|}}\\n
\\n \\n\\n {{#unless device.isSelectable}}\\n \\n {{/unless}}\\n
\\n {{/each}}\\n
\\n
\\n {{/if}}\\n\\n {{#if @model.showTwoWayAudio}}\\n
\\n

{{tc this \\'two-way-audio.header\\'}}

\\n

{{tc this \\'two-way-audio.description\\'}}

\\n
\\n \\n
\\n
\\n {{/if}}\\n\\n {{#if this.showVisualVerificationWarning}}\\n \\n {{/if}}\\n\\n {{#if this.showTwoWayAudioWarning}}\\n \\n {{/if}}\\n\\n {{#if this.showVideoRuleWarning}}\\n \\n {{/if}}\\n\\n {{#if this.showTooManyDevices}}\\n \\n {{/if}}\\n\\n {{#if (or @model.showVisualVerification @model.showTwoWayAudio)}}\\n \\n {{/if}}\\n
\\n\\n \\n\\n
\\n
\",{ moduleName: \"customer-site/settings/monitoring-station/video/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n\\n \\n
\\n {{tc this \\'sensor\\'}}\\n \\n
\\n\\n
\\n \\n
\\n
\\n\\n \\n \\n\\n
\\n \\n

{{tc this \\'assignThresholds\\'}}

\\n

{{tc this \\'thresholdsBody\\'}}

\\n

{{tc this \\'thresholdsHelp\\'}}

\\n\\n
\\n {{#each this.displayThresholds as |threshold index|}}\\n \\n {{/each}}\\n\\n
\\n {{#unless this.isMobileApp}}\\n
\\n \\n {{tc this \\'notificationInfo\\'}}\\n \\n {{tc this \\'goToNoti\\'}}\\n \\n
\\n {{/unless}}\\n \\n
\\n
\\n
\\n\\n {{tc this \\'noNoiseSensors\\'}}\\n\\n \\n
\\n \\n
\\n\",{ moduleName: \"customer-site/settings/noise-settings/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n <:default as |data|>\\n {{#if data.system.isSystemConnectingToWifi}}\\n \\n {{else}}\\n
\\n

{{tc this \\'networkNameDesc\\'}}

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

{{tc this \\'securityDesc\\'}}

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

{{tc this \\'passwordDesc\\'}}

\\n \\n \\n \\n
\\n \\n {{/if}}\\n \\n
\\n
\",{ moduleName: \"customer-site/settings/panel-wifi/config/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data.system.isSystemConnectingToWifi}}\\n \\n {{else}}\\n
\\n
\\n {{#if data.wifiSettings.isConnectedToWifi}}\\n
\\n {{data.system.description}}\\n
\\n \\n \\n
\\n
\\n {{data.wifiSettings.ssid}}\\n {{tc this \\'connected\\'}}\\n {{else}}\\n \\n {{tc this \\'notConnected\\'}}\\n {{/if}}\\n
\\n {{#unless data.wifiSettings.isConnectedToWifi}}\\n {{#if data.wifiSettings.isCommandPanel}}\\n

{{safe-html (tc this \\'keepPanelUpdatedForCommandPanel\\')}}

\\n {{else}}\\n

{{safe-html (tc this \\'keepPanelUpdated\\')}}

\\n {{/if}}\\n {{/unless}}\\n\\n {{#if (await this.cannotConnectToWifi)}}\\n {{#if (or (await this.isAnyPartitionArmed) (await this.isAnyPartitionInAlarm))}}\\n

{{tc this \\'connectToWifiWarningArmedOrAlarm\\'}}

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

{{tc this \\'connectToWifiWarningAC\\'}}

\\n {{/if}}\\n {{else}}\\n {{#if data.wifiSettings.isConnectedToWifi}}\\n {{#if data.wifiSettings.isCommandPanel}}\\n

{{t \\'differentNetworkForCommandPanel\\' newNetwork=\\'newNetwork\\'}}

\\n {{else}}\\n

{{tc this \\'differentNetwork\\' newNetwork=\\'newNetwork\\'}}

\\n {{/if}}\\n {{/if}}\\n {{/if}}\\n\\n {{#if data.system.canScanForWifi}}\\n \\n {{/if}}\\n \\n
\\n {{/if}}\\n \\n
\\n\\n\\n\",{ moduleName: \"customer-site/settings/panel-wifi/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n \\n\\n \\n
\\n {{#if (or this.isRefreshingNetworks data.system.isSystemConnectingToWifi)}}\\n \\n {{else}}\\n {{#unless (media \\'isMobile\\')}}\\n

\\n {{tc this \\'selectNetwork\\'}}\\n

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

{{tc this \\'accessReady\\'}}

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

{{tc this (if data.system.canScanForWifi \\'followingNetworks\\' \\'ensurePanelPlacement\\') htmlSafe=true}}

\\n {{/unless}}\\n\\n \\n {{/if}}\\n\\n {{#unless this.devicesOnNetwork}}\\n {{#unless data.system.canScanForWifi}}\\n

{{tc this \\'accessReadyAvailable\\'}}

\\n
\\n

{{tc this \\'noAccessReady\\'}}

\\n
\\n {{/unless}}\\n {{/unless}}\\n\\n {{#if data.system.canScanForWifi}}\\n
\\n

\\n {{tc this \\'availableNetworks\\' devicesOnNetwork=this.devicesOnNetwork.length}}\\n

\\n \\n
\\n\\n {{#if this.panelIdentifiedNetworks}}\\n \\n {{/if}}\\n\\n {{#unless this.networkItems}}\\n
\\n

{{tc this \\'noNetworks\\'}}

\\n
\\n {{/unless}}\\n\\n {{/if}}\\n\\n {{tc this (if data.system.canScanForWifi \\'manual\\' \\'manualNoScan\\')}}\\n {{/if}}\\n
\\n
\\n \\n \\n
\",{ moduleName: \"customer-site/settings/panel-wifi/networks/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n

{{t \\'components.modals.settings.voice-access-levels-dialog.noneHeading\\'}}

\\n

{{t \\'components.modals.settings.voice-access-levels-dialog.noneDescription\\' manufacturer=@model.manufacturer}}

\\n\\n

{{t \\'components.modals.settings.voice-access-levels-dialog.onDemandHeading\\'}}

\\n

{{t \\'components.modals.settings.voice-access-levels-dialog.onDemandDescription\\' manufacturer=@model.manufacturer device=@model.device htmlSafe=true}}

\\n\\n

{{t \\'components.modals.settings.voice-access-levels-dialog.alwaysHeading\\'}}

\\n

{{t \\'components.modals.settings.voice-access-levels-dialog.alwaysDescription\\' manufacturer=@model.manufacturer device=@model.device htmlSafe=true}}

\\n
\\n\",{ moduleName: \"customer-site/components/modals/settings/voice-access-levels-dialog/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\n\nexport interface VoiceAccessLevelDialogModalSignature {\n Args: {\n model: {\n manufacturer: string;\n device: string;\n };\n };\n}\n\nconst VoiceAccessLevelDialogModal = templateOnlyComponent();\nexport default VoiceAccessLevelDialogModal;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n VoiceAccessLevelDialogModal: typeof VoiceAccessLevelDialogModal;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n \\n <:content>\\n \\n
\\n
{{@voiceAccessLevelSettingItem.description}}
\\n

\\n {{@voiceAccessLevelSettingItem.subDescription}}\\n

\\n
\\n \\n \\n \\n
\\n\",{ moduleName: \"customer-site/components/settings/voice-access-level-setting-item/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 { None, OnDemand, AlwaysOn } from 'customer-site/enums/VoiceAccessLevel';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nimport './_style.scss';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type VoiceAccessLevelSettingItem from 'customer-site/models/settings/voice/voice-access-level-setting-item';\n\nexport interface VoiceAccessLevelSettingItemComponentSignature {\n Args: {\n voiceAccessLevelSettingItem: VoiceAccessLevelSettingItem;\n };\n}\n\n@intlPath({ path: 'settings/voice-access-level-setting-item' })\nexport default class VoiceAccessLevelSettingItemComponent extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n /**\n * The list of voice access level options that users can select from.\n */\n get accessLevelOptions(): DropdownSelectItem[] {\n return Object.entries({\n none: None,\n onDemand: OnDemand,\n alwaysOn: AlwaysOn\n }).map(([key, value]) =>\n DropdownSelectItem.create({\n name: this.intl.tc(this, key),\n value: String(value)\n })\n );\n }\n\n @action updateVoiceAccessLevel(value: string): void {\n this.args.voiceAccessLevelSettingItem.voiceAccessLevel = parseInt(value, 10);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::VoiceAccessLevelSettingItem': typeof VoiceAccessLevelSettingItemComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{! @glint-nocheck: model error validation is not typesafe yet}}\\n
\\n

{{@voiceControlDeviceSettings.deviceName}}

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

\\n {{tc this \\'description\\' device=@voiceControlDeviceSettings.deviceName manufacturer=@voiceControlDeviceSettings.manufacturerName}}\\n \\n

\\n\\n {{#each @voiceControlDeviceSettings.voiceAccessLevelSettingItems as |voiceAccessLevelSettingItem|}}\\n \\n {{/each}}\\n
\\n {{/if}}\\n\\n {{#if this.hasArmStayOptions}}\\n
\\n \\n

{{tc this \\'armStaySettingsDescription\\'}}

\\n\\n {{#each-in @voiceControlDeviceSettings.armStayOptions as |_ chk|}}\\n \\n {{/each-in}}\\n\\n
\\n

{{tc this \\'armStaySettingsExampleDescription\\'}}

\\n

\\\"{{tc this \\'armStaySettingsExampleCommand\\'}}\\\"

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

{{tc this \\'armNightSettingsDescription\\'}}

\\n\\n {{#each-in @voiceControlDeviceSettings.armNightOptions as |_ chk|}}\\n \\n {{/each-in}}\\n\\n
\\n

{{tc this \\'armNightSettingsExampleDescription\\'}}

\\n

\\\"{{tc this \\'armNightSettingsExampleCommand\\'}}\\\"

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

\\n {{tc this \\'securePinDescription\\' manufacturer=@voiceControlDeviceSettings.manufacturerName}}\\n

\\n {{#each this.sortedVoicePins as |pin|}}\\n \\n {{/each}}\\n
\\n
\\n\\n \\n
\\n\",{ moduleName: \"customer-site/components/settings/voice-control-device-settings/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed } from '@ember/object';\nimport { action } from '@ember/object';\nimport { not, filterBy, sort, reads, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport VoiceAccessLevelDialog from 'customer-site/components/modals/settings/voice-access-levels-dialog/index';\nimport { Partition, ZwaveLock, GarageDoor } from 'customer-site/enums/DeviceType';\nimport { AmazonAlexa } from 'customer-site/enums/MobileDeviceType';\nimport { createRecordWithServerDefaults } from '@adc/app-infrastructure/models/base-model';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type VoiceSettingsPin from 'customer-site/models/settings/voice/voice-settings-pin';\nimport './_style.scss';\nimport type { AsyncHasMany } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type VoiceAccessLevelSettingItem from 'customer-site/models/settings/voice/voice-access-level-setting-item';\nimport type VoiceControlDeviceSetting from 'customer-site/models/settings/voice/voice-control-device-setting';\nimport './_style.scss';\n\n/**\n * Creating a new pin model.\n *\n * @param id of the new voice pin model\n */\nasync function appendNewPin(this: VoiceControlDeviceSettingsComponent, id: number): Promise {\n if (id === -1) {\n return;\n }\n\n if (this.voicePins) {\n const newPin = await createRecordWithServerDefaults(\n this.ajax,\n this.store,\n 'settings/voice/voiceSettingsPin',\n { id },\n id\n );\n await newPin.save();\n this.voicePins.pushObject(newPin);\n }\n}\n\n/**\n * Combines array of words into single string.\n *\n * @param arr - array containing word strings [string, string, ...].\n * @todo Convert this to use format-list when we upgrade to ember-intl v6\n */\nfunction combineStrings(\n this: VoiceControlDeviceSettingsComponent,\n arr: [string?, string?, string?]\n): string | undefined {\n switch (arr.length) {\n case 1:\n // string result: {itemA}\n return this.intl.tc(this, 'listOneItem', { itemA: arr[0] });\n case 2:\n // string result: {itemA} and {itemB}\n return this.intl.tc(this, 'listTwoItems', { itemA: arr[0], itemB: arr[1] });\n case 3:\n // string result: {itemA}, {itemB}, and {itemC}\n return this.intl.tc(this, 'listThreeItems', { itemA: arr[0], itemB: arr[1], itemC: arr[2] });\n default:\n return undefined;\n }\n}\n\nexport interface VoiceControlDeviceSettingsSignature {\n Args: {\n voiceControlDeviceSettings: VoiceControlDeviceSetting;\n };\n}\n\n/**\n * @classdesc\n * Component containing available options for voice settings.\n */\n@intlPath({ path: 'settings.voice-control-device-settings' })\nexport default class VoiceControlDeviceSettingsComponent extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare store: ServiceRegistry['store'];\n @service declare ajax: ServiceRegistry['ajax'];\n\n constructor(owner: unknown, args: VoiceControlDeviceSettingsSignature['Args']) {\n super(owner, args);\n\n const { voiceControlDeviceSettings } = this.args;\n\n if (this.voicePins) {\n if (this.customPins.length === 0) {\n appendNewPin.call(this, voiceControlDeviceSettings.newCustomPinId);\n }\n\n if (this.smartPins.length === 0) {\n appendNewPin.call(this, voiceControlDeviceSettings.newSmartHomePinId);\n }\n }\n\n // The initial voice access level values are the ones right from backend.\n this.secureActionsEnabledInBackEnd = this.secureActionsEnabled;\n }\n\n /**\n * voiceControlDeviceSetting's voiceAccessLevelSettingItems tracked.\n */\n @reads('args.voiceControlDeviceSettings.voiceAccessLevelSettingItems')\n declare voiceLevelItems: AsyncHasMany;\n\n /**\n * Should the smart home pin pin-input be editable?\n */\n get editSmartPinDisabled(): boolean {\n const [smartPin] = this.smartPins;\n if (smartPin?.isSavedPin) {\n return false;\n }\n\n return !this.secureActionsEnabled;\n }\n\n /**\n * Are one of the secure actions enabled?\n * This is primarily for checking the secure devices' voice access levels in the frontend.\n */\n get secureActionsEnabled(): boolean {\n return !!this.voiceLevelItems\n ?.filter(({ id }) => [ZwaveLock, GarageDoor, Partition].includes(Number(id)))\n .some((device) => device.voiceAccessLevel > 0);\n }\n\n /**\n * Are one of the secure actions enabled in the backend?\n * This is primarily for checking the secure devices' voice access levels from the backend.\n * This boolean property is initialized at the initialization of this component\n * And updated at every successful save.\n */\n @tracked\n secureActionsEnabledInBackEnd?: boolean;\n\n /**\n * If device is Amazon Alexa, we can edit custom pins.\n * If it is Google Assistant, we should not be able to edit custom pins.\n */\n @not('isAmazonAlexa')\n declare editCustomPinDisabled: boolean;\n\n /**\n * Model containing a custom pin.\n */\n @filterBy('voicePins', 'isCustomPin', true)\n declare customPins: VoiceSettingsPin[];\n\n /**\n * Model containing a smart pin.\n */\n @filterBy('voicePins', 'isCustomPin', false)\n declare smartPins: VoiceSettingsPin[];\n\n /**\n * The user's voice pins.\n */\n @reads('args.voiceControlDeviceSettings.voicePins')\n declare voicePins: VoiceSettingsPin[];\n\n /**\n * String object for secure devices and actions.\n */\n @computed('voiceLevelItems')\n get secureDevicesAndActions(): {\n secureDevicesText?: string;\n secureActionsText?: string;\n } {\n const secureDevicesTextArray: [string?, string?, string?] = [],\n secureActionsTextArray: [string?, string?, string?] = [];\n\n this.voiceLevelItems.forEach(({ id }) => {\n let key = undefined;\n if (ZwaveLock === Number(id)) {\n key = 'lock';\n } else if (Partition === Number(id)) {\n key = 'panel';\n } else if (GarageDoor === Number(id)) {\n key = 'garageDoor';\n }\n\n if (key) {\n secureDevicesTextArray.push(this.intl.tc(this, key));\n secureActionsTextArray.push(this.intl.tc(this, key.concat('SecureAction')));\n }\n });\n\n return {\n secureDevicesText: combineStrings.call(this, secureDevicesTextArray),\n secureActionsText: combineStrings.call(this, secureActionsTextArray)\n };\n }\n\n /**\n * Criteria for sorting the voice pins.\n */\n pinSort = ['id'];\n\n /**\n * Sorted version of the voicePins computed property. It's purely for presentational purpose, used in the template.hbs.\n */\n @sort('voicePins', 'pinSort')\n declare sortedVoicePins: VoiceSettingsPin[];\n\n /**\n * Are there any voice access level items?\n */\n @gt('voiceLevelItems.length', 0)\n declare hasVoiceLevelItems: boolean;\n\n /**\n * Does the customer's panel have arm stay settings?\n */\n @computed('args.voiceControlDeviceSettings.armStayOptions')\n get hasArmStayOptions(): boolean {\n return Object.keys(this.args.voiceControlDeviceSettings.armStayOptions).length > 0;\n }\n\n /**\n * Does the customer's panel have arm night settings?\n */\n @computed('args.voiceControlDeviceSettings.armNightOptions')\n get hasArmNightOptions(): boolean {\n return Object.keys(this.args.voiceControlDeviceSettings.armNightOptions).length > 0;\n }\n\n /**\n * Check whether mobile device is Amazon Alexa.\n * If it's true, it's Amazon Alexa.\n * If it's false, it's Google Assistant.\n */\n @computed('args.voiceControlDeviceSettings.id')\n get isAmazonAlexa(): boolean {\n return parseInt(this.args.voiceControlDeviceSettings.id) === AmazonAlexa;\n }\n\n /**\n * Update the voice pin\n */\n @action\n updateVoicePin(pin: VoiceSettingsPin): void {\n // Clear the error from the errors list in case it was there.\n const { errors } = this.args.voiceControlDeviceSettings;\n if (pin.isCustomPin) {\n errors.remove('customPinErrorMessage');\n } else {\n errors.remove('smartPinErrorMessage');\n }\n\n this.args.voiceControlDeviceSettings.voicePins.setObjects(this.voicePins);\n }\n\n /**\n * Attempt to save options.\n */\n @action\n async saveVoiceControlDeviceSettings(): Promise {\n // clear out error messages for the pins.\n const { errors } = this.args.voiceControlDeviceSettings;\n errors.remove('customPinErrorMessage');\n errors.remove('smartPinErrorMessage');\n\n await this.args.voiceControlDeviceSettings.save();\n\n // After save(), we need to determine which pins got saved and which one did not.\n const [customPin] = this.customPins;\n const [smartPin] = this.smartPins;\n\n if (customPin) {\n customPin.isSavedPin = customPin.pin.length !== 0;\n }\n\n if (smartPin) {\n smartPin.isSavedPin = !(smartPin.pin.length === 0 && !this.secureActionsEnabled);\n }\n\n // After successful save(), the voice access level values are the ones at that moment matches with backend.\n this.secureActionsEnabledInBackEnd = this.secureActionsEnabled;\n\n this.notificationManager.addSuccess(this.intl.tc(this, 'successfulSaveMessage'));\n }\n\n /**\n * Open a modal to display details about voice access levels.\n */\n @action\n openDetailsModal(voiceSetting: VoiceControlDeviceSetting): void {\n this.modals.showModal(VoiceAccessLevelDialog, {\n device: voiceSetting.deviceName,\n manufacturer: voiceSetting.manufacturerName\n });\n }\n\n /**\n * Open a modal to ask for confirmation on the deleting of the voice pin.\n */\n @action\n openDeleteModal(pin: VoiceSettingsPin): Promise | void {\n const { intl, notificationManager } = this,\n { secureDevicesText, secureActionsText } = this.secureDevicesAndActions;\n\n // if it's a new model, we don't let them delete it.\n if (!pin.isSavedPin) {\n notificationManager.addError(intl.tc(this, 'cannotDeleteNewPin'));\n return Promise.reject();\n }\n\n // For existing smart home pin, if secure actions are not set to None on the backend and frontend, user can't delete the smart home pin.\n if (\n !pin.isCustomPin &&\n pin.isSavedPin &&\n !(!this.secureActionsEnabled && !this.secureActionsEnabledInBackEnd)\n ) {\n notificationManager.addError(intl.tc(this, 'cannotDeleteSmartPin', { secureDevices: secureDevicesText }));\n return Promise.reject();\n }\n\n this.modals.showConfirmationDialog(\n intl.tc(this, 'deletePin'),\n intl.tc(this, 'deletePinDescription', {\n manufacturer: this.args.voiceControlDeviceSettings.manufacturerName,\n secureDevices: secureDevicesText,\n secureActions: secureActionsText\n }),\n {\n text: intl.t('generic.delete'),\n css: 'btn-color-danger',\n action: async () => {\n try {\n // destroyRecord and then unloadRecord() so that it is also deleted in the store.\n await pin.destroyRecord();\n pin.unloadRecord();\n\n notificationManager.addSuccess(intl.tc(this, 'successfulDeleteMessage'));\n appendNewPin.call(this, Number(pin.id));\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\n }\n }\n }\n );\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::VoiceControlDeviceSettings': typeof VoiceControlDeviceSettingsComponent;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\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/settings/voice/edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#each data as |voiceSetting|}}\\n \\n {{/each}}\\n \\n\\n <:no-results as |PageViewNoResults|>\\n \\n

{{tc this \\'noSettings\\'}}

\\n
\\n \\n\\n <:error as |PageViewError|>\\n \\n \\n
\\n
\\n\",{ moduleName: \"customer-site/settings/voice/index/template.hbs\" })","\nimport { importSync as i } from '@embroider/macros';\nlet d = window.define;\nd(\"customer-site/settings/access-control-lockdown/template\", function(){ return i(\"customer-site/settings/access-control-lockdown/template.hbs\");});\nd(\"customer-site/settings/access-control-lockdown/controller\", function(){ return i(\"customer-site/settings/access-control-lockdown/controller.ts\");});\nd(\"customer-site/settings/access-control-lockdown/route\", function(){ return i(\"customer-site/settings/access-control-lockdown/route.ts\");});\nd(\"customer-site/settings/access-control-restricted-access/template\", function(){ return i(\"customer-site/settings/access-control-restricted-access/template.hbs\");});\nd(\"customer-site/settings/access-control-restricted-access/route\", function(){ return i(\"customer-site/settings/access-control-restricted-access/route.ts\");});\nd(\"customer-site/settings/account-management/index/template\", function(){ return i(\"customer-site/settings/account-management/index/template.hbs\");});\nd(\"customer-site/settings/account-management/index/route\", function(){ return i(\"customer-site/settings/account-management/index/route.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/route\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/route.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/completed/template\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/completed/template.hbs\");});\nd(\"customer-site/settings/account-management/move-portal-survey/completed/controller\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/completed/controller.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/completed/route\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/completed/route.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/edit/template\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/edit/template.hbs\");});\nd(\"customer-site/settings/account-management/move-portal-survey/edit/controller\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/edit/controller.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/edit/route\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/edit/route.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/index/template\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/index/template.hbs\");});\nd(\"customer-site/settings/account-management/move-portal-survey/index/controller\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/index/controller.ts\");});\nd(\"customer-site/settings/account-management/move-portal-survey/index/route\", function(){ return i(\"customer-site/settings/account-management/move-portal-survey/index/route.ts\");});\nd(\"customer-site/settings/account-management/user-slot-management/template\", function(){ return i(\"customer-site/settings/account-management/user-slot-management/template.hbs\");});\nd(\"customer-site/settings/account-management/user-slot-management/controller\", function(){ return i(\"customer-site/settings/account-management/user-slot-management/controller.ts\");});\nd(\"customer-site/settings/account-management/user-slot-management/route\", function(){ return i(\"customer-site/settings/account-management/user-slot-management/route.ts\");});\nd(\"customer-site/settings/bluetooth/device-settings/route\", function(){ return i(\"customer-site/settings/bluetooth/device-settings/route.ts\");});\nd(\"customer-site/settings/bluetooth/device-settings/index/template\", function(){ return i(\"customer-site/settings/bluetooth/device-settings/index/template.hbs\");});\nd(\"customer-site/settings/bluetooth/device-settings/index/controller\", function(){ return i(\"customer-site/settings/bluetooth/device-settings/index/controller.ts\");});\nd(\"customer-site/settings/bluetooth/device-settings/partition-list/template\", function(){ return i(\"customer-site/settings/bluetooth/device-settings/partition-list/template.hbs\");});\nd(\"customer-site/settings/bluetooth/device-settings/partition-list/controller\", function(){ return i(\"customer-site/settings/bluetooth/device-settings/partition-list/controller.ts\");});\nd(\"customer-site/settings/bluetooth/device-settings/partition-list/route\", function(){ return i(\"customer-site/settings/bluetooth/device-settings/partition-list/route.ts\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/device-list/template\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/device-list/template.hbs\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/device-list/controller\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/device-list/controller.ts\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/device-list/route\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/device-list/route.ts\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/template\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/template.hbs\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/controller\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/controller.ts\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/route\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/edit-disarm-timeout/route.ts\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/index/template\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/index/template.hbs\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/index/controller\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/index/controller.ts\");});\nd(\"customer-site/settings/bluetooth/disarming-settings/index/route\", function(){ return i(\"customer-site/settings/bluetooth/disarming-settings/index/route.ts\");});\nd(\"customer-site/settings/bluetooth/index/template\", function(){ return i(\"customer-site/settings/bluetooth/index/template.hbs\");});\nd(\"customer-site/settings/bluetooth/index/controller\", function(){ return i(\"customer-site/settings/bluetooth/index/controller.ts\");});\nd(\"customer-site/settings/bluetooth/index/route\", function(){ return i(\"customer-site/settings/bluetooth/index/route.ts\");});\nd(\"customer-site/settings/car/template\", function(){ return i(\"customer-site/settings/car/template.hbs\");});\nd(\"customer-site/settings/car/controller\", function(){ return i(\"customer-site/settings/car/controller.js\");});\nd(\"customer-site/settings/car/route\", function(){ return i(\"customer-site/settings/car/route.js\");});\nd(\"customer-site/settings/control-panel-settings/alarm-delay-settings/template\", function(){ return i(\"customer-site/settings/control-panel-settings/alarm-delay-settings/template.hbs\");});\nd(\"customer-site/settings/control-panel-settings/alarm-delay-settings/controller\", function(){ return i(\"customer-site/settings/control-panel-settings/alarm-delay-settings/controller.js\");});\nd(\"customer-site/settings/control-panel-settings/alarm-delay-settings/route\", function(){ return i(\"customer-site/settings/control-panel-settings/alarm-delay-settings/route.ts\");});\nd(\"customer-site/settings/control-panel-settings/index/template\", function(){ return i(\"customer-site/settings/control-panel-settings/index/template.hbs\");});\nd(\"customer-site/settings/control-panel-settings/index/controller\", function(){ return i(\"customer-site/settings/control-panel-settings/index/controller.js\");});\nd(\"customer-site/settings/control-panel-settings/index/route\", function(){ return i(\"customer-site/settings/control-panel-settings/index/route.ts\");});\nd(\"customer-site/settings/control-panel-settings/panel-audio/template\", function(){ return i(\"customer-site/settings/control-panel-settings/panel-audio/template.hbs\");});\nd(\"customer-site/settings/control-panel-settings/panel-audio/controller\", function(){ return i(\"customer-site/settings/control-panel-settings/panel-audio/controller.ts\");});\nd(\"customer-site/settings/control-panel-settings/panel-audio/route\", function(){ return i(\"customer-site/settings/control-panel-settings/panel-audio/route.ts\");});\nd(\"customer-site/settings/control-panel-settings/sensor-names/template\", function(){ return i(\"customer-site/settings/control-panel-settings/sensor-names/template.hbs\");});\nd(\"customer-site/settings/control-panel-settings/sensor-names/controller\", function(){ return i(\"customer-site/settings/control-panel-settings/sensor-names/controller.ts\");});\nd(\"customer-site/settings/control-panel-settings/sensor-names/route\", function(){ return i(\"customer-site/settings/control-panel-settings/sensor-names/route.ts\");});\nd(\"customer-site/settings/everbridge-integration/edit/template\", function(){ return i(\"customer-site/settings/everbridge-integration/edit/template.hbs\");});\nd(\"customer-site/settings/everbridge-integration/edit/controller\", function(){ return i(\"customer-site/settings/everbridge-integration/edit/controller.ts\");});\nd(\"customer-site/settings/everbridge-integration/edit/route\", function(){ return i(\"customer-site/settings/everbridge-integration/edit/route.ts\");});\nd(\"customer-site/settings/everbridge-integration/index/template\", function(){ return i(\"customer-site/settings/everbridge-integration/index/template.hbs\");});\nd(\"customer-site/settings/everbridge-integration/index/controller\", function(){ return i(\"customer-site/settings/everbridge-integration/index/controller.ts\");});\nd(\"customer-site/settings/everbridge-integration/index/route\", function(){ return i(\"customer-site/settings/everbridge-integration/index/route.ts\");});\nd(\"customer-site/settings/face-recognition/template\", function(){ return i(\"customer-site/settings/face-recognition/template.hbs\");});\nd(\"customer-site/settings/face-recognition/controller\", function(){ return i(\"customer-site/settings/face-recognition/controller.js\");});\nd(\"customer-site/settings/face-recognition/route\", function(){ return i(\"customer-site/settings/face-recognition/route.js\");});\nd(\"customer-site/settings/index/template\", function(){ return i(\"customer-site/settings/index/template.hbs\");});\nd(\"customer-site/settings/index/route\", function(){ return i(\"customer-site/settings/index/route.ts\");});\nd(\"customer-site/settings/login-information/email-address/template\", function(){ return i(\"customer-site/settings/login-information/email-address/template.hbs\");});\nd(\"customer-site/settings/login-information/email-address/controller\", function(){ return i(\"customer-site/settings/login-information/email-address/controller.js\");});\nd(\"customer-site/settings/login-information/email-address/route\", function(){ return i(\"customer-site/settings/login-information/email-address/route.js\");});\nd(\"customer-site/settings/login-information/index/template\", function(){ return i(\"customer-site/settings/login-information/index/template.hbs\");});\nd(\"customer-site/settings/login-information/index/controller\", function(){ return i(\"customer-site/settings/login-information/index/controller.ts\");});\nd(\"customer-site/settings/login-information/index/route\", function(){ return i(\"customer-site/settings/login-information/index/route.ts\");});\nd(\"customer-site/settings/login-information/language/template\", function(){ return i(\"customer-site/settings/login-information/language/template.hbs\");});\nd(\"customer-site/settings/login-information/language/controller\", function(){ return i(\"customer-site/settings/login-information/language/controller.js\");});\nd(\"customer-site/settings/login-information/language/route\", function(){ return i(\"customer-site/settings/login-information/language/route.js\");});\nd(\"customer-site/settings/login-information/login-name/template\", function(){ return i(\"customer-site/settings/login-information/login-name/template.hbs\");});\nd(\"customer-site/settings/login-information/login-name/controller\", function(){ return i(\"customer-site/settings/login-information/login-name/controller.js\");});\nd(\"customer-site/settings/login-information/login-name/route\", function(){ return i(\"customer-site/settings/login-information/login-name/route.js\");});\nd(\"customer-site/settings/login-information/multi-system-access/index/template\", function(){ return i(\"customer-site/settings/login-information/multi-system-access/index/template.hbs\");});\nd(\"customer-site/settings/login-information/multi-system-access/index/controller\", function(){ return i(\"customer-site/settings/login-information/multi-system-access/index/controller.ts\");});\nd(\"customer-site/settings/login-information/multi-system-access/index/route\", function(){ return i(\"customer-site/settings/login-information/multi-system-access/index/route.ts\");});\nd(\"customer-site/settings/login-information/multi-system-access/setup/template\", function(){ return i(\"customer-site/settings/login-information/multi-system-access/setup/template.hbs\");});\nd(\"customer-site/settings/login-information/multi-system-access/setup/controller\", function(){ return i(\"customer-site/settings/login-information/multi-system-access/setup/controller.js\");});\nd(\"customer-site/settings/login-information/multi-system-access/setup/route\", function(){ return i(\"customer-site/settings/login-information/multi-system-access/setup/route.js\");});\nd(\"customer-site/settings/login-information/new-device-alerts/template\", function(){ return i(\"customer-site/settings/login-information/new-device-alerts/template.hbs\");});\nd(\"customer-site/settings/login-information/new-device-alerts/controller\", function(){ return i(\"customer-site/settings/login-information/new-device-alerts/controller.js\");});\nd(\"customer-site/settings/login-information/new-device-alerts/route\", function(){ return i(\"customer-site/settings/login-information/new-device-alerts/route.js\");});\nd(\"customer-site/settings/login-information/site-appearance/template\", function(){ return i(\"customer-site/settings/login-information/site-appearance/template.hbs\");});\nd(\"customer-site/settings/login-information/site-appearance/controller\", function(){ return i(\"customer-site/settings/login-information/site-appearance/controller.js\");});\nd(\"customer-site/settings/login-information/site-appearance/route\", function(){ return i(\"customer-site/settings/login-information/site-appearance/route.js\");});\nd(\"customer-site/settings/manage-devices/associated-devices/template\", function(){ return i(\"customer-site/settings/manage-devices/associated-devices/template.hbs\");});\nd(\"customer-site/settings/manage-devices/associated-devices/controller\", function(){ return i(\"customer-site/settings/manage-devices/associated-devices/controller.ts\");});\nd(\"customer-site/settings/manage-devices/associated-devices/route\", function(){ return i(\"customer-site/settings/manage-devices/associated-devices/route.ts\");});\nd(\"customer-site/settings/manage-devices/index/template\", function(){ return i(\"customer-site/settings/manage-devices/index/template.hbs\");});\nd(\"customer-site/settings/manage-devices/index/controller\", function(){ return i(\"customer-site/settings/manage-devices/index/controller.ts\");});\nd(\"customer-site/settings/manage-devices/index/route\", function(){ return i(\"customer-site/settings/manage-devices/index/route.ts\");});\nd(\"customer-site/settings/managed-account-access/template\", function(){ return i(\"customer-site/settings/managed-account-access/template.hbs\");});\nd(\"customer-site/settings/managed-account-access/route\", function(){ return i(\"customer-site/settings/managed-account-access/route.js\");});\nd(\"customer-site/settings/mobile-settings/template\", function(){ return i(\"customer-site/settings/mobile-settings/template.hbs\");});\nd(\"customer-site/settings/mobile-settings/controller\", function(){ return i(\"customer-site/settings/mobile-settings/controller.ts\");});\nd(\"customer-site/settings/mobile-settings/route\", function(){ return i(\"customer-site/settings/mobile-settings/route.ts\");});\nd(\"customer-site/settings/monitoring-station/index/template\", function(){ return i(\"customer-site/settings/monitoring-station/index/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/index/controller\", function(){ return i(\"customer-site/settings/monitoring-station/index/controller.ts\");});\nd(\"customer-site/settings/monitoring-station/index/route\", function(){ return i(\"customer-site/settings/monitoring-station/index/route.ts\");});\nd(\"customer-site/settings/monitoring-station/loading/template\", function(){ return i(\"customer-site/settings/monitoring-station/loading/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/monitoring-certificate/template\", function(){ return i(\"customer-site/settings/monitoring-station/monitoring-certificate/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/monitoring-certificate/controller\", function(){ return i(\"customer-site/settings/monitoring-station/monitoring-certificate/controller.ts\");});\nd(\"customer-site/settings/monitoring-station/monitoring-certificate/route\", function(){ return i(\"customer-site/settings/monitoring-station/monitoring-certificate/route.ts\");});\nd(\"customer-site/settings/monitoring-station/property-actions/template\", function(){ return i(\"customer-site/settings/monitoring-station/property-actions/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/property-actions/controller\", function(){ return i(\"customer-site/settings/monitoring-station/property-actions/controller.ts\");});\nd(\"customer-site/settings/monitoring-station/property-actions/route\", function(){ return i(\"customer-site/settings/monitoring-station/property-actions/route.ts\");});\nd(\"customer-site/settings/monitoring-station/property-notes/index/template\", function(){ return i(\"customer-site/settings/monitoring-station/property-notes/index/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/property-notes/index/controller\", function(){ return i(\"customer-site/settings/monitoring-station/property-notes/index/controller.ts\");});\nd(\"customer-site/settings/monitoring-station/property-notes/index/route\", function(){ return i(\"customer-site/settings/monitoring-station/property-notes/index/route.ts\");});\nd(\"customer-site/settings/monitoring-station/property-notes/property-note-edit/template\", function(){ return i(\"customer-site/settings/monitoring-station/property-notes/property-note-edit/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/property-notes/property-note-edit/controller\", function(){ return i(\"customer-site/settings/monitoring-station/property-notes/property-note-edit/controller.ts\");});\nd(\"customer-site/settings/monitoring-station/property-notes/property-note-edit/route\", function(){ return i(\"customer-site/settings/monitoring-station/property-notes/property-note-edit/route.ts\");});\nd(\"customer-site/settings/monitoring-station/video/template\", function(){ return i(\"customer-site/settings/monitoring-station/video/template.hbs\");});\nd(\"customer-site/settings/monitoring-station/video/controller\", function(){ return i(\"customer-site/settings/monitoring-station/video/controller.ts\");});\nd(\"customer-site/settings/monitoring-station/video/route\", function(){ return i(\"customer-site/settings/monitoring-station/video/route.ts\");});\nd(\"customer-site/settings/noise-settings/template\", function(){ return i(\"customer-site/settings/noise-settings/template.hbs\");});\nd(\"customer-site/settings/noise-settings/controller\", function(){ return i(\"customer-site/settings/noise-settings/controller.ts\");});\nd(\"customer-site/settings/noise-settings/route\", function(){ return i(\"customer-site/settings/noise-settings/route.ts\");});\nd(\"customer-site/settings/panel-wifi/config/template\", function(){ return i(\"customer-site/settings/panel-wifi/config/template.hbs\");});\nd(\"customer-site/settings/panel-wifi/config/controller\", function(){ return i(\"customer-site/settings/panel-wifi/config/controller.ts\");});\nd(\"customer-site/settings/panel-wifi/config/route\", function(){ return i(\"customer-site/settings/panel-wifi/config/route.ts\");});\nd(\"customer-site/settings/panel-wifi/index/template\", function(){ return i(\"customer-site/settings/panel-wifi/index/template.hbs\");});\nd(\"customer-site/settings/panel-wifi/index/controller\", function(){ return i(\"customer-site/settings/panel-wifi/index/controller.ts\");});\nd(\"customer-site/settings/panel-wifi/index/route\", function(){ return i(\"customer-site/settings/panel-wifi/index/route.ts\");});\nd(\"customer-site/settings/panel-wifi/networks/template\", function(){ return i(\"customer-site/settings/panel-wifi/networks/template.hbs\");});\nd(\"customer-site/settings/panel-wifi/networks/controller\", function(){ return i(\"customer-site/settings/panel-wifi/networks/controller.ts\");});\nd(\"customer-site/settings/panel-wifi/networks/route\", function(){ return i(\"customer-site/settings/panel-wifi/networks/route.ts\");});\nd(\"customer-site/settings/voice/edit/template\", function(){ return i(\"customer-site/settings/voice/edit/template.hbs\");});\nd(\"customer-site/settings/voice/edit/route\", function(){ return i(\"customer-site/settings/voice/edit/route.ts\");});\nd(\"customer-site/settings/voice/index/template\", function(){ return i(\"customer-site/settings/voice/index/template.hbs\");});\nd(\"customer-site/settings/voice/index/route\", function(){ return i(\"customer-site/settings/voice/index/route.ts\");});\n","import Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed } from '@ember/object';\nimport { alias, gt } from '@ember/object/computed';\nimport { isEmpty } from '@ember/utils';\n\nimport './_style.scss';\n\nexport interface BaseFilterBarSignature {\n Args: {\n search: string;\n filterTags: FilterOption[];\n onFilterTagsChange: (values: string[] | number[]) => void;\n onSearchChange: (value: string) => void;\n };\n}\n\n/**\n * The base filter bar component. Can extend this to build different types of filter bar components.\n */\nexport class BaseFilterBar extends Component {\n /**\n * The text used for searching.\n */\n @alias('args.search')\n declare search: string;\n\n /**\n * The collection of filter tag items for the filter buttons.\n */\n @alias('args.filterTags')\n declare filterTags: FilterOption[];\n\n /**\n * Whether or not the user should have the option to filter using the filter tags.\n */\n @gt('filterTags.length', 1)\n declare showFilterOption: boolean;\n\n /**\n * Whether or not all the filter tags should be expanded/shown (true) or collapsed/hidden (false).\n */\n @tracked showFilterTags = this.isFiltered;\n\n /**\n * Indicates a filter is currently applied.\n */\n @computed('filterTags.@each.selected')\n get isFiltered(): boolean {\n return !isEmpty((this.filterTags || []).filter((item) => item.selected));\n }\n\n /**\n * Triggers a search action\n */\n doSearch(): void {\n this.args.onFilterTagsChange(this.filterTags.filter((item) => item.selected).map((item) => item.value));\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Automation::BaseFilterBar': typeof BaseFilterBar;\n }\n}\n\nexport interface FilterOption {\n name: string;\n icon?: string;\n value: number;\n selected: boolean;\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n\\n {{#if this.showFilterOption}}\\n \\n
\\n {{/if}}\\n\\n {{yield}}\\n \\n\\n {{#if (and this.showFilterOption this.showFilterTags)}}\\n
\\n {{#each this.filterTags as |tag|}}\\n {{#if tag.icon}}\\n \\n {{else}}\\n \\n {{/if}}\\n {{/each}}\\n
\\n {{/if}}\\n\",{ moduleName: \"customer-site/components/automation/filter-bar/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { action } from '@ember/object';\nimport { BaseFilterBar } from '../base-filter-bar/index';\n\nimport type { BaseFilterBarSignature, FilterOption } from '../base-filter-bar/index';\n\nexport interface AutomationFilterBarSignature extends BaseFilterBarSignature {\n Element: HTMLDivElement;\n Blocks: {\n default: [];\n };\n}\n\n/**\n * Search and filter bar for automation rules and schedules.\n */\nexport default class AutomationFilterBar extends BaseFilterBar {\n /**\n * Toggles a filter tag's button between selected and unselected.\n */\n @action\n toggleFilterTagSelected(button: FilterOption): void {\n this.toggleFilterTags([button], !button.selected);\n }\n\n /**\n * Apply or remove a filter tag. It will apply the filter and change the color of button.\n */\n @action\n toggleFilterTags(buttons: FilterOption[], selected: boolean): void {\n const values = buttons.map((button) => button.value);\n let selectedValues = this.filterTags\n .filter(\n (tag) =>\n tag.selected &&\n // Initially we remove any of these values in case they were de-selected.\n !values.includes(tag.value)\n )\n .map((tag) => tag.value);\n\n if (selected) {\n selectedValues = selectedValues.concat(values);\n }\n\n this.args.onFilterTagsChange(selectedValues.map((value) => value.toString()));\n }\n\n /**\n * Toggles all the filter tags between expanded/shown and collapsed/hidden. If there are filters selected,\n * the button clears the filters and doesn't close the bar\n */\n @action\n handleFilterButtonClick(): void {\n // If it is filtered, clear filters but don't close the bar.\n if (this.isFiltered) {\n this.toggleFilterTags(this.filterTags, false);\n } else {\n this.showFilterTags = !this.showFilterTags;\n }\n }\n\n /**\n * If we're applying a filter, but the tags aren't being shown, correct that.\n */\n @action\n updateShowFilterTags(): void {\n if (this.isFiltered && !this.showFilterTags) {\n this.showFilterTags = true;\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Automation::FilterBar': typeof AutomationFilterBar;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n
\\n \\n

{{@spinnerText}}

\\n
\\n {{#unless @hideConnectingText}}\\n

{{t \\'components.settings.panel-wifi.connecting-view.credentialsSent\\'}}

\\n {{/unless}}\\n
\",{ moduleName: \"customer-site/components/settings/panel-wifi/connecting-view/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\n\nexport interface ConnectingViewSignature {\n Args: {\n spinnerText: string;\n hideConnectingText: boolean;\n };\n}\n\nconst ConnectingView = templateOnlyComponent();\nexport default ConnectingView;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Settings::PanelWifi::ConnectingView': typeof ConnectingView;\n }\n}\n","import EmberController from '@ember/controller';\nimport { action } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { Lockdown } from 'customer-site/enums/AccessControlSystemMode';\nimport { getModalFooterButton } from '@adc/ui-components/components/modals/base/footer/modal-footer';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type ApplicationRoute from 'customer-site/application/route';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\n/**\n * @classdesc\n * Controller for the lockdown settings page.\n */\nexport default class Controller extends EmberController {\n @service declare identityManager: ServiceRegistry['identity-manager'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare store: ServiceRegistry['store'];\n\n declare model: ModelFrom;\n\n /**\n * Is system currently in lockdown?\n */\n @equal('model.identity.selectedSystem.accessControlCurrentSystemMode', Lockdown)\n declare isSystemInLockdown: boolean;\n\n /**\n * Toggles the lock down status.\n */\n @action\n toggleLockdown(): Promise {\n const { intl, modals } = this,\n identity = this.model.identity;\n\n return new Promise((resolve, reject) => {\n // Is lockdown not enabled yet and is the account not eligible (controllers not migrated)\n if (!identity.accessControlLockdownEnabled && !identity.accessControlMigratedForLockdown) {\n // Show a message and exit.\n modals.showInfoModal({\n title: '',\n info: intl.tc(this, 'lockdownReconfigureMessage'),\n disableHeaderClose: true,\n buttons: [getModalFooterButton(intl.t('generic.ok'), () => {})],\n css: 'lockdown-reject-enabling-modal'\n });\n reject();\n }\n\n const newValue = !identity.accessControlLockdownEnabled,\n fnToggle = async (): Promise => {\n const result = await identity.enableDisableLockdown(newValue);\n\n if (newValue) {\n // Refresh context to enable/disable customer access to lockdown configuration page after the CustomerParameter has been modified.\n await this.identityManager.refreshApplication();\n }\n\n resolve(result);\n };\n\n if (newValue) {\n fnToggle();\n return;\n }\n\n // We confirm disabling lockdown with a confirmation dialog modal\n modals.showConfirmationDialog(\n intl.tc(this, 'disableLockdownConfirmTitle'),\n intl.tc(this, 'disableLockdownConfirmMessage'),\n getModalFooterButton(intl.tc(this, 'disableLockdownConfirmButtonLabel'), fnToggle, 'btn-color-danger'),\n getModalFooterButton(intl.t('generic.cancel'), () => resolve(null))\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 'settings/access-control-lockdown': Controller;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberSettingsAccessControlLockdown } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Route for the Access Control Lockdown settings page\n */\nexport default class Route extends AdcBaseRoute {\n routeId = EmberSettingsAccessControlLockdown;\n}\n","import { getRestrictedAccessSetting } from 'customer-site/classes/access-control/access-plans/base-index-route';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberSettingsAccessControlRestrictedAccess } from 'customer-site/enums/CustomerPageUrl';\nimport { getPlanDetailTotals } from 'customer-site/models/access-control/access-control-access-plan';\n\nimport type AccessControlAccessPlanModel from 'customer-site/models/access-control/access-control-access-plan';\nimport type AccessControlTimetable from 'customer-site/models/access-control/access-control-timetable';\nimport type PartitionModel from 'customer-site/models/devices/partition';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\nexport interface RestrictedAccessSettingsRouteModel {\n restrictedAccessSetting: ReturnType;\n accessPlans: ADCAsyncStoreFindAll;\n timetables: ADCAsyncStoreFindAll;\n planDetailTotals: ReturnType;\n\n system?: ReturnType;\n partitions?: ADCAsyncStoreFindAll;\n}\n\n/**\n * Route for the Access Control Restricted Access settings page\n */\nexport default class SettingsAccessControlRestrictedAccessRoute extends AdcBaseRoute {\n routeId = EmberSettingsAccessControlRestrictedAccess;\n\n /** @override */\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),\n system: identityManager.getSelectedSystem(),\n partitions: store.findAll('devices/partition')\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberAccountManagement, EmberMovePortalSurvey } from 'customer-site/enums/CustomerPageUrl';\nimport {\n EmberAccountInformation,\n EmberPropertyInformation,\n EmberSystemInformation,\n EmberUserSlotManagement\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type RouteItem from 'customer-site/models/navigation/route-item';\nimport type NavigationService from 'customer-site/services/navigation';\n\ntype ChildRoute = {\n routeId: string;\n description?: string;\n icon: string;\n pageTitle: string;\n routeItem?: RouteItem;\n};\n/**\n * @classdesc\n *\n * Route for Account Management landing page.\n *\n */\nexport default class AccountManagementRoute extends AdcBaseRoute {\n @service declare navigation: NavigationService;\n routeId = EmberAccountManagement;\n\n isMediumWidthPage = true;\n\n /** @override */\n model(): { childRoutes: Promise } {\n return {\n childRoutes: this.ajax\n .apiRequestForValue('accountManagement/getChildRoutes')\n .then((routes) =>\n routes.filter(({ routeId }) =>\n [\n EmberAccountInformation,\n EmberPropertyInformation,\n EmberSystemInformation,\n EmberUserSlotManagement,\n EmberMovePortalSurvey\n ].includes(Number(routeId))\n )\n )\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { service } from '@ember/service';\n\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\nexport default class MovePortalSurveyCompletedController extends Controller {\n @service declare contextManager: ContextManager;\n @service declare navigation: NavigationService;\n\n /**\n * Exits the flow and navigates back to the route that initiated the flow.\n */\n @action exit(): void {\n this.removeMovePortalSurveryRoutesFromVisitedRoutesStack();\n this.contextManager.transitionBackToMobileAppOrPreviousRoute();\n }\n\n /**\n * Pop the visited routes stack to remove the the sub routes up to the index Move Portal Survey route. This is\n * to allow the user to navigate back to where the Move Portal Survey flow was initiated.\n */\n\n private removeMovePortalSurveryRoutesFromVisitedRoutesStack(): void {\n let visitedRoutesStackLength = this.contextManager.getVisitedRoutesStackLength();\n if (visitedRoutesStackLength === 0) {\n return;\n }\n\n let prevRoute;\n\n do {\n this.contextManager.visitedRoutesStack.pop();\n visitedRoutesStackLength = this.contextManager.getVisitedRoutesStackLength();\n prevRoute = this.contextManager.visitedRoutesStack[visitedRoutesStackLength - 1];\n } while (prevRoute?.routeName?.includes('move-portal-survey') && visitedRoutesStackLength > 0);\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 'settings/account-management/move-portal-survey/completed': MovePortalSurveyCompletedController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMovePortalSurveyCompleted } from 'customer-site/enums/CustomerPageUrl';\n\nimport './style.scss';\n\nexport default class MovePortalSurveyCompletedRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberMovePortalSurveyCompleted;\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, getProperties } from '@ember/object';\nimport { service } from '@ember/service';\nimport { EmberMovePortalSurveyCompleted } from 'customer-site/enums/CustomerPageUrl';\nimport { processValidationErrorsFromResponse } from '@adc/ajax/utils/validation-error-processing';\nimport { Address, fetchValidatedAddress } from '@adc/ui-components/components/action-sheets/address-verification';\n\nimport type AdcAjaxService from '@adc/ajax/services/adc-ajax';\nimport type {\n ValidatedAddress,\n ValidatedAddressApiResponse\n} from '@adc/ui-components/components/action-sheets/address-verification';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class MovePortalSurveyEditController extends Controller {\n @service declare ajax: AdcAjaxService;\n @service declare contextManager: ContextManager;\n @service declare navigation: NavigationService;\n @service declare notificationManager: NotificationManager;\n @service declare store: Store;\n\n // #region Properties\n\n declare model: ModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n /**\n * Validation error message for the move date that gets set on the controller by processValidationErrorsFromResponse.\n */\n @tracked moveDateError?: string;\n\n /**\n * Validation error message for the postal code that gets set on the controller by processValidationErrorsFromResponse.\n */\n @tracked postalCodeError?: string;\n\n /**\n * The response from the validated address API call.\n */\n @tracked validatedAddressResponse?: ValidatedAddressApiResponse;\n\n /**\n * The address that was inputted by the user.\n */\n @tracked inputtedAddress?: Address;\n\n // #endregion\n\n @action async handleButtonClick(): Promise {\n const { customerMovingFormResult } = this.resolvedModel ?? {};\n if (!customerMovingFormResult) {\n return;\n }\n try {\n // Check for input validation before checking for any suggested addresses.\n await customerMovingFormResult.validateInput();\n\n // Set the inputted address to the address that was inputted by the user.\n const { city, state, street1, street2, postalCode: zip, country: countryId } = customerMovingFormResult;\n this.inputtedAddress = new Address({\n city,\n state,\n street1,\n street2,\n zip,\n countryId\n });\n\n // There were no validation errors, so we can display the suggested address component.\n this.validatedAddressResponse = await fetchValidatedAddress(this.inputtedAddress, this.ajax);\n } catch (ex) {\n processValidationErrorsFromResponse.call(this, ex);\n if (this.moveDateError) {\n this.notificationManager.addError(this.moveDateError);\n }\n return Promise.reject(ex);\n }\n }\n\n /**\n * Is called after a address is selected from the address verification component and the confirm button is clicked.\n */\n @action async addressVerificationCallback(validatedAddress: ValidatedAddress): Promise {\n const { customerMovingFormResult } = this.resolvedModel ?? {};\n if (!customerMovingFormResult) {\n return;\n }\n if (validatedAddress) {\n // Update the model with the suggested address.\n this.updateModelWithValidatedAddress(validatedAddress);\n }\n await customerMovingFormResult.save();\n this.navigation.transitionToRouteId(EmberMovePortalSurveyCompleted);\n }\n\n @action onMoveDateChange(value: Date): void {\n const { customerMovingFormResult } = this.resolvedModel ?? {};\n if (!customerMovingFormResult) {\n return;\n }\n customerMovingFormResult.moveDate = value;\n this.moveDateError = undefined;\n }\n\n /**\n * Resets the controller properties back to their default values.\n */\n resetControllerProperties(): void {\n Object.assign(this, {\n validatedAddressResponse: undefined,\n moveDateError: undefined\n });\n }\n\n // #region Private methods\n\n private updateModelWithValidatedAddress(validatedAddress: ValidatedAddress): void {\n const { customerMovingFormResult } = this.resolvedModel ?? {};\n if (!customerMovingFormResult || !validatedAddress) {\n return;\n }\n Object.assign(\n customerMovingFormResult,\n getProperties(\n { ...validatedAddress, postalCode: validatedAddress.zip },\n 'city',\n 'state',\n 'street1',\n 'street2',\n 'postalCode'\n )\n );\n }\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 'settings/account-management/move-portal-survey/edit': MovePortalSurveyEditController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMovePortalSurveyEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport './style.scss';\nimport type CustomerMovingFormResult from 'customer-site/models/settings/account-management/move-portal-survey/customer-moving-form-result';\nimport type MovePortalSurveyEditController from './controller';\n\nexport default class MovePortalSurveyEditRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberMovePortalSurveyEdit;\n\n model(): {\n customerMovingFormResult: ADCAsyncStoreFindRecord;\n states: Promise>;\n } {\n return {\n /**\n * Each time viewing the page we will create a new instance of the customerMovingFormResult.\n * Multiple submissions are allowed, but a previous submission cannot be edited.\n */\n customerMovingFormResult: this.store.findRecord(\n 'settings/account-management/move-portal-survey/customer-moving-form-result',\n this.identityManager.getSelectedSystemId()\n ),\n states: this.ajax.apiRequest>(\n 'settings/accountManagement/accountInformation/accountInformation/getStates?countryId=1'\n )\n };\n }\n\n resetController(controller: MovePortalSurveyEditController, isExiting: boolean): void {\n if (controller && isExiting) {\n controller.resetControllerProperties();\n }\n }\n}\n","import Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { service } from '@ember/service';\nimport { EmberMovePortalSurveyEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { PUT } from '@adc/ajax/services/adc-ajax';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class MovePortalSurveyController extends Controller {\n @service declare ajax: AjaxService;\n @service declare navigation: NavigationService;\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n /**\n * Gets the last date the form was submitted.\n */\n @computed('resolvedModel.previousSubmissionDate')\n get lastSubmittedDate(): string {\n const { submissionDate } = this.resolvedModel?.previousSubmissionDate ?? {};\n\n if (submissionDate) {\n return this.intl.formatDateTz(submissionDate, { format: 'shortDateFormat' });\n }\n return '';\n }\n\n @action\n goToNextPage(): void {\n // Record engagement with button\n this.ajax.apiRequest(\n 'settings/accountManagement/movePortalSurvey/customerMovingFormResults/recordEngagement',\n undefined,\n undefined,\n PUT\n );\n this.navigation.transitionToRouteId(EmberMovePortalSurveyEdit);\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 'settings/account-management/move-portal-survey': MovePortalSurveyController;\n }\n}\n","import { service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMovePortalSurvey } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type DealerCustomerAppPromotion from 'customer-site/models/settings/account-management/move-portal-survey/dealer-customer-app-promotion';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\nexport default class MovePortalSurveyRoute extends AdcBaseRoute {\n @service declare identityManager: IdentityManager;\n @service declare store: Store;\n\n /** @override */\n routeId = EmberMovePortalSurvey;\n\n model(): {\n dealerCustomerAppPromotion: ADCAsyncStoreQueryRecord;\n previousSubmissionDate: Promise<{ submissionDate: string } | null>;\n } {\n return {\n dealerCustomerAppPromotion: this.store.queryRecord(\n 'settings/account-management/move-portal-survey/dealer-customer-app-promotion',\n {}\n ),\n previousSubmissionDate: this.ajax.apiRequestForValue<{ submissionDate: string } | null>(\n 'settings/accountManagement/movePortalSurvey/customerMovingFormResults/getPreviousSubmissionDate'\n )\n };\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMovePortalSurvey } from 'customer-site/enums/CustomerPageUrl';\n\nimport './style.scss';\n\nexport default class MovePortalSurveyBaseRoute extends AdcBaseRoute {\n routeId = EmberMovePortalSurvey;\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action } from '@ember/object';\n\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n *\n * Controller for the User Slot Management route.\n */\nexport default class UserSlotManagementController extends EmberController {\n declare model: ModelFrom;\n\n @tracked\n declare resolvedModel: { exportPanelSlotNumbersUrl: string };\n\n /**\n * Downloads the panel slot numbers.\n */\n @action\n async downloadPanelSlotNumbers(): Promise {\n return window.open(this.resolvedModel.exportPanelSlotNumbersUrl, '_blank');\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 'settings/account-management/user-slot-management': UserSlotManagementController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../classes/base-route';\nimport { EmberUserSlotManagement } from '../../../enums/CustomerPageUrl';\nimport { getUsersPermissions } from '../../../users/route';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type Store from '@ember-data/store';\nimport type UsersPermissionCollectionModel from 'customer-site/models/users/permissions-collection';\nimport type ContextManager from 'customer-site/services/context-manager';\n\n/**\n * @classdesc\n *\n * Route for User Slot Management.\n */\nexport default class UserSlotManagementRoute extends AdcBaseRoute {\n @service declare contextManager: ContextManager;\n @service declare modals: ModalService;\n @service declare store: Store;\n\n /** @override */\n routeId = EmberUserSlotManagement;\n\n /** @override */\n isMediumWidthPage = true;\n\n /** @override */\n async model(): Promise<{ exportPanelSlotNumbersUrl: string }> {\n // Close the account management modal\n this.modals.closeModal();\n\n const { contextManager, store } = this;\n\n return {\n exportPanelSlotNumbersUrl: await getUsersPermissions(store, contextManager).then(\n (permissions: UsersPermissionCollectionModel) => {\n return permissions.get('exportPanelSlotNumbersUrl');\n }\n )\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberBluetoothDeviceSettingsPartitionList, EmberManageDevices } from 'customer-site/enums/CustomerPageUrl';\n\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from '../route';\n\nexport default class SettingsBluetoothDeviceSettingsIndexController extends Controller {\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n @action\n updateToggle(): void {\n const model = this.model.bluetooth_device;\n model.isDisarmingEnabledForDevice = !model.isDisarmingEnabledForDevice;\n model.save();\n }\n\n @action\n onClickEnrolledPartition(): void {\n this.navigation.transitionToRouteId(EmberBluetoothDeviceSettingsPartitionList);\n }\n\n @action\n unpairDevice(): void {\n this.model.bluetooth_device.destroyRecord();\n this.navigation.transitionToRouteId(EmberManageDevices);\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 'settings/bluetooth/device-settings/index': SettingsBluetoothDeviceSettingsIndexController;\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 { EmberBluetoothDeviceSettings } from 'customer-site/enums/CustomerPageUrl';\n\nimport type PartitionModel from 'customer-site/models/devices/partition';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport interface partitionItem {\n partitionId: number;\n isEnrolledPartition: boolean;\n}\n\nexport default class SettingsBluetoothDeviceSettingsPartitionListController extends Controller {\n declare model: ModelFrom;\n @service declare navigation: NavigationService;\n\n @tracked partitionId: string = '';\n\n get getPartitionList(): partitionItem[] {\n const partitions = this.model.partitions;\n\n return partitions.map((partition: PartitionModel) => {\n return {\n partitionId: partition.partitionId,\n isEnrolledPartition: partition.partitionId.toString() == this.model.bluetooth_device.enrolledPartitionId\n };\n });\n }\n\n @action\n updateEnrolledPartition(partitionId: number): void {\n const { model } = this;\n model.bluetooth_device.enrolledPartitionId = partitionId.toString();\n model.bluetooth_device.save();\n\n this.navigation.transitionToRouteId(EmberBluetoothDeviceSettings);\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 'settings/bluetooth/device-settings/partition-list': SettingsBluetoothDeviceSettingsPartitionListController;\n }\n}\n","import AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberBluetoothDeviceSettingsPartitionList } from '../../../../enums/CustomerPageUrl';\n\nimport type ArrayProxy from '@ember/array/proxy';\nimport type BluetoothArmingDevice from 'customer-site/models/devices/bluetooth-arming-device';\nimport type PartitionModel from 'customer-site/models/devices/partition';\n\nexport interface DeviceSettingsPartitionListModel {\n bluetooth_device: BluetoothArmingDevice;\n partitions: ArrayProxy;\n}\n\ninterface DeviceSettingsPartitionListParams {\n id_bluetooth_device: string;\n}\n\nexport default class SettingsBluetoothDeviceSettingsPartitionListRoute extends AdcBaseRoute {\n routeId = EmberBluetoothDeviceSettingsPartitionList;\n\n async model(): Promise {\n const parentParams = this.paramsFor('settings/bluetooth/device-settings') as DeviceSettingsPartitionListParams;\n\n return {\n bluetooth_device: await this.store.findRecord(\n 'devices/bluetooth-arming-device',\n parentParams.id_bluetooth_device\n ),\n partitions: await this.store.findAll('devices/partition')\n };\n }\n}\n","import AdcBaseRoute from '../../../classes/base-route';\nimport { EmberBluetoothDeviceSettings } from '../../../enums/CustomerPageUrl';\n\nimport type BluetoothArmingDevice from 'customer-site/models/devices/bluetooth-arming-device';\n\nexport interface DeviceSettingsModel {\n bluetooth_device: BluetoothArmingDevice;\n}\n\nexport default class SettingsBluetoothDeviceSettingsRoute extends AdcBaseRoute {\n routeId = EmberBluetoothDeviceSettings;\n\n async model({ id_bluetooth_device }: { id_bluetooth_device: string }): Promise {\n return {\n bluetooth_device: await this.store.findRecord('devices/bluetooth-arming-device', id_bluetooth_device)\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberBluetoothDeviceSettings, EmberBluetoothDisarmingSettings } from '../../../../enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type BluetoothArmingDevice from 'customer-site/models/devices/bluetooth-arming-device';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class SettingsBluetoothDisarmingSettingsDeviceListController extends Controller {\n @service declare modals: ModalService;\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n @service declare ajax: AjaxService;\n\n declare model: ModelFrom;\n\n get pairedDevices(): BluetoothArmingDevice[] {\n return this.model.enrolledDevices.toArray();\n }\n\n @action\n transitionToDeviceSettingsPage(device: BluetoothArmingDevice): void {\n this.navigation.transitionToRouteId(EmberBluetoothDeviceSettings, device.id);\n }\n\n @action\n unpairAllDevices(): void {\n const { ajax, navigation } = this;\n ajax.apiRequest('devices/bluetoothArmingDevices/deleteAll', {}, {}, 'POST');\n this.modals.closeModal();\n navigation.transitionToRouteId(EmberBluetoothDisarmingSettings);\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 'settings/bluetooth/disarming-settings/device-list': SettingsBluetoothDisarmingSettingsDeviceListController;\n }\n}\n","import AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberBluetoothDisarmingSettingsDeviceList } from '../../../../enums/CustomerPageUrl';\n\nimport type BluetoothDisarmingSettings from 'customer-site/models/settings/panel-bluetooth/bluetooth-disarming-setting';\n\nexport default class SettingsBluetoothDisarmingSettingsDeviceListRoute extends AdcBaseRoute {\n routeId = EmberBluetoothDisarmingSettingsDeviceList;\n\n async model(): Promise {\n return await this.store.findRecord(\n 'settings/panel-bluetooth/bluetooth-disarming-setting',\n this.identityManager.getSelectedSystemId()\n );\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberBluetoothDisarmingSettings } from '../../../../enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class SettingsBluetoothDisarmingSettingsEditDisarmTimeoutController extends Controller {\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n get getTimeoutOptions(): Array<[string, boolean, number]> {\n const { intl, model } = this;\n return [1, 5, 10, 20, 30].map((time) => [\n intl.t('generic.minutes', { num: time }),\n time === model.timeout,\n time\n ]);\n }\n\n @action\n updateTimeout(timeout: number): void {\n const { model } = this;\n model.timeout = timeout;\n\n model.save();\n this.navigation.transitionToRouteId(EmberBluetoothDisarmingSettings);\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 'settings/bluetooth/disarming-settings/edit-disarm-timeout': SettingsBluetoothDisarmingSettingsEditDisarmTimeoutController;\n }\n}\n","import AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberBluetoothDisarmingSettingsEditTimeout } from '../../../../enums/CustomerPageUrl';\n\nimport type BluetoothDisarmingSettings from 'customer-site/models/settings/panel-bluetooth/bluetooth-disarming-setting';\n\nexport default class SettingsBluetoothDisarmingSettingsEditDisarmTimeoutRoute extends AdcBaseRoute {\n routeId = EmberBluetoothDisarmingSettingsEditTimeout;\n\n async model(): Promise {\n return await this.store.findRecord(\n 'settings/panel-bluetooth/bluetooth-disarming-setting',\n this.identityManager.getSelectedSystemId()\n );\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n EmberBluetoothDisarmingSettingsEditTimeout,\n EmberBluetoothDisarmingSettingsDeviceList\n} from '../../../../enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\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 *\n * Controller for the Bluetooth setting\n */\n\nexport default class SettingsBluetoothDisarming extends Controller {\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n @action\n onClickTimeoutSetting(): void {\n this.navigation.transitionToRouteId(EmberBluetoothDisarmingSettingsEditTimeout);\n }\n\n @action\n onClickPairedDevices(): void {\n this.navigation.transitionToRouteId(EmberBluetoothDisarmingSettingsDeviceList);\n }\n\n get currentTimeoutOption(): string {\n const { intl, model } = this;\n return intl.t('generic.minutes', { num: model.timeout });\n }\n\n @action\n updateToggle(): void {\n const model = this.model;\n model.isBluetoothPairingEnabledForSystem = !model.isBluetoothPairingEnabledForSystem;\n model.save();\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 'settings/bluetooth/disarming-settings/index': SettingsBluetoothDisarming;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../../../classes/base-route';\nimport { EmberBluetoothDisarmingSettings } from '../../../../enums/CustomerPageUrl';\n\nimport type BluetoothDisarmingSettings from 'customer-site/models/settings/panel-bluetooth/bluetooth-disarming-setting';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\nexport default class SettingsBluetoothDisarmingRoute extends AdcBaseRoute {\n @service declare identityManager: IdentityManager;\n\n routeId = EmberBluetoothDisarmingSettings;\n\n async model(): Promise {\n return await this.store.findRecord(\n 'settings/panel-bluetooth/bluetooth-disarming-setting',\n this.identityManager.getSelectedSystemId()\n );\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { BluetoothDisarming } from 'customer-site/enums/WizardUrl';\nimport { EmberBluetoothDisarmingSettings } from '../../../enums/CustomerPageUrl';\n\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type NavigationService from 'customer-site/services/navigation';\n\n/**\n * @classdesc\n *\n * Controller for the Bluetooth setting\n */\n\nexport default class SettingsBluetoothIndex extends Controller {\n @service declare contextManager: ContextManager;\n @service declare navigation: NavigationService;\n\n @action\n transitionToBluetoothDisarmingSetting(): void {\n this.navigation.transitionToRouteId(EmberBluetoothDisarmingSettings);\n }\n\n @action\n startPairing(): void {\n const { contextManager } = this,\n queryParams = {\n returnEnumId: EmberBluetoothDisarmingSettings,\n wizardEnum: BluetoothDisarming\n };\n contextManager.transitionToWizard(queryParams.wizardEnum, '', queryParams, queryParams.returnEnumId);\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 'settings/bluetooth/index': SettingsBluetoothIndex;\n }\n}\n","import AdcBaseRoute from '../../../classes/base-route';\nimport { EmberBluetooth } from '../../../enums/CustomerPageUrl';\n\nexport default class SettingsBluetoothIndex extends AdcBaseRoute {\n /** @override */\n routeId = EmberBluetooth;\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { computed, action, set } from '@ember/object';\nimport { alias, lt, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { convertCultureUnitsToMeters, convertMetersToCultureUnits } from 'customer-site/utils/fleet';\nimport { GET } from '@adc/ajax/services/adc-ajax';\nimport DropdownSelectItem from '@adc/ui-components/utils/dropdown-select-item';\n\nconst MAX_ODOMETER = 1334384;\n\n/**\n * Controller for the Car Setings Route\n */\nexport default class CarSettingsController extends Controller {\n @service notificationManager;\n @service intl;\n\n get defaultFilterValues() {\n return {\n deviceId: undefined\n };\n }\n\n deviceId = undefined;\n\n errorMessage;\n\n /**\n * Resets all query parameter values to their default value.\n */\n resetQueryParameterValues() {\n set(this, 'deviceId', undefined);\n }\n\n /**\n * Car Monitors associated with the current context\n *\n * @type {Array}\n */\n @alias('model.carMonitors')\n carMonitors;\n\n /**\n * Car Monitor selected by dropdown\n *\n * @type {models.devices.CarMonitor}\n */\n @reads('model.selectedCarMonitor')\n selectedCar;\n\n /**\n * Id of the selected Car Monitor\n *\n * @type {number}\n */\n @computed('selectedCar')\n get selectedCarId() {\n return this.selectedCar ? this.selectedCar.get('id') : undefined;\n }\n\n @tracked odometerInCultureUnits = convertMetersToCultureUnits(this.selectedCar.odometerMeters, this.model.isMetric);\n\n /**\n * Dropdown objects wrapping car monitor selections\n *\n * @type {Array}\n */\n @computed('model.carMonitors')\n get carDropdownItems() {\n return this.generateCarDropdownItems();\n }\n\n /**\n * Generates the list of dropdown items from the car monitor models\n *\n * @returns {Array}\n */\n generateCarDropdownItems() {\n return (this.model?.carMonitors || []).map((carMonitor) =>\n DropdownSelectItem.create({\n value: carMonitor.get('id'),\n name: carMonitor.description\n })\n );\n }\n\n /**\n * Generates success message popup\n */\n showSuccessMessage() {\n this.notificationManager.addSuccess(this.intl.tc(this, 'successfulSaveMessage'));\n }\n\n /**\n * Generates error message popup\n */\n showErrorMessage(errorStringResourceName) {\n if (errorStringResourceName) {\n this.errorMessage = this.notificationManager.addError(this.intl.tc(this, errorStringResourceName));\n } else {\n this.errorMessage = this.notificationManager.addError(this.intl.tc(this, 'errorMessage'));\n }\n }\n\n /**\n * Whether the dropdown should be disabled (if there are less than two cars)\n *\n * @type {boolean}\n */\n @lt('model.carMonitors.length', 2)\n disableDropdown;\n\n /**\n * Returns true if the user is read-only and does not have edit permissions\n *\n * @type {Promise}\n */\n get isReadonly() {\n const cm = this.model?.carMonitors?.firstObject;\n\n return (async () => {\n const hasEditPermission = await cm.submitCustomApiCall('hasEditPermission', GET);\n\n return !hasEditPermission;\n })();\n }\n\n /**\n * Returns true if the user has write level permission for ViewChangeCarMaintenanceReminders\n *\n * @type {Promise}\n */\n get hasViewChangeCarMaintenanceRemindersPermission() {\n const cm = this.model?.carMonitors?.firstObject;\n\n return (async () => {\n const hasWritePermission = await cm.submitCustomApiCall(\n 'hasViewChangeCarMaintenanceRemindersPermission',\n GET\n );\n return hasWritePermission;\n })();\n }\n\n /**\n * Changes selected vehicle on dropdown change\n *\n * @param {number} value\n */\n @action\n onSelectionChange(value) {\n const car = this.carMonitors.findBy('id', value);\n\n set(this, 'selectedCar', car);\n set(\n this,\n 'odometerInCultureUnits',\n convertMetersToCultureUnits(this.selectedCar.odometerMeters, this.model.isMetric)\n );\n this.send('refreshPage'); // Refresh data so that displayed values are up to date.\n }\n\n /**\n * Saves the Car Monitor and thresholds to the backend\n *\n * @param carMonitor\n *\n * @returns {Promise.}\n */\n @action\n async saveCarMonitor(carMonitor) {\n this.saveOdometer(this.odometerInCultureUnits, carMonitor);\n const highSpeedThreshold = await carMonitor.highSpeedThreshold,\n accelerationThreshold = await carMonitor.accelerationThreshold,\n brakingThreshold = await carMonitor.brakingThreshold,\n lowFuelThreshold = await carMonitor.lowFuelThreshold;\n\n const highSpeedPromise = highSpeedThreshold.save(),\n accelPromise = accelerationThreshold.save(),\n brakingPromise = brakingThreshold.save(),\n lowFuelPromise = lowFuelThreshold.save(),\n carMonitorPromise = carMonitor.save();\n\n const promises = [highSpeedPromise, accelPromise, brakingPromise, lowFuelPromise, carMonitorPromise];\n Promise.all(promises)\n .then(() => this.showSuccessMessage())\n .catch(() => this.showErrorMessage());\n }\n\n /**\n * Update acceleration threshold.\n *\n * @param {number} newHighThreshold What's the new value the user just slided to.\n * @param {boolean} isFromSlider Is the new value from the slider?\n * @param {boolean} isMouseUp Has the mouse up event occurred as if the user is satisfied with their slide selection?\n */\n @action\n accelerationThresholdSliderChanged(newHighThreshold, isFromSlider, isMouseUp) {\n // Only update the value once the user is done sliding to avoid jitter.\n if (!isFromSlider || !isMouseUp) {\n return;\n }\n\n this.selectedCar.accelerationThreshold.set('highThreshold', newHighThreshold);\n }\n\n /**\n * Update braking threshold.\n *\n * @param {number} newHighThreshold What's the new value the user just slided to.\n * @param {boolean} isFromSlider Is the new value from the slider?\n * @param {boolean} isMouseUp Has the mouse up event occurred as if the user is satisfied with their slide selection?\n */\n @action\n brakingThresholdSliderChanged(newHighThreshold, isFromSlider, isMouseUp) {\n // Only update the value once the user is done sliding to avoid jitter.\n if (!isFromSlider || !isMouseUp) {\n return;\n }\n\n this.selectedCar.brakingThreshold.set('highThreshold', newHighThreshold);\n }\n\n saveOdometer(newOdometerInCultureUnits, carMonitor) {\n // validate format before saving in car monitor\n this.notificationManager.removeNotification(this.errorMessage);\n if (!newOdometerInCultureUnits) {\n this.showErrorMessage('errorBlankOdometer');\n } else if (newOdometerInCultureUnits >= MAX_ODOMETER) {\n this.showErrorMessage('errorTooLargeOdometer');\n } else if (newOdometerInCultureUnits < 0) {\n this.showErrorMessage('errorNegativeOdometer');\n } else if (this.isPositiveNum(newOdometerInCultureUnits)) {\n carMonitor.set(\n 'odometerMeters',\n convertCultureUnitsToMeters(newOdometerInCultureUnits, this.model.isMetric)\n );\n } else {\n this.showErrorMessage('errorInvalidOdometer');\n }\n }\n\n isPositiveNum(input) {\n return /^\\d+$/.test(input);\n }\n}\n","import { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\nimport AdcBaseRoute from '../../classes/base-route';\nimport { CarSettings } from '../../enums/CustomerPageUrl';\n\n/**\n * Route for changing car monitor settings\n */\nexport default class CarSettingsRoute extends AdcBaseRoute {\n @service store;\n\n /** @override */\n routeId = CarSettings;\n\n /** @override */\n queryParams = {\n deviceId: getQueryParam('string')\n };\n\n /** @override */\n async model(params) {\n let isMetricResponse = this.ajax.apiRequest('api/settings/getIsMetric');\n let carMonitors = this.store.findAll('devices/car-monitor');\n const { deviceId } = params;\n return {\n carMonitors: await carMonitors,\n selectedCarMonitor: deviceId\n ? await this.store.findRecord('devices/car-monitor', deviceId)\n : await carMonitors.then((data) => data.get('firstObject')),\n isMetric: await isMetricResponse.then((data) => data.value.isMetric)\n };\n }\n\n /** @override */\n async rollbackModelOnTransition() {\n const carMonitor = await this.controller.get('selectedCar');\n const highSpeedThreshold = await carMonitor.get('highSpeedThreshold');\n const accelerationThreshold = await carMonitor.get('accelerationThreshold');\n const brakingThreshold = await carMonitor.get('brakingThreshold');\n const lowFuelThreshold = await carMonitor.get('lowFuelThreshold');\n\n [highSpeedThreshold, accelerationThreshold, brakingThreshold, lowFuelThreshold]\n .filter((setting) => setting.hasDirtyAttributes)\n .forEach((setting) => setting.rollbackAttributes());\n }\n\n /** @override */\n resetController(controller, isExiting) {\n if (isExiting) {\n controller.resetQueryParameterValues();\n }\n }\n\n /**\n * Reloads the page to reset the data back to the defaults.\n * Used for displaying up-to-date values after Save button is pressed.\n */\n @action\n refreshPage() {\n this.refresh();\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 { default as DropdownSelectItem, UNSELECTED, SELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\n/**\n * @classdesc\n *\n * Controller to get and post the users current and new entry/exit delay times\n *\n */\nexport default class AlarmDelaySettingsController extends EmberController {\n @service contextManager;\n @service notificationManager;\n @service ajax;\n @service intl;\n\n @tracked\n entryPopoverOpen = false;\n\n @tracked\n exitPopoverOpen = false;\n\n @tracked\n selectedEntryDelayTime = 30;\n\n @tracked\n selectedExitDelayTime = 60;\n\n @action\n async initDelayTimes(model) {\n const response = await model.delayTimes;\n\n (this.selectedEntryDelayTime = response.value.entryDelay),\n (this.selectedExitDelayTime = response.value.exitDelay);\n }\n\n get entryDelayTimes() {\n const delayTimes = {\n 30: this.intl.tc(this, 'delayTime30') + this.intl.tc(this, 'default'),\n ...[45, 60, 75, 90, 105, 120, 150, 180].reduce(\n (map, key) => ({\n ...map,\n [key]: this.intl.tc(this, `delayTime${key}`)\n }),\n {}\n )\n };\n\n return Object.entries(delayTimes).map(([value, name]) =>\n DropdownSelectItem.create({\n name,\n value,\n state: parseInt(value, 10) === this.selectedEntryDelayTime ? SELECTED : UNSELECTED\n })\n );\n }\n\n get exitDelayTimes() {\n const delayTimes = {\n 60: this.intl.tc(this, 'delayTime60') + this.intl.tc(this, 'default'),\n ...[75, 90, 105, 120, 135, 150, 165, 180].reduce(\n (map, key) => ({\n ...map,\n [key]: this.intl.tc(this, `delayTime${key}`)\n }),\n {}\n )\n };\n\n return Object.entries(delayTimes).map(([value, name]) =>\n DropdownSelectItem.create({\n name,\n value,\n state: parseInt(value, 10) === this.selectedEntryDelayTime ? SELECTED : UNSELECTED\n })\n );\n }\n\n @action toggleEntryPopover() {\n this.entryPopoverOpen = !this.entryPopoverOpen;\n }\n\n @action toggleExitPopover() {\n this.exitPopoverOpen = !this.exitPopoverOpen;\n }\n\n @action\n async saveDelays() {\n const promise = this.ajax.apiRequest(\n 'alarmDelaySettings/setDelayTimes',\n null,\n {\n entryDelay: this.selectedEntryDelayTime,\n exitDelay: this.selectedExitDelayTime\n },\n 'POST'\n );\n\n promise\n .then((result) => {\n this.notificationManager.addSuccess(result.value.success);\n })\n .catch((error) => {\n this.notificationManager.addError(error.errors[0].detail);\n });\n\n return promise;\n }\n\n @action\n async cancelDelays() {\n this.contextManager.transitionToPreviousRoute();\n }\n}\n","import { EmberAlarmDelaySettings } from 'customer-site/enums/CustomerPageUrl';\nimport BaseControlPanelSettingsRoute from '../base-route';\n\n/**\n * @classdesc\n *\n * Route for changing the delay times you have to disarm your alarm\n *\n */\nexport default class AlarmDelaySettingsRoute extends BaseControlPanelSettingsRoute {\n routeId = EmberAlarmDelaySettings;\n\n model(): { delayTimes: Promise> } {\n return {\n delayTimes: this.ajax.apiRequest('api/alarmDelaySettings/getSelectedDelayTimes')\n };\n }\n}\n","import { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n EmberPanelAudio,\n EmberAlarmDelaySettings,\n EmberSensorNames,\n EmberPanelWifi\n} from 'customer-site/enums/CustomerPageUrl';\nimport BaseControlPanelSettingsController from '../base-controller';\n\nconst routes = [EmberPanelAudio, EmberAlarmDelaySettings, EmberSensorNames, EmberPanelWifi];\n\n/**\n * @classdesc\n *\n * Controller that handles displaying the control panel settings pages.\n *\n * @class settings.login-information.index.Controller\n * @extends settings.login-information.BaseLoginInformationController\n */\nexport default class Controller extends BaseControlPanelSettingsController {\n @service contextManager;\n\n /**\n * Constructs list of available control panel settings routes once profile and subRoutes int the model are resolved.\n * @param {Object}\n */\n @computed('intl', 'resolvedModel.subRoutes')\n get drillThroughItems() {\n const routeItems = this.resolvedModel.subRoutes.map((routeItem) => {\n const { routeId, pageTitle } = routeItem;\n\n return {\n routeId,\n routeItem,\n title: pageTitle\n };\n });\n\n return routeItems.filter((item) => routes.includes(item.routeItem.routeItem.routeId));\n }\n\n /**\n * Transitions to a drill-through route.\n */\n @action\n drillToRoute(item) {\n this.contextManager.transitionToNativeRoute(item.routeItem.routeId);\n }\n}\n","import { inject as service } from '@ember/service';\nimport { EmberSettingsControlPanel } from 'customer-site/enums/CustomerPageUrl';\nimport BaseControlPanelSettingsRoute from '../base-route';\n\nimport type AjaxService from 'customer-site/services/ajax';\n\n// import type RouteItemModel from 'customer-site/models/navigation/route-item';\n\n/**\n * @classdesc\n *\n * Displays the settings options a user has for their control panel\n *\n * @class settings.control-panel-settings.index.Route\n * @extends AdcBaseRoute\n */\nexport default class Route extends BaseControlPanelSettingsRoute {\n @service declare ajax: AjaxService;\n\n /** @override */\n routeId = EmberSettingsControlPanel;\n\n /** @override */\n model(): any {\n return {\n subRoutes: this.ajax\n .apiRequest('controlPanelSettings/getChildRoutes', undefined)\n .then(({ value: routes }) => {\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 routes.forEach((route: any) => (route.routeItem = this.contextManager.getRouteItem(route.routeId)));\n return routes;\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 { default as DropdownSelectItem, UNSELECTED, SELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type AdcAjaxService from '@adc/ajax/services/adc-ajax';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { PanelAudioRouteModel } from './route';\n\n/**\n * @classdesc\n * Controller for getting and setting users current and new panel audio settings\n */\nexport default class PanelAudioController extends EmberController {\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n @service declare ajax: AdcAjaxService;\n @service declare intl: ADCIntlService;\n\n @tracked\n troubleBeeps = -1;\n\n @tracked\n speakerVolume = 8;\n\n @tracked\n beepVolume = 3;\n\n @tracked\n troublePopoverOpen = false;\n\n @tracked\n beepPopoverOpen = false;\n\n @tracked\n speakerPopoverOpen = false;\n\n @tracked\n showVolumes = true;\n\n @tracked\n showTroubleBeeps = true;\n\n @action\n async initAudioValues(model: PanelAudioRouteModel): Promise {\n const response = await model.audioValues;\n\n this.troubleBeeps = response.value.troubleBeeps;\n this.speakerVolume = response.value.speakerVolume;\n this.beepVolume = response.value.beepVolume;\n\n if (this.speakerVolume == -1 || this.beepVolume == -1) {\n this.showVolumes = false;\n }\n\n if (this.troubleBeeps == -1) {\n this.showTroubleBeeps = false;\n }\n }\n\n get troubleBeepValues(): DropdownSelectItem[] {\n const values = {\n 1: this.intl.t('generic.on').toLocaleUpperCase(),\n 0: this.intl.t('generic.off').toLocaleUpperCase()\n };\n\n return Object.entries(values).map(([value, name]) =>\n DropdownSelectItem.create({\n name,\n value,\n state: parseInt(value, 10) === this.troubleBeeps ? SELECTED : UNSELECTED\n })\n );\n }\n\n @action\n async saveAudioValues(): Promise<{\n value: { success: string };\n }> {\n const promise = this.ajax.apiRequest<{\n value: { success: string };\n }>(\n 'panelAudio/setAudioValues',\n undefined,\n {\n troubleBeeps: this.troubleBeeps,\n speakerVolume: this.speakerVolume,\n beepVolume: this.beepVolume\n },\n 'POST'\n );\n\n promise\n .then((result) => {\n this.notificationManager.addSuccess(result.value.success);\n })\n .catch((error) => {\n this.notificationManager.addError(error.errors[0].detail);\n });\n\n return promise;\n }\n\n @action cancelAudioValues(): void {\n this.contextManager.transitionToPreviousRoute();\n }\n\n @action toggleTroublePopover(): void {\n this.troublePopoverOpen = !this.troublePopoverOpen;\n }\n\n @action toggleBeepPopover(): void {\n this.beepPopoverOpen = !this.beepPopoverOpen;\n }\n\n @action toggleSpeakerPopover(): void {\n this.speakerPopoverOpen = !this.speakerPopoverOpen;\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 'settings/control-panel-settings/panel-audio': PanelAudioController;\n }\n}\n","import { EmberPanelAudio } from 'customer-site/enums/CustomerPageUrl';\nimport BaseControlPanelSettingsRoute from '../base-route';\n\nexport type PanelAudioRouteModel = {\n audioValues: Promise<{\n value: {\n troubleBeeps: number;\n beepVolume: number;\n speakerVolume: number;\n };\n }>;\n};\n\n/**\n * @classdesc\n * Route for changing the panel audio settings\n */\nexport default class PanelAudioRoute extends BaseControlPanelSettingsRoute {\n routeId = EmberPanelAudio;\n\n model(): PanelAudioRouteModel {\n return {\n audioValues: this.ajax.apiRequest('api/panelAudio/getSelectedAudioValues')\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, UNSELECTED } 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 NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type RouterService from '@ember/routing/router-service';\nimport type SensorRowInfo from 'customer-site/models/settings/control-panel-settings/sensor-row-info';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * @classdesc\n * Controller for the sensor names page\n */\nexport default class SensorNamesController extends EmberController {\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n @service declare ajax: AjaxService;\n @service declare intl: ADCIntlService;\n @service declare router: RouterService;\n\n declare model: ModelFrom;\n\n @tracked\n rowInfo: SensorRowInfo[] = [];\n\n @computed('rowInfo')\n get isAnyDeviceMalfunctioning(): boolean {\n return this.rowInfo?.isAny('status', 'Malfunction') ?? false;\n }\n\n @action\n async initSensorRowInfo(model: { rowInfo: ADCAsyncStoreQuery }): Promise {\n const response = await model.rowInfo;\n\n this.rowInfo = response.toArray();\n\n this.setDropdownItems();\n }\n\n private setDropdownItems(): void {\n const { intl } = this;\n\n this.rowInfo.forEach((row: SensorRowInfo) => {\n const options1 = [\n DropdownSelectItem.create({ name: intl.tc(this, 'select'), value: '', state: UNSELECTED })\n ];\n const options2 = [\n DropdownSelectItem.create({ name: intl.tc(this, 'select'), value: '', state: UNSELECTED })\n ];\n const options3 = [\n DropdownSelectItem.create({ name: intl.tc(this, 'select'), value: '', state: UNSELECTED })\n ];\n const options4 = [\n DropdownSelectItem.create({ name: intl.tc(this, 'select'), value: '', state: UNSELECTED })\n ];\n\n row.nameOptions.forEach((option) => {\n options1.push(\n DropdownSelectItem.create({\n name: option,\n value: option,\n state: UNSELECTED\n })\n );\n\n options2.push(\n DropdownSelectItem.create({\n name: option,\n value: option,\n state: UNSELECTED\n })\n );\n\n options3.push(\n DropdownSelectItem.create({\n name: option,\n value: option,\n state: UNSELECTED\n })\n );\n\n options4.push(\n DropdownSelectItem.create({\n name: option,\n value: option,\n state: UNSELECTED\n })\n );\n });\n row.dropdownItems1 = options1;\n row.dropdownItems2 = options2;\n row.dropdownItems3 = options3;\n row.dropdownItems4 = options4;\n });\n }\n\n @action\n async saveSensorNames(): Promise {\n const { notificationManager, intl } = this;\n\n return Promise.all(this.rowInfo.invoke('save'))\n .then(() => {\n notificationManager.addSuccess(intl.tc(this, 'saveSensorSuccess'));\n })\n .catch(() => {\n notificationManager.addError(intl.tc(this, 'saveSensorFailure'));\n });\n }\n\n @action refreshSensorRowInfo(): Promise {\n const { notificationManager, intl } = this;\n\n const promise = this.ajax.apiRequestForValue(\n '/settings/controlPanelSettings/sensorRowInfos/updateSensor',\n undefined,\n null,\n 'GET'\n );\n\n promise\n .then(() => {\n const { router } = this;\n router.refresh(router.currentRouteName);\n notificationManager.addSuccess(intl.tc(this, 'updateSensorSuccess'));\n })\n .catch(() => notificationManager.addError(intl.tc(this, 'updateSensorFailure')));\n\n return promise;\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 'settings/control-panel-settings/sensor-names': SensorNamesController;\n }\n}\n","import { EmberSensorNames } from 'customer-site/enums/CustomerPageUrl';\nimport BaseControlPanelSettingsRoute from '../base-route';\n\nimport type SensorRowInfo from 'customer-site/models/settings/control-panel-settings/sensor-row-info';\n\n/**\n * @classdesc\n *\n * Route for showing and changing a sensors web and panel names\n *\n */\n\nexport default class SensorNamesRoute extends BaseControlPanelSettingsRoute {\n routeId = EmberSensorNames;\n\n model(params: { sensorsUpdated: string }): { rowInfo: ADCAsyncStoreQuery } {\n return {\n rowInfo: this.store.query('settings/control-panel-settings/sensor-row-info', params)\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 { EmberEverbridgeIntegration } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type EverbridgeTemplate from 'customer-site/models/settings/everbridge-integration/everbridge-template';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type AddEverbridgeIntegrationRoute from './route';\n\nexport enum EverbridgeSetUpProgressEnum {\n NotStarted = 0,\n TemplateSelection = 1\n}\n\nexport default class AddEverbridgeIntegrationController extends EmberController {\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare store: ServiceRegistry['store'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare modals: ServiceRegistry['modals'];\n\n declare model: ModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n @tracked showEverbridgeTemplates = false;\n @tracked progressValue = EverbridgeSetUpProgressEnum.NotStarted;\n @tracked templates: EverbridgeTemplate[] = [];\n\n @action\n async continueAction(): Promise {\n try {\n const { resolvedModel, store } = this;\n\n const templates = await resolvedModel?.everbridgeConfiguration.fetchEverbridgeTemplates();\n\n this.templates =\n templates?.data.map((template) =>\n store.createRecord('settings/everbridge-integration/everbridge-template', {\n incidentTemplateId: template.attributes.incidentTemplateId,\n incidentTemplateName: template.attributes.incidentTemplateName,\n selected: template.attributes.selected\n })\n ) ?? [];\n\n this.showEverbridgeTemplates = true;\n this.progressValue = EverbridgeSetUpProgressEnum.TemplateSelection;\n } catch (ex) {\n return Promise.reject();\n }\n }\n\n @action\n async saveEverbridgeIntegration(): Promise {\n const { resolvedModel, modals, intl } = this;\n\n if (resolvedModel?.everbridgeConfiguration.id) {\n modals.showConfirmationDialog(\n intl.tc(this, 'saveIntegrationTitle'),\n intl.tc(this, 'saveIntegrationDescription'),\n {\n action: async () => {\n await this.saveIntegration();\n }\n }\n );\n } else {\n await this.saveIntegration();\n }\n }\n\n @action\n async saveIntegration(): Promise {\n const { resolvedModel, templates } = this;\n\n try {\n const selectedTemplates = templates.filter((template) => template.selected);\n\n if (selectedTemplates.length > 0) {\n resolvedModel?.everbridgeConfiguration.everbridgeTemplates.setObjects(selectedTemplates);\n }\n\n await resolvedModel?.everbridgeConfiguration.save();\n resolvedModel?.everbridgeConfiguration.everbridgeTemplates.setObjects(\n resolvedModel?.everbridgeConfiguration.everbridgeTemplates.filter((template) => template.id != null)\n );\n\n this.progressValue = EverbridgeSetUpProgressEnum.NotStarted;\n this.showEverbridgeTemplates = false;\n this.navigation.transitionToRouteId(EmberEverbridgeIntegration);\n this.notificationManager.addSuccess(this.intl.tc(this, 'addEverbridgeIntegrationSuccess'));\n } catch (ex) {\n resolvedModel?.everbridgeConfiguration.everbridgeTemplates.setObjects([]);\n return Promise.reject();\n }\n }\n\n @action\n backAction(): void {\n this.showEverbridgeTemplates = false;\n this.progressValue = EverbridgeSetUpProgressEnum.NotStarted;\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 'settings/everbridge-integration/add': AddEverbridgeIntegrationController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEverbridgeIntegrationAdd } from 'customer-site/enums/CustomerPageUrl';\nimport { EmberEverbridgeIntegration } from 'customer-site/enums/CustomerPageUrl';\nimport { EverbridgeSetUpProgressEnum } from './controller';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type EverbridgeConfiguration from 'customer-site/models/settings/everbridge-integration/everbridge-configuration';\nimport type Controller from './controller';\n\n/**\n * @classdesc\n *\n * Route for setting up an Everbridge integration\n */\nexport default class AddEverbridgeIntegrationRoute extends AdcBaseRoute {\n @service declare navigation: ServiceRegistry['navigation'];\n\n routeId = EmberEverbridgeIntegrationAdd;\n declare currentModel: ReturnType;\n\n model({ id_configuration }: { id_configuration: string }): {\n everbridgeConfiguration: Promise;\n } {\n if (id_configuration == 'new') {\n const everbridgeConfiguration = this.store\n .queryRecord('settings/everbridge-integration/everbridge-configuration', {})\n .then((configuration) => {\n if (!configuration || configuration.id === 'new') {\n return this.store.createRecord('settings/everbridge-integration/everbridge-configuration', {\n username: '',\n password: '',\n organizationId: '',\n everbridgeTemplates: []\n });\n }\n\n this.navigation.transitionToRouteId(EmberEverbridgeIntegration);\n return configuration;\n });\n\n return {\n everbridgeConfiguration: everbridgeConfiguration\n };\n }\n\n return {\n everbridgeConfiguration: this.store.findRecord(\n 'settings/everbridge-integration/everbridge-configuration',\n id_configuration\n )\n };\n }\n\n resetController(controller: Controller, isExiting: boolean): void {\n if (isExiting) {\n controller.set('showEverbridgeTemplates', false);\n controller.set('progressValue', EverbridgeSetUpProgressEnum.NotStarted);\n }\n }\n\n async rollbackModelOnTransition(): Promise {\n super.rollbackModelOnTransition();\n const model = await this.currentModel.everbridgeConfiguration;\n\n if (!model.isSaving) {\n model.rollback();\n\n if (model.isNew) {\n model.unloadRecord();\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';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type EverbridgeIntegrationRoute from './route';\n\nexport default class EverbridgeIntegrationIndexController extends EmberController {\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare store: ServiceRegistry['store'];\n @service declare router: ServiceRegistry['router'];\n\n declare model: ModelFrom;\n\n @tracked resolvedModel?: ResolvedModelFrom;\n\n @action\n async deleteConfiguration(): Promise {\n const { everbridgeConfiguration } = this.resolvedModel ?? {};\n try {\n if (everbridgeConfiguration) {\n await everbridgeConfiguration.destroyRecord();\n this.notificationManager.addSuccess(this.intl.tc(this, 'deleteEverbridgeSuccess'));\n this.router.refresh();\n return true;\n }\n } catch (e) {\n everbridgeConfiguration.rollbackAttributes();\n return false;\n }\n return 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 'settings/everbridge-integration/index': EverbridgeIntegrationIndexController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberEverbridgeIntegration } from 'customer-site/enums/CustomerPageUrl';\n\nimport type EverbridgeConfiguration from 'customer-site/models/settings/everbridge-integration/everbridge-configuration';\nimport './_style.scss';\n\nexport interface EverbridgeIntegrationModel {\n everbridgeConfiguration: ADCAsyncStoreQueryRecord;\n}\n\n/**\n * @classdesc\n *\n * Route for configuring MassNotifications using 3rd party information like Everbridge.\n */\nexport default class EverbridgeIntegrationRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberEverbridgeIntegration;\n\n model(): EverbridgeIntegrationModel {\n const everbridgeConfiguration = this.store\n .queryRecord('settings/everbridge-integration/everbridge-configuration', {})\n .then((configuration) => {\n if (!configuration || configuration.id === 'new') {\n return this.store.createRecord('settings/everbridge-integration/everbridge-configuration', {\n username: '',\n password: '',\n organizationId: ''\n });\n }\n\n return configuration;\n });\n\n return {\n everbridgeConfiguration: everbridgeConfiguration\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { computed, action, get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ENV from 'customer-site/config/environment';\nimport { EmberSettings, EmberUsers, EmberUserEditFaceRecognition } from '../../enums/CustomerPageUrl';\n\n/**\n * Asks the user to confirm (via modal) that they want to opt out.\n *\n * @param {function} fnOptOut The function to execute if the user confirms that they want to opt out.\n * @param {String} [path=''] An optional path to the confirmation message.\n *\n * @private\n * @instance\n */\nfunction confirmOptOut(fnOptOut, path = '') {\n const { intl } = this;\n this.modals.showConfirmationDialog(intl.t('generic.optOut'), intl.tc(this, `${path}optOut.confirm`), {\n text: intl.t('generic.confirm'),\n css: 'btn-color-danger',\n action: () => fnOptOut()\n });\n}\n\n/**\n * Updates the backend face recognition opt-in status and notifies users of success.\n *\n * @param {boolean} newValue Whether to opt-in or out.\n * @param {boolean} isFeature Indicates the entire feature opt in status is being changed.\n * @param {boolean} [resetState=true] True to reset the UI state based on the new configuration values.\n *\n * @returns {Promise}\n *\n * @private\n * @instance\n */\nasync function updateConfiguration(newValue, isFeature, resetState = true) {\n const configuration = await this.model.configuration;\n\n // Is the configuration already saving?\n if (configuration.isSaving) {\n // Nothing to do.\n return;\n }\n\n const props = {};\n let successMsgNode = 'optIn';\n\n // Is the user opting in?\n if (newValue) {\n // Update both feature (has to be true at this point) and donation.\n props.smrfOptIn = true;\n props.smrfDonationOptIn = this.uiState.donation;\n\n // Was the user already opted into the feature?\n if (configuration.get('smrfOptIn')) {\n // Message should be for opting into donation.\n successMsgNode = 'donation.optIn';\n }\n } else {\n // Any opt out will always opt out of donation.\n props.smrfDonationOptIn = false;\n successMsgNode = 'donation.optOut';\n\n // Is the user opting out of the feature?\n if (isFeature) {\n // Opt out of feature as well.\n props.smrfOptIn = false;\n successMsgNode = 'optOut';\n }\n }\n\n // Update configuration and save.\n configuration.setProperties(props);\n const promise = configuration.save();\n\n // If it succeeds...\n promise.then(() => {\n // Notify user.\n this.notificationManager.addSuccess(this.intl.tc(this, `${successMsgNode}.success`));\n\n // Should the state be reset?\n if (resetState) {\n this.resetState(configuration);\n }\n });\n\n // If it fails, rollback changes.\n promise.catch(() => configuration.rollback());\n\n return promise;\n}\n\n/**\n * @classdesc\n * Controller for route allowing facial recognition opt in/out.\n */\nexport default class FacialRecognitionSettingsController extends EmberController {\n @service contextManager;\n @service notificationManager;\n @service modals;\n @service intl;\n\n /**\n * The current \"opt in\" state for feature and donation as it exists in the model, used to prevent UI changes during save.\n *\n * @type {{feature: boolean, donation: boolean}|null}\n */\n @tracked modelState;\n\n /**\n * The current \"agree\" state for feature and donation as it exists in the UI.\n *\n * @type {{feature: boolean, donation: boolean}|null}\n */\n @tracked uiState;\n\n /**\n * The path to the feature image.\n *\n * @type {String}\n */\n featureImage = `${ENV.rootURL}NewPublicLibraryFiles/images/facial-recognition.svg`;\n\n // region Computed Properties\n\n /**\n * Indicates the system is opted into the SMRF program but is currently ineligible.\n *\n * @type {boolean}\n */\n @computed('modelState.feature')\n get systemIsIneligible() {\n // Do not copy this deprecated usage. If you see this, please fix it\n // eslint-disable-next-line ember/no-get, ember/classic-decorator-no-classic-methods, @adc/ember/no-context-manager-get-route\n return !this.contextManager.getRouteItem(EmberUserEditFaceRecognition) && this.get('modelState.feature');\n }\n\n /**\n * Indicates the save button should be visible.\n *\n * @returns {boolean | Promise}\n */\n @computed('modelState.{feature,donation}', 'model.permissions.canToggleDonation')\n get showSaveButton() {\n const { feature, donation } = this.modelState || {};\n\n // Has the user NOT opted into the feature?\n if (!feature) {\n // Show button.\n return true;\n }\n\n // Has the user NOT opted into image donation?\n if (!donation) {\n // Show button if the user has permission to toggle donation setting.\n return get(this.model, 'permissions.canToggleDonation');\n }\n\n // Don't show button.\n return false;\n }\n\n /**\n * Indicates the save button should be disabled.\n *\n * @type {boolean}\n */\n @computed('model.configuration.{smrfOptIn,smrfDonationOptIn}', 'uiState.{feature,donation}')\n get disableSaveButton() {\n return (async () => {\n const { feature, donation } = this.uiState;\n\n // Has the user NOT agreed to the feature?\n if (!feature) {\n // Disabled.\n return true;\n }\n\n // Otherwise, disabled if the user hasn't modified any values.\n const configuration = await this.model.configuration;\n\n return feature === configuration.smrfOptIn && donation === configuration.smrfDonationOptIn;\n })();\n }\n\n // endregion\n\n /**\n * Resets the state properties to their initial values for this visit.\n *\n * @param {models.systems.Configuration} configuration The system configuration model.\n *\n * @returns {Promise}\n */\n async resetState(configuration) {\n await configuration;\n\n const state = {\n feature: configuration.get('smrfOptIn'),\n donation: configuration.get('smrfDonationOptIn')\n };\n\n // Reset state.\n Object.assign(this, {\n modelState: { ...state },\n uiState: { ...state }\n });\n }\n\n /**\n * Transitions to the users route.\n */\n @action transitionToUsers() {\n const { contextManager } = this;\n\n // Hack to clear visited routes stack while we investigate why it's not working correctly (no ticket yet).\n contextManager.clearVisitedRoutesStack();\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 contextManager.transitionToRouteId(EmberUsers);\n }\n\n /**\n * Opts into the selected aspects of facial recognition.\n *\n * @returns {Promise}\n */\n @action optIn() {\n return updateConfiguration.call(this, true, true);\n }\n\n /**\n * Opts the user out of facial recognition feature, after they confirm.\n *\n * @param {Promise} buttonAnimation\n */\n @action optOutOfFeature(buttonAnimation) {\n // Is the system ineligible?\n if (this.systemIsIneligible) {\n // Opt out without confirmation.\n const promise = updateConfiguration.call(this, false, true, false);\n\n // If opt out succeeds.\n promise.then(() => {\n // After button animation is complete\n buttonAnimation.then(() => {\n // Redirect to settings page and reload application.\n const { contextManager } = this;\n contextManager.replaceRouteWithNativeRoute(EmberSettings);\n contextManager.refreshApplication(true, false);\n });\n });\n\n return promise;\n }\n\n // Opt out after confirmation.\n confirmOptOut.call(this, updateConfiguration.bind(this, false, true));\n }\n\n /**\n * Opts the user out of disarm image donation, after they confirm.\n */\n @action optOutOfDonation() {\n confirmOptOut.call(this, updateConfiguration.bind(this, false, false), 'donation.');\n }\n\n /**\n * Shows the information dialog with the indicated full terms and conditions.\n *\n * @param {string} type The type of terms to show.\n */\n @action async showFullTerms(type) {\n const info = (await this.model.legal)[`${type}FullTerms`];\n this.modals.showInfoModal({\n title: this.intl.tc(this, `${type}Release`),\n css: 'modal-lg fr-terms-modal',\n disableFooterClose: false,\n info\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../../classes/base-route';\nimport { EmberSettingsFaceRecognition } from '../../enums/CustomerPageUrl';\n\n/**\n * Settings route for opting in/out of facial recognition at the panel feature.\n */\nexport default AdcBaseRoute.extend(\n /** @lends settings.face-recognition.Route# */ {\n store: service(),\n\n /** @override */\n routeId: EmberSettingsFaceRecognition,\n\n /** @override */\n model() {\n const { store, contextManager } = this,\n id = contextManager.identityModel.belongsTo('profile').id();\n\n return {\n configuration: store.findRecord('systems/configuration', contextManager.getSelectedSystemId()),\n permissions: store.findRecord('video/smrf-permission', id),\n legal: store.findRecord('video/smrf-legal-text', id)\n };\n },\n\n /** @override */\n async setupController(controller, model) {\n this._super(...arguments);\n\n // Update current state.\n controller.resetState(model.configuration);\n }\n }\n);\n","import BaseSettingsRoute from '../../classes/base-settings-route';\nimport { EmberSettings } from '../../enums/CustomerPageUrl';\n\nexport default class SettingsIndex extends BaseSettingsRoute {\n /** @override */\n routeId = EmberSettings;\n}\n","import { action, getProperties } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseLoginInformationController from '../base-controller';\n\n/**\n * @classdesc\n * Controller used to handle changing a login's email.\n */\nexport default class EmailAddressController extends BaseLoginInformationController {\n @service intl;\n\n /**\n * The resolved profile model.\n *\n * @type {models.profile.ProfileModel}\n */\n @alias('resolvedModel.profile')\n profile;\n\n /**\n * Email address for the current login.\n *\n * @type {String}\n */\n @alias('profile.loginEmailAddress')\n loginEmailAddress;\n\n /**\n * Password for the current login.\n *\n * @type {String}\n */\n currentPassword = null;\n\n /**\n * Sends api request to save email.\n *\n * @param {Promise} buttonAnimation\n */\n @action\n saveEmail(buttonAnimation) {\n return this.submitApiRequest(\n () =>\n this.profile.save({\n adapterOptions: getProperties(this, 'currentPassword')\n }),\n buttonAnimation,\n this.intl.tc(this, 'successMessage')\n );\n }\n}\n","import { EmberEmailAddress } from '../../../enums/CustomerPageUrl';\nimport LoginInformationRoute from '../base-route';\n\n/**\n * @classdesc\n * Route for editing login email address.\n */\nexport default class EmailAddressRoute extends LoginInformationRoute {\n /** @override */\n routeId = EmberEmailAddress;\n\n /** @override */\n model() {\n return {\n profile: this.contextManager.identityModel.profile\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport {\n EmberTwoFactorAuthentication,\n EmberPassword,\n EmberSecurityQuestion,\n EmberLoginName,\n EmberEmailAddress,\n EmberCommunicationPreferences,\n EmberSiteAppearance,\n EmberLanguage,\n EmberMultiSystemAccess,\n EmberNewDeviceAlerts,\n EmberRecognizedDevices\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type AdcIntlService from '@adc/i18n/services/adc-intl';\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 * Object used to sort the routes into their appropriate categories.\n */\nconst loginInformationCategoryRoutes = {\n loginSecurity: [\n EmberTwoFactorAuthentication,\n EmberRecognizedDevices,\n EmberPassword,\n EmberSecurityQuestion,\n EmberNewDeviceAlerts\n ],\n loginInformation: [\n EmberLoginName,\n EmberEmailAddress,\n EmberCommunicationPreferences,\n EmberSiteAppearance,\n EmberLanguage\n ],\n loginAccess: [EmberMultiSystemAccess]\n};\n\ninterface ListItem {\n id: number;\n pageTitle: string;\n description?: string;\n}\n\ntype LoginInfoRoutes = Record;\n\n/**\n * @classdesc\n * Controller that handles displaying the list of login information pages.\n */\nexport default class LoginInformationSettingsController extends Controller {\n @service declare navigation: NavigationService;\n @service declare intl: AdcIntlService;\n\n declare model: ModelFrom;\n\n /**\n * Constructs list of available login information routes.\n */\n get loginInfoRoutes(): Promise {\n return (async () => {\n const { model, intl } = this,\n [subRoutes, twoFactorAuthentication] = await Promise.all([\n model.subRoutes,\n model.twoFactorAuthentication\n ]),\n { profile } = model,\n secondaryProperties = new Map([\n [EmberLanguage, profile.locale.displayName],\n [EmberLoginName, profile.loginName],\n [EmberEmailAddress, profile.loginEmailAddress]\n ]),\n routeItems = subRoutes\n .map(({ routeId, pageTitle }) => {\n const route = this.navigation.getRouteItemUsingId(routeId);\n if (!route) {\n return;\n }\n\n const id = route.routeId,\n item: ListItem = {\n id,\n pageTitle\n };\n\n let description;\n\n if (id === EmberTwoFactorAuthentication) {\n description = intl.tc(\n this,\n (twoFactorAuthentication?.enabledTwoFactorTypes ?? 0) > 0\n ? 'twoFactorEnabled'\n : 'twoFactorDisabled'\n );\n } else {\n description = secondaryProperties?.get(id);\n }\n\n if (description) {\n item.description = description;\n }\n\n return item;\n })\n .compact();\n\n return Object.entries(loginInformationCategoryRoutes).reduce((routeMap, [key, ids]) => {\n const routes = routeItems.filter(({ id }) => ids.includes(id));\n if (routes.length) {\n routeMap[intl.tc(this, `${key}Header`)] = routes;\n }\n return routeMap;\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 'settings/login-information/index': LoginInformationSettingsController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseRoute from 'customer-site/classes/base-route';\nimport { EmberLoginInformation } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Profile from '@adc/login-setup-addon/models/profile/profile';\nimport type TwoFactorAuthenticationModel from '@adc/login-setup-addon/models/two-factor-authentication/two-factor-authentication';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface ChildRoute {\n routeId: string;\n description?: string;\n icon: string;\n pageTitle: string;\n}\n\n/**\n * @classdesc\n * Index login information route that displays available login information pages.\n */\nexport default class LoginInformationSettingsRoute extends BaseRoute {\n @service declare contextManager: ContextManager;\n @service declare ajax: AjaxService;\n\n isMediumWidthPage = true;\n\n routeId = EmberLoginInformation;\n\n model(): {\n profile: Profile;\n subRoutes: Promise;\n twoFactorAuthentication: Promise;\n } {\n const { ajax } = this,\n { identityModel } = this.contextManager;\n\n return {\n profile: identityModel.profile,\n subRoutes: ajax.apiRequestForValue('loginInformation/getChildRoutes'),\n twoFactorAuthentication: ajax.apiRequestForDataRecord(\n `api/engines/twoFactorAuthentication/twoFactorAuthentications/${identityModel.id}`\n )\n };\n }\n}\n","import { action, set } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseLoginInformationController from '../base-controller';\n\n/**\n * @classdesc\n * Controller used to handle changing a login's language preference.\n */\nexport default class LanguageController extends BaseLoginInformationController {\n @service contextManager;\n @service locale;\n\n /**\n * Alias to resolved profile model.\n * @type {models.profile.ProfileModel}\n */\n @alias('resolvedModel.profile')\n profile;\n\n /** @override */\n resetData() {\n super.resetData();\n\n // Reset to original value.\n if (this.originalValue) {\n this.profile.set('locale', this.originalValue);\n }\n\n set(this, 'originalValue', undefined);\n }\n\n /**\n * Sends api request to save the login's language preference.\n *\n * @param {Promise} buttonAnimation\n */\n @action\n async saveLanguage(buttonAnimation) {\n const fnSetLanguage = () => {\n const promise = this.profile.save();\n\n // Clear original value if save succeeded.\n promise.then(() => set(this, 'originalValue', undefined));\n\n return promise;\n };\n\n const fnRefreshCulture = () => {\n this.locale.refreshCulture();\n };\n\n await this.submitApiRequest(\n fnSetLanguage,\n buttonAnimation,\n this.intl.tc(this, 'successMessage'),\n fnRefreshCulture\n );\n }\n\n /**\n * Changes the culture to the newly selected language.\n *\n * @param {number}\n */\n @action\n async languageChanged(newLanguageId) {\n const profile = this.profile,\n originalLocale = await profile.locale;\n\n // This is not smart, but resetting relationship data does not really work so we have to cache the original value.\n if (!this.originalValue) {\n set(this, 'originalValue', originalLocale);\n }\n\n profile.set('locale', profile.get('availableLocales').filterBy('id', newLanguageId).get('firstObject'));\n }\n}\n","import { EmberLanguage } from '../../../enums/CustomerPageUrl';\nimport BaseLoginInformationRoute from '../base-route';\n\n/**\n * @classdesc\n * Route for editing language preference.\n */\nexport default class LanguageRoute extends BaseLoginInformationRoute {\n /** @override */\n routeId = EmberLanguage;\n\n /** @override */\n model() {\n return {\n profile: this.contextManager.identityModel.profile\n };\n }\n}\n","import { action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport BaseLoginInformationController from '../base-controller';\n\n/**\n * @classdesc\n * Controller that handles updating login name.\n */\n\nexport default class LoginNameController extends BaseLoginInformationController {\n /**\n * The resolved profile model.\n *\n * @type {models.profile.ProfileModel}\n */\n @alias('resolvedModel.profile')\n profile;\n\n /**\n * Login name for the current user.\n *\n * @type {String}\n */\n @alias('profile.loginName')\n loginName;\n\n /**\n * Password for the current login.\n *\n * @type {String}\n */\n currentPassword = null;\n\n /** @override */\n getSensitiveProperties() {\n return [...super.getSensitiveProperties(), 'passwordConfirmation'];\n }\n\n /**\n * Sends api request to same login name.\n *\n * @param {Promise} buttonAnimation\n */\n @action\n async saveLoginName(buttonAnimation) {\n const fnSetLoginName = () => {\n return this.profile.updateLoginName(this.loginName, this.currentPassword);\n };\n\n await this.submitApiRequest(fnSetLoginName, buttonAnimation, this.intl.tc(this, 'successMessage'));\n }\n}\n","import { EmberLoginName } from '../../../enums/CustomerPageUrl';\nimport BaseLoginInformationRoute from '../base-route';\n\n/**\n * @classdesc\n * Route for updating login name.\n */\nexport default class LoginNameRoute extends BaseLoginInformationRoute {\n /** @override */\n routeId = EmberLoginName;\n\n /** @override */\n model() {\n return {\n profile: this.contextManager.identityModel.profile\n };\n }\n}\n","import { 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 { throttleTask } from 'ember-lifeline';\nimport { EmberMultiSystemAccess } from 'customer-site/enums/CustomerPageUrl';\nimport { IsLoginAsLoginRep } from 'customer-site/enums/LoginFlag';\nimport { ActionItem, DeleteActionItem } from '@adc/ui-components/utils/action-item';\nimport BaseLoginInformationController from '../../base-controller';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type MsaAssociatedSystem from 'customer-site/models/systems/msa-associated-system';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\ntype ResolvedModel = ResolvedModelFrom;\n\n/**\n * @classdesc\n * Controller for allowing a user to add/remove systems from the login.\n */\nexport default class MultiSystemAccessController extends BaseLoginInformationController {\n @service declare modals: ServiceRegistry['modals'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare store: ServiceRegistry['store'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare navigation: ServiceRegistry['navigation'];\n\n declare model: ModelFrom;\n resolvedModel?: ResolvedModel;\n\n /**\n * Alias to resolved profile model.\n */\n @alias('resolvedModel.profile')\n profile?: ResolvedModel['profile'];\n\n /**\n * Alias to resolved msaSystems.\n */\n @computed('resolvedModel.msaSystems.[]')\n get msaSystems(): MsaAssociatedSystem[] {\n return (this.resolvedModel?.msaSystems ?? []).slice();\n }\n\n /**\n * The current logged in login name.\n */\n @alias('profile.loginName')\n loginName?: ResolvedModel['profile']['loginName'];\n\n /**\n * The search term we should filter results for.\n */\n @tracked systemSearchTerm = '';\n\n /**\n * The flag to toggle whether the tooltip is visible or not\n */\n @tracked isToolTipVisible = false;\n\n /**\n * List of systems that should be rendered.\n */\n @computed('msaSystems.[]', 'systemSearchTerm')\n get filteredSystems(): MsaAssociatedSystem[] {\n const { msaSystems } = this;\n if (!this.systemSearchTerm) {\n return msaSystems;\n }\n\n const search = this.systemSearchTerm.toLowerCase();\n return msaSystems.filter((i) => i.name.toLowerCase().includes(search));\n }\n\n /**\n * Fetching action items for list-row-item.\n */\n getActionItems = (system: MsaAssociatedSystem): ActionItem[] => {\n return [\n ActionItem.create({\n action: () => this.setDefaultSystem(system.id),\n visible: !system.isDefault,\n icon: 'circle-o-check',\n text: this.intl.tc(this, 'setAsDefault')\n }),\n DeleteActionItem.create({\n action: () => this.unlinkSystem(system),\n visible: true,\n disabled: false,\n text: this.intl.tc(this, 'unlink')\n })\n ];\n };\n\n /**\n * Is it a dealer rep logged in as the customer?\n */\n @alias(`profile.loginFlags.${IsLoginAsLoginRep}`)\n declare isRep: ResolvedModel['profile']['loginFlags'][typeof IsLoginAsLoginRep];\n\n /**\n * Set the new default system. Doesn't change selected customer.\n *\n * @param customerId - The customer ID to set as the default.\n */\n @action async setDefaultSystem(customerId: string): Promise {\n await this.profile?.setDefaultSystem(parseInt(customerId, 10));\n\n const { resolvedModel } = this;\n if (resolvedModel) {\n // Refresh our data w/ the updated default system.\n set(resolvedModel, 'msaSystems', await this.store.findAll('systems/msa-associated-system'));\n }\n\n const systemName = this.msaSystems.find((s) => s.id === customerId)!.name;\n this.notificationManager.addSuccess(this.intl.tc(this, 'changeDefaultSystemSuccess', { systemName }));\n this.contextManager.refreshAvailableSystems();\n }\n\n /**\n * Changes page title based on number of systems linked to the current login.\n */\n handlePageRouteTitleChange(): void {\n const routeItem = this.navigation.getRouteItem(EmberMultiSystemAccess);\n if (routeItem) {\n set(\n routeItem,\n 'pageTitle',\n this.intl.tc(this, this.msaSystems.length > 1 ? 'linkedSystems' : 'linkASystem')\n );\n }\n }\n\n /**\n * Changes the route item title based on the number of systems for the current login.\n */\n @action msaSystemUpdated(): void {\n throttleTask(this, 'handlePageRouteTitleChange', 100);\n }\n\n /**\n * Unlink the system from the current login.\n */\n @action unlinkSystem(msaModel: MsaAssociatedSystem): void {\n const { intl, notificationManager } = this;\n\n // prevent user from unlinking their original system\n if (msaModel.isOriginalSystem) {\n notificationManager.addError(intl.tc(this, 'errorMessageCantUnlinkOriginalSystem'));\n return;\n }\n\n // prevent user from unlinking their current system\n if (msaModel.isCurrentSystem) {\n notificationManager.addError(intl.tc(this, 'errorMessageCantUnlinkCurrentSystem'));\n return;\n }\n\n // preserve the information about the default system in case that's the one we are unlinking\n const defaultSystemName = this.msaSystems.find((m) => m.isDefault, true)!.name,\n isDefaultSystemUnlinked = msaModel.isDefault,\n { contextManager } = this,\n systemName = msaModel.name;\n\n this.modals.showConfirmationDialog(\n intl.tc(this, 'removeAccountConfirmationTitle'),\n intl.tc(this, 'removeAccountConfirmation', {\n loginName: this.loginName,\n systemName\n }),\n {\n action: async () => {\n await msaModel.destroyRecord();\n\n let successMsg = intl.tc(this, 'removeAccountSuccess', { systemName });\n\n // If we're in the mobile app and it doesn't support reload, we need to tell the customer.\n if (contextManager.identityModel.isMobileApp) {\n if (this.nativeBridge.doesSupportReloadAssociatedSystems) {\n this.nativeBridge.reloadAssociatedSystems();\n } else {\n successMsg += ` ${intl.t(\n 'settings.login-information.multi-system-access.setup.refreshRequired'\n )}`;\n }\n }\n\n contextManager.refreshAvailableSystems();\n\n // if we unlinked the current default system, set the new default system to be the original system\n if (isDefaultSystemUnlinked) {\n const originalSystem = this.msaSystems.find((m) => m.isOriginalSystem === true),\n originalSystemName = originalSystem!.name;\n\n this.setDefaultSystem(originalSystem!.id);\n successMsg = intl.tc(this, 'successMessageDefaultSystemIsNowOriginalSystem', {\n defaultSystemName,\n originalSystemName\n });\n }\n\n this.notificationManager.addSuccess(successMsg);\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 'settings/login-information/multi-system-access/index': MultiSystemAccessController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport { EmberMultiSystemAccess } from 'customer-site/enums/CustomerPageUrl';\nimport BaseLoginInformationRoute from '../../base-route';\n\nimport type Profile from '@adc/login-setup-addon/models/profile/profile';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type MsaAssociatedSystem from 'customer-site/models/systems/msa-associated-system';\n\n/**\n * @classdesc\n * Route for allowing a user to add/remove systems from the login.\n */\nexport default class MultiSystemAccessRoute extends BaseLoginInformationRoute {\n @service declare store: ServiceRegistry['store'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n routeId = EmberMultiSystemAccess;\n\n model(): {\n profile: Profile;\n msaSystems: ADCAsyncStoreFindAll;\n } {\n return {\n profile: this.identityManager.identityModel!.profile,\n msaSystems: this.store.findAll('systems/msa-associated-system')\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { didCancel } from 'ember-concurrency';\nimport CustomerKnowledgeBase from 'customer-site/enums/CustomerKnowledgeBase';\nimport { EmberEnterpriseGroups, MultiSiteGroupManagement } from 'customer-site/enums/CustomerPageUrl';\nimport { IsLoginAsLoginRep } from 'customer-site/enums/LoginFlag';\nimport { buildKnowledgeBaseURL } from 'customer-site/helpers/knowledge-base-link';\nimport BaseLoginInformationController from '../../base-controller';\n\n/**\n * @classdesc\n * Controller for allowing a user to add/remove systems from the login.\n */\nexport default class MultiSystemAccessSetupController extends BaseLoginInformationController {\n @service ajax;\n @service contextManager;\n @service intl;\n @service nativeBridge;\n @service navigation;\n @service router;\n @service store;\n\n queryParams = ['step'];\n\n /** @override */\n getPropertiesToResetOnExit(...args) {\n const propertiesToReset = [\n ...super.getPropertiesToResetOnExit(...args),\n ['step', 0],\n ['sourceLoginName', ''],\n ['password', '']\n ];\n\n // Allow this property to stay if the user navigates away to fulfill a 2FA requirement first.\n if (!this.isTwoFactorAuthRequired) {\n propertiesToReset.push(['availableSystemsToAdd', []]);\n }\n\n return propertiesToReset;\n }\n\n /** @override */\n getSensitiveProperties(...args) {\n return [...super.getSensitiveProperties(...args), 'password'];\n }\n\n /**\n * Alias to resolved profile model.\n *\n * @type {models.profile.ProfileModel}\n */\n @alias('resolvedModel.profile')\n profile;\n\n /**\n * The current logged in login name.\n *\n * @type {string}\n */\n @alias('profile.loginName')\n loginName;\n\n /**\n * Is the current login using the Login As feature.\n *\n * @type {boolean}\n */\n @alias(`profile.loginFlags.${IsLoginAsLoginRep}`)\n isLoginAsRep;\n\n /**\n * The permissions to check if the Enterprise Multi Site Group\n * alert should be shown.\n */\n @alias('resolvedModel.enterpriseGroupPermissions')\n enterpriseGroupPermissions;\n\n /**\n * Login name for the system that the user wants to add.\n *\n * @type {String}\n */\n sourceLoginName = '';\n\n /**\n * Password for the system that the user wants to add.\n *\n * @type {string}\n */\n @tracked\n password = '';\n\n /**\n * Should the source login be deleted when the systems are associated.\n *\n * @type {boolean}\n */\n deleteSourceLogin = false;\n\n /**\n * Are we on the first step?\n *\n * @type {Number}\n */\n @tracked\n step = 0;\n\n /**\n * Systems that can be added.\n *\n * @type {Array=}\n */\n availableSystemsToAdd;\n\n /**\n * Is the user allowed to delete the source login?\n * @type {bool}\n */\n cannotDeleteSourceLogin;\n\n /**\n * Do the current and to-be-added logins have a system in common?\n *\n * @type {boolean}\n */\n systemsAlreadyLinked = false;\n\n /**\n * Does the system trying to be linked have a login with 2FA setup?\n *\n * @type {boolean}\n */\n @tracked\n isTwoFactorAuthRequired = false;\n\n /**\n * The text that should appear on the confirm button.\n *\n * @type {String}\n */\n @computed('step')\n get confirmButtonText() {\n return this.intl.t(`generic.${this.step === 0 ? 'next' : 'confirm'}`);\n }\n\n /**\n * The text that should appear on the cancel button.\n *\n * @type {String}\n */\n @computed('step')\n get cancelButtonText() {\n return this.intl.t(`generic.${this.step === 0 ? 'cancel' : 'back'}`);\n }\n\n /**\n * If the Linked Systems Enterprise Group Access inline alert should appear.\n *\n * @type {boolean}\n */\n @computed(\n 'contextManager.identityModel.isMobileApp',\n 'enterpriseGroupPermissions.{transitionToManageGroups,transitionToMultiSiteGroupWizard}'\n )\n get showLinkedSystemsEnterpriseGroupAccessAlert() {\n const { transitionToMultiSiteGroupWizard, transitionToManageGroups } = this.enterpriseGroupPermissions;\n const { isMobileApp } = this.contextManager.identityModel;\n\n return !isMobileApp && (transitionToManageGroups || transitionToMultiSiteGroupWizard);\n }\n\n /**\n * The text to be used for the Enterprise Manage Groups inline alert.\n */\n @computed('enterpriseGroupPermissions.transitionToManageGroups')\n get enterpriseAlertText() {\n const { transitionToManageGroups } = this.enterpriseGroupPermissions;\n const text = transitionToManageGroups\n ? this.intl.tc(this, 'enterpriseManageGroupsInstructions')\n : this.intl.tc(this, 'enterpriseMultiLocationManagementInstructions');\n\n return htmlSafe(text);\n }\n\n /**\n * Handles opening the knowledge base article for Linked Systems.\n */\n @action\n transitionToKnowledgeBase() {\n const knowledgeBaseLink = buildKnowledgeBaseURL(\n CustomerKnowledgeBase.LinkMultipleAccountSystems,\n this.contextManager\n );\n\n // The browser will be open when on Mobile whereas a new tab when on Web.\n if (this.contextManager.isMobileApp) {\n this.nativeBridge.launchBrowser(knowledgeBaseLink, false);\n } else {\n window.open(knowledgeBaseLink);\n }\n }\n\n /**\n * Handles the transition to the Enterprise group page.\n */\n @action transitionToEnterpriseManageGroups() {\n const { contextManager } = this;\n const { transitionToMultiSiteGroupWizard, transitionToManageGroups, transitionGroupId } =\n this.enterpriseGroupPermissions;\n\n if (transitionToManageGroups) {\n // Check if we need to switch context to the parent group\n if (transitionGroupId) {\n const group = this.store.peekRecord('systems/available-system-item', `group-${transitionGroupId}`);\n if (group) {\n contextManager\n .switchContext(group)\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 .then(() => contextManager.transitionToRouteId(EmberEnterpriseGroups))\n .catch((e) => {\n if (!didCancel(e)) {\n throw e;\n }\n });\n }\n return;\n }\n\n // Can access page without switching system context.\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 contextManager.transitionToRouteId(EmberEnterpriseGroups);\n return;\n }\n\n // Transition to the legacy Manage Groups wizard.\n if (transitionToMultiSiteGroupWizard) {\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 contextManager.transitionToRouteId(MultiSiteGroupManagement);\n }\n }\n\n /**\n * Determines the behavior of the cancel button.\n */\n @action handleCancelButtonAction() {\n return this.step === 0 ? this.contextManager.transitionToPreviousRoute() : (() => (this.step = 0))();\n }\n\n /**\n * Determines the behavior of the confirm button.\n */\n @action handleMultiSystemSetupAction(buttonAnimation) {\n return this.step === 0 ? findSystems.call(this, buttonAnimation) : addSystems.call(this, buttonAnimation);\n }\n}\n\n/**\n * Gets the list of systems for the provided credentials and updates the UI accordingly.\n *\n * @param {Promise<*>} buttonAnimation\n */\nasync function findSystems(buttonAnimation) {\n buttonAnimation.then((isSuccess) => {\n if (isSuccess) {\n if (this.isTwoFactorAuthRequired) {\n // Navigate to the 2FA challenge flow\n return this.router.transitionTo(\n 'settings.login-information.login-setup.two-factor-authentication.two-factor-challenge-flow',\n { queryParams: { linkedSystemsFlow: true } }\n );\n }\n\n // Set this here and not in the then of apiRequest so that the view doesn't change until delayedHandler has done its thing.\n this.step = 1;\n }\n });\n\n try {\n const data = (await this.profile.findSystemsForLogin(this.sourceLoginName, this.password)).value || {};\n // Check if the login trying to be merged has 2FA enabled\n const twoFactorResponseData =\n (await this.ajax.apiRequest('profile/profiles/checkSystemForTwoFactorAuthentication'))?.value || {};\n\n this.setProperties({\n availableSystemsToAdd: data.systems,\n cannotDeleteSourceLogin: data.cannotDeleteSourceLogin,\n systemsAlreadyLinked: data.isAlreadyLinked,\n isTwoFactorAuthRequired: twoFactorResponseData.twoFactorAuthRequired\n });\n\n return false;\n } catch (error) {\n this.password = undefined;\n // Rethrow to break the delayedHandler chain.\n throw error;\n }\n}\n\n/**\n * Adds the systems to the login that were already found using settings.login-information.multi-system-access.MultiSystemAccessController.findSystems\n *\n * @param {Promise<*>} buttonAnimation\n */\nasync function addSystems(buttonAnimation) {\n // Setup the handling for after the ajax request resolves.\n buttonAnimation.then((isSuccess) => {\n if (isSuccess) {\n let successMsg = this.intl.tc(this, 'addSystemSuccess');\n\n // If we're in the mobile app and it doesn't support reload, we need to tell the customer.\n if (this.contextManager.identityModel.isMobileApp) {\n if (this.nativeBridge.doesSupportReloadAssociatedSystems) {\n this.nativeBridge.reloadAssociatedSystems();\n } else {\n successMsg += ` ${this.intl.tc(this, 'refreshRequired')}`;\n }\n }\n\n this.notificationManager.addSuccess(successMsg);\n this.isTwoFactorAuthRequired = false;\n this.contextManager.transitionToPreviousRoute();\n }\n });\n\n // Not sure if we really need this useless try/catch.\n // eslint-disable-next-line no-useless-catch\n try {\n await this.profile.addSystemsForLogin(this.deleteSourceLogin);\n this.contextManager.refreshAvailableSystems();\n return false;\n } catch (error) {\n // We stay on this current route because the error could be recoverable. If not, they can cancel.\n // Rethrow to break the delayedHandler chain.\n throw error;\n }\n}\n","import { inject as service } from '@ember/service';\nimport { EmberMultiSystemAccessSetup } from '../../../../enums/CustomerPageUrl';\nimport BaseLoginInformationRoute from '../../base-route';\n\n/**\n * @classdesc\n * Route used for linking another system to the logged in account.\n */\nexport default class LinkedSystemsSetupRoute extends BaseLoginInformationRoute {\n @service ajax;\n @service store;\n\n /** @override */\n routeId = EmberMultiSystemAccessSetup;\n\n /** @override */\n model() {\n return {\n profile: this.contextManager.identityModel.profile,\n enterpriseGroupPermissions: this.ajax.apiRequest(\n 'loginInformation/linkedSystems/enterpriseGroupPermissions'\n )\n };\n }\n}\n","import { action } from '@ember/object';\nimport BaseLoginInformationController from '../base-controller';\n\n/**\n * @classdesc\n * Controller used to handle changing a login's name.\n */\nexport default class NewDeviceAlertsController extends BaseLoginInformationController {\n /**\n * Sends the api request to save new device alert settings.\n *\n * @param {Promise} buttonAnimation\n */\n @action\n saveNewDeviceAlerts(buttonAnimation) {\n const m = this.model;\n return this.submitApiRequest(\n () => m.setSendNewDeviceAlerts(m.shouldSendNewDeviceAlerts),\n buttonAnimation,\n this.intl.tc(this, 'successMessage')\n );\n }\n}\n","import { EmberNewDeviceAlerts } from '../../../enums/CustomerPageUrl';\nimport BaseLoginInformationRoute from '../base-route';\n\n/**\n * @classdesc\n * Route for toggling new device alerts.\n */\nexport default class NewDeviceAlertsRoute extends BaseLoginInformationRoute {\n /** @override */\n routeId = EmberNewDeviceAlerts;\n\n /** @override */\n model() {\n return this.contextManager.identityModel.profile;\n }\n\n rollbackModelOnTransition() {\n const m = this.currentModel;\n if (m.hasDirtyAttributes && !m.isSaving) {\n m.rollbackAttributes();\n }\n }\n}\n","import { action } from '@ember/object';\nimport BaseLoginInformationController from '../base-controller';\n\n/**\n * @classdesc\n * Controller used to handle changing app styles for accessibility.\n */\nexport default class SiteAppearanceController extends BaseLoginInformationController {\n /**\n * Makes API request to same accessibility settings.\n *\n * @param {Promise} buttonAnimation\n */\n @action async saveSiteAppearanceSettings(buttonAnimation) {\n return this.submitApiRequest(\n () => this.model.save().then(() => this.contextManager.identityModel.reload()),\n buttonAnimation,\n this.intl.tc(this, 'successMessage')\n );\n }\n}\n","import { EmberSiteAppearance } from '../../../enums/CustomerPageUrl';\nimport BaseLoginInformationRoute from '../base-route';\n\n/**\n * @classdesc\n * Route for changing the app style.\n */\nexport default class SiteAppearanceRoute extends BaseLoginInformationRoute {\n /** @override */\n routeId = EmberSiteAppearance;\n\n model() {\n return this.contextManager.identityModel.profile.siteAppearance;\n }\n\n async rollbackModelOnTransition() {\n await super.rollbackModelOnTransition();\n\n const m = await this.currentModel;\n if (m.hasDirtyAttributes && !m.isSaving) {\n m.rollbackAttributes();\n }\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { filter, gte, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getErrorText } from 'customer-site/utils/ember';\nimport { BinaryListItem } from '@adc/ui-components/components/simple-binary/list';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationService from '@adc/ui-components/services/notification-manager';\nimport type Camera from 'customer-site/models/video/devices/camera';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ntype ResolvedAssociatedDevicesModel = {\n cameras: Camera[];\n canEditAssociatedDevices: boolean;\n savedPrimaryCameraId: string | null;\n};\n\nconst MAX_LINKS = 4;\n\n/**\n * @classdesc\n *\n * The controller for the Associated Devices page.\n *\n * @class settings.manage-devices.associated-devices.Controller\n * @extends EmberController\n */\nexport default class Controller extends EmberController {\n @service declare ajax: AjaxService;\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n @service declare notificationManager: NotificationService;\n\n declare model: any; // Please replace this 'any' with the actual model type!\n\n /**\n * The current Global Device Id for the parent device we're associating cameras to,\n * obtained via a query parameter in this page's route.\n */\n declare parentDeviceId: string;\n\n /**\n * The current description for the parent device we're associating cameras to,\n * obtained via a query parameter in this page's route.\n */\n declare parentDeviceDescription: string;\n\n /**\n * The list of associated camera Ids to the parent device,\n * obtained via a query parameter in this page's route.\n */\n declare associatedCameraDeviceIds: string[];\n\n /*\n * The collection of cameras with SD Card or SVR Recording Schedules on this account.\n */\n @filter('model.cameras', function (camera: Camera) {\n return camera.hasSdRecordingSchedule || camera.hasSvrSchedule;\n })\n declare associableCameras: Camera[];\n\n /*\n * We should only show the camera selection UI if the user has at least one camera to link to.\n */\n @notEmpty('associableCameras')\n declare showSelectionUi: boolean;\n\n /**\n * The newly selected primary camera id.\n */\n @tracked\n declare primaryCameraId: string | null;\n\n /**\n * The search string to filter devices by (if not null).\n */\n @tracked\n declare filterString: string | null;\n\n /**\n * The currently selected cameras.\n */\n @tracked\n selectedCameras: Camera[] = [];\n\n /**\n * Whether the save button is enabled/disabled.\n */\n @tracked\n declare canEditAssociatedDevices: boolean;\n\n /**\n * True if we've reached our maximum number of cameras to link.\n */\n @gte('selectedCameras.length', MAX_LINKS)\n declare maximumSelectionsReached: boolean;\n\n /**\n * The last selected collection of camera ids the user is trying to select.\n */\n @computed('selectedCameras')\n get selectedCameraIds(): string[] {\n const { selectedCameras } = this;\n\n return selectedCameras.map((item) => item.id);\n }\n\n /**\n * The cameras to be shown on the dropdown.\n */\n @computed(\n 'selectedCameras',\n 'associableCameras',\n 'filterString',\n 'selectedCameraIds',\n 'maximumSelectionsReached',\n 'canEditAssociatedDevices'\n )\n get shownCameras(): BinaryListItem<{ id: string }>[] {\n const {\n filterString,\n associableCameras,\n maximumSelectionsReached,\n selectedCameras,\n selectedCameraIds,\n canEditAssociatedDevices\n } = this;\n\n if (!associableCameras || !selectedCameraIds) {\n return [];\n }\n\n let shownCameras: BinaryListItem<{ id: string }>[] = [];\n\n // Add selected cameras first, since we want those to appear at the top of the list.\n if (selectedCameras.length) {\n shownCameras = selectedCameras.map((camera: Camera) => {\n const { description, id } = camera;\n\n return new BinaryListItem({\n css: 'binary-list-item',\n disabled: !canEditAssociatedDevices,\n label: description,\n props: { id },\n state: true\n });\n });\n }\n\n const remainingCameras = associableCameras.filter((camera) => {\n return !selectedCameraIds.includes(camera.id);\n });\n\n // Add all of the unselected cameras to the dropdown.\n remainingCameras.forEach((camera) => {\n const { description, id } = camera;\n\n // If we have a filterString, check to ensure the current camera matches the filter.\n if (filterString && description.toLowerCase().indexOf(filterString) == -1) {\n return;\n }\n\n const cameraListItem = new BinaryListItem({\n css: 'binary-list-item',\n disabled: maximumSelectionsReached || !canEditAssociatedDevices,\n label: description,\n props: { id },\n state: false\n });\n\n // Add the camera as at this point there either is no filter or the camera matches the filter if it exists\n shownCameras.push(cameraListItem);\n return;\n });\n\n return shownCameras;\n }\n\n /**\n * Updates the list of selected cameras when the camera binary list changes.\n *\n * @param cameras\n */\n @action\n onCameraListChange(cameras: BinaryListItem<{ id: string }>[]): void {\n cameras.forEach((camera) => {\n this.onSelectCamera(camera.props.id, !!camera.state, false);\n });\n }\n\n /**\n * Sets the filterString property to filter devices with.\n *\n * @param search\n */\n @action\n filterDevices(search: string): void {\n // Setting to lower case to do a case insensitive search.\n this.filterString = search.toLowerCase();\n }\n\n /**\n * Selects a camera.\n *\n * @param globalDeviceId\n * @param isChecked\n */\n @action\n onSelectCamera(globalDeviceId: string, isChecked: boolean, onLoad: boolean): void {\n const { selectedCameraIds, primaryCameraId } = this;\n\n let newSelectedCameraIds = selectedCameraIds;\n\n if (isChecked) {\n newSelectedCameraIds = newSelectedCameraIds.concat([globalDeviceId]);\n\n // First camera selection should automatically be set to the primary camera\n if (!primaryCameraId) {\n this.onSelectPrimaryCamera(globalDeviceId);\n }\n } else {\n newSelectedCameraIds = newSelectedCameraIds.filter((cameraId: string) => cameraId !== globalDeviceId);\n const noSelectedCameras = !newSelectedCameraIds.length;\n\n // If we're unselecting the primary camera, automatically set another selected camera to be primary\n if (primaryCameraId == globalDeviceId) {\n // If there are no selected cameras at this point, clear out the primary camera assignments\n const newPrimaryCameraId = noSelectedCameras ? null : newSelectedCameraIds[0];\n this.onSelectPrimaryCamera(newPrimaryCameraId);\n }\n }\n\n this.setSelectedCameras(newSelectedCameraIds[0] == primaryCameraId ? true : onLoad, newSelectedCameraIds);\n }\n\n /**\n * Saves a primary camera selection. Null values are passed in when there are no cameras currently selected.\n *\n * @param globalDeviceId\n */\n @action\n onSelectPrimaryCamera(globalDeviceId: string | null): void {\n this.primaryCameraId = globalDeviceId;\n }\n\n /**\n * Saves the selected camera links to the DB\n */\n @action\n onSaveSelections(): void {\n const { parentDeviceId, selectedCameraIds, primaryCameraId, associableCameras } = this;\n\n if (!parentDeviceId) {\n return;\n }\n\n const data = {\n primaryCameraId: primaryCameraId,\n secondaryCameraIds: selectedCameraIds.filter((cameraId: string) => cameraId !== primaryCameraId).slice()\n };\n\n this.ajax\n .apiRequest(\n `api/settings/manageDevices/associatedDevices/${parentDeviceId}/saveDeviceAssociations`,\n undefined,\n data,\n 'PUT'\n )\n .then(() => {\n this.notificationManager.addSuccess(this.intl.tc(this, 'saveSuccessText'));\n associableCameras.forEach((camera) => {\n camera.resetAssociatedDevicesCache();\n });\n })\n .catch((error: any) => {\n this.notificationManager.addError(getErrorText(error) || this.intl.tc(this, 'saveFailedText'));\n });\n\n this.setSelectedCameras(true, selectedCameraIds);\n }\n\n /*\n * Cancel button action on the link configuration page returns user to Manage Devices page.\n * */\n @action\n cancel(): void {\n this.contextManager.transitionToPreviousRoute();\n }\n\n /**\n * Populates the page's UI with selections that match what the user has previously saved.\n */\n @action\n dataLoaded(model: ResolvedAssociatedDevicesModel): void {\n const { associatedCameraDeviceIds, associableCameras } = this;\n const { savedPrimaryCameraId, canEditAssociatedDevices } = model;\n\n this.canEditAssociatedDevices = canEditAssociatedDevices;\n // Remove any cached selections.\n this.selectedCameras = [];\n this.filterString = null;\n this.onSelectPrimaryCamera(null);\n\n // Select cameras from previously saved links\n associatedCameraDeviceIds.forEach((deviceId) => {\n if (associableCameras.find((item) => item.id === deviceId)) {\n this.onSelectCamera(deviceId, true, true);\n\n if (deviceId === savedPrimaryCameraId) {\n this.onSelectPrimaryCamera(deviceId);\n }\n }\n });\n }\n\n /**\n * Sets primary camera as the first in selected cameras list depending on onLoad.\n * @param onLoad\n * @param selectedCameraIds\n */\n setSelectedCameras(onLoad: boolean, selectedCameraIds: string[]): void {\n const { associableCameras, primaryCameraId } = this,\n primaryCamera = associableCameras.find((camera) => camera.id == primaryCameraId);\n\n this.selectedCameras = (\n onLoad && primaryCamera\n ? [primaryCamera, ...associableCameras.filter((camera) => camera.id !== primaryCamera.id)]\n : associableCameras\n ).filter((camera) => selectedCameraIds.includes(camera.id));\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 'settings/manage-devices/associated-devices': Controller;\n }\n}\n","import { getErrorText } from 'customer-site/utils/ember';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberManageDevices, EmberManageDevicesAssociatedDevices } from 'customer-site/enums/CustomerPageUrl';\nimport { getQueryParam } from '@adc/app-infrastructure/routes/base-route';\n\nimport type Camera from 'customer-site/models/video/devices/camera';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport type DS from 'ember-data';\n\nexport type ManageDevicesAssociatedDevicesModel = {\n cameras: DS.PromiseArray;\n canEditAssociatedDevices: boolean;\n savedPrimaryCameraId: Promise;\n};\n\n/**\n * @classdesc\n *\n * Device level video link configuration page.\n *\n * @class settings.manage-devices.associated-devices.Route\n * @extends AdcBaseRoute\n * @memberOf manage-devices\n */\nexport default class Route extends AdcBaseRoute {\n /** @override */\n routeId = EmberManageDevicesAssociatedDevices;\n\n /** @override */\n queryParams = {\n associatedCameraDeviceIds: getQueryParam('array'),\n parentDeviceId: getQueryParam('string'),\n parentDeviceDescription: getQueryParam('string')\n };\n\n /** @override */\n async model({ parentDeviceId }: { parentDeviceId: string }): Promise {\n const associatedDevicesPermission = await this.store.findRecord(\n 'video/permissions/associated-devices-permission',\n this.identityManager.getContextId()\n );\n return {\n cameras: this.store.findAll('video/devices/camera'),\n canEditAssociatedDevices: associatedDevicesPermission.canEditAssociatedDevices,\n savedPrimaryCameraId: this.ajax\n .apiRequest(`api/settings/manageDevices/associatedDevices/${parentDeviceId}/getPrimaryCameraId`)\n .catch((error: any) => {\n this.navigation.transitionToRouteId(EmberManageDevices);\n this.notificationManager.addError(getErrorText(error) || this.intl.tc(this, 'invalidDeviceText'));\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 AutomationFilterBar from 'customer-site/components/automation/filter-bar/index';\nimport { ReadyToAssociate, AssociatedDevices } from 'customer-site/enums/ManageDevicesPropertyFilter';\nimport ThermostatModel from 'customer-site/models/devices/thermostat';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { Registry } from '@ember/service';\nimport type { FilterOption } from 'customer-site/components/automation/base-filter-bar';\nimport type { ManageDevicesDeviceCategory } from 'customer-site/components/settings/manage-devices/device-category';\nimport type BaseManagedDevice from 'customer-site/models/devices/base-managed-device';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport type ManageDevicesFilterTag = {\n name: string;\n icon?: string;\n value: number;\n selected: boolean;\n};\n\n/**\n * @classdesc\n *\n * Controller for manage devices.\n */\nexport default class ManageDevicesController extends EmberController {\n @service declare navigation: Registry['navigation'];\n @service declare intl: ADCIntlService;\n\n declare model: ModelFrom;\n @tracked resolvedModel?: ResolvedModelFrom;\n\n routeToolbar = AutomationFilterBar;\n\n /**\n * Filter tags available.\n */\n @computed('resolvedModel.catalog.availableManagedDeviceFilters', 'selectedFilters')\n get filterTags(): FilterOption[] {\n const deviceFilters = this.resolvedModel?.catalog.availableManagedDeviceFilters ?? {};\n return Object.keys(deviceFilters).map((filterId) => ({\n name: deviceFilters[Number(filterId)],\n value: Number(filterId),\n selected: !!this.selectedFilters.includes(filterId)\n }));\n }\n\n /**\n * List of selected filters.\n */\n @tracked selectedFilters = this.model?.selectedFilters ?? [];\n\n /**\n * The search criteria.\n */\n @tracked searchString = '';\n\n /**\n * Returns a filtered list of managed device categories if given a search string.\n */\n @computed(\n 'searchString',\n 'resolvedModel.catalog.managedDeviceCategories.@each.deviceMap',\n 'resolvedModel.devices.@each.{description,state}',\n 'selectedFilters.length'\n )\n get filteredManagedDeviceCategories(): ManageDevicesDeviceCategory[] | undefined {\n const searchString = (this.searchString || '').toLowerCase();\n\n // Filter values corresponding to ManageDevicesCategoryEnum\n const categoryFilters = this.selectedFilters.filter((id) => Number(id) < ReadyToAssociate);\n\n // Filter values corresponding to ManageDevicesPropertyFilterEnum\n const propertyFilters = this.selectedFilters.filter((id) => Number(id) >= ReadyToAssociate);\n\n return this.resolvedModel?.catalog.managedDeviceCategories.map(\n ({ id, name, managedDevices, deviceMap }) =>\n ({\n id,\n name,\n deviceMap,\n managedDevices:\n categoryFilters.length !== 0 && !categoryFilters.includes(id)\n ? []\n : managedDevices\n .map((device) => {\n if (searchString && !device.description.toLowerCase().includes(searchString)) {\n return undefined;\n }\n\n // Check to see if the device applies to any of the selected property filters\n if (!this.shouldIncludeDevice(propertyFilters, device)) {\n return undefined;\n }\n\n // Ensuring all mpers devices use the mpers feature icon for manage devices only\n if (device.deviceIcon.icon.includes('mpers')) {\n device.deviceIcon.icon = 'mpers-device';\n }\n\n return {\n id: device.id,\n css: device.css,\n stateInfo: device.stateInfo,\n asyncStateTooltip: device.asyncStateTooltip,\n hasAssociatedDevices: device.hasAssociatedDevices,\n associatedDevicesNames: device.associatedDevicesNames,\n areActionsDisabled: device.areActionsDisabled,\n ...device.serialize(),\n ...(device instanceof ThermostatModel && device.getStateIcon !== undefined\n ? { getStateIcon: device.getStateIcon.bind(device) }\n : {})\n } as BaseManagedDevice;\n })\n .filter((item) => item !== undefined && item !== null)\n } as ManageDevicesDeviceCategory)\n );\n }\n\n /**\n * Should we return message when there is no device found given the search string?\n */\n @computed('filteredManagedDeviceCategories', 'searchString')\n get shouldDisplayMessage(): boolean {\n const deviceCount = this.filteredManagedDeviceCategories?.reduce(function (deviceCount, category) {\n return deviceCount + category.managedDevices.length;\n }, 0);\n\n return deviceCount === 0;\n }\n\n /**\n * The message to display.\n */\n @computed('searchString')\n get displayMessage(): string {\n if (this.searchString !== '') {\n // If no search criteria are met.\n return this.intl.tc(this, 'noMatchFound');\n }\n\n // If there are no devices on the account.\n return this.intl.tc(this, 'noDevicesOnAccount');\n }\n\n /**\n * Updates the search criteria.\n */\n @action\n updateSearchValue(searchString: string): void {\n this.searchString = searchString;\n }\n\n /**\n * Updates the selectedFilters\n */\n @action\n updateFilterTags(values: string[]): void {\n this.selectedFilters = values;\n }\n\n /**\n * Resets filter and search values to their default values.\n */\n resetFilterValues(): void {\n Object.assign(this, {\n searchString: '',\n selectedFilters: []\n });\n }\n\n /**\n * Returns whether or not a device should be included based on the provided filters.\n */\n shouldIncludeDevice(filters: string[], device: BaseManagedDevice): boolean {\n if (filters.length === 0) {\n // If there are no selected filters then the device should be included by default\n return true;\n }\n\n let includeDevice = false;\n\n filters.forEach((filterId) => {\n // We use OrEquals assignments below because we want to show a device if any of the selected\n // property filters apply\n switch (Number(filterId)) {\n case ReadyToAssociate: {\n includeDevice = includeDevice || device.canBeAssociatedToVideoDevice;\n break;\n }\n case AssociatedDevices: {\n includeDevice = includeDevice || device.hasAssociatedDevices;\n break;\n }\n default: {\n console.warn(`Unknown device filter encountered: ${filterId}`);\n break;\n }\n }\n });\n\n return includeDevice;\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 'settings/manage-devices/index': ManageDevicesController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberManageDevices } 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 } from '@ember/service';\nimport type BaseManagedDevice from 'customer-site/models/devices/base-managed-device';\nimport type DeviceCatalog from 'customer-site/models/settings/manage-devices/device-catalog';\nimport type ManagedDevicesController from 'customer-site/settings/manage-devices/index/controller';\n\ntype ManageDevicesParams = {\n selectedFilters: string[];\n};\n\ninterface ManageDevicesModel {\n catalog: ADCAsyncStoreFindRecord;\n devices: Promise;\n selectedFilters: string[];\n}\n\n/**\n * @classdesc\n *\n * Route for Manage Devices.\n */\nexport default class Route extends AdcBaseRoute {\n @service declare store: Registry['store'];\n @service declare ajax: Registry['ajax'];\n @service declare identityManager: Registry['identity-manager'];\n\n /** @override */\n routeId = EmberManageDevices;\n\n /** @override */\n queryParams = {\n selectedFilters: getQueryParam('array')\n };\n\n model(params: ManageDevicesParams): ManageDevicesModel {\n const catalog = this.store.findRecord(\n 'settings/manage-devices/device-catalog',\n this.identityManager.getContextId() ?? ''\n );\n return {\n catalog,\n devices: (async () => {\n const c = await catalog,\n categories = c.managedDeviceCategories.map((category) => category.managedDevices);\n\n return categories.reduce((devices, category) => [...devices, ...category.slice()], []);\n })(),\n selectedFilters: params.selectedFilters ?? []\n };\n }\n\n /** @override */\n deactivate(transition: Transition): void {\n super.deactivate(transition);\n\n // reset filter and search variables when exiting out of the route.\n this.controllerFor('settings/manage-devices/index').resetFilterValues();\n }\n}\n","import BaseManagedAccountAccessRoute from 'customer-site/classes/settings/base-managed-account-access-route';\nimport { EmberSettingsManagedAccountAccess } from 'customer-site/enums/CustomerPageUrl';\n\n/**\n * @classdesc\n * Route for changing managed 24/7 access settings in a single system context.\n */\nexport default class Route extends BaseManagedAccountAccessRoute {\n /** @override */\n routeId = EmberSettingsManagedAccountAccess;\n}\n","import EmberController from '@ember/controller';\nimport { action, computed, get } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberPushDevices, GeoServices } from '../../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 Store from '@ember-data/store';\nimport type MobileDevice from 'customer-site/models/devices/mobile-device';\nimport type RouteItemModel from 'customer-site/models/navigation/route-item';\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 * Controller for mobile settings page\n */\nexport default class MobileSettingsController extends EmberController {\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 resolvedModel?: { mobileDevice: MobileDevice };\n\n @alias('resolvedModel.mobileDevice')\n declare mobileDevice: MobileDevice;\n\n /**\n * Is the app being served as a webview in a mobile app?\n */\n @alias('contextManager.identityModel.isMobileApp')\n declare isMobileApp: boolean;\n\n /**\n * Can this device access the Geo Services legacy page?\n */\n @alias('model.mobileDevice.canAccessGeoServicesPage')\n declare canAccessGeoServicesPage: boolean;\n\n /**\n * Can this device access the Notifications page?\n */\n @alias('model.mobileDevice.canAccessNotificationsPage')\n declare canAccessNotificationsPage: boolean;\n\n /**\n * Returns true if the Geo Services link should not be clickable.\n *\n */\n @computed('isMobileApp', 'canAccessGeoServicesPage')\n get isGeoServiceLinkReadOnly(): boolean {\n return !(!this.isMobileApp && this.canAccessGeoServicesPage);\n }\n\n /**\n * Returns true if the Notifications link should not be clickable.\n *\n */\n @computed('isMobileApp', 'canAccessNotificationsPage')\n get isNotificationsLinkReadOnly(): boolean {\n return !(!this.isMobileApp && this.canAccessNotificationsPage);\n }\n\n /**\n * Returns the mobile device name or ' ' if it is empty\n */\n @computed('mobileDevice.description')\n get mobileDeviceDescription(): string {\n return this.mobileDevice?.description ? this.mobileDevice?.description : ' ';\n }\n\n /**\n * Function to open a modal and edit the name of the mobile device\n */\n @action\n async openRenameDeviceModal(): Promise {\n const { intl, mobileDevice } = this;\n\n this.modals.showRenameModal({\n title: intl.tc(this, 'modalTitle'),\n output: {\n value: mobileDevice.description\n },\n rename: async (value: string) => {\n const { notificationManager } = this;\n try {\n mobileDevice.set('description', value);\n await mobileDevice.save();\n notificationManager.addSuccess(intl.tc(this, 'deviceRenamed'));\n } catch (error) {\n // RollbackAttributes is necessary so that if the save() fails, we revert back to the original name.\n mobileDevice.rollbackAttributes();\n\n notificationManager.addError(intl.tc(this, 'couldNotRename'));\n return false;\n }\n\n return true;\n }\n });\n }\n\n /**\n * Transitions to the GeoServices legacy page, GeoFences.aspx\n */\n @action\n transitionToGeoRoute(device: MobileDevice): void {\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 const routeItem = this.contextManager.getRouteItem(GeoServices);\n const routeItemToTransitionTo = routeItem.url\n ? routeItem\n : (get(get(get(routeItem, 'relationship'), 'subRoutes'), 'firstObject') as RouteItemModel);\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.transitionToRoute(routeItemToTransitionTo, undefined, {\n search: `?device_id=${device.deviceId}`\n });\n }\n\n /**\n * Transitions to the GeoServices legacy page with no device-id passed in, GeoFences.aspx\n */\n @action\n transitionToGeoRouteNoDevice(): 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(GeoServices);\n }\n\n /**\n * Transitions to the EmberPushDevice route\n */\n @action\n transitionToNotificationRoute(): void {\n this.contextManager.transitionToNativeRoute(EmberPushDevices);\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 'settings/mobile-settings': MobileSettingsController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMobileSettings } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type MobileDevice from 'customer-site/models/devices/mobile-device';\n\n/**\n * @classdesc\n *\n * Route for Mobile Settings\n *\n * @class settings.mobile-settings.Route\n * @extends AdcBaseRoute\n */\nexport default class Route extends AdcBaseRoute {\n @service store!: Store;\n\n /** @override */\n routeId = EmberMobileSettings;\n\n model({ id_mobile_device }: { id_mobile_device: string }): { mobileDevice: ADCAsyncStoreFindRecord } {\n return { mobileDevice: this.store.findRecord('devices/mobile-device', id_mobile_device) };\n }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nimport type BaseSettingsRoute from 'customer-site/classes/base-settings-route';\nimport type RouteItem from 'customer-site/models/navigation/route-item';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport default class SettingsMonitoringStationIndex extends Controller {\n @service declare navigation: NavigationService;\n\n declare model: ModelFrom;\n\n @action\n navigate(route: RouteItem): void {\n this.navigation.transitionToRoute(route);\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 'settings/monitoring-station/index': SettingsMonitoringStationIndex;\n }\n}\n","import { inject as service } from '@ember/service';\nimport BaseSettingsRoute from 'customer-site/classes/base-settings-route';\nimport {\n EmberMonitoringCertificate,\n EmberMonitoringStation,\n MonitoringStation\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type AjaxService from 'customer-site/services/ajax';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\nexport default class SettingsMonitoringStationIndex extends BaseSettingsRoute {\n @service declare ajax: AjaxService;\n @service declare navigation: NavigationService;\n\n /** @override */\n routeId = EmberMonitoringStation;\n\n async afterModel(model: ModelFrom): Promise {\n //HACK: if only children are the legacy page and/or monitoring certificate, redirect to legacy page.\n\n const routes = await model.routes;\n // If there are more than 2 routes, we are meant to view the dashboard\n if (routes.length > 2) {\n // Remove link to legacy page\n model.routes = routes.filter((r) => r.routeId !== MonitoringStation.toString());\n return;\n }\n const certRoute = routes.findBy('routeId', EmberMonitoringCertificate.toString());\n const msRoute = routes.findBy('routeId', MonitoringStation.toString());\n\n // if legacy page is not in available routes, we are meant to view the dashboard\n // if there are 2 routes and the other is not certificate page, we are meant to view the dashboard\n if (msRoute === undefined || (routes.length === 2 && certRoute === undefined)) {\n // Remove link to legacy page\n model.routes = routes.filter((r) => r.routeId !== MonitoringStation.toString());\n return;\n }\n\n // redirect to legacy page\n this.navigation.transitionToRoute(msRoute.routeItem);\n }\n}\n","import EmberController from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type MonitoringCertificate from 'customer-site/models/settings/monitoring-station/monitoring-certificate';\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 *\n * Controller for the Monitoring Certificate route.\n */\nexport default class Controller extends EmberController {\n @service intl!: ADCIntlService;\n @service declare contextManager: ContextManager;\n\n declare model: ModelFrom;\n resolvedModel?: {\n monitoringCertificate: Pick, 'monitoringCertificate'>;\n };\n\n @alias('resolvedModel.monitoringCertificate')\n declare monitoringCertificate: MonitoringCertificate;\n\n /**\n * Array of {label: string, value: string} objects that contains the certificate data with the appropriate \"header\".\n */\n @computed(\n 'monitoringCertificate.{clientName,installationDate,reportingType,servicePackageDescription,streetAddress,systemLocation,city,state,zip}'\n )\n get certificateData(): Array<{ label: string; value: string }> {\n const { monitoringCertificate, intl } = this;\n return [\n ['installationDate', monitoringCertificate.installationDate.toDateString()],\n ['clientName', monitoringCertificate.clientName],\n ['streetAddress', monitoringCertificate.streetAddress],\n [\n 'cityStateZip',\n monitoringCertificate.city + ', ' + monitoringCertificate.state + ', ' + monitoringCertificate.zip\n ],\n ['systemLocation', monitoringCertificate.systemLocation],\n ['systemType', monitoringCertificate.servicePackageDescription],\n ['reportingType', monitoringCertificate.reportingType]\n ].map(([label, value]): { label: string; value: string } => {\n if (label === 'cityStateZip') {\n const labelValue = intl.tc(this, 'cityStateZip', {\n stateResource: monitoringCertificate.stateResourceLabel,\n zipCodeResource: monitoringCertificate.zipCodeResourceLabel\n });\n return { label: labelValue, value };\n }\n\n return { label: intl.tc(this, label), value };\n });\n }\n\n /**\n * The URL to the dealer's logo.\n */\n @alias('contextManager.identityModel.logoSource')\n declare logoSource: string;\n\n /**\n * The Alternative Text to the dealer's logo.\n *\n */\n @alias('contextManager.identityModel.logoName')\n declare logoAlt: string;\n\n /**\n * Prints the certificate portion of the page.\n */\n @action\n printCertificate(): void {\n const certificateElement: HTMLElement | null = document.getElementById('printable-monitoring-certificate');\n const mainTitle: HTMLElement | null = document.querySelector('h1.main-title');\n const printWindow: Window | null = window.open(\n '',\n '',\n 'left=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0'\n );\n\n if (!certificateElement || !mainTitle || !printWindow) {\n return;\n }\n\n printWindow.document.write('');\n printWindow.document.write(mainTitle.innerHTML);\n printWindow.document.write('');\n printWindow.document.write('');\n printWindow.document.write('');\n printWindow.document.write('');\n printWindow.document.write(certificateElement.innerHTML);\n printWindow.document.write('');\n printWindow.document.close();\n printWindow.focus();\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 'settings/monitoring-station/monitoring-certificate': Controller;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMonitoringCertificate } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type MonitoringCertificate from 'customer-site/models/settings/monitoring-station/monitoring-certificate';\nimport type ContextManager from 'customer-site/services/context-manager';\n\n/**\n * @classdesc\n *\n * This page allows customers to download a certificate proving their property\n * is professionally monitored that they can provide their insurance company.\n *\n * @class settings.monitoring-station.monitoring-certificate.Route\n * @extends AdcBaseRoute\n */\nexport default class Route extends AdcBaseRoute {\n @service store!: Store;\n @service contextManager!: ContextManager;\n\n /** @override */\n routeId = EmberMonitoringCertificate;\n\n /** @override */\n isMediumWidthPage = true;\n\n model(): { monitoringCertificate: ADCAsyncStoreFindRecord } {\n return {\n monitoringCertificate: this.store.findRecord(\n 'settings/monitoringStation/monitoringCertificate',\n this.contextManager.getContextId()\n )\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { sort, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getValidationErrorsFromResponse } from '@adc/ajax/utils/validation-error-processing';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type PropertyActionsCategory from 'customer-site/models/settings/monitoring-station/property-action-category';\nimport type PropertyActionDevice from 'customer-site/models/settings/monitoring-station/property-action-device';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type SettingsMonitoringStationPropertyActionsRoute from './route';\n\nclass CategoryInfo {\n declare category: PropertyActionsCategory;\n @tracked expanded = false;\n\n constructor(category: PropertyActionsCategory) {\n this.category = category;\n }\n}\n\nexport default class SettingsMonitoringStationPropertyActions extends Controller {\n declare model: ModelFrom;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n\n categorySortKeys = ['category.localizedDescription'];\n\n @sort('categories', 'categorySortKeys') declare sortedCategoryInfo: CategoryInfo[];\n\n @tracked categories: CategoryInfo[] = this.model.propertyActionDevices\n .map((pa) => new CategoryInfo(pa.category))\n .uniqBy('category.id')\n .toArray();\n\n @not('model.isSaving') declare canCancel: boolean;\n\n get devicesByCategory(): Record {\n const {\n model: { propertyActionDevices: devices },\n categories\n } = this;\n const mapping: SettingsMonitoringStationPropertyActions['devicesByCategory'] = {};\n categories.forEach(\n (categoryInfo) =>\n (mapping[categoryInfo.category.id] = devices.filter((d) => d.category.id === categoryInfo.category.id))\n );\n return mapping;\n }\n\n get expandAllCategories(): boolean {\n const { categories } = this;\n return categories.any((category) => !category.expanded);\n }\n\n get canSave(): boolean {\n const {\n model,\n model: { propertyActionDevices: devices }\n } = this;\n return (\n !model.get('isSaving') &&\n devices.any(\n (device) => device.get('isValid') && device.get('hasDirtyAttributes') && !device.get('isSaving')\n )\n );\n }\n\n @action\n onDeviceExclusionChanged(device: PropertyActionDevice, exclude: boolean) {\n device.isExcluded = exclude;\n }\n\n @action\n toggleExpandCategory(categoryInfo: CategoryInfo) {\n categoryInfo.expanded = !categoryInfo.expanded;\n }\n\n @action\n toggleAll() {\n const { categories, expandAllCategories } = this;\n const expand = !expandAllCategories;\n categories.forEach((cat) => (cat.expanded = !expand));\n }\n\n @action\n async save(): Promise {\n const { model, intl, notificationManager } = this;\n try {\n await model.save();\n // Rollback to reflect any value changes sent from server.\n model.rollback();\n } catch (ex) {\n const errors = getValidationErrorsFromResponse(ex);\n const keys = Object.keys(errors);\n if (keys) {\n keys.forEach((key) => {\n notificationManager.addError(errors[key]);\n });\n } else {\n notificationManager.addError(intl.t('generic.errorSaving'));\n }\n throw ex;\n }\n }\n\n @action\n cancel(): void {\n const { model } = this;\n model.rollbackRelationships();\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 'settings/monitoring-station/property-actions': SettingsMonitoringStationPropertyActions;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMonitoringStationPropertyActionsSettings } from 'customer-site/enums/CustomerPageUrl';\n\nimport type PropertyActionSettings from 'customer-site/models/settings/monitoring-station/property-action';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type NavigationService from 'customer-site/services/navigation';\n\nexport default class SettingsMonitoringStationPropertyActions extends AdcBaseRoute {\n @service declare ajax: AjaxService;\n @service declare navigation: NavigationService;\n\n /** @override */\n routeId = EmberMonitoringStationPropertyActionsSettings;\n\n async model(): Promise {\n return await this.store.findRecord(\n 'settings/monitoring-station/property-action',\n this.contextManager.getSelectedSystemId()\n );\n }\n}\n","import Controller from '@ember/controller';\nimport { isAfter } from 'date-fns';\n\nimport type PropertyNote from 'customer-site/models/settings/monitoring-station/property-note';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class SettingsMonitoringStationPropertyNotes extends Controller {\n declare model: ModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n /**\n * Method used to sort property notes\n */\n private sortNotes(notes: PropertyNote[]): PropertyNote[] {\n return notes.sort((a, b) => (isAfter(b.dateUpdated, a.dateUpdated) ? 1 : -1));\n }\n\n /**\n * Permanent property notes\n */\n get permanentPropertyNotes(): PropertyNote[] | undefined {\n const permanentNotes = this.model.propertyNotes?.filter((note) => {\n return !note.expirationDate;\n });\n return permanentNotes ? this.sortNotes(permanentNotes) : undefined;\n }\n\n /**\n * Temporary property notes\n */\n get temporaryPropertyNotes(): PropertyNote[] | undefined {\n const temporaryNotes = this.model.propertyNotes?.filter((note) => {\n return note.expirationDate;\n });\n return temporaryNotes ? this.sortNotes(temporaryNotes) : undefined;\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 'settings/monitoring-station/property-notes': SettingsMonitoringStationPropertyNotes;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMonitoringStationPropertyNotes } from 'customer-site/enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type PropertyNote from 'customer-site/models/settings/monitoring-station/property-note';\nimport './_style.scss';\n\nexport default class SettingsMonitoringStationPropertyNotes extends AdcBaseRoute {\n @service declare store: Store;\n\n /** @override */\n routeId = EmberMonitoringStationPropertyNotes;\n\n model(): { propertyNotes: ADCAsyncStoreFindAll } {\n return {\n propertyNotes: this.store.findAll('settings/monitoring-station/property-note')\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 NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type RouterService from '@ember/routing/router-service';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\nexport default class SettingsMonitoringStationPropertyNotesEdit extends Controller {\n @service declare store: Store;\n @service declare contextManager: ContextManager;\n @service declare navigation: NavigationService;\n @service declare intl: ADCIntlService;\n @service declare notificationManager: NotificationManager;\n @service declare router: RouterService;\n\n declare model: ResolvedModelFrom;\n\n /**\n * Disable Save Button?\n */\n @tracked disableSaveButton?: boolean;\n\n /**\n * Get the page title translation\n */\n get pageTitle(): string {\n return this.intl.tc(this, this.model?.isNew ? 'addPropertyNote' : 'editPropertyNote');\n }\n\n /**\n * Computed property used to disable Save button\n */\n @computed('disableSaveButton', 'model.isNew')\n get disableSave(): boolean {\n return this.disableSaveButton ?? this.model.isNew;\n }\n\n /**\n * Should disable Save button?\n */\n @action shouldDisableSave(disable: boolean): void {\n this.disableSaveButton = disable;\n }\n\n /**\n * Save the added or edited property note and navigates to the 'Property notes' page.\n */\n @action async savePropertyNote(): Promise {\n const { intl, notificationManager } = this;\n\n try {\n await this.model.propertyNote.save();\n notificationManager.addSuccess(\n intl.tc(this, this.model.isNew ? 'propertyNoteCreated' : 'propertyNoteEdited')\n );\n } catch (error) {\n notificationManager.addError(error.errors[0].detail);\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 'settings/monitoring-station/property-notes/property-note-edit': SettingsMonitoringStationPropertyNotesEdit;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport {\n EmberMonitoringStationPropertyNotesEdit,\n EmberMonitoringStationPropertyNotesCreate\n} from 'customer-site/enums/CustomerPageUrl';\n\nimport type PropertyNote from 'customer-site/models/settings/monitoring-station/property-note';\n\nexport default class SettingsMonitoringStationPropertyNotesEdit extends AdcBaseRoute {\n /** @override */\n routeId = EmberMonitoringStationPropertyNotesEdit;\n\n async model(params: { id: string }): Promise<{ propertyNote: PropertyNote; isNew: boolean }> {\n const isNew = params.id === 'new';\n this.routeId = isNew ? EmberMonitoringStationPropertyNotesCreate : EmberMonitoringStationPropertyNotesEdit;\n\n return {\n isNew,\n propertyNote: isNew\n ? this.store.createRecord('settings/monitoring-station/property-note')\n : await this.store.findRecord('settings/monitoring-station/property-note', params.id)\n };\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport 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 { getValidationErrorsFromResponse } from '@adc/ajax/utils/validation-error-processing';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type VisualVerificationDevice from 'customer-site/models/settings/monitoring-station/visual-verification-device';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type SettingsMonitoringStationVideoRoute from './route';\n\ntype DeviceModel = VisualVerificationDevice;\n\nexport default class SettingsMonitoringStationVideo extends Controller {\n declare model: ModelFrom;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n\n @tracked declare showVisualVerificationWarning: boolean;\n @tracked declare showTwoWayAudioWarning: boolean;\n\n @not('model.isSaving') declare canCancel: boolean;\n\n @alias('model.hasFullTimeAccess')\n declare hasEvmEnabled: boolean;\n\n @computed('model.{allowedExternalVideoMonitoringDevicesCount,visualVerificationDevices.@each.isExcluded}')\n get RemainingDevicesCount(): number {\n return (\n this.model.allowedExternalVideoMonitoringDevicesCount -\n this.model.visualVerificationDevices.filter((device) => !device.isExcluded).length\n );\n }\n\n @computed('RemainingDevicesCount', 'hasEvmEnabled')\n get showTooManyDevices(): boolean {\n return this.RemainingDevicesCount < 0 && this.hasEvmEnabled;\n }\n\n get remainingEvmDevicesCount(): number {\n return this.RemainingDevicesCount < 0 ? 0 : this.RemainingDevicesCount;\n }\n\n get showVideoRuleWarning(): boolean {\n const devices = this.model.visualVerificationDevices;\n return this.hasEvmEnabled && devices.any((device) => device.isExcluded && device.hasRules);\n }\n\n get canSave(): boolean {\n const {\n model,\n model: { visualVerificationDevices: vvDevices, editVisualVerification, editTwoWayAudio }\n } = this;\n\n const canSaveDevice = (device: DeviceModel): boolean =>\n device.get('isValid') &&\n device.get('hasDirtyAttributes') &&\n !device.get('isSaving') &&\n (!this.hasEvmEnabled || this.RemainingDevicesCount >= 0);\n\n return (\n (editVisualVerification || editTwoWayAudio) &&\n !model.get('isSaving') &&\n (!!vvDevices.filter(canSaveDevice).length || model.hasDirtyAttributes)\n );\n }\n\n @action\n onToggleDeviceExclusion(device: DeviceModel): void {\n device.isExcluded = !device.isExcluded;\n if (device.isExcluded) {\n this.showVisualVerificationWarning = true;\n }\n }\n\n @action\n onToggleTwoWayAudio(evt: Event & { target: HTMLInputElement }): void {\n this.model.twoWayAudioEnabled = evt.target.checked;\n if (!evt.target.checked) {\n this.showTwoWayAudioWarning = true;\n }\n }\n\n @action\n async save(): Promise {\n const { model, intl, notificationManager } = this;\n try {\n if (this.canSave) {\n await model.save();\n }\n } catch (ex) {\n const errors = getValidationErrorsFromResponse(ex);\n const keys = Object.keys(errors);\n if (keys) {\n keys.forEach((key) => {\n notificationManager.addError(errors[key]);\n });\n } else {\n notificationManager.addError(intl.t('generic.errorSaving'));\n }\n throw ex;\n }\n }\n\n @action\n cancel(): void {\n const { model } = this;\n model.rollbackRelationships();\n this.showTwoWayAudioWarning = this.showVisualVerificationWarning = 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 'settings/monitoring-station/video': SettingsMonitoringStationVideo;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberMonitoringStationVideoSettings } from 'customer-site/enums/CustomerPageUrl';\n\nimport type VideoSettings from 'customer-site/models/settings/monitoring-station/video';\n\nexport default class SettingsMonitoringStationVideo extends AdcBaseRoute {\n /** @override */\n routeId = EmberMonitoringStationVideoSettings;\n\n model(): Promise {\n return this.store.findRecord('settings/monitoring-station/video', this.contextManager.getSelectedSystemId());\n }\n}\n","import { get } from '@ember/object';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberNoiseSettings } from 'customer-site/enums/CustomerPageUrl';\n\nimport type NoiseSensorModel from 'customer-site/models/devices/noise-sensor';\nimport type SensorThreshold from 'customer-site/models/devices/sensor-threshold';\n// eslint-disable-next-line ember/use-ember-data-rfc-395-imports\nimport type DS from 'ember-data';\n\nexport type NoiseSensorSettingsRouteModel = {\n noiseSensors: NoiseSensorModel[];\n};\n\n/**\n * @classdesc\n *\n * Route for Noise Settings.\n */\nexport default class NoiseSettingsRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberNoiseSettings;\n\n /** @override */\n declare currentModel: NoiseSensorSettingsRouteModel;\n\n /** @override */\n model({ id_selected_noise_sensor }: { id_selected_noise_sensor: string }): {\n noiseSensors: DS.PromiseArray;\n selectedNoiseSensorId: string;\n } {\n return {\n noiseSensors: this.store.findAll('devices/noise-sensor'),\n selectedNoiseSensorId: id_selected_noise_sensor\n };\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const { noiseSensors } = this.currentModel;\n noiseSensors.forEach((noiseSensor: NoiseSensorModel) => {\n noiseSensor.thresholds.forEach((threshold: SensorThreshold) => {\n if (get(threshold, 'isDeleted') || get(threshold, 'hasDirtyAttributes')) {\n threshold.rollbackAttributes();\n }\n\n if (threshold.get('isNew')) {\n threshold.deleteRecord();\n }\n });\n\n noiseSensor.thresholds.reload();\n });\n }\n}\n","import { EmberPanelWifiConfig } from '../../../enums/CustomerPageUrl';\nimport BasePanelWifiRoute from '../base-route';\n\n/**\n * @classdesc\n * Route for the config page for panel wifi\n */\nexport default class PanelWifiConfigRoute extends BasePanelWifiRoute {\n /** @override */\n routeId = EmberPanelWifiConfig;\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 { getSignalStrengthSvgName } from '../../../components/settings/panel-wifi/network-info/index';\nimport { EmberPanelWifiNetworks, EmberPanelWifiConfig } from '../../../enums/CustomerPageUrl';\nimport { ACFailure } from '../../../enums/TroubleConditionType';\n\nimport type NavigationService from 'customer-site/services/navigation';\nimport type TroubleConditionsService from 'customer-site/services/trouble-conditions';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type PanelWifiIndexRoute from './route';\n\n/**\n * @classdesc\n * Controller for the index page of the Panel Wifi Wizard\n */\nexport default class PanelWifiController extends Controller {\n @service declare navigation: NavigationService;\n @service declare troubleConditions: TroubleConditionsService;\n\n declare model: ModelFrom;\n @tracked resolvedModel?: ResolvedModelFrom;\n\n /**\n * The svg name of the signal strength icon.\n */\n @computed('resolvedModel.wifiSettings.signalStrength')\n get signalStrengthIcon(): string {\n const signalStrength = this.resolvedModel?.wifiSettings.signalStrength ?? 0;\n return getSignalStrengthSvgName(signalStrength);\n }\n\n /**\n * Moves to the scan for networks page\n */\n @action\n scanForNetworks(): void {\n this.navigation.transitionToRouteId(EmberPanelWifiNetworks);\n }\n\n /**\n * Moves to the manual network config page\n */\n @action\n setupManually(): void {\n this.navigation.transitionToRouteId(EmberPanelWifiConfig);\n }\n\n @computed('model.system')\n get isAnyPartitionArmed(): Promise {\n return (async () => {\n return (await this.model.system).hasPartitionsArmed;\n })();\n }\n\n @computed('model.system')\n get isAnyPartitionInAlarm(): Promise {\n return (async () => {\n return (await this.model.system).hasPartitionsInAlarmAtPanel;\n })();\n }\n\n @computed('troubleConditions.allTroubles')\n get doesPanelHaveACFailure(): boolean {\n const allTroubles = this.troubleConditions.allTroubles;\n\n if (allTroubles === undefined || allTroubles.length === 0) return false;\n\n return allTroubles.some((t) => t.troubleConditionType === ACFailure);\n }\n\n @computed('doesPanelHaveACFailure', 'isAnyPartitionArmed', 'isAnyPartitionInAlarm')\n get cannotConnectToWifi(): Promise {\n const { doesPanelHaveACFailure, isAnyPartitionArmed, isAnyPartitionInAlarm } = this;\n\n return (async () => {\n return doesPanelHaveACFailure || (await isAnyPartitionArmed) || (await isAnyPartitionInAlarm);\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 'settings/panel-wifi/index': PanelWifiController;\n }\n}\n","import { inject as service } from '@ember/service';\nimport { EmberPanelWifi } from '../../../enums/CustomerPageUrl';\nimport BasePanelWifiRoute from '../base-route';\n\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type WifiSetting from 'customer-site/models/settings/panel-wifi/wifi-setting';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\n\ninterface PanelWifiIndexRouteModel extends ModelFrom {\n wifiSettings: Promise;\n}\n\n/**\n * @classdesc\n * Route for the Panel Wifi index page\n */\nexport default class PanelWifiIndexRoute extends BasePanelWifiRoute {\n @service declare modals: ModalService;\n\n /** @override */\n routeId = EmberPanelWifi;\n\n /** @override */\n skipWhenTransitioningBack = false;\n\n model(): PanelWifiIndexRouteModel {\n const baseModel = super.model();\n\n this.modals.closeModal();\n\n const wifiSettings = this.store.findRecord(\n 'settings/panel-wifi/wifi-setting',\n this.identityManager.getSelectedSystemId()\n );\n\n return {\n ...baseModel,\n wifiSettings\n };\n }\n}\n","import Controller from '@ember/controller';\nimport { action, computed, set, setProperties } from '@ember/object';\nimport { filter } from '@ember/object/computed';\nimport { once } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { EmberPanelWifiConfig } from '../../../enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type WifiNetwork from 'customer-site/models/settings/panel-wifi/wifi-network';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\ninterface NetworkRowItem {\n network: WifiNetwork;\n password: string;\n isRowSelected: boolean;\n}\n\n/**\n * @classdesc\n * Controller for the panel scan page of the Wifi Wizard\n */\nexport default class PanelWifiNetworksController extends Controller {\n @service declare contextManager: ContextManager;\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n\n declare model: ResolvedModelFrom;\n resolvedModel?: ResolvedModelFrom;\n\n /**\n * We only want devices that are attached to a network. They should also not require a password.\n */\n @filter('networkItems', function ({ network }) {\n return network.get('devicesAttached.length') > 0 && !network.get('needPassword');\n })\n declare devicesOnNetwork: NetworkRowItem[];\n\n /**\n * Determines if the \"Connect\" button is enabled or disabled.\n */\n @computed('resolvedModel.system.isSystemConnectingToWifi', 'isRefreshingNetworks', 'selectedNetworkRow')\n get disableConfirmButton(): boolean {\n return (\n this.resolvedModel?.system.isSystemConnectingToWifi ||\n this.isRefreshingNetworks ||\n this.selectedNetworkRow === null\n );\n }\n\n /**\n * Are we fetching the model from the server?\n */\n @computed('networkItems')\n get isRefreshingNetworks(): boolean {\n return isEmpty(this.networkItems);\n }\n\n /**\n * Essentially an array of Network Items that contains the model, the password, and if\n * the row was selected by the user.\n */\n networkItems?: NetworkRowItem[];\n\n /**\n * Networks that were seen by the panel but do not have devices attached to them.\n */\n @filter('networkItems', function ({ network }) {\n return network.get('devicesAttached.length') <= 0 && network.get('needsPassword');\n })\n declare panelIdentifiedNetworks: NetworkRowItem[];\n\n /**\n * Determines the text to show above the spinner when we are either waiting to refresh the networks.\n */\n @computed(\n 'isRefreshingNetworks',\n 'selectedNetworkRow.network.ssid',\n 'resolvedModel.system.{canScanForWifi,isSystemConnectingToWifi}'\n )\n get activeTextKey(): string {\n // No need to show the loading spinner if there is no wifi to scan\n if (!this.resolvedModel?.system.canScanForWifi) {\n return '';\n }\n\n // If we are refreshing networks, show we are scanning for networks.\n if (this.isRefreshingNetworks) {\n return this.intl.tc(this, 'scanning');\n }\n\n // If we are connecting to panel to wifi, show the the ssid we are trying to connect to.\n if (this.resolvedModel?.system.isSystemConnectingToWifi && this.selectedNetworkRow) {\n return this.intl.tc(this, 'connecting');\n }\n\n // Otherwise, we return empty\n return '';\n }\n\n /**\n * The network the user has currently selected. Becomes null if user is refreshing.\n */\n selectedNetworkRow?: NetworkRowItem;\n\n /**\n * Start scanning for networks once the model changes.\n */\n @action\n startNetworkScan(): void {\n // Do not copy this deprecated usage. If you see this, please fix\n // eslint-disable-next-line ember/no-runloop\n once(this, this.scanForNetworks);\n }\n\n /**\n * Transitions to the Manual Configuration page.\n */\n @action\n config(): 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(EmberPanelWifiConfig);\n }\n\n /**\n * Fetches the data from the server and sets the page as loading while we wait to get the\n * data. Once the data has been received we set the page to not loading any more\n * and displ`ay the results. We also set the selecteNetwork row to null because the user is refreshing.\n */\n @action\n async scanForNetworks(): Promise {\n set(this, 'networkItems', []);\n const networks = await this.store.findAll('settings/panel-wifi/wifi-network');\n setProperties(this, {\n selectedNetworkRow: undefined,\n networkItems: networks.map((network) => {\n return {\n network,\n password: '',\n isRowSelected: false\n };\n })\n });\n }\n\n /**\n * Sets all the networks to not selected, and then sets the row selected by\n * the user to selected.\n */\n @action\n setSelectedRow(networkRow: NetworkRowItem): void {\n this.networkItems?.setEach('isRowSelected', false);\n\n // Set the current row to selected\n set(networkRow, 'isRowSelected', true);\n set(this, 'selectedNetworkRow', networkRow);\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 'settings/panel-wifi/networks': PanelWifiNetworksController;\n }\n}\n","import AdcBaseRoute from '../../../classes/base-route';\nimport { EmberPanelWifiNetworks } from '../../../enums/CustomerPageUrl';\n\nimport type System from 'customer-site/models/systems/system';\n\n/**\n * @classdesc\n * Route to the panel wifi network scan page\n */\nexport default class PanelWifiNetworkRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberPanelWifiNetworks;\n\n /** @override */\n async model(): Promise<{ system: System }> {\n return {\n system: await this.identityManager.getSelectedSystem(false)\n };\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberVoiceEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type VoiceControlDeviceSetting from 'customer-site/models/settings/voice/voice-control-device-setting';\n\n/**\n * Route to the voice control device settings edit page.\n */\nexport default class VoiceControlDeviceSettingsEditRoute extends AdcBaseRoute {\n @service declare store: ServiceRegistry['store'];\n\n declare currentModel: {\n voiceControlDeviceSettings: Promise;\n };\n\n routeId = EmberVoiceEdit;\n\n isMediumWidthPage = true;\n\n /** @override */\n model(params: { id_mobile_device_type: string }): {\n voiceControlDeviceSettings: Promise;\n } {\n return {\n voiceControlDeviceSettings: this.store.findRecord(\n 'settings/voice/voice-control-device-setting',\n parseInt(params.id_mobile_device_type)\n )\n };\n }\n\n /** @override */\n async rollbackModelOnTransition(): Promise {\n const model = await this.currentModel.voiceControlDeviceSettings;\n\n model.voicePins.forEach((pin) => {\n if (pin.hasDirtyAttributes) {\n pin.rollbackAttributes();\n }\n });\n\n model.voiceAccessLevelSettingItems.forEach((item) => {\n if (item.hasDirtyAttributes) {\n item.rollbackAttributes();\n }\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberVoice, EmberVoiceEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport './_style.scss';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type VoiceControlDeviceSetting from 'customer-site/models/settings/voice/voice-control-device-setting';\n\n/**\n * @classdesc\n * Route to the voice control device settings page.\n */\nexport default class VoiceControlDeviceSettingsRoute extends AdcBaseRoute {\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare store: ServiceRegistry['store'];\n\n routeId = EmberVoice;\n\n isMediumWidthPage = true;\n\n skipWhenTransitioningBack = false;\n\n model(): { voiceControlDeviceSettings: ADCAsyncStoreQuery } {\n this.modals.closeModal();\n\n return {\n voiceControlDeviceSettings: this.store.query('settings/voice/voice-control-device-setting', {})\n };\n }\n\n afterModel(model: { voiceControlDeviceSettings: ADCAsyncStoreQuery }): void {\n // Transition to the voice settings edit route if only one type of voice control device settings is found.\n Promise.resolve(model.voiceControlDeviceSettings).then((settings) => {\n if (settings.length === 1) {\n this.skipWhenTransitioningBack = true;\n this.navigation.transitionToRouteId(EmberVoiceEdit, parseInt(settings.slice()[0].id));\n }\n });\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from '../classes/base-route';\nimport { EmberUsers } from '../enums/CustomerPageUrl';\n\nimport type Store from '@ember-data/store';\nimport type Configuration from 'customer-site/models/systems/configuration';\nimport type UsersPermissionsCollectionModel from 'customer-site/models/users/permissions-collection';\nimport type UserAttributeField from 'customer-site/models/users/user-attributes/user-attribute-field';\nimport type ContextManager from 'customer-site/services/context-manager';\n\ninterface BaseUsersRouteModel {\n permissions: ReturnType;\n availableUserAttributeFields?: Promise;\n systemConfig?: ADCAsyncStoreFindRecord;\n}\n\nexport function getUsersPermissions(\n store: Store,\n contextManager: ContextManager\n): ADCAsyncStoreFindRecord {\n return store.findRecord('users/permissions-collection', contextManager.getContextId());\n}\n\nexport default class UsersRoute extends AdcBaseRoute {\n @service declare store: Store;\n @service declare contextManager: ContextManager;\n\n routeId = EmberUsers;\n\n model(): BaseUsersRouteModel {\n const { contextManager, store } = this;\n\n return {\n permissions: getUsersPermissions(store, contextManager),\n systemConfig: this.contextManager.isSmrfAllowed\n ? this.store.findRecord('systems/configuration', this.contextManager.getSelectedSystemId())\n : undefined,\n availableUserAttributeFields: store\n .query('users/user-attributes/user-attribute-field', {})\n .then((attributes) => attributes.toArray())\n };\n }\n}\n","import { isHTMLSafe } from '@ember/template';\n\nexport default function(stringFunction) {\n return function([string]) {\n if (isHTMLSafe(string)) {\n string = string.string;\n }\n\n string = string || '';\n return stringFunction(string);\n };\n}\n","import { helper } from '@ember/component/helper';\nimport { htmlSafe as _htmlSafe } from '@ember/template';\nimport createStringHelperFunction from '../-private/create-string-helper';\n\nexport const htmlSafe = createStringHelperFunction(_htmlSafe);\nexport default helper(htmlSafe);\n"],"names":["createTemplateFactory","scope","pageView_","tc_","hrefTo_","simpleBinaryAsyncToggle_","tc_0","settingsRestrictedAccessSettings_","routeView_","drillThroughItem_","navigateToRouteId_","pageViewDetails_","svgSymbol_","buttonSimple_","t_","promiseHashTracked_","fn","formGroup_","guidFor_","smartDate_","textInput_","dropdownSelectSingleSelect_","createDropdownItems_","hash","isMobileApp_","buttonAsync_","actionSheetsAddressVerification_","getStaticResourcePath_","coalesce_","buttonIcon_","on","simpleBinary_","showConfirmationModal_","t_0","simpleList_","simpleListItem_","get","fieldsetHeader_","await_","or_","handleBinaryChange_","sliderAdc_","tickedSlider_","actionButtons_","popoverMenu_","toString_","handleNumberChange_","dasherize","createStringHelperFunction","_dasherize","helper","not_","SensorRowItem","_dec","intlPath","path","_dec2","alias","_dec3","_class2","Component","constructor","arguments","_initializerDefineProperty","_descriptor","_descriptor2","_descriptor3","_descriptor4","updateSelectedName","row","dropdownIndex","newName","intl","this","tc","panelNames","panelNameRow2Disabled","panelNameRow3Disabled","_applyDecoratedDescriptor","prototype","service","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","_class","setComponentTemplate","TEMPLATE","inlineAlert_","array","dasherize_","settingsControlPanelSettingsSensorRowItem_","eq_","insetGroup_","scrollContainer_","simpleListDetails_","navigateToRouteName_","EverbridgeTemplateSelector","passwordInput_","AddEverbridgeCredentials","isContinueDisabled","everbridgeConfiguration","args","username","password","organizationId","resolveModel_","uiProgressBar_","settingsEverbridgeIntegrationEverbridgeTemplateSelector_","settingsEverbridgeIntegrationAddEverbridgeCredentials_","statusToggle_","ManageEverbridgeIntegration","_defineProperty","createListItemsFromModel","_this$args$everbridge","_this$args$everbridge2","everbridgeTemplates","map","template","SimpleListItem","description","incidentTemplateName","handleDeleteConfiguration","modals","showDeleteModal","message","title","delete","async","deleteConfiguration","navigateToNotifications","navigation","transitionToRouteId","NotificationsCenter","isPresent_","settingsEverbridgeIntegrationManageEverbridgeIntegration_","safeHtml_","concat","pageViewList_","appAppNavLink_","SettingsPage","templateOnlyComponent","settingsPage_","routeViewEditView_","appLanguageSelect_","didInsert_","didUpdate_","searchInput_","rowItem_","toolTip_","pageViewEdit_","searchToolbar_","simpleBinaryList_","deviceIcon","device","IconMap","icon","expandButton_","iconsCirclesDeviceStatus_","deviceIcon_","circleIcon_","and_","generateRemoveMessage","managedDeviceType","MANAGED_DEVICE_TYPE","VideoDevice","isMultisensor","onvifMultisensorParentMac","numberOfSensorsOnMultisensor","translationKey","hasClipAgeLimit","t","deviceName","numberOfSensors","isOAuth","manufacturer","isAssignedToCareReceiver","DeviceCategory","_dec4","notEmpty","_dec5","sort","device1","device2","IqRouter","isController","toLowerCase","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","toggleExpand","expandItems","isVideoDevice","wifiRouterDeviceType","filterManagedDevices","devices","deviceCategory","managedDevices","wifiControllerNote","forEach","includes","filteredManagedDevices","slice","canAccessAssociatedDevices","isPresent","getRouteItem","EmberManageDevicesAssociatedDevices","getNameLengthLimitForDevice","GunShotSensor","getActionItems","deviceId","getBaseManagedDevice","isGoogleVideo","isNamiDevice","itemList","EditActionItem","create","openRenameDeviceModal","text","visible","canBeRenamed","ActionItem","goToDeviceSettings","disabled","isMobileApp","canAccessWebSettings","canAccessAppSettings","currentURL","router","contextManager","transitionToWizard","troubleshootingWizard","returnToUrl","canAccessTroubleshootingWizard","canBeAssociatedToVideoDevice","queryParams","associatedCameraDeviceIds","keys","parentDeviceId","id","parentDeviceDescription","DeleteActionItem","isZWave","transitionTo","ADD_DEVICE_CATEGORY","ADD_DEVICE_RESOURCE","openVoiceDeviceControlModal","openDeleteDeviceModal","isMalfunctioning","isZWaveWakeupNode","unitSupportsRemovingWakeupNode","openDeleteZWaveDeviceModal","DeleteZWaveDeviceGeneric","cancelUrl","canBeDeleted","logActionItemsOnError","openEditAction","willThrowError","badItems","item","push","sentryExtras","deviceData","badActionItems","sentryTags","ticket","fullErrorMessage","sentryWithScopeAndError","showConfirmationDialog","_device$description","notificationManager","PartitionModel","Sensor","WaterSensor","sensorNamingFormat","SENSOR_NAMING_FORMAT","isEmpty","renameDeviceMessage","output","value","error","showRenameModal","disableBackdropClose","maxLength","rename","set","save","addSuccess","rollbackAttributes","errors","Array","isArray","e","_e$detail","detail","call","devicesToDelete","filter","addDeviceResource","destroyRecord","unloadRecord","then","d","videoDevice","successMessage","reason","addError","routeItem","parseInt","webSettings","routeItemToTransitionTo","url","relationship","subRoutes","split","transitionToAlreadyLinkedPage","nativeBridge","doesSupportTransitionToNativeViewWithId","NATIVE_VIEW_TYPE","transitionToNativeView","deviceID","transitionToRoute","isDoorbellCamera","showBackArrow","returnToWebView","EmberRemotesEdit","search","macAddress","EmberBluetoothDeviceSettings","ajax","apiRequest","data","category","getAddDeviceCategory","currentCategoryId","managedDeviceCategories","reduce","find","undefined","isChannel","_device$isChannel","isCurrentDevice","_device$isCurrentDevi","tracked","automationFilterBar_","media_","buttonNative_","settingsManageDevicesDeviceCategory_","settingsManagedAccountAccessPage_","routeViewContentPendingContent_","noop_","checkboxTreeAllNoneSelector_","SettingsMonitoringStationPropertyActionCategory","selectedDevices","isExcluded","length","checkAll","checked","event","onDeviceExclusionChanged","stopPropagation","onToggle","currentTarget","settingsMonitoringStationPropertyActionCategory_","settingsMonitoringStationPropertyNotesSimpleList_","Date","multilineTextInput_","errorTooltip_","now_","PropertyNotesAddEdit","computed","isPermanent","_this$hideExpiration","_this$args$noteData","hideExpiration","noteData","expirationDate","thereAreInvalidInputs","subject","maxDate","today","setDate","getDate","toggleIsPermanent","propertyNoteExpirationDateError","disableSave","updatePropertyNoteSubject","newSubject","propertyNoteSubjectError","updatePropertyNoteMessage","_e$target","newMessage","target","propertyNoteMessageError","updatePropertyNoteExpirationDate","newDate","settingsMonitoringStationPropertyNotesAddEdit_","uiIconTooltip_","homeNoiseSensorThreshold_","math_","settingsPanelWifiConnectingView_","settingsPanelWifiNetworkList_","LinkTo","modalsDialogModalsSimpleSimpleDialog_","VoiceAccessLevelDialogModal","VoiceAccessLevelSettingItemComponent","accessLevelOptions","entries","none","None","onDemand","OnDemand","alwaysOn","AlwaysOn","_ref","key","DropdownSelectItem","name","String","updateVoiceAccessLevel","voiceAccessLevelSettingItem","voiceAccessLevel","settingsVoiceAccessLevelSettingItem_","pinInput_","validationError_","appendNewPin","voicePins","newPin","createRecordWithServerDefaults","store","pushObject","combineStrings","arr","itemA","itemB","itemC","VoiceControlDeviceSettingsComponent","reads","not","filterBy","_dec6","_dec7","_dec8","_dec9","gt","_dec10","_dec11","_dec12","owner","super","voiceControlDeviceSettings","customPins","newCustomPinId","smartPins","newSmartHomePinId","secureActionsEnabledInBackEnd","secureActionsEnabled","editSmartPinDisabled","smartPin","isSavedPin","_this$voiceLevelItems","voiceLevelItems","ZwaveLock","GarageDoor","Partition","Number","some","secureDevicesAndActions","secureDevicesTextArray","secureActionsTextArray","_ref2","secureDevicesText","secureActionsText","hasArmStayOptions","armStayOptions","hasArmNightOptions","armNightOptions","isAmazonAlexa","AmazonAlexa","updateVoicePin","pin","isCustomPin","remove","setObjects","saveVoiceControlDeviceSettings","customPin","openDetailsModal","voiceSetting","showModal","VoiceAccessLevelDialog","manufacturerName","openDeleteModal","secureDevices","Promise","reject","secureActions","css","settingsVoiceControlDeviceSettings_","window","define","esc","require","BaseFilterBar","isFiltered","filterTags","selected","doSearch","onFilterTagsChange","AutomationFilterBar","toggleFilterTagSelected","button","toggleFilterTags","buttons","values","selectedValues","tag","toString","handleFilterButtonClick","showFilterTags","updateShowFilterTags","spinnerSvg_","ConnectingView","Controller","equal","Lockdown","EmberController","toggleLockdown","identity","model","resolve","accessControlLockdownEnabled","accessControlMigratedForLockdown","showInfoModal","info","disableHeaderClose","getModalFooterButton","newValue","fnToggle","result","enableDisableLockdown","identityManager","refreshApplication","Route","AdcBaseRoute","EmberSettingsAccessControlLockdown","SettingsAccessControlRestrictedAccessRoute","EmberSettingsAccessControlRestrictedAccess","restrictedAccessSetting","getRestrictedAccessSetting","accessPlans","findAll","timetables","planDetailTotals","getPlanDetailTotals","system","getSelectedSystem","partitions","AccountManagementRoute","EmberAccountManagement","childRoutes","apiRequestForValue","routes","routeId","EmberAccountInformation","EmberPropertyInformation","EmberSystemInformation","EmberUserSlotManagement","EmberMovePortalSurvey","MovePortalSurveyCompletedController","exit","removeMovePortalSurveryRoutesFromVisitedRoutesStack","transitionBackToMobileAppOrPreviousRoute","prevRoute","visitedRoutesStackLength","getVisitedRoutesStackLength","_prevRoute","visitedRoutesStack","pop","routeName","MovePortalSurveyCompletedRoute","EmberMovePortalSurveyCompleted","MovePortalSurveyEditController","handleButtonClick","_this$resolvedModel","customerMovingFormResult","resolvedModel","validateInput","city","state","street1","street2","postalCode","zip","country","countryId","inputtedAddress","Address","validatedAddressResponse","fetchValidatedAddress","ex","processValidationErrorsFromResponse","moveDateError","addressVerificationCallback","validatedAddress","_this$resolvedModel2","updateModelWithValidatedAddress","onMoveDateChange","_this$resolvedModel3","moveDate","resetControllerProperties","assign","_this$resolvedModel4","getProperties","_objectSpread","MovePortalSurveyEditRoute","EmberMovePortalSurveyEdit","findRecord","getSelectedSystemId","states","resetController","controller","isExiting","MovePortalSurveyController","lastSubmittedDate","_this$resolvedModel$p","submissionDate","previousSubmissionDate","formatDateTz","format","goToNextPage","PUT","MovePortalSurveyRoute","dealerCustomerAppPromotion","queryRecord","MovePortalSurveyBaseRoute","UserSlotManagementController","downloadPanelSlotNumbers","open","exportPanelSlotNumbersUrl","UserSlotManagementRoute","closeModal","getUsersPermissions","permissions","SettingsBluetoothDeviceSettingsIndexController","updateToggle","bluetooth_device","isDisarmingEnabledForDevice","onClickEnrolledPartition","EmberBluetoothDeviceSettingsPartitionList","unpairDevice","EmberManageDevices","SettingsBluetoothDeviceSettingsPartitionListController","getPartitionList","partition","partitionId","isEnrolledPartition","enrolledPartitionId","updateEnrolledPartition","SettingsBluetoothDeviceSettingsPartitionListRoute","parentParams","paramsFor","id_bluetooth_device","SettingsBluetoothDeviceSettingsRoute","SettingsBluetoothDisarmingSettingsDeviceListController","pairedDevices","enrolledDevices","toArray","transitionToDeviceSettingsPage","unpairAllDevices","EmberBluetoothDisarmingSettings","SettingsBluetoothDisarmingSettingsDeviceListRoute","EmberBluetoothDisarmingSettingsDeviceList","SettingsBluetoothDisarmingSettingsEditDisarmTimeoutController","getTimeoutOptions","time","num","timeout","updateTimeout","SettingsBluetoothDisarmingSettingsEditDisarmTimeoutRoute","EmberBluetoothDisarmingSettingsEditTimeout","SettingsBluetoothDisarming","onClickTimeoutSetting","onClickPairedDevices","currentTimeoutOption","isBluetoothPairingEnabledForSystem","SettingsBluetoothDisarmingRoute","SettingsBluetoothIndex","transitionToBluetoothDisarmingSetting","startPairing","returnEnumId","wizardEnum","BluetoothDisarming","EmberBluetooth","CarSettingsController","lt","defaultFilterValues","resetQueryParameterValues","selectedCarId","selectedCar","carDropdownItems","generateCarDropdownItems","_this$model","carMonitors","carMonitor","showSuccessMessage","showErrorMessage","errorStringResourceName","errorMessage","isReadonly","_this$model2","cm","firstObject","submitCustomApiCall","GET","hasViewChangeCarMaintenanceRemindersPermission","_this$model3","onSelectionChange","car","findBy","convertMetersToCultureUnits","odometerMeters","isMetric","send","saveCarMonitor","saveOdometer","odometerInCultureUnits","highSpeedThreshold","accelerationThreshold","brakingThreshold","lowFuelThreshold","promises","all","catch","accelerationThresholdSliderChanged","newHighThreshold","isFromSlider","isMouseUp","brakingThresholdSliderChanged","newOdometerInCultureUnits","removeNotification","isPositiveNum","convertCultureUnitsToMeters","input","test","CarSettingsRoute","CarSettings","getQueryParam","params","isMetricResponse","selectedCarMonitor","rollbackModelOnTransition","setting","hasDirtyAttributes","refreshPage","refresh","AlarmDelaySettingsController","initDelayTimes","response","delayTimes","selectedEntryDelayTime","entryDelay","selectedExitDelayTime","exitDelay","entryDelayTimes","SELECTED","UNSELECTED","exitDelayTimes","toggleEntryPopover","entryPopoverOpen","toggleExitPopover","exitPopoverOpen","saveDelays","promise","success","cancelDelays","transitionToPreviousRoute","AlarmDelaySettingsRoute","BaseControlPanelSettingsRoute","EmberAlarmDelaySettings","EmberPanelAudio","EmberSensorNames","EmberPanelWifi","BaseControlPanelSettingsController","drillThroughItems","pageTitle","drillToRoute","transitionToNativeRoute","EmberSettingsControlPanel","route","PanelAudioController","initAudioValues","audioValues","troubleBeeps","speakerVolume","beepVolume","showVolumes","showTroubleBeeps","troubleBeepValues","toLocaleUpperCase","saveAudioValues","cancelAudioValues","toggleTroublePopover","troublePopoverOpen","toggleBeepPopover","beepPopoverOpen","toggleSpeakerPopover","speakerPopoverOpen","PanelAudioRoute","SensorNamesController","isAnyDeviceMalfunctioning","_this$rowInfo$isAny","_this$rowInfo","rowInfo","isAny","initSensorRowInfo","setDropdownItems","options1","options2","options3","options4","nameOptions","option","dropdownItems1","dropdownItems2","dropdownItems3","dropdownItems4","saveSensorNames","invoke","refreshSensorRowInfo","currentRouteName","SensorNamesRoute","query","EverbridgeSetUpProgressEnum","AddEverbridgeIntegrationController","continueAction","_templates$data$map","templates","fetchEverbridgeTemplates","createRecord","incidentTemplateId","attributes","showEverbridgeTemplates","progressValue","TemplateSelection","saveEverbridgeIntegration","saveIntegration","selectedTemplates","NotStarted","EmberEverbridgeIntegration","backAction","AddEverbridgeIntegrationRoute","EmberEverbridgeIntegrationAdd","id_configuration","configuration","currentModel","isSaving","rollback","isNew","EverbridgeIntegrationIndexController","EverbridgeIntegrationRoute","confirmOptOut","fnOptOut","updateConfiguration","isFeature","resetState","props","successMsgNode","smrfOptIn","smrfDonationOptIn","uiState","donation","setProperties","FacialRecognitionSettingsController","ENV","rootURL","systemIsIneligible","EmberUserEditFaceRecognition","showSaveButton","feature","modelState","disableSaveButton","transitionToUsers","clearVisitedRoutesStack","EmberUsers","optIn","optOutOfFeature","buttonAnimation","replaceRouteWithNativeRoute","EmberSettings","bind","optOutOfDonation","showFullTerms","type","legal","disableFooterClose","extend","EmberSettingsFaceRecognition","identityModel","belongsTo","setupController","_super","SettingsIndex","BaseSettingsRoute","EmailAddressController","BaseLoginInformationController","saveEmail","submitApiRequest","profile","adapterOptions","EmailAddressRoute","LoginInformationRoute","EmberEmailAddress","loginInformationCategoryRoutes","loginSecurity","EmberTwoFactorAuthentication","EmberRecognizedDevices","EmberPassword","EmberSecurityQuestion","EmberNewDeviceAlerts","loginInformation","EmberLoginName","EmberCommunicationPreferences","EmberSiteAppearance","EmberLanguage","loginAccess","EmberMultiSystemAccess","LoginInformationSettingsController","loginInfoRoutes","twoFactorAuthentication","secondaryProperties","Map","locale","displayName","loginName","loginEmailAddress","routeItems","getRouteItemUsingId","_twoFactorAuthenticat","enabledTwoFactorTypes","compact","routeMap","ids","_ref3","LoginInformationSettingsRoute","BaseRoute","EmberLoginInformation","apiRequestForDataRecord","LanguageController","resetData","originalValue","saveLanguage","fnSetLanguage","fnRefreshCulture","refreshCulture","languageChanged","newLanguageId","originalLocale","LanguageRoute","BaseLoginInformationRoute","LoginNameController","getSensitiveProperties","saveLoginName","fnSetLoginName","updateLoginName","currentPassword","LoginNameRoute","MultiSystemAccessController","IsLoginAsLoginRep","setDefaultSystem","isDefault","unlinkSystem","msaSystems","_this$resolvedModel$m","filteredSystems","systemSearchTerm","i","customerId","_this$profile","systemName","s","refreshAvailableSystems","handlePageRouteTitleChange","msaSystemUpdated","throttleTask","msaModel","isOriginalSystem","isCurrentSystem","defaultSystemName","m","isDefaultSystemUnlinked","successMsg","doesSupportReloadAssociatedSystems","reloadAssociatedSystems","originalSystem","originalSystemName","MultiSystemAccessRoute","MultiSystemAccessSetupController","getPropertiesToResetOnExit","propertiesToReset","isTwoFactorAuthRequired","confirmButtonText","step","cancelButtonText","showLinkedSystemsEnterpriseGroupAccessAlert","transitionToMultiSiteGroupWizard","transitionToManageGroups","enterpriseGroupPermissions","enterpriseAlertText","htmlSafe","transitionToKnowledgeBase","knowledgeBaseLink","buildKnowledgeBaseURL","CustomerKnowledgeBase","LinkMultipleAccountSystems","launchBrowser","transitionToEnterpriseManageGroups","transitionGroupId","group","peekRecord","switchContext","EmberEnterpriseGroups","didCancel","MultiSiteGroupManagement","handleCancelButtonAction","handleMultiSystemSetupAction","findSystems","addSystems","isSuccess","linkedSystemsFlow","_await$this$ajax$apiR","findSystemsForLogin","sourceLoginName","twoFactorResponseData","availableSystemsToAdd","systems","cannotDeleteSourceLogin","systemsAlreadyLinked","isAlreadyLinked","twoFactorAuthRequired","addSystemsForLogin","deleteSourceLogin","LinkedSystemsSetupRoute","EmberMultiSystemAccessSetup","NewDeviceAlertsController","saveNewDeviceAlerts","setSendNewDeviceAlerts","shouldSendNewDeviceAlerts","NewDeviceAlertsRoute","SiteAppearanceController","saveSiteAppearanceSettings","reload","SiteAppearanceRoute","siteAppearance","camera","hasSdRecordingSchedule","hasSvrSchedule","gte","selectedCameraIds","selectedCameras","shownCameras","filterString","associableCameras","maximumSelectionsReached","canEditAssociatedDevices","BinaryListItem","label","indexOf","cameraListItem","onCameraListChange","cameras","onSelectCamera","filterDevices","globalDeviceId","isChecked","onLoad","primaryCameraId","newSelectedCameraIds","onSelectPrimaryCamera","cameraId","noSelectedCameras","newPrimaryCameraId","setSelectedCameras","onSaveSelections","secondaryCameraIds","resetAssociatedDevicesCache","getErrorText","cancel","dataLoaded","savedPrimaryCameraId","primaryCamera","associatedDevicesPermission","getContextId","ManageDevicesController","_this$resolvedModel$c","deviceFilters","catalog","availableManagedDeviceFilters","filterId","selectedFilters","filteredManagedDeviceCategories","searchString","categoryFilters","ReadyToAssociate","propertyFilters","deviceMap","shouldIncludeDevice","stateInfo","asyncStateTooltip","hasAssociatedDevices","associatedDevicesNames","areActionsDisabled","serialize","ThermostatModel","getStateIcon","shouldDisplayMessage","_this$filteredManaged","deviceCount","displayMessage","updateSearchValue","updateFilterTags","resetFilterValues","filters","includeDevice","AssociatedDevices","console","warn","_this$model$selectedF","_this$identityManager","_params$selectedFilte","deactivate","transition","controllerFor","BaseManagedAccountAccessRoute","EmberSettingsManagedAccountAccess","MobileSettingsController","isGeoServiceLinkReadOnly","canAccessGeoServicesPage","isNotificationsLinkReadOnly","canAccessNotificationsPage","mobileDeviceDescription","_this$mobileDevice","_this$mobileDevice2","mobileDevice","transitionToGeoRoute","GeoServices","transitionToGeoRouteNoDevice","transitionToNotificationRoute","EmberPushDevices","EmberMobileSettings","id_mobile_device","SettingsMonitoringStationIndex","navigate","EmberMonitoringStation","afterModel","r","MonitoringStation","certRoute","EmberMonitoringCertificate","msRoute","certificateData","monitoringCertificate","installationDate","toDateString","clientName","streetAddress","systemLocation","servicePackageDescription","reportingType","stateResource","stateResourceLabel","zipCodeResource","zipCodeResourceLabel","printCertificate","certificateElement","document","getElementById","mainTitle","querySelector","printWindow","write","innerHTML","close","focus","CategoryInfo","SettingsMonitoringStationPropertyActions","devicesByCategory","propertyActionDevices","categories","mapping","categoryInfo","expandAllCategories","any","expanded","canSave","exclude","toggleExpandCategory","toggleAll","expand","cat","getValidationErrorsFromResponse","rollbackRelationships","pa","uniqBy","EmberMonitoringStationPropertyActionsSettings","SettingsMonitoringStationPropertyNotes","sortNotes","notes","a","b","isAfter","dateUpdated","permanentPropertyNotes","_this$model$propertyN","permanentNotes","propertyNotes","note","temporaryPropertyNotes","_this$model$propertyN2","temporaryNotes","EmberMonitoringStationPropertyNotes","SettingsMonitoringStationPropertyNotesEdit","_this$disableSaveButt","shouldDisableSave","disable","savePropertyNote","propertyNote","EmberMonitoringStationPropertyNotesEdit","EmberMonitoringStationPropertyNotesCreate","SettingsMonitoringStationVideo","RemainingDevicesCount","allowedExternalVideoMonitoringDevicesCount","visualVerificationDevices","showTooManyDevices","hasEvmEnabled","remainingEvmDevicesCount","showVideoRuleWarning","hasRules","vvDevices","editVisualVerification","editTwoWayAudio","onToggleDeviceExclusion","showVisualVerificationWarning","onToggleTwoWayAudio","evt","twoWayAudioEnabled","showTwoWayAudioWarning","EmberMonitoringStationVideoSettings","NoiseSettingsRoute","EmberNoiseSettings","id_selected_noise_sensor","noiseSensors","selectedNoiseSensorId","noiseSensor","thresholds","threshold","deleteRecord","PanelWifiConfigRoute","BasePanelWifiRoute","EmberPanelWifiConfig","PanelWifiController","signalStrengthIcon","_this$resolvedModel$w","signalStrength","wifiSettings","getSignalStrengthSvgName","scanForNetworks","EmberPanelWifiNetworks","setupManually","isAnyPartitionArmed","hasPartitionsArmed","isAnyPartitionInAlarm","hasPartitionsInAlarmAtPanel","doesPanelHaveACFailure","allTroubles","troubleConditions","troubleConditionType","ACFailure","cannotConnectToWifi","PanelWifiIndexRoute","baseModel","PanelWifiNetworksController","network","disableConfirmButton","isSystemConnectingToWifi","isRefreshingNetworks","selectedNetworkRow","networkItems","activeTextKey","canScanForWifi","startNetworkScan","once","config","networks","isRowSelected","setSelectedRow","networkRow","_this$networkItems","setEach","PanelWifiNetworkRoute","VoiceControlDeviceSettingsEditRoute","EmberVoiceEdit","id_mobile_device_type","voiceAccessLevelSettingItems","VoiceControlDeviceSettingsRoute","EmberVoice","settings","skipWhenTransitioningBack","UsersRoute","systemConfig","isSmrfAllowed","availableUserAttributeFields","stringFunction","string","isHTMLSafe","_htmlSafe"],"sourceRoot":""}